]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Initialize tunable list with the GLIBC_TUNABLES environment variable
[thirdparty/glibc.git] / ChangeLog
1 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2
3 * config.make.in (have-loop-to-function): Define.
4 * elf/Makefile (CFLAGS-dl-tunables.c): Add
5 -fno-tree-loop-distribute-patterns.
6 * elf/dl-tunables.c: Include libc-internals.h.
7 (GLIBC_TUNABLES): New macro.
8 (tunables_strdup): New function.
9 (parse_tunables): New function.
10 (min_strlen): New function.
11 (__tunables_init): Use the new functions and macro.
12 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
13 * malloc/tst-malloc-usable-tunables.c: New test case.
14 * malloc/tst-malloc-usable-static-tunables.c: New test case.
15 * malloc/Makefile (tests, tests-static): Add tests.
16
17 * manual/install.texi: Add --enable-tunables option.
18 * INSTALL: Regenerate.
19 * README.tunables: New file.
20 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
21 (before-compile): Generate dl-tunable-list.h early.
22 * config.h.in: Add HAVE_TUNABLES.
23 * config.make.in: Add have-tunables.
24 * configure.ac: Add --enable-tunables option.
25 * configure: Regenerate.
26 * csu/init-first.c (__libc_init_first): Move
27 __libc_init_secure earlier...
28 * csu/init-first.c (LIBC_START_MAIN):... to here.
29 Include dl-tunables.h, libc-internal.h.
30 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
31 binaries.
32 * elf/Makefile (dl-routines): Add dl-tunables.
33 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
34 namespace.
35 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
36 only when !HAVE_TUNABLES.
37 * elf/rtld.c (process_envvars): Likewise.
38 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
39 (_dl_sysdep_start): Call __tunables_init.
40 * elf/dl-tunable-types.h: New file.
41 * elf/dl-tunables.c: New file.
42 * elf/dl-tunables.h: New file.
43 * elf/dl-tunables.list: New file.
44 * malloc/tst-malloc-usable-static.c: New test case.
45 * malloc/Makefile (tests-static): Add it.
46 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
47 Define TUNABLE_NAMESPACE.
48 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
49 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
50 callback functions.
51 (ptmalloc_init): Set tunable values.
52 * scripts/gen-tunables.awk: New file.
53 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
54 (_dl_sysdep_start): Call __tunables_init.
55
56 2016-12-31 Florian Weimer <fweimer@redhat.com>
57
58 * resolv/resolv.h (RES_BLAST): Deprecate.
59 * resolv/res_debug.c (p_option): Remove RES_BLAST.
60 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
61 to RES_BLAST.
62
63 2016-12-27 Florian Weimer <fweimer@redhat.com>
64
65 [BZ #19582]
66 Deprecate RES_USE_INET6.
67 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
68 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
69 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
70 RES_USE_INET6.
71 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
72 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
73 (_nss_nisplus_gethostbyaddr_r): Likewise.
74 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
75 of res_use_inet6.
76 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
77 instead of RES_USE_INET6.
78 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
79 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
80 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
81 Likewise.
82 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
83 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
84 Likewise.
85 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
86 (_nss_dns_gethostbyname_r): Likewise.
87 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
88 alternate RES_USE_INET6 handling.
89 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
90 instead of RES_USE_INET6.
91 * resolv/res_init.c (res_setoptions): Likewise.
92 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
93 * resolv/resolv-internal.h: New file.
94 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
95 make the deprecation warning non-fatal.
96 * resolv/README (Using the resolver in multi-threaded code): Drop
97 reference to RES_USE_INET6.
98 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
99 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
100
101 2016-12-31 Florian Weimer <fweimer@redhat.com>
102
103 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
104 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
105 tst-resolv-search.
106 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
107 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
108 with libresolv and libpthread.
109 * resolv/tst-bug18665.c: New file.
110 * resolv/tst-bug18665-tcp: Likewise.
111 * resolv/tst-res_use_inet6: Likewise.
112 * resolv/tst-resolv-basic: Likewise.
113 * resolv/tst-resolv-network: Likewise.
114 * resolv/tst-resolv-search: Likewise.
115 * support/Makefile (libsupport-routines): Add check_addrinfo,
116 check_dns_packet, check_hostent, check_netent, resolv_test,
117 support_format_address_family, support_format_addrinfo,
118 support_format_dns_packet, support_format_herrno,
119 support_format_hostent, support_format_netent, support_run_diff,
120 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
121 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
122 xstrdup, xwrite.
123 * support/check_addrinfo.c: New file.
124 * support/check_dns_packet.c: Likewise.
125 * support/check_hostent.c: Likewise.
126 * support/check_netent.c: Likewise.
127 * support/check_nss.h: Likewise.
128 * support/format_nss.h: Likewise.
129 * support/resolv_test.c: Likewise.
130 * support/resolv_test.h: Likewise.
131 * support/run_diff.h: Likewise.
132 * support/support_format_address_family.c: Likewise.
133 * support/support_format_addrinfo.c: Likewise.
134 * support/support_format_dns_packet.c: Likewise.
135 * support/support_format_herrno.c: Likewise.
136 * support/support_format_hostent.c: Likewise.
137 * support/support_format_netent.c: Likewise.
138 * support/support_run_diff.c: Likewise.
139 * support/xaccept.c: Likewise.
140 * support/xbind.c: Likewise.
141 * support/xconnect.c: Likewise.
142 * support/xfclose.c: Likewise.
143 * support/xfopen.c: Likewise.
144 * support/xgetsockname.c: Likewise.
145 * support/xlisten.c: Likewise.
146 * support/xmemstream.c: Likewise.
147 * support/xmemstream.h: Likewise.
148 * support/xpoll.c: Likewise.
149 * support/xpthread_once.c: Likewise.
150 * support/xrecvfrom.c: Likewise.
151 * support/xsendto.c: Likewise.
152 * support/xsetsockopt.c: Likewise.
153 * support/xstdio.h: Likewise.
154 * support/xstrdup.c: Likewise.
155 * support/support.h (xstrdup): Declare.
156 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
157 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
158 * support/xthread.h (xpthread_once): Likwise.
159 * support/xunistd.h (xwrite): Declare.
160
161 2016-12-31 Florian Weimer <fweimer@redhat.com>
162
163 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
164 (test_verbose): Declare.
165 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
166 * support/support_test_main.c (default_options): Likewise.
167 (usage, support_test_main): Handle 'v'.
168 (test_verbose): Define.
169 * support/tst-support_record_failure.c (do_test): Use
170 test_verbose.
171 * support/tst-support_record_failure-2.sh (different_status): Add
172 --verbose test.
173
174 2016-12-31 Florian Weimer <fweimer@redhat.com>
175
176 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
177 test failures are recorded.
178 * support/check.c (support_print_failure_impl): Call
179 support_record_failure.
180 (support_exit_failure_impl): Call support_record_failure if status
181 indicates failure.
182 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
183 * support/xasprintf.c (xasprintf): Likewise.
184 * support/xfork.c (xfork): Likewise.
185 * support/xpthread_check_return.c (xpthread_check_return):
186 Likewise.
187 * support/xsocket.c (xsocket): Likeweise.
188 * support/xwaitpid.c (xwaitpid): Likewise.
189 * support/support_record_failure.c (struct test_failures): Adjust
190 to coding style.
191 * support/support_test_verify_impl.c (support_test_verify_impl):
192 Adjust error messages.
193 * support/tst-support_record_failure-2.sh (different_status):
194 Adjust error messages.
195
196 2016-12-31 Florian Weimer <fweimer@redhat.com>
197
198 * support/namespace.h: New file.
199 * support/support_become_root.c: Likewise.
200 * support/support_enter_network_namespace.c: Likewise.
201 * support/tst-support-namespace.c: Likewise.
202 * support/xsocket.c: Likewise.
203 * support/xsocket.h: Likewise.
204 * support/Makefile (libsupport-routines): Add support_become_root,
205 support_enter_network_namespace, xsocket.
206 (tests): Add tst-support-namespace.
207
208 2016-12-31 Florian Weimer <fweimer@redhat.com>
209
210 [BZ #17252]
211 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
212 __USE_GNU.
213
214 2016-12-31 Torvald Riegel <triegel@redhat.com>
215
216 [BZ #13165]
217 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
218 use new algorithm.
219 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
220 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
221 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
222 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
223 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
224 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
225 __condvar_cleanup_waiting, __condvar_dec_grefs,
226 __pthread_cond_wait_common): New.
227 (__condvar_cleanup): Remove.
228 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
229 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
230 Likewise.
231 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
232 Likewise.
233 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
234 * nptl/tst-cond1.c: Add comment.
235 * nptl/tst-cond20.c (do_test): Adapt.
236 * nptl/tst-cond22.c (do_test): Likewise.
237 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
238 structure.
239 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
240 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
241 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
242 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
243 Likewise.
244 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
245 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
246 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
247 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
248 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
249 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
250 Likewise.
251 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
252 Likewise.
253 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
254 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
255 (COND_CLOCK_BITS): Adapt.
256 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
257 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
258 __PTHREAD_COND_SHARED_MASK): New.
259 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
260 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
261 * nptl/nptl_lock_constants.pysym: Adapt.
262 * nptl/test-cond-printers.py: Adapt.
263 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
264 cond_compat_check_and_clear): Adapt.
265 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
266 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
267 (__pthread_cond_timedwait): ... and move here.
268 * nptl/DESIGN-condvar.txt: Remove file.
269 * nptl/lowlevelcond.sym: Likewise.
270 * nptl/pthread_cond_timedwait.c: Likewise.
271 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
272 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
273 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
274 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
275 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
276 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
277 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
278 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
279 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
280 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
281 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
282 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
283 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
284 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
285 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
286 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
287
288 2016-12-31 Joseph Myers <joseph@codesourcery.com>
289
290 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
291 (fromfp): New declaration.
292 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
293 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
294 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
295 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
296 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
297 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
298 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
299 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
300 * math/math.h: Include <bits/types.h>.
301 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
302 constant and macro.
303 (FP_INT_DOWNWARD): Likewise.
304 (FP_INT_TOWARDZERO): Likewise.
305 (FP_INT_TONEARESTFROMZERO): Likewise.
306 (FP_INT_TONEAREST): Likewise.
307 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
308 (fromfpf): Likewise.
309 (fromfpl): Likewise.
310 (ufromfp): Likewise.
311 (ufromfpf): Likewise.
312 (ufromfpl): Likewise.
313 (fromfpx): Likewise.
314 (fromfpxf): Likewise.
315 (fromfpxl): Likewise.
316 (ufromfpx): Likewise.
317 (ufromfpxf): Likewise.
318 (ufromfpxl): Likewise.
319 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
320 s_fromfpxF and s_ufromfpxF.
321 * math/gen-fromfp-tests.py: New file.
322 * math/gen-fromfp-tests-inputs: Likewise.
323 * math/libm-test.inc: Include <stdint.h>
324 (check_intmax_t): New function.
325 (check_uintmax_t): Likewise.
326 (struct test_fiu_M_data): New type.
327 (struct test_fiu_U_data): Likewise.
328 (RUN_TEST_fiu_M): New macro.
329 (RUN_TEST_LOOP_fiu_M): Likewise.
330 (RUN_TEST_fiu_U): Likewise.
331 (RUN_TEST_LOOP_fiu_U): Likewise.
332 (fromfp_test_data): New array.
333 (fromfp_test): New function.
334 (fromfpx_test_data): New array.
335 (fromfpx_test): New function.
336 (ufromfp_test_data): New array.
337 (ufromfp_test): New function.
338 (ufromfpx_test_data): New array.
339 (ufromfpx_test): New function.
340 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
341 ufromfpx_test.
342 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
343 characters.
344 * math/test-tgmath-ret.c: Include <stdint.h>.
345 (rm): New variable.
346 (width): Likewise.
347 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
348 called function.
349 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
350 CHECK_RET_CONST_TYPE.
351 (CHECK_RET_CONST_DOUBLE): Likewise.
352 (CHECK_RET_CONST_LDOUBLE): Likewise.
353 (CHECK_RET_CONST): Take extra arguments and pass them to calls
354 macros.
355 (fromfp): New CHECK_RET_CONST call.
356 (ufromfp): Likewise.
357 (fromfpx): Likewise.
358 (ufromfpx): Likewise.
359 (do_test): Call check_return_fromfp, check_return_ufromfp,
360 check_return_fromfpx and check_return_ufromfpx.
361 * math/test-tgmath.c: Include <stdint.h>
362 (NCALLS): Increase to 138.
363 (F(compile_test)): Initialize i. Call fromfp functions.
364 (F(fromfp)): New function.
365 (F(fromfpx)): Likewise.
366 (F(ufromfp)): Likewise.
367 (F(ufromfpx)): Likewise.
368 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
369 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
370 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
371 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
372 ufromfpxl.
373 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
374 ufromfp and ufromfpx.
375 * math/fromfp.h: New file.
376 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
377 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
378 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
379 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
380 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
381 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
382 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
383 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
384 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
385 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
386 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
387 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
388 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
389 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
390 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
391 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
392 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
393 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
394 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
395 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
396 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
397 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
398 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
399 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
400 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
401 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
402 ufromfp, fromfpx and ufromfpx.
403 (CFLAGS-nldbl-fromfp.c): New variable.
404 (CFLAGS-nldbl-fromfpx.c): Likewise.
405 (CFLAGS-nldbl-ufromfp.c): Likewise.
406 (CFLAGS-nldbl-ufromfpx.c): Likewise.
407 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
408 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
409 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
410 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
411 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
412 * sysdeps/nacl/libm.abilist: Update.
413 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
414 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
415 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
416 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
417 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
418 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
419 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
420 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
421 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
422 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
423 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
424 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
426 Likewise.
427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
428 Likewise.
429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
430 Likewise.
431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
432 Likewise.
433 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
434 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
435 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
436 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
437 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
439 Likewise.
440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
441 Likewise.
442 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
443 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
444 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
445
446 2016-12-30 Florian Weimer <fweimer@redhat.com>
447
448 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
449 compat-gethnamaddr.
450 (CPPFLAGS): Remove.
451 * resolv/gethnamaddr.c: Rename ...
452 * resolv/compat-gethnamaddr.c: ... to this file.
453 (_endhtent): Make static.
454 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
455 symbol.
456 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
457 compat symbol.
458 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
459 symbol.
460 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
461 Turn into compat symbol.
462 * include/resolv.h (_endhtent): Remove declaration.
463
464 2016-12-30 Joseph Myers <joseph@codesourcery.com>
465
466 * bits/types.h (__intmax_t): New typedef.
467 (__uintmax_t): Likewise.
468 * sysdeps/generic/stdint.h: Include <bits/types.h>.
469 (intmax_t): Define using __intmax_t.
470 (uintmax_t): Define using __uintmax_t.
471
472 * support/Makefile (tests-special): Make definition conditional on
473 [$(run-built-tests) = yes].
474 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
475 on [$(run-built-tests) = yes].
476
477 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
478
479 * Rules (tests): Add tests-printers-programs to tests to be
480 built.
481
482 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
483
484 * sysvipc/Makefile (tests): Add test-sysvshm.
485 * sysvipc/test-sysvshm.c: New file.
486
487 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
488 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
489 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
490 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
491 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
492 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
493 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
494 Likewise.
495 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
496 Likewise.
497 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
498 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
499 is defined.
500
501 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
502 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
503 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
504 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
505 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
506 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
507 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
508 Likewise.
509 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
510 Likewise.
511 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
512 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
513 defined.
514
515 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
516 oldshmctl.
517 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
518 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
519 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
520 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
521 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
522 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
523 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
524 Likewise.
525 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
526 Likewise.
527 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
528 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
529 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
530 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
531 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
532 implementation.
533 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
534 if it is defined.
535
536 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
537 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
538 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
539 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
540 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
541 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
542 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
543 Likewise.
544 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
545 Likewise.
546 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
547 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
548 Define to __NR_osf_shmat.
549 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
550 defined.
551
552 * sysvipc/Makefile (tests): Add test-sysvsem.
553 * sysvipc/test-sysvsem.c: New file.
554
555 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
556 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
557 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
558 Likewise.
559 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
560 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
561 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
562 Likewise.
563 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
564 Likewise.
565 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
566 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
567 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
568 add a comment about s390 syscall difference from default one.
569 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
570 syscall if it is defined.
571
572 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
573 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
574 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
575 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
576 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
577 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
578 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
579 Likewise.
580 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
581 Likewise.
582 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
583 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
584 defined.
585
586 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
587 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
588 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
589 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
590 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
591 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
592 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
593 Likewise.
594 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
595 Likewise.
596 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
597 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
598 if it is defined.
599
600 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
601 oldsemctl.
602 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
603 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
604 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
605 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
606 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
607 implementation.
608 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
609 syscall if it is defined.
610 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
611 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
612 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
613 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
614 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
615 Likewise.
616 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
617
618 * sysvipc/Makefile (tests): Add test-sysvmsg.
619 * sysvipc/test-sysvmsg.c: New file.
620 * support/check.h (FAIL_UNSUPPORTED): New define.
621
622 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
623 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
624 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
625 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
626 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
627 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
628 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
629 Likewise.
630 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
631 Likewise.
632 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
633 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
634 define.
635
636 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
637 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
638 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
639 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
640 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
641 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
642 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
643 Likewise.
644 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
645 Likewise.
646 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
647 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
648 if defined.
649
650 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
651 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
652 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
653 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
654 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
655 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
656 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
657 Likewise.
658 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
659 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
660 Likewise.
661 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
662 if defined.
663 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
664
665 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
666 oldmsgctl.
667 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
668 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
669 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
670 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
671 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
672 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
673 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
674 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
675 Likewise.
676 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
677 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
678 implementation.
679 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
680 if defined.
681
682 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
683 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
684 definition and define its own.
685 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
686 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
687 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
688 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
689 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
690 definitions to common header.
691 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
692 operation from ipc_ops.h.
693
694 * sysdeps/unix/sysv/linux/kernel-features.h
695 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
696 * sysdeps/unix/sysv/linux/i386/kernel-features.h
697 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
698 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
699 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
700 * sysdeps/unix/sysv/linux/mips/kernel-features.h
701 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
702 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
703 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
704 * sysdeps/unix/sysv/linux/s390/kernel-features.h
705 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
706 * sysdeps/unix/sysv/linux/sh/kernel-features.h
707 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
708 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
709 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
710
711 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
712
713 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
714 overflow in pointer addition.
715
716 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
717
718 * sysdeps/powerpc/powerpc64/multiarch/Makefile
719 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
721 (strchr): Add __strchr_power8 to list of strchr functions.
722 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
723 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
724 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
725 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
726 (strchr): Add __strchr_power8 to ifunc list.
727 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
728 (__strchrnul): Add __strchrnul_power8 to ifunc list.
729 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
730 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
731
732 2016-12-28 Florian Weimer <fweimer@redhat.com>
733
734 * support/Makefile (libsupport-routines): Add
735 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
736 (tests): Add tst-support_record_failure.
737 (tests-special): tst-support_record_failure-2.
738 (tst-support_record_failure-2.out): Depend on
739 tst-support_record_failure-2.sh and tst-support_record_failure.
740 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
741 (support_test_verify_impl, support_record_failure)
742 (support_report_failure, support_report_failure_reset): Declare.
743 * support/support_test_main.c (adjust_exit_status): New function.
744 (support_test_main): Call it to incorporate record test failures.
745 * support/support_test_verify_impl.c: New file.
746 * support/support_record_failure.c: Likewise.
747 * support/tst-support_record_failure.c: Likewise.
748 * support/tst-support_record_failure-2.sh: Likewise.
749 * support/xunistd.h: Likewise.
750 * support/xfork.c: Likewise.
751 * support/xwaitpid.c: Likewise.
752
753 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
754
755 * scripts/check-c++-types.sh: Add comments.
756
757 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
758
759 [BZ #19514]
760 * resolv/res_send.c: Fix typo in comment.
761 * sysdeps/i386/i386-mcount.S: Likewise.
762 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
763 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
764 * sysdeps/sparc/sparc-mcount.S: Likewise.
765
766 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
767
768 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
769 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
770 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
771 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
772 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
773 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
774 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
775 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
776
777 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
778
779 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
780
781 2016-12-27 Florian Weimer <fweimer@redhat.com>
782
783 [BZ #17252]
784 * posix/unistd.h (getentropy): Declare.
785
786 2016-12-27 Florian Weimer <fweimer@redhat.com>
787
788 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
789 Remove.
790 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
791 (cmd): Remove spoof, nospoof, spoofalert.
792 (parse_line): Ignore spoof-related lines.
793 (do_init): Do not process RESOLV_SPOOF_CHECK.
794
795 2016-12-27 Florian Weimer <fweimer@redhat.com>
796
797 [BZ #20964]
798 sunrpc: Always obtain AF_INET addresses from NSS.
799 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
800 * sunrpc/rpc_gethostbyname.c: New file.
801 * sunrpc/Makefile (routines): Add it.
802 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
803 * sunrpc/clnt_simp.c (callrpc): Likewise.
804 * sunrpc/getrpcport.c (getrpcport): Likewise.
805
806 2016-12-27 Florian Weimer <fweimer@redhat.com>
807
808 * sunrpc/rpcinfo.c: Remove.
809 * sunrpc/Makefile: Remove comments referring to rpcinfo.
810
811 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
812
813 [BZ# 19387]
814 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
815 addition.
816 * string/test-memchr.c (do_test): Remove alignment limitation.
817 (test_main): Add test that trigger BZ# 19387.
818
819 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
820
821 [BZ #7065]
822 Enable stack protectore if requested by ./configure.
823 * Makeconfig (+stack-protector): New variable.
824 (+cflags): Use it.
825
826 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
827
828 [BZ #7065]
829 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
830 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
831 (__rt_sigreturn_stub): Use inhibit_stack_protector.
832 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
833 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
834
835 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
836
837 [BZ #7065]
838 * login/Makefile (pt_chown-cflags): Remove.
839 * nscd/Makefile (CFLAGS-nscd): Likewise.
840 * resolv/Makefile (CFLAGS-libresolv): Likewise.
841
842 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
843
844 [BZ #7065]
845 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
846 non-libc-linking testcase.
847
848 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
849 Adhemerval Zanella <adhemerval.zanella@linaro.org>
850 Florian Weimer <fweimer@redhat.com>
851
852 [BZ #7065]
853 PLT avoidance for __stack_chk_fail*.
854 * debug/Makefile (CFLAGS-stack_chk_fail.c)
855 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
856 * debug/stack_chk_fail.c (__stack_chk_fail): Add
857 __stack_chk_fail_local alias.
858 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
859 (__stack_chk_fail): Turn into hidden reference to
860 __stack_chk_fail_local.
861
862 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
863
864 [BZ #7065]
865 * configure.ac: Add check for unsupported stack-protection level.
866 (libc_cv_predef_stack_protector): Remove.
867 (no_ssp): New variable.
868 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
869 (stack_protector): Set to -fno-stack-protector similarly.
870 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
871 (libc_cv_asm_set_directive): Likewise.
872 (libc_cv_protected_data): Likewise.
873 (libc_cv_z_combreloc): Likewise.
874 (libc_cv_hashstyle): Likewise.
875 (libc_cv_has_glob_dat): Likewise.
876 (libc_cv_output_format): Likewise.
877 (libc_cv_output_format): Likewise.
878 (libc_cv_ehdr_start): Likewise.
879 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
880 (LIBC_LINKER_FEATURE): Likewise.
881 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
882
883 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
884
885 [BZ #7065]
886 * elf/Makefile (dummy-stack-chk-fail): New.
887 (librtld.map): Use it.
888
889 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
890
891 [BZ #7065]
892 Compile the dynamic linker without stack protection.
893 * elf/Makefile (elide-stack-protector): New.
894 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
895 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
896 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
897 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
898
899 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
900
901 [BZ #7065]
902 * config.make.in (have-ssp, no-stack-protector): New.
903 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
904 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
905 (CFLAGS-sbrk.op): Likewise.
906 (CFLAGS-brk.o): Likewise.
907 (CFLAGS-brk.op): Likewise.
908 * string/Makefile (CFLAGS-memcpy.c): Likewise.
909 (CFLAGS-wordcopy.c): Likewise.
910
911 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
912
913 [BZ #7065]
914 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
915 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
916 * include/libc-symbols.h (inhibit_stack_protector): New macro.
917 (__ifunc_resolver): Use it.
918 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
919 inhibit_stack_protector.
920 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
921 * elf/ifuncmain7.c (foo_ifunc): Likewise.
922 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
923 (foo_protected_ifunc): Likewise.
924 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
925 (foo_protected_ifunc): Likewise.
926 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
927 * sysdeps/nacl/nacl_interface_query.c
928 (nacl_interface_query_ifunc): Likewise.
929 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
930 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
931 Likewise.
932 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
933 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
934 the generated vDSO syscall resolver.
935
936 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
937 Florian Weimer <fweimer@redhat.com>
938
939 [BZ #7065]
940 Initialize the stack guard earlier when linking statically.
941 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
942 (__pthread_initialize_minimal): Declare.
943 * csu/libc-start.c (__pthread_initialize_minimal): Remove
944 declaration.
945 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
946 stack canary and apply_irel initialization up. Call
947 __pthread_initialize_minimal only if linked in.
948 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
949 constant values.
950 (__pthread_initialize_minimal): Remove.
951 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
952 (__pthread_initialize_minimal_internal): Do not call
953 __libc_setup_tls.
954
955 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
956
957 [BZ #7065]
958 * configure.ac (libc_cv_ssp): Move up.
959 (libc_cv_ssp_strong): Likewise.
960 (libc_cv_ssp_all): New.
961 (stack_protector): Augment, adding -fstack-protector-all.
962 (no_stack_protector): New.
963 (STACK_PROTECTOR_LEVEL): New.
964 (AC_ARG_ENABLE(stack-protector)): New configure flag.
965 * manual/install.texi (--enable-stack-protector): Document it.
966 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
967
968 2016-12-24 Carlos O'Donell <carlos@redhat.com>
969
970 * README.pretty-printers: Must specify CPPFLAGS-* also.
971 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
972 (CPPFLAGS-test-mutex-printers.c): Define.
973 (CPPFLAGS-test-condattr-printers.c): Define.
974 (CPPFLAGS-test-cond-printers.c): Define.
975 (CPPFLAGS-test-rwlockattr-printers.c): Define.
976 (CPPFLAGS-test-rwlock-printers.c): Define.
977
978 * nss/Makefile [ifeq (yes,$(have-thread-library))]
979 (tests): Add tst-cancel-getpwuid_r.
980 * nss/tst-cancel-getpwuid_r.c: New file.
981
982 [BZ #11941]
983 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
984 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
985 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
986 tst-nodelete-dlclose.
987 (modules-names): Add tst-nodelete-dlclose-dso and
988 tst-nodelete-dlclose-plugin.
989 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
990 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
991 ($(objpfx)tst-nodelete-dlclose): Define.
992 ($(objpfx)tst-nodelete-dlclose.out): Define.
993
994 2016-12-23 Florian Weimer <fweimer@redhat.com>
995
996 * scripts/test_printers_common.py: Log GDB output in case of
997 Python detection failure.
998
999 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1000
1001 * configure.ac: Check for python3 or python.
1002 * configure: Regenerated.
1003 * config.make.in (PYTHON): New variable.
1004 * benchtests/Makefile: Don't define PYTHON.
1005 (bench): Define target only if PYTHON was defined.
1006 * Rules: Don't define PYTHON.
1007 Define pretty printer targets only if PYTHON was defined.
1008 (tests-printers): Add to tests-unsupported if PYTHON is not
1009 found.
1010 (python-flags, python-invoke): Remove.
1011 (tests-printers-out): Use PYTHON instead of python-invoke.
1012
1013 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1014
1015 [BZ #20978]
1016 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1017 Compare name == NULL, not name != NULL.
1018
1019 * manual/texinfo.tex: Update to version 2016-09-18.18 with
1020 trailing whitespace removed.
1021 * scripts/config.guess: Update to version 2016-10-02.
1022 * scripts/config.sub: Update to version 2016-11-19.
1023 * scripts/install-sh: Update to version 2016-01-11.22.
1024 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1025 * scripts/move-if-change: Update to version 2016-01-11 22:04.
1026
1027 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1028
1029 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1030 (do_one_test) Restore original string so iteration works.
1031 * string/string-inlines.c (do_test): Create better input strings.
1032 (test_main) Reduce number of testruns.
1033 * string/string-inlines.c (__old_strsep_1c): New function.
1034 (__old_strsep_2c): Likewise.
1035 (__old_strsep_3c): Likewise.
1036 * string/strsep.c (__strsep): Remove case of small delim string.
1037 Call strcspn directly rather than strpbrk.
1038 * string/bits/string2.h (__strsep): Remove define.
1039 (__strsep_1c): Remove.
1040 (__strsep_2c): Remove.
1041 (__strsep_3c): Remove.
1042 (strsep): Remove.
1043 * sysdeps/unix/sysv/linux/internal_statvfs.c
1044 (__statvfs_getflags): Rename to __strsep.
1045
1046 2016-12-21 Florian Weimer <fweimer@redhat.com>
1047
1048 * csu/libc-tls.c (_dl_tls_setup): Remove.
1049 * elf/dl-tls.c (_dl_tls_setup): Likewise.
1050 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1051 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1052
1053 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1054
1055 [BZ #7065]
1056 * sysdeps/x86_64/Makefile [$(subdir) = elf]
1057 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1058
1059 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1060 Florian Weimer <fweimer@redhat.com>
1061
1062 [BZ #7065]
1063 * csu/Makefile (tests): Empty assignment and document it.
1064 (tests-static): Remove.
1065 * csu/tst-empty.c: Move to...
1066 * misc/tst-empty.c: ... here. Switch to new test driver.
1067 * csu/tst-atomic.c: Move to...
1068 * misc/tst-atomic.c: ... here. Switch to new test driver.
1069 * csu/tst-atomic-long.c: Move to...
1070 * misc/tst-atomic-long.c: ... here.
1071 * misc/Makefile (tests): Add tst-empty, tst-atomic,
1072 tst-atomic-long.
1073 (tests-static): Add tst-empty.
1074
1075 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
1076
1077 * manual/nss.texi: Change incorrect @vtable to @table.
1078 * manual/arith.texi: Convert @tables of variables to @vtables
1079 and remove unnecessary indexing.
1080 * manual/filesys.texi: Likewise.
1081 * manual/llio.texi: Likewise.
1082 * manual/memory.texi: Likewise.
1083 * manual/process.texi: Likewise.
1084 * manual/resource.texi: Likewise.
1085 * manual/search.texi: Likewise.
1086 * manual/signal.texi: Likewise.
1087 * manual/socket.texi: Likewise.
1088 * manual/stdio.texi: Likewise.
1089 * manual/sysinfo.texi: Likewise.
1090 * manual/syslog.texi: Likewise.
1091 * manual/terminal.texi: Likewise.
1092 * manual/time.texi: Likewise.
1093 * manual/users.texi: Likewise.
1094
1095 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1096
1097 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1098 (roundeven): New declaration.
1099 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1100 macro.
1101 * math/Versions (roundeven): New libm symbol at version
1102 GLIBC_2.25.
1103 (roundevenf): Likewise.
1104 (roundevenl): Likewise.
1105 * math/Makefile (libm-calls): Add s_roundevenF.
1106 * math/libm-test.inc (roundeven_test_data): New array.
1107 (roundeven_test): New function.
1108 (main): Call roundeven_test.
1109 * math/test-tgmath.c (NCALLS): Increase to 134.
1110 (F(compile_test)): Call roundeven.
1111 (F(roundeven)): New function.
1112 * manual/arith.texi (Rounding Functions): Document roundeven,
1113 roundevenf and roundevenl.
1114 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1115 * include/math.h (roundeven): Use libm_hidden_proto.
1116 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1117 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1118 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1119 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1120 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1121 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1122 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1123 roundeven.
1124 (CFLAGS-nldbl-roundeven.c): New variable.
1125 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1126 * sysdeps/nacl/libm.abilist: Update.
1127 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1128 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1129 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1130 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1131 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1132 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1133 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1134 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1135 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1136 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1137 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1138 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1140 Likewise.
1141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1142 Likewise.
1143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1144 Likewise.
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1146 Likewise.
1147 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1148 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1149 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1150 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1151 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1153 Likewise.
1154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1155 Likewise.
1156 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1157 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1158 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1159
1160 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1161
1162 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1163 preprocessor indentation inside #if.
1164
1165 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1166
1167 * math/libm-test.inc (fmt_ftostr): New function.
1168 (print_float, check_float_internal): Replace some uses of
1169 FTOSTR with uses of fmt_ftostr.
1170 (print_max_error, print_complex_max_error, print_function_ulps)
1171 (print_complex_function_ulps): Remove uses of the macros
1172 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1173 * math/test-double.h (FTOSTR): Define to strfromd.
1174 (PRINTF_EXPR): Delete.
1175 (PRINTF_XEXPR): Likewise.
1176 (PRINTF_NEXPR): Likewise.
1177 * math/test-float.h (FTOSTR): Define to strfromf.
1178 (PRINTF_EXPR): Delete.
1179 (PRINTF_XEXPR): Likewise.
1180 (PRINTF_NEXPR): Likewise.
1181 * math/test-ldouble.h (FTOSTR): Define to strfroml.
1182 (PRINTF_EXPR): Delete.
1183 (PRINTF_XEXPR): Likewise.
1184 (PRINTF_NEXPR): Likewise.
1185
1186 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1187
1188 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1189 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
1190 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1191 (__lll_lock_elision): Decrement adapt_count while unlocking
1192 instead of before locking.
1193 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1194 (__lll_trylock_elision): Likewise.
1195 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
1196 (__lll_unlock_elision): Likewise.
1197
1198 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1199
1200 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
1201 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
1202 Use __libc_tbegin_retry macro.
1203
1204 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1205
1206 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
1207 Add -msoft-float.
1208 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
1209 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1210 Use __libc_t* transaction macros instead of __builtin_t*.
1211 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1212 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1213
1214 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1215
1216 * sysdeps/unix/sysv/linux/s390/elision-lock.c
1217 (__lll_lock_elision): Use atomics to load / store adapt_count.
1218 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1219 (__lll_trylock_elision): Likewise.
1220
1221 2016-12-20 Florian Weimer <fweimer@redhat.com>
1222
1223 Do not require memset elimination in explicit_bzero test.
1224 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
1225 (enum test_expectation): Add NO_EXPECTATIONS.
1226 (subtests): NO_EXPECTATIONS for ordinary clear.
1227 (check_test_buffer): Handle NO_EXPECTATIONS.
1228 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
1229
1230 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1231
1232 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1233 (fmaxmag): New declaration.
1234 (fminmag): Likewise.
1235 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
1236 macro.
1237 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
1238 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
1239 (fmaxmagf): Likewise.
1240 (fmaxmagl): Likewise.
1241 (fminmag): Likewise.
1242 (fminmagf): Likewise.
1243 (fminmagl): Likewise.
1244 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
1245 * math/s_fmaxmag_template.c: New file.
1246 * math/s_fminmag_template.c: Likewise.
1247 * math/libm-test.inc (fmaxmag_test_data): New array.
1248 (fmaxmag_test): New function.
1249 (fminmag_test_data): New array.
1250 (fminmag_test): New function.
1251 (main): Call fmaxmag_test and fminmag_test.
1252 * math/test-tgmath.c (NCALLS): Increase to 132.
1253 (F(compile_test)): Call fmaxmag and fminmag.
1254 (F(fminmag)): New function.
1255 (F(fmaxmag)): Likewise.
1256 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
1257 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
1258 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
1259 fminmag.
1260 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
1261 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
1262 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1263 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1264 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
1265 and fminmag.
1266 (CFLAGS-nldbl-fmaxmag.c): New variable.
1267 (CFLAGS-nldbl-fminmag.c): Likewise.
1268 * sysdeps/nacl/libm.abilist: Update.
1269 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1270 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1271 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1272 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1273 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1274 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1275 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1276 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1277 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1278 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1279 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1280 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1282 Likewise.
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1284 Likewise.
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1286 Likewise.
1287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1288 Likewise.
1289 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1290 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1291 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1292 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1293 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1295 Likewise.
1296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1297 Likewise.
1298 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1299 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1300 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1301
1302 2016-12-19 Torvald Riegel <triegel@redhat.com>
1303
1304 [BZ #20973]
1305 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
1306 wake-up in robust mutexes.
1307 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1308
1309 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1310
1311 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
1312 (CFLAGS-bench-fmaxf.c): New rule.
1313 (CFLAGS-bench-fminf.c): Likewise.
1314 * benchtests/fmaxf-inputs: New file.
1315 * benchtests/fminf-inputs: Likewise.
1316
1317 * benchtests/Makefile (bench-math): Add fmin and fmax.
1318 (CFLAGS-bench-fmax.c): New rule.
1319 (CFLAGS-bench-fmin.c): Likewise.
1320 * benchtests/fmax-inputs: New file.
1321 * benchtests/fmin-inputs: Likewise.
1322
1323 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
1324 parenthesis.
1325 (CMDLINE_PROCESS): Define using function instead of macro.
1326 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
1327 of test-skeleton.
1328 * benchtests/bench-memchr.c: Likewise.
1329 * benchtests/bench-memcmp.c: Likewise.
1330 * benchtests/bench-memcpy-large.c: Likewise.
1331 * benchtests/bench-memcpy.c: Likewise.
1332 * benchtests/bench-memmem.c: Likewise.
1333 * benchtests/bench-memmove-large.c: Likewise.
1334 * benchtests/bench-memmove.c: Likewise.
1335 * benchtests/bench-memset-large.c: Likewise.
1336 * benchtests/bench-memset.c: Likewise.
1337 * benchtests/bench-rawmemchr.c: Likewise.
1338 * benchtests/bench-strcasecmp.c: Likewise.
1339 * benchtests/bench-strcasestr.c: Likewise.
1340 * benchtests/bench-strcat.c: Likewise.
1341 * benchtests/bench-strchr.c: Likewise.
1342 * benchtests/bench-strcmp.c: Likewise.
1343 * benchtests/bench-strcpy.c: Likewise.
1344 * benchtests/bench-strcpy_chk.c: Likewise.
1345 * benchtests/bench-strlen.c: Likewise.
1346 * benchtests/bench-strncasecmp.c: Likewise.
1347 * benchtests/bench-strncmp.c: Likewise.
1348 * benchtests/bench-strncpy.c: Likewise.
1349 * benchtests/bench-strnlen.c: Likewise.
1350 * benchtests/bench-strpbrk.c: Likewise.
1351 * benchtests/bench-strrchr.c: Likewise.
1352 * benchtests/bench-strsep.c: Likewise.
1353 * benchtests/bench-strspn.c: Likewise.
1354 * benchtests/bench-strstr.c: Likewise.
1355 * benchtests/bench-strtok.c: Likewise.
1356
1357 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
1358
1359 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
1360 stepping identification.
1361 (init_cpu_features): Add handle of Haswell.
1362
1363 2016-11-25 Jim Meyering <meyering@fb.com>
1364
1365 [BZ #20386]
1366 Let gcc detect assert(a = 1) errors.
1367 * assert/assert.h (assert): Rewrite, retaining the old definintion
1368 when required, but otherwise putting the expression as-is in an "if"
1369 expression (hence, with no added parentheses) within a statement
1370 expression.
1371
1372 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
1373
1374 * benchtests/Makefile (binaries-benchset): Depend on libsupport
1375 DSO.
1376
1377 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
1378
1379 * Rules (python-flags, python-invoke): New.
1380 ($(test-printers-out)): Use $(python-flags).
1381
1382 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1383
1384 * manual/arith.texi (Math Error Reporting): Document that sNaN
1385 arguments are not considered domain errors.
1386
1387 2016-12-16 Zack Weinberg <zackw@panix.com>
1388 Florian Weimer <fweimer@redhat.com>
1389 Nick Mathewson <nickm@torproject.org>
1390
1391 * string/explicit_bzero.c: New routine.
1392 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
1393 * string/Makefile (routines, strop-tests, tests): Add them.
1394 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
1395 * string/string.h [__USE_MISC]: Declare explicit_bzero.
1396
1397 * debug/explicit_bzero_chk.c: New routine.
1398 * debug/Makefile (routines): Add it.
1399 * debug/tst-chk1.c: Test fortification of explicit_bzero.
1400 * string/bits/string3.h: Fortify explicit_bzero.
1401
1402 * manual/string.texi: Document explicit_bzero.
1403 * NEWS: Mention addition of explicit_bzero.
1404
1405 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
1406 data before returning, using explicit_bzero.
1407 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
1408 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1409 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1410
1411 * include/string.h: Redirect internal uses of explicit_bzero
1412 to __explicit_bzero_chk[_internal].
1413 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
1414 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
1415 * sysdeps/arm/nacl/libc.abilist
1416 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1417 * sysdeps/unix/sysv/linux/alpha/libc.abilist
1418 * sysdeps/unix/sysv/linux/arm/libc.abilist
1419 * sysdeps/unix/sysv/linux/hppa/libc.abilist
1420 * sysdeps/unix/sysv/linux/i386/libc.abilist
1421 * sysdeps/unix/sysv/linux/ia64/libc.abilist
1422 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1423 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1424 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1425 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1426 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1427 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1428 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1429 * sysdeps/unix/sysv/linux/nios2/libc.abilist
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1434 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1435 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1436 * sysdeps/unix/sysv/linux/sh/libc.abilist
1437 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1438 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1441 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1442 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1443 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1444 Add entries for explicit_bzero and __explicit_bzero_chk.
1445
1446 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1447
1448 * math/fenv.h
1449 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
1450 (FE_SNANS_ALWAYS_SIGNAL): New macro.
1451 * math/test-fe-snans-always-signal.c: New file.
1452 * math/Makefile (tests): Add test-fe-snans-always-signal.
1453 (CFLAGS-test-fe-snans-always-signal.c): New variable.
1454 * manual/arith.texi (Infinity and NaN): Document
1455 FE_SNANS_ALWAYS_SIGNAL.
1456
1457 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1458
1459 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
1460 bracket.
1461
1462 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1463
1464 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
1465 before calling execv.
1466
1467 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1468
1469 [BZ# 20971]
1470 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
1471 overflow in pointer addition.
1472 * string/test-memchr.c (do_test): Add an argument to pass as
1473 the size on memchr.
1474 (test_main): Add check for SIZE_MAX.
1475
1476 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1477
1478 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
1479 (libm-calls): Add w_scalblnF.
1480 * math/w_scalbln.c: Remove.
1481 * math/w_scalblnf.c: Likewise.
1482 * math/w_scalblnl.c: Likewise.
1483 * math/w_scalbln_template.c: New file with type-generic
1484 implementation based on math/w_scalbln.c.
1485 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
1486 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
1487
1488 2016-12-15 Joseph Myers <joseph@codesourcery.com>
1489
1490 [BZ #20947]
1491 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
1492 either is a signaling NaN.
1493 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
1494 follow fmaxl more closely.
1495 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
1496 when either is a signaling NaN.
1497 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
1498 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
1499 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
1500 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
1501 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
1502 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
1503 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
1504 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
1505 (fmin_test_data): Likewise.
1506
1507 2016-12-15 Andreas Schwab <schwab@suse.de>
1508
1509 * support/support_test_main.c (support_test_main): Don't shadow
1510 file-local variable test_pid.
1511
1512 2016-12-15 Joseph Myers <joseph@codesourcery.com>
1513
1514 [BZ #20947]
1515 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
1516 either is a signaling NaN.
1517 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
1518
1519 2016-12-14 Joseph Myers <joseph@codesourcery.com>
1520
1521 [BZ #20947]
1522 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
1523 when either is a signaling NaN.
1524 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
1525
1526 * bits/long-double.h: New file.
1527 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
1528 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
1529 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
1530 * sysdeps/mips/bits/long-double.h: Likewise.
1531 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
1532 * math/Makefile (headers): Add bits/long-double.h.
1533 * misc/sys/cdefs.h: Include <bits/long-double.h>.
1534 * stdlib/strtold.c: Include <bits/long-double.h> instead of
1535 <bits/wordsize.h>.
1536 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
1537 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
1538 * math/math.h: Do not include <bits/mathdef.h>.
1539 * sysdeps/aarch64/bits/mathdef.h: Remove file.
1540 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
1541 inclusion.
1542 * sysdeps/ia64/bits/mathdef.h: Remove file.
1543 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
1544 * sysdeps/mips/bits/mathdef.h: Likewise.
1545 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1546 * sysdeps/s390/bits/mathdef.h: Likewise.
1547 * sysdeps/sparc/bits/mathdef.h: Likewise.
1548 * sysdeps/x86/bits/mathdef.h: Likewise.
1549 * sysdeps/s390/s390-32/bits/wordsize.h
1550 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
1551 conditional code.
1552 * sysdeps/s390/s390-64/bits/wordsize.h
1553 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1554 Likewise.
1555 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
1556 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1557 Likewise.
1558 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
1559 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1560 Likewise.
1561 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1562 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1563 Likewise.
1564
1565 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
1566 <linux/falloc.h>.
1567 (FALLOC_FL_KEEP_SIZE): Remove.
1568 (FALLOC_FL_PUNCH_HOLE): Likewise.
1569 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
1570 (FALLOC_FL_ZERO_RANGE): Likewise.
1571
1572 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1573
1574 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
1575
1576 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1577
1578 * sysdeps/unix/sysv/linux/renameat.c: New file.
1579 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
1580
1581 * sysdeps/unix/sysv/linux/rename.c: New file.
1582 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
1583
1584 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
1585
1586 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
1587 * string/strtok.c (strtok): Change to tailcall __strtok_r.
1588 * string/strtok_r.c (__strtok_r): Optimize for performance.
1589 * string/string-inlines.c (__old_strtok_r_1c): New function.
1590 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
1591
1592 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1593
1594 * math/Makefile (gen-libm-calls): Add w_log1pF.
1595 (libm-calls): Remove w_log1pF.
1596 * math/w_log1p.c: Remove.
1597 * math/w_log1pf.c: Likewise.
1598 * math/w_log1pl.c: Likewise.
1599 * math/w_log1p_template.c: New file with type-generic
1600 implementation based on math/w_log1p.c.
1601 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
1602 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
1603
1604 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
1605
1606 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
1607
1608 2016-12-14 Joseph Myers <joseph@codesourcery.com>
1609
1610 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1611 kernel version to 4.9.
1612
1613 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
1614
1615 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
1616 ($(inst_libdir)/libm.a): Fix rule to create the target only.
1617
1618 2016-12-13 Andreas Schwab <schwab@suse.de>
1619
1620 * sysdeps/powerpc/dl-procinfo.c: Don't define
1621 _dl_powerpc_platforms.
1622 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
1623 constants instead of referencing _dl_powerpc_platforms.
1624 (_dl_platform_string): Remove.
1625
1626 2016-12-13 Florian Weimer <fweimer@redhat.com>
1627
1628 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
1629
1630 2016-12-13 Florian Weimer <fweimer@redhat.com>
1631
1632 * Rules (binaries-shared-tests, binaries-pie-tests)
1633 (binaries-static-tests): Link with $(link-extra-libs-tests).
1634 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
1635 Remove $(link-extra-libs-tests).
1636
1637 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1638
1639 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1640 (sysdep_routines): Add strncmp_power9.
1641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1642 (strncmp): Add __strncmp_power9 to list of strncmp functions.
1643 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
1644 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
1645 (strncmp): Add __strncmp_power9 to ifunc list.
1646 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
1647
1648 2016-12-12 Florian Weimer <fweimer@redhat.com>
1649
1650 [BZ #17252]
1651 Add getentropy, getrandom.
1652 * stdlib/sys/random.h: New file.
1653 (headers): Add it.
1654 * stdlib/Makefile (routines): Add getentropy, getrandom.
1655 (tests): Add tst-getrandom.
1656 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
1657 * stdlib/getentropy.c: New file.
1658 * stdlib/getrandom.c: Likewise.
1659 * stdlib/tst-getrandom.c: Likewise.
1660 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
1661 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
1662 * manual/crypt.texi (Unpredictable Bytes): New section.
1663 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
1664 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
1665 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1666 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1667 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1668 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1669 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1670 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1671 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1672 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1673 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1674 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1675 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1676 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1677 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1678 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1680 Likewise.
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1682 Likewise.
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1685 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1686 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1687 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1688 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1689 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1692 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1693 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1694 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1695
1696 2016-12-10 Florian Weimer <fweimer@redhat.com>
1697
1698 [BZ #20956]
1699 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
1700 as additional compiler barriers.
1701 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
1702 (fn2, do_test): Declare with external linkage.
1703 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
1704 (do_test): Declare with external linkage.
1705 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
1706 (do_test): Declare with external linkage.
1707 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
1708 (do_test): Declare with external linkage.
1709
1710 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
1711
1712 * support/support_test_main.c (support_test_main): Use correct
1713 timeout.
1714
1715 2016-12-09 Carlos O'Donell <carlos@redhat.com>
1716 Florian Weimer <fweimer@redhat.com>
1717
1718 [BZ #16421]
1719 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
1720 and __u6_addr32 members.
1721 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
1722 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
1723 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
1724 Use __u6_addr32.
1725 * inet/tst-checks.c: Use <support/test-driver.c>
1726 * inet/tst-checks-posix.c: New file.
1727 * inet/Makefile (tests): Add it.
1728 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
1729
1730 2016-12-09 Florian Weimer <fweimer@redhat.com>
1731
1732 New subdirectory support for build and test infrastructure.
1733 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
1734 setting install-lib.
1735 * Makeconfig (link-extra-libs-tests): Define.
1736 (+link-pie-tests, +link-static-tests, +link-tests): Use
1737 link-extra-libs-tests.
1738 (rpath-dirs, all-subdirs): Add support.
1739 (built-modules): Add libsupport.
1740 (libsupport): Define.
1741 * support: New directory.
1742 * support/Makefile: New file.
1743 * support/check.c: Likewise.
1744 * support/check.h: Likewise.
1745 * support/delayed_exit.c: Likewise.
1746 * support/ignore_stderr.c: Likewise.
1747 * support/oom_error.c: Likewise.
1748 * support/set_fortify_handler.c: Likewise.
1749 * support/support.h: Likewise.
1750 * support/temp_file-internal.h: Likewise.
1751 * support/temp_file.c: Likewise.
1752 * support/test-driver.c: Likewise.
1753 * support/test-driver.h: Likewise.
1754 * support/test_main.c: Likewise.
1755 * support/write_message.c: Likewise.
1756 * support/xasprintf.c: Likewise.
1757 * support/xcalloc.c: Likewise.
1758 * support/xmalloc.c: Likewise.
1759 * support/xpthread_barrier_destroy.c: Likewise.
1760 * support/xpthread_barrier_init.c: Likewise.
1761 * support/xpthread_barrier_wait.c: Likewise.
1762 * support/xpthread_cancel.c: Likewise.
1763 * support/xpthread_check_return.c: Likewise.
1764 * support/xpthread_cond_wait.c: Likewise.
1765 * support/xpthread_create.c: Likewise.
1766 * support/xpthread_detach.c: Likewise.
1767 * support/xpthread_join.c: Likewise.
1768 * support/xpthread_mutex_lock.c: Likewise.
1769 * support/xpthread_mutex_unlock.c: Likewise.
1770 * support/xpthread_sigmask.c: Likewise.
1771 * support/xpthread_spin_lock.c: Likewise.
1772 * support/xpthread_spin_unlock.c: Likewise.
1773 * support/xrealloc.c: Likewise.
1774 * support/xsignal.h: Likewise.
1775 * support/xthread.h: Likewise.
1776 * support_tempfile.h: Likewise.
1777 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
1778 (TEST_DATA_LIMIT): Remove unused macro.
1779 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
1780 <support/check.h>.
1781 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
1782 (ignore_stderr, set_fortify_handler): Remove. Now in
1783 <support/support.h>.
1784 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
1785 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
1786 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
1787 (xpthread_join): Remove. Now in <support/xthread.h>.
1788 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
1789 Introduce legacy wrappers.
1790 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
1791 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
1792 (write_message): Remove.
1793 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
1794 test-skeleton.c.
1795 * io/test-open-tmpfile: Likewise.
1796 * io/tst-posix_fallocate-common.c: Likewise.
1797 * libio/tst-fseek.c: Likewise.
1798 * malloc/tst-malloc-backtrace.c: Likewise.
1799 * malloc/tst-malloc-fork-deadlock.c: Likewise.
1800 * malloc/tst-malloc-thread-exit.c: Likewise.
1801 * nptl/tst-cancel7.c: Likewise.
1802 * nptl/tst-cleanup0.c: Likewise.
1803 * posix/tst-posix_fadvise-common.c: Likewise.
1804 * rt/tst-shm.c: Likewise.
1805 * time/bug-getdate1.c: Likewise.
1806 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1807 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
1808 * elf/Makefile (tst-piemod1.so): Link against libsupport.
1809
1810 2016-12-08 Joseph Myers <joseph@codesourcery.com>
1811
1812 * Rules [$(run-built-tests) != no] (tests-expected): Add
1813 $(tests-printers).
1814 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
1815
1816 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
1817
1818 [BZ #20539]
1819 * math/Makefile (install-lib-ldscripts): Add libm.a.
1820 (install_subdir): Remove.
1821 (install-others): Add.
1822 ($(inst_libdir)/libm.a): Add rule for installation as
1823 linker script.
1824 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
1825
1826 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
1827
1828 * INSTALL: Regenerated.
1829 * Makeconfig: Add comments and whitespace to make the control flow
1830 clearer.
1831 (+link-printers-tests, +link-pie-printers-tests,
1832 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
1833 built-rtld-LDFLAGS, link-libc-rpath,
1834 link-libc-tests-after-rpath-link,
1835 link-libc-printers-tests): New.
1836 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
1837 link-libc-tests): Use the new variables as required.
1838 * Makerules ($(py-const)): New rule.
1839 generated: Add $(py-const).
1840 * README.pretty-printers: New file.
1841 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
1842 (others): Depend on $(py-const).
1843 (tests): Depend on $(tests-printers-programs) or
1844 $(tests-printers-out),
1845 as required. Pass $(tests-printers) to merge-test-results.sh.
1846 * manual/install.texi: Add requirements for testing the pretty
1847 printers.
1848 * nptl/Makefile (gen-py-const-headers, pretty-printers,
1849 tests-printers, CFLAGS-test-mutexattr-printers.c
1850 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
1851 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
1852 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
1853 * nptl/nptl-printers.py: New file.
1854 * nptl/nptl_lock_constants.pysym: Likewise.
1855 * nptl/test-cond-printers.c: Likewise.
1856 * nptl/test-cond-printers.py: Likewise.
1857 * nptl/test-condattr-printers.c: Likewise.
1858 * nptl/test-condattr-printers.py: Likewise.
1859 * nptl/test-mutex-printers.c: Likewise.
1860 * nptl/test-mutex-printers.py: Likewise.
1861 * nptl/test-mutexattr-printers.c: Likewise.
1862 * nptl/test-mutexattr-printers.py: Likewise.
1863 * nptl/test-rwlock-printers.c: Likewise.
1864 * nptl/test-rwlock-printers.py: Likewise.
1865 * nptl/test-rwlockattr-printers.c: Likewise.
1866 * nptl/test-rwlockattr-printers.py: Likewise.
1867 * scripts/gen-py-const.awk: Likewise.
1868 * scripts/test_printers_common.py: Likewise.
1869 * scripts/test_printers_exceptions.py: Likewise.
1870
1871 2016-12-07 Joseph Myers <joseph@codesourcery.com>
1872
1873 * scripts/build-many-glibcs.py (Context.__init__): Take strip
1874 argument.
1875 (Glibc.build_glibc): Strip installed shared libraries if
1876 requested.
1877 (get_parser): Add --strip option.
1878 (main): Update Context call.
1879
1880 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1881 Dominik Vogt <vogt@linux.vnet.ibm.com>
1882
1883 [BZ #20847]
1884 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1885 array bounds for else branch.
1886 (__execvpe): Style fixes.
1887 * posix/tst-vfork3.c (run_script): New function.
1888 (create_script): Likewise.
1889 (do_test): Use run_script internal function.
1890 (do_prepare): Use create_script internal function.
1891
1892 2016-12-07 Andreas Schwab <schwab@suse.de>
1893
1894 * sysdeps/unix/sysv/linux/x86/elision-conf.h
1895 (__elision_available): Don't declare.
1896 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1897 (__elision_available): Don't define.
1898 (elision_init): Don't set __elision_available.
1899
1900 2016-12-07 Joseph Myers <joseph@codesourcery.com>
1901
1902 [BZ #20940]
1903 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
1904 return Inf for arguments Inf and sNaN.
1905 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
1906 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1907 Likewise.
1908 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1909 Likewise.
1910 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
1911 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
1912 for arguments Inf and sNaN. When returning a NaN, compute it by
1913 arithmetic on the arguments.
1914 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
1915 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
1916 arguments.
1917
1918 2016-12-06 Joseph Myers <joseph@codesourcery.com>
1919
1920 [BZ #20916]
1921 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
1922 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
1923 to compute result.
1924 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1925 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
1926
1927 2016-12-05 Torvald Riegel <triegel@redhat.com>
1928
1929 * include/atomic.h (__atomic_check_size_ls): New.
1930 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
1931 atomic_store_release): Use it.
1932 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
1933 (elision_adapt, ELIDE_LOCK): Use atomics.
1934 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
1935 atomics and improve code comments.
1936 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
1937 (__lll_trylock_elision): Likewise.
1938
1939 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1940
1941 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
1942 programs.
1943
1944 2016-12-02 Joseph Myers <joseph@codesourcery.com>
1945
1946 [BZ #20916]
1947 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
1948 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
1949 arguments to compute result.
1950 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
1951 1 for arguments (sNaN, 0) or (1, sNaN).
1952 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
1953 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1954
1955 [BZ #20919]
1956 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
1957 NaN first argument when raised to power 0.
1958 * math/w_pow.c (__pow): Do not check for NaN or zero results from
1959 raising to power zero.
1960 * math/w_powf.c (__powf): Likewise.
1961 * math/w_powl.c (__powl): Likewise.
1962 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
1963 pow (0, 0) or pow (NaN, 0).
1964
1965 2016-12-02 Carlos O'Donell <carlos@redhat.com>
1966
1967 [BZ #20918]
1968 * configure.ac: Test for static NSS cryptographic libraries and set
1969 libc_cv_static_nss_crypt.
1970 * configure: Regenerate.
1971 * config.make.in (static-nss-crypt): Define.
1972 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
1973 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
1974 (CFLAGS-tst-linkall-static.c): Define.
1975 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
1976 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
1977 ($(objpfx)tst-linkall-static): Define.
1978 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
1979 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
1980
1981 2016-12-02 Florian Weimer <fweimer@redhat.com>
1982
1983 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
1984 (one-hundred, tst-tls-many-dynamic-modules): Define.
1985 (modules-names): Add $(tst-tls-many-dynamic-modules).
1986 (tst-tls-manydynamic%mod.os): Build with special preprocessor
1987 macros.
1988 (tst-tls-manydynamic): Link against libdl, libpthread.
1989 (tst-tls-manydynamic.out): The test needs the test modules at run
1990 time.
1991 * elf/tst-tls-manydynamic.c: New file.
1992 * elf/tst-tls-manydynamic.h: Likewise.
1993 * elf/tst-tls-manydynamicmod.c: Likewise.
1994
1995 2016-12-02 Florian Weimer <fweimer@redhat.com>
1996
1997 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
1998 (TLS_DTV_UNALLOCATED): Add.
1999 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2000 offsets.
2001
2002 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2003
2004 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2005
2006 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2007
2008 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2009 Add -fno-optimize-sibling-calls.
2010
2011 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2012
2013 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2014 New declaration.
2015 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2016 macro.
2017 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2018 New macro.
2019 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2020 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2021 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2022 (llogbf): Likewise.
2023 (llogbl): Likewise.
2024 * math/Makefile (gen-libm-calls): Add w_llogbF.
2025 (tests): Add test-fp-llogb-constants.
2026 * math/w_llogb_template.c: New file. Based on
2027 math/w_ilogb_template.c.
2028 * math/libm-test.inc (llogb_test_data): New array.
2029 (llogb_test): New function.
2030 (main): Call llogb_test.
2031 * math/test-fp-llogb-constants.c: New file. Based on
2032 math/test-fp-ilogb-constants.c.
2033 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2034 (do_test): Call check_return_llogb.
2035 * math/test-tgmath.c (NCALLS): Increase to 126.
2036 (F(compile_test)): Call llogb.
2037 (F(llogb)): New function.
2038 * manual/math.texi (Exponents and Logarithms): Document llogb,
2039 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2040 * manual/libm-err-tab.pl (@all_functions): Add llogb.
2041 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2042 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2043 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2044 (CFLAGS-nldbl-llogb.c): New variable.
2045 * sysdeps/nacl/libm.abilist: Update.
2046 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2047 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2048 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2049 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2050 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2051 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2052 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2053 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2054 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2055 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2056 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2057 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2059 Likewise.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2061 Likewise.
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2063 Likewise.
2064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2065 Likewise.
2066 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2067 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2068 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2069 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2070 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2072 Likewise.
2073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2074 Likewise.
2075 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2076 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2077 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2078
2079 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2080
2081 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2082 _Float128 instead of long double.
2083 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2084
2085 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2086 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2087 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2088 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2089 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2090 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2091 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2092 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2093 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2094 Likewise.
2095
2096 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2097
2098 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2099 Remove redirection to __strrchr_ppc.
2100
2101 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2102
2103 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2104 (sysdep_routines): Add strcmp_power9.
2105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2106 (strcmp): Add __strcmp_power9 to list of strcmp functions.
2107 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2108 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2109 (strcmp): Add __strcmp_power9 to ifunc list.
2110 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2111
2112 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2113
2114 * bits/fp-logb.h: New file.
2115 * sysdeps/ia64/bits/fp-logb.h: Likewise.
2116 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2117 * sysdeps/x86/bits/fp-logb.h: Likewise.
2118 * math/Makefile (headers): Add bits/fp-logb.h.
2119 * math/math.h: Include <bits/fp-logb.h>.
2120 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2121 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2122 * bits/mathdef.h (FP_ILOGB0): Remove.
2123 (FP_ILOGBNAN): Likewise.
2124 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2125 (FP_ILOGBNAN): Likewise.
2126 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2127 (FP_ILOGBNAN): Likewise.
2128 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2129 (FP_ILOGBNAN): Likewise.
2130 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2131 (FP_ILOGBNAN): Likewise.
2132 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2133 (FP_ILOGBNAN): Likewise.
2134 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2135 (FP_ILOGBNAN): Likewise.
2136 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2137 (FP_ILOGBNAN): Likewise.
2138 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2139 (FP_ILOGBNAN): Likewise.
2140 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2141 (FP_ILOGBNAN): Likewise.
2142
2143 * scripts/build-many-glibcs.py: Add bot to usage message. Import
2144 time module.
2145 (Context.__init__): Initialize self.logsdir_old.
2146 (Context.run_builds): Handle bot action.
2147 (Context.bot_cycle): Copy logs directory before running builds.
2148 (Context.bot_run_self): Take argument for whether to check
2149 subprocess result. Flush stdout before running subprocess.
2150 (Context.bot): New function.
2151 (get_parser): Allow bot action.
2152
2153 2016-11-30 Joseph Myers <joseph@codesourcery.com>
2154
2155 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2156 Import email.mime.text, email.utils and smtplib modules.
2157 (Context.__init__): Initialize self.bot_config_json.
2158 (Context.run_builds): Handle bot-cycle action.
2159 (Context.load_bot_config_json): New function.
2160 (Context.part_build_old): Likewise.
2161 (Context.bot_cycle): Likewise.
2162 (Context.bot_build_mail): Likewise.
2163 (Context.bot_run_self): Likewise.
2164 (get_parser): Allow bot-cycle action.
2165
2166 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2167
2168 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2169 Remove redirection to __stpcpy_ppc.
2170
2171 2016-11-30 Florian Weimer <fweimer@redhat.com>
2172
2173 Remove __libc_memalign from ld.so because it is unused.
2174 * elf/dl-minimal.c: Update comment on the malloc implementation.
2175 (malloc): Renamed from __libc_memalign, replacing the original
2176 malloc implementation. Replace the align parameter with
2177 MALLOC_ALIGNMENT.
2178 * elf/Versions (ld): Update comment and remove __libc_memalign.
2179 * sysdeps/nacl/ld.abilist: Likewise.
2180 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2181 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2182 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2183 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2184 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2185 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2186 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2187 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2188 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2189 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2190 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2191 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2192 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2196 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
2197 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
2198 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
2199 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
2200 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
2201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
2202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
2203 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2204 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
2205 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
2206 * sysdeps/generic/localplt.data (ld.so): Likewise.
2207 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2208 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2209 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2210 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2211 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2212 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2213 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2214 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
2215 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2217 (ld.so): Likewise.
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2219 (ld.so): Likewise.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2221 Likewise.
2222 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2223 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2224 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
2225 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
2226 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2227
2228 2016-11-30 Florian Weimer <fweimer@redhat.com>
2229
2230 [BZ #16628]
2231 Implement _dl_catch_error, _dl_signal_error in libc.so.
2232 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
2233 (catch_hook): Define as thread-local or regular variable,
2234 depending on DL_ERROR_BOOTSTRAP.
2235 (CATCH_HOOK): Remove.
2236 (dl_signal_error, _dl_catch_error): Use
2237 catch_hook. Add hidden definition for libc.
2238 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
2239 for DL_ERROR_BOOTSTRAP only.
2240 * elf/dl-error.c: New file.
2241 * elf/dl-error-minimal.c: Likewise.
2242 * elf/tst-latepthread.c: Likewise.
2243 * elf/tst-latepthreadmod.c: Likewise.
2244 * elf/Makefile (routines): Add dl-error.
2245 (dl-routines): Remove dl-error.
2246 (rtld-routines): Add dl-error-minimal.
2247 [build-shared] (tests): Add tst-latepthread.
2248 (module-names): Add tst-latepthreadmod.
2249 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
2250 symbol.
2251 (tst-latepthreadmod.so): Link against libpthread.
2252 (tst-latepthread): Link against libdbl.
2253 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
2254 _dl_catch_error.
2255 [ld] (GLIBC_PRIVATE): Likewise.
2256 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
2257 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
2258 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
2259 directly.
2260 * elf/dl-tsd.c: Remove file.
2261 * elf/rtld.c (_rtld_global_ro): Remove initializers for
2262 _dl_catch_error, _dl_signal_error.
2263 (_dl_initial_error_catch_tsd): Remove definition.
2264 (do_preload): Remove initialization of dl_error_catch_tsd.
2265 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
2266 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
2267 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2268 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2269 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
2270 set dl_error_catch_tsd.
2271 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
2272 _dl_error_catch_tsd member.
2273 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
2274 members.
2275 (_dl_initial_error_catch_tsd): Remove declaration.
2276 (_dl_dprintf): Provide definition for use outside of ld.so.
2277 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
2278 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
2279 prototype for libc.
2280 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
2281 _dl_catch_error.
2282 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2283 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2284 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2285 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2286 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2287 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2288 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2289 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2290 Likewise.
2291 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2293 (ld.so): Likewise.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2295 (ld.so): Likewise.
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2297 Likewise.
2298 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2299 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2300 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2301 Likewise.
2302 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2303 Likewise.
2304 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2305
2306 2016-11-30 Florian Weimer <fweimer@redhat.com>
2307
2308 [BZ #4099]
2309 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
2310 _IO_BUFSIZ (8192).
2311
2312 2016-11-30 Carlos O'Donell <carlos@redhat.com>
2313
2314 * PROJECTS: Remove file.
2315
2316 2016-11-29 Florian Weimer <fweimer@redhat.com>
2317
2318 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
2319
2320 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
2321 Steve Ellcey <sellcey@caviumnetworks.com>
2322
2323 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
2324 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
2325 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
2326 fxstatat.
2327 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
2328 lxstat.
2329 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
2330 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
2331 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
2332 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
2333 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
2334 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
2335 __xstat.
2336
2337 2016-11-29 Florian Weimer <fweimer@redhat.com>
2338
2339 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
2340 Define.
2341 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
2342 definition.
2343
2344 2016-11-29 Florian Weimer <fweimer@redhat.com>
2345
2346 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
2347 version and turn into strong alias. Remove compat symbol.
2348
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2350 (__longjmp): Remove.
2351
2352 2016-11-29 Joseph Myers <joseph@codesourcery.com>
2353
2354 * bits/fp-fast.h: New file.
2355 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
2356 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
2357 * math/Makefile (headers): Add bits/fp-fast.h.
2358 * math/math.h: Include <bits/fp-fast.h>.
2359 * bits/mathdef.h (FP_FAST_FMA): Remove.
2360 (FP_FAST_FMAF): Likewise.
2361 (FP_FAST_FMAL): Likewise.
2362 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
2363 (FP_FAST_FMAF): Likewise.
2364 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
2365 (FP_FAST_FMAF): Likewise.
2366 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
2367 (FP_FAST_FMAF): Likewise.
2368 (FP_FAST_FMAL): Likewise.
2369 * sysdeps/arm/bits/mathdef.h: Remove file.
2370 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
2371 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2372 * sysdeps/tile/bits/mathdef.h: Likewise.
2373
2374 2016-11-28 Joseph Myers <joseph@codesourcery.com>
2375
2376 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
2377 * math/w_ilogb.c: Remove.
2378 * math/w_ilogbf.c: Likewise.
2379 * math/w_ilogbl.c: Likewise.
2380 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
2381 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
2382 * math/Makefile (gen-libm-calls): Add w_ilogbF.
2383 (libm-calls): Remove w_ilogbF.
2384 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
2385 (LDOUBLE_ilogbl_libm_version): New macro.
2386
2387 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
2388
2389 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
2390 [!__STRICT_ANSI__ && !__cplusplus].
2391
2392 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
2393
2394 [BZ #20750]
2395 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
2396 of PIC.
2397
2398 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2399 Yury Norov <ynorov@caviumnetworks.com>
2400 Steve Ellcey <sellcey@caviumnetworks.com>
2401
2402 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
2403 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
2404 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
2405 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
2406 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
2407 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
2408 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
2409 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
2410 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
2411 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
2412 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
2413 to get correct reg name for ILP32.
2414 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
2415 (RELA_SIZE): New Macro.
2416 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
2417 to support ILP32.
2418 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
2419 cast for ILP32 mode.
2420 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
2421 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
2422 * sysdeps/aarch64/memset.S (__memset): Ditto.
2423 * sysdeps/aarch64/strchr.S (strchr): Ditto.
2424 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
2425 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
2426 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
2427 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
2428 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
2429 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
2430 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
2431 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
2432 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
2433 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
2434 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
2435 change PTR_MANGLE call to use register numbers instead of names.
2436 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
2437 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
2438 ILP32 mode, change PTR_MANGLE calls to use register numbers.
2439 * sysdeps/aarch64/start.S (_start): Ditto.
2440 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
2441 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
2442 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
2443 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
2444 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
2445 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
2446 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
2447 Make defined values dependent on __ILP32__.
2448 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
2449 (sem_t): Change __align type.
2450 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
2451 PTR_SIZE): New Macros.
2452 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
2453 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
2454 Set when in ILP32 mode.
2455 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
2456 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
2457 Set elf flags for ILP32.
2458 (add_system_dir): Set ILP32 library directories.
2459 * sysdeps/unix/sysv/linux/aarch64/init-first.c
2460 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
2461 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
2462 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
2463 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
2464 New Macros.
2465 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
2466
2467 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
2468
2469 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
2470 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
2471 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
2472
2473 2016-11-28 Joseph Myers <joseph@codesourcery.com>
2474
2475 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
2476 <asm/cachectl.h>.
2477
2478 2016-11-27 Zack Weinberg <zackw@panix.com>
2479
2480 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
2481 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
2482
2483 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2484
2485 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
2486 error_t to fix usage in C++ programs.
2487
2488 2016-11-26 Joseph Myers <joseph@codesourcery.com>
2489
2490 * scripts/build-many-glibcs.py: Import datetime module.
2491 (Context.__init__): Load JSON build state. Initialize list of
2492 status logs.
2493 (Context.run_builds): Update saved build state.
2494 (Context.add_makefile_cmdlist): Update list of status logs.
2495 (Context.load_build_state_json): New function.
2496 (Context.store_build_state_json): Likewise.
2497 (Context.clear_last_build_state): Likewise.
2498 (Context.update_build_state): Likewise.
2499 (CommandList.status_logs): Likewise.
2500
2501 2016-11-25 Joseph Myers <joseph@codesourcery.com>
2502
2503 * scripts/build-many-glibcs.py (Context.__init__): Save text of
2504 script being executed.
2505 (Context.get_script_text): New function.
2506 (Context.exec_self): Likewise.
2507 (Context.checkout): Re-exec script if changed by checkout process.
2508
2509 2016-11-24 Joseph Myers <joseph@codesourcery.com>
2510
2511 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2512 (setpayloadsig): New declaration.
2513 * math/Versions (setpayloadsig): New libm symbol at version
2514 GLIBC_2.25.
2515 (setpayloadsigf): Likewise.
2516 (setpayloadsigl): Likewise.
2517 * math/Makefile (libm-calls): Add s_setpayloadsigF.
2518 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
2519 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
2520 (setpayloadsig_test_data): New array.
2521 (setpayloadsig_test): New function.
2522 (main): Call setpayloadsig_test.
2523 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
2524 setpayloadsigf and setpayloadsigl.
2525 * manual/libm-err-tab.pl: Update comment on interfaces without
2526 ulps tabulated.
2527 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
2528 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
2529 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
2530 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
2531 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
2532 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
2533 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2534 setpayloadsig.
2535 (CFLAGS-nldbl-setpayloadsig.c): New variable.
2536 * sysdeps/nacl/libm.abilist: Update.
2537 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2538 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2539 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2540 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2541 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2542 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2543 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2544 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2545 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2546 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2547 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2548 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2550 Likewise.
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2552 Likewise.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2554 Likewise.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2556 Likewise.
2557 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2558 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2559 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2560 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2561 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2563 Likewise.
2564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2565 Likewise.
2566 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2567 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2568 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2569
2570 * scripts/build-many-glibcs.py: Import json module.
2571 (Context.__init__): Take replace_sources argument. Load
2572 versions.json.
2573 (Context.load_versions_json): New function.
2574 (Context.store_json): Likewise.
2575 (Context.store_versions_json): Likewise.
2576 (Context.set_component_version): Likewise.
2577 (Context.checkout): Update versions.json. Check for and handle
2578 changes of version. Prefer previously explicitly specified
2579 version to default version.
2580 (Context.checkout_vcs): Return a revision identifier.
2581 (Context.git_checkout): Likewise.
2582 (Context.gcc_checkout): Likewise.
2583 (get_parser): Add --replace-sources option.
2584 (main): Pass replace_sources argument to Context call.
2585
2586 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2587
2588 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
2589 * nptl/allocatestack.c (allocate_stack): Likewise.
2590 (__reclaim_stacks): Likewise.
2591 (setxid_signal_thread): Obtain pid through syscall.
2592 * nptl/nptl-init.c (sigcancel_handler): Likewise.
2593 (sighandle_setxid): Likewise.
2594 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
2595 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2596 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2597 Likewise.
2598 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2599 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
2600 comment.
2601 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
2602 * nptl/descr.h (struct pthread): Change comment about pid value.
2603 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
2604 pid assert.
2605 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
2606 Do not set pid value.
2607 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
2608 pid cache check.
2609 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
2610 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
2611 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
2612 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
2613 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
2614 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2615 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
2616 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
2617 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
2618 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
2619 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
2620 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2621 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
2622 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2623 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
2624 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
2625 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2626 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
2627 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2628 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
2629 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
2630 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2631 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
2632 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2633 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2636 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2637 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2638 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2639 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
2640 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2641 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
2642 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2643 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
2644 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2645 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2646 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2647 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
2648 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2649 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2650 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
2651 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2654 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2655 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2656 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2657 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2658 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2659 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
2660 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2661 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2662 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
2663 struct access.
2664 (clone_test): Remove function.
2665 (do_test): Rewrite to take in consideration pid is not cached anymore.
2666
2667 2016-11-24 Joseph Myers <joseph@codesourcery.com>
2668
2669 * bits/flt-eval-method.h: New file.
2670 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
2671 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
2672 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
2673 * math/Makefile (headers): Add bits/flt-eval-method.h.
2674 * math/math.h: Include <bits/flt-eval-method.h>.
2675 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
2676 [__USE_ISOC99] (double_t): Likewise.
2677 * bits/mathdef.h (float_t): Remove.
2678 (double_t): Likewise.
2679 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
2680 (double_t): Likewise.
2681 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
2682 (double_t): Likewise.
2683 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
2684 (double_t): Likewise.
2685 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
2686 (double_t): Likewise.
2687 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
2688 (double_t): Likewise.
2689 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
2690 (double_t): Likewise.
2691 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
2692 (double_t): Likewise.
2693 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
2694 (double_t): Likewise.
2695 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
2696 (double_t): Likewise.
2697 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
2698 (double_t): Likewise.
2699 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
2700 (double_t): Likewise.
2701 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
2702 (double_t): Likewise.
2703 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
2704 (double_t): Likewise.
2705
2706 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
2707
2708 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
2709 instead of PIC.
2710
2711 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2712
2713 [BZ #20859]
2714 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
2715 (-0x7fffffff) instead of 0x80000001.
2716 * math/test-fp-ilogb-constants.c: New file.
2717 * math/Makefile (tests): Add test-fp-ilogb-constants.
2718
2719 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
2720
2721 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
2722 (_init): Use it in place of hardcoded R_MIPS_JALR.
2723 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
2724 (_init): Use it in place of hardcoded R_MIPS_JALR.
2725 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
2726 (_init): Use it in place of hardcoded R_MIPS_JALR.
2727
2728 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2729
2730 [BZ #20787]
2731 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
2732 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
2733 (double_t): Do not define to double if [__x86_64__] when
2734 __FLT_EVAL_METHOD__ is nonzero.
2735 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
2736 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
2737 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2738 test-flt-eval-method-387 and test-flt-eval-method-sse.
2739 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
2740 variable.
2741 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
2742
2743 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
2744
2745 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
2746 use of -fno-isolate-erroneous-paths options for tilepro.
2747
2748 2016-11-23 Florian Weimer <fweimer@redhat.com>
2749
2750 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
2751 structure initialization is no longer needed.
2752
2753 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2754
2755 [BZ #20855]
2756 * bits/mathdef.h (float_t): Define to float.
2757 * math/test-flt-eval-method.c: New file.
2758 * math/Makefile (tests): Add test-flt-eval-method.
2759 (CFLAGS-test-flt-eval-method.c): New variable.
2760
2761 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
2762
2763 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
2764 and __fstatfs. Make them aliases of __fstatfs64 if
2765 STATFS_IS_STATFS64 is set to non-zero.
2766 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
2767 and __statfs64.
2768 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
2769 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
2770 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
2771 for __statfs and statfs.
2772 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
2773 to 0.
2774 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
2775 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
2776 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
2777 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2778 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2779 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
2782 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
2783 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2784 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
2785 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
2786
2787 2016-11-22 Andreas Schwab <schwab@suse.de>
2788
2789 * misc/mkstemp.c: Include <fcntl.h>.
2790 * misc/mkstemps.c: Likewise.
2791 * misc/mkostemp.c: Likewise.
2792 * misc/mkostemps.c: Likewise.
2793
2794 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
2795
2796 [BZ #20847]
2797 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2798 array bounds.
2799 (__execvpe): Likewise.
2800
2801 2016-11-22 Joseph Myers <joseph@codesourcery.com>
2802
2803 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
2804 -fno-isolate-erroneous-paths options for tilepro.
2805
2806 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
2807
2808 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
2809 to 0 when in 32 bit mode.
2810 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
2811 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2812 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2813 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2815 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2816 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
2817 XSTAT_IS_XSTAT64 test.
2818 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
2819 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
2820 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
2821 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
2822 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
2823 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
2824 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
2825 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
2826 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
2827 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
2828 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
2829
2830 2016-11-19 Joseph Myers <joseph@codesourcery.com>
2831
2832 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2833 (setpayload): New declaration.
2834 * math/Versions (setpayload): New libm symbol at version
2835 GLIBC_2.25.
2836 (setpayloadf): Likewise.
2837 (setpayloadl): Likewise.
2838 * math/Makefile (libm-calls): Add s_setpayloadF.
2839 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
2840 test_Ff_b1_data.
2841 (RUN_TEST_Ff_b1): New macro.
2842 (RUN_TEST_LOOP_Ff_b1): Likewise.
2843 (canonicalize_test_data): Update type.
2844 (setpayload_test_data): New array.
2845 (setpayload_test): New function.
2846 (main): Call setpayload_test.
2847 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
2848 setpayloadf and setpayloadl.
2849 * manual/libm-err-tab.pl: Update comment on interfaces without
2850 ulps tabulated.
2851 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
2852 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
2853 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
2854 Likewise.
2855 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
2856 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
2857 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
2858 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
2859 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
2860 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
2861 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
2862 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
2863 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
2864 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2865 setpayload.
2866 (CFLAGS-nldbl-setpayload.c): New variable.
2867 * sysdeps/nacl/libm.abilist: Update.
2868 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2869 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2870 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2871 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2872 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2873 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2874 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2875 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2876 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2877 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2878 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2879 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2881 Likewise.
2882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2883 Likewise.
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2885 Likewise.
2886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2887 Likewise.
2888 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2889 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2890 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2891 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2892 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2894 Likewise.
2895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2896 Likewise.
2897 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2898 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2899 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2900
2901 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2902
2903 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
2904 * include/unistd.h: Extend comment about __access_noerrno return
2905 semantics.
2906 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
2907 (access_common): Correct typo for EACCES.
2908
2909 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
2910
2911 * sysdeps/tile/math-tests.h: New file.
2912
2913 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
2914 (__old_set_dataplane): Rename from set_dataplane and make a
2915 compatibility symbol.
2916 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
2917 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
2918 sys/dataplane.h.
2919
2920 2016-11-18 Joseph Myers <joseph@codesourcery.com>
2921
2922 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
2923 script quote words in command output to log suitably for input to
2924 the shell.
2925
2926 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
2927 Maciej W. Rozycki <macro@imgtec.com>
2928
2929 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
2930 `.Lno_weak_fn' label.
2931 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
2932 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
2933
2934 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2935 Yury Norov <ynorov@caviumnetworks.com>
2936
2937 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
2938 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
2939 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2940 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
2941 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
2943 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2945 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2946 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
2947 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2948 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
2949 (sysdep_routines): Remove oldgetrlimit64.
2950 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
2951 (sysdep_routines): Likewise.
2952 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
2953 (sysdep_routines): Likewise.
2954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2955 [$(subdir) = resource] (sysdep_routines): Likewise.
2956 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2957 [$(subdir) = resource] (sysdep_routines): Likewise.
2958 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
2959 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
2960 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
2961 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
2962 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
2963 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
2964 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
2965 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
2966 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
2967 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
2968 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
2969 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
2970 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
2971 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
2972 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
2973 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
2974 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
2975 setrlimit and getrlimit.
2976 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2978 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
2979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
2980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
2981 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
2982 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2983 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2984 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2985 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
2986 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
2987 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
2988 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
2989 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
2990 (__old_getrlimit64): Add compatibility symbol.
2991 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
2992
2993 2016-11-17 Joseph Myers <joseph@codesourcery.com>
2994
2995 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
2996 newly built gmp, mpfr and mpc.
2997
2998 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
2999
3000 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3001
3002 * conform/Makefile (linknamespace-libs): Rename to
3003 linknamespace-libs-thr.
3004 (linknamespace-libs-posix): New variable.
3005 (linknamespace-libs-xsi): Likewise.
3006 (linknamespace-libs-XPG3): Include libcrypt.a.
3007 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3008 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3009 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3010 (linknamespace-libs-XOPEN2K): Likewise.
3011 (linknamespace-libs-XOPEN2K8): Likewise.
3012 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3013
3014 [BZ #20829]
3015 * stdio-common/Versions (__snprintf): Add to version
3016 GLIBC_PRIVATE.
3017 * include/stdio.h (__snprintf): Use libc_hidden_proto.
3018 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3019 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3020 of snprintf.
3021 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3022
3023 2016-11-16 Zack Weinberg <zackw@panix.com>
3024
3025 * string/string.h: Remove obsolete comment stating that
3026 strcoll_l and strxfrm_l have not yet been standardized.
3027
3028 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3029
3030 * hurd/hurd.h (__hurd_fail_noerrno): New function.
3031 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3032 __access_noerrno.
3033 * io/access.c (__access_noerrno): New function.
3034 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3035 (hurd_fail_seterrno): Likewise.
3036 (access_common): Likewise.
3037 (__access_noerrno): Likewise.
3038 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3039 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3040 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3041 macro.
3042
3043 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3044
3045 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3046 Only declare fpregs if [__SH_FPU_ANY__].
3047
3048 2016-11-15 Joseph Myers <joseph@codesourcery.com>
3049
3050 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3051 Make code unconditional.
3052 [!(__SH4__ || __SH4A__)]: Remove conditional code.
3053
3054 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
3055
3056 * manual/sysinfo.texi (S_APPEND): Delete.
3057 (S_IMMUTABLE): Likewise.
3058
3059 2016-11-15 Denis Kaganovich <mahatma@eu.by>
3060 Magnus Granberg <zorry@gentoo.org>
3061 Mike Frysinger <vapier@gentoo.org>
3062
3063 [BZ #20662]
3064 * configure.ac (libc_cv_predef_stack_protector): Also check for
3065 __stack_chk_fail_local symbols.
3066 * configure: Regenerated.
3067
3068 2016-11-15 Florian Weimer <fweimer@redhat.com>
3069
3070 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3071 (libc_hidden_def): Remove redefinition.
3072 (__sigsetjmp): Add hidden definition.
3073 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3074 (libc_hidden_def): Remove redefinition.
3075 (__sigsetjmp): Add hidden definition.
3076
3077 2016-11-14 Joseph Myers <joseph@codesourcery.com>
3078
3079 * scripts/build-many-glibcs.py (os.path): Do not import.
3080 (Context): Inherit explicitly from object. Remove blank line
3081 between class and docstring.
3082 (Config): Likewise.
3083 (Glibc): Likewise.
3084 (Command): Likewise.
3085 (CommandList): Likewise.
3086 (Context.write_files): Store chmod mode in a variable.
3087
3088 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3089 LIBC_SLIBDIR_RTLDDIR for tilegx32.
3090 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3091
3092 2016-11-14 Zack Weinberg <zackw@panix.com>
3093
3094 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3095 creating or re-creating it.
3096
3097 * string/bits/string2.h: Fix typo in comment.
3098
3099 2016-11-14 Zack Weinberg <zackw@panix.com>
3100
3101 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3102 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3103 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3104 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3105 of redirected function names.
3106
3107 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3108 as well. Document that MESSAGE must be a single string literal.
3109
3110 2016-11-11 Joseph Myers <joseph@codesourcery.com>
3111
3112 * scripts/build-many-glibcs.py: New file.
3113
3114 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3115 (do_test): Disable -Wmaybe-uninitialized around uses of
3116 except_mask.
3117
3118 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3119
3120 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
3121
3122 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3123 (atomic_store_release): Provide tilepro-specific implementations.
3124
3125 2016-11-10 Joseph Myers <joseph@codesourcery.com>
3126
3127 * math/math.h (__MATH_TG): New macro.
3128 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3129 [__USE_ISOC99] (signbit): Likewise.
3130 [__USE_ISOC99] (isfinite): Likewise.
3131 [__USE_ISOC99] (isnan): Likewise.
3132 [__USE_ISOC99] (isinf): Likewise.
3133 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3134 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3135 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3136 __MATH_TG and __MATH_EVAL_FMT2.
3137 * sysdeps/generic/math_private.h (fabs_tg): Define using
3138 __MATH_TG.
3139 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3140 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3141 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3142 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3143 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3144 macro.
3145 (__iscanonical): Likewise.
3146 (iscanonical): Define using __MATH_TG.
3147
3148 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3149
3150 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3151 guards.
3152
3153 * sysdeps/unix/sysv/linux/access.c: New file.
3154 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3155
3156 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
3157
3158 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3159 and __WORDSIZE32_PTRDIFF_LONG.
3160
3161 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
3162
3163 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3164
3165 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3166
3167 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3168 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3169 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3170 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3171 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3173 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3174 * sysdeps/unix/sysv/linux/truncate.c: New file.
3175 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3176 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3177 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3178 Remove.
3179 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3180 Likewise.
3181
3182 * posix/tst-truncate-common.c: New file.
3183 * posix/tst-truncate.c: Use tst-truncate-common.c.
3184 * posix/tst-truncate64.c: Likewise and add LFS tests.
3185 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3186 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3187 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3188 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
3189 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
3190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3191 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
3192 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
3193 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
3194 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3195 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
3196 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
3197 Remove.
3198 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
3199 Likewise.
3200
3201 2016-11-08 Joseph Myers <joseph@codesourcery.com>
3202
3203 [BZ #20790]
3204 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
3205 to MAXLINESIZE.
3206 * sunrpc/bug20790.x: New file.
3207 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
3208 variable.
3209 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
3210 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
3211
3212 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
3213
3214 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
3215
3216 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
3217 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
3218 calloc, realloc, free, memalign and __libc_memalign rather than
3219 making them optional.
3220
3221 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
3222 for libc.so.
3223
3224 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3225
3226 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
3227 ptw-lseek64.
3228 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
3229 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
3230 Likewise.
3231 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
3232 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
3233 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
3234 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
3235 * sysdeps/unix/sysv/linux/lseek.c: New file.
3236 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
3237 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
3238 __libc_lseek64 from auto-generation.
3239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3240 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
3241
3242 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3243
3244 * nptl/tst-basic1.c (tf, do_test): Use write_message.
3245 * nptl/tst-cleanup1.c (do_test): Likewise.
3246 * nptl/tst-cleanup3.c (do_test): Likewise.
3247 * nptl/tst-key1.c (do_test): Likewise.
3248 * nptl/tst-key2.c (tf, do_test): Likewise.
3249 * nptl/tst-key3.c (tf, do_test): Likewise.
3250 * nptl/tst-stdio1.c (do_test): Likewise.
3251 * nptl/tst-stdio2.c (do_test): Likewise.
3252
3253 * nptl/tst-kill3.c (handler): Use write_message in place of write.
3254 * nptl/tst-kill6.c (handler): Likewise.
3255 * nptl/tst-tls2.c (CB): Likewise.
3256 * nptl/tst-tls3.c (CB): Likewise.
3257
3258 2016-11-07 Joseph Myers <joseph@codesourcery.com>
3259
3260 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
3261
3262 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
3263 Steve Ellcey <sellcey@caviumnetworks.com>
3264
3265 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
3266 __ASSUME_ST_INO_64_BIT as 0
3267 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
3268 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
3269 over the code where __ASSUME_ST_INO_64_BIT is used.
3270 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3271 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3272 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3273
3274 2016-11-07 Florian Weimer <fweimer@redhat.com>
3275
3276 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3277 Document ABI exposure of the __kind offset.
3278 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3279 Mention reason for the __kind offset exposure in the ABI.
3280 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3281 Likewise.
3282 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3283 Likewise.
3284 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3285 Likewise.
3286 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
3287 (struct __pthread_mutex_s): Likewise.
3288 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3289 Likewise.
3290 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3291 Likewise.
3292 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3293 Likewise.
3294 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3295 Likewise.
3296 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3297 Likewise.
3298 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3299 Likewise.
3300 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3301 (struct __pthread_mutex_s): Likewise.
3302 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3303 (struct __pthread_mutex_s): Likewise.
3304 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
3305 Likewise.
3306
3307 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
3308
3309 * test-skeleton.c: Document do_test usage.
3310
3311 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
3312
3313 * iconv/gconv.h (__gconv_info): Define __data element using a
3314 zero-length array.
3315
3316 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
3317
3318 * math/test-tgmath2.c: Split up test function.
3319
3320 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3321
3322 * Rules (tests-expected): New variable, depending on
3323 $(run-built-tests).
3324 (tests): Pass $(tests-expected) to merge-test-results.sh, not
3325 $(tests).
3326
3327 * Rules [$(run-built-tests) = no] (tests): Do not depend on
3328 $(tests-unsupported).
3329
3330 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3331
3332 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3333 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
3334
3335 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3336
3337 [BZ #20768]
3338 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
3339 __fegetenv instead of fegetenv.
3340
3341 [BZ #14139]
3342 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
3343 (find_files): Obtain platform name from libm-test-ulps-name and
3344 store in %pplatforms.
3345 (canonicalize_platform): Remove.
3346 (print_platforms): Use $pplatforms directly.
3347 (by_platforms): Do not allow for platforms missing from
3348 %pplatforms.
3349 * sysdeps/aarch64/libm-test-ulps-name: New file.
3350 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
3351 * sysdeps/arm/libm-test-ulps-name: Likewise.
3352 * sysdeps/generic/libm-test-ulps-name: Likewise.
3353 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
3354 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
3355 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
3356 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
3357 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
3358 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
3359 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
3360 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
3361 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
3362 * sysdeps/nios2/libm-test-ulps-name: Likewise.
3363 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
3364 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
3365 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
3366 * sysdeps/sh/libm-test-ulps-name: Likewise.
3367 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
3368 * sysdeps/tile/libm-test-ulps-name: Likewise.
3369 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
3370
3371 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
3372
3373 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
3374 (test-xfail-check-execstack): New variable.
3375
3376 * sysdeps/mips/localplt.data: New file.
3377
3378 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
3379 Steve Ellcey <sellcey@caviumnetworks.com>
3380
3381 * bits/wordsize.h: Add documentation.
3382 * sysdeps/aarch64/bits/wordsize.h : New file
3383 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
3384 definitions.
3385 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
3386 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
3387 with #if instead of #ifdef.
3388 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
3389 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
3390 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
3391 Add or change defines.
3392 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
3393 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3394 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
3395 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
3396 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3397 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3398 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
3399 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
3400 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
3401 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3402 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
3403 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
3404 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
3405 * sysdeps/x86/bits/wordsize.h: Likewise.
3406
3407 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
3408 Kevin Petit <kevin.petit@arm.com>
3409
3410 * sysdeps/aarch64/memchr.S (__memchr): New file.
3411
3412 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3413
3414 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
3415
3416 2016-11-03 Joseph Myers <joseph@codesourcery.com>
3417
3418 [BZ #19398]
3419 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
3420 $(linknamespace-symlists-tests).
3421
3422 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
3423
3424 * time/tst-strptime2.c: Ignore -Wformat-length warning.
3425
3426 2016-11-02 Florian Weimer <fweimer@redhat.com>
3427 Carlos O'Donell <carlos@redhat.com>
3428
3429 [Bug #20729]
3430 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
3431 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
3432 for -Os related change.
3433
3434 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
3435
3436 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
3437
3438 2016-11-01 Joseph Myers <joseph@codesourcery.com>
3439
3440 [BZ #19673]
3441 * manual/math.texi (Exponents and Logarithms): Correct description
3442 of clog10.
3443
3444 2016-10-31 Carlos O'Donell <carlos@redhat.com>
3445
3446 [Bz #20729]
3447 * locale/weight.h: Include libc-internal.h.
3448 * locale/weightwc.h: Likewise.
3449 * nptl/nptl_dbP.h: Likewise.
3450
3451 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
3452
3453 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
3454 when it is MACH_PORT_NULL.
3455
3456 2016-10-31 Andreas Schwab <schwab@suse.de>
3457
3458 [BZ #20707]
3459 * posix/glob.c (glob): Initialize pglob before checking for
3460 GLOB_BRACE. Don't call glob recursively if pattern contains no
3461 valid brace expression despite GLOB_BRACE.
3462 * posix/globtest.sh: Test it.
3463
3464 2016-10-28 Carlos O'Donell <carlos@redhat.com>
3465
3466 [BZ #20729]
3467 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
3468 Define.
3469 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
3470 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
3471 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
3472 for seq2.back_us and seq1.back_us only for -Os compiles.
3473 * locale/weightwc.h (findix): Likewise.
3474 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
3475 DB_GET_FIELD_ADDRESS only for -Os compiles.
3476 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
3477 for slen only for -Os compiles.
3478 * string/strcoll_l.c (get_next_seq): Ignore
3479 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
3480 for -Os compiles.
3481
3482 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
3483 * include/crypt.h: New file.
3484
3485 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3486
3487 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
3488 from test-skeleton.c.
3489 (statclass): Replace calls to write with calls to write_message.
3490
3491 2016-10-28 Joseph Myers <joseph@codesourcery.com>
3492
3493 * math/math.h
3494 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
3495 New macro.
3496 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
3497 Likewise.
3498 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
3499 Likewise.
3500 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
3501 SNANL.
3502 * math/test-double.h (snan_value_MACRO): New macro.
3503 * math/test-float.h (snan_value_MACRO): Likewise.
3504 * math/test-ldouble.h (snan_value_MACRO): Likewise.
3505 * math/libm-test.inc (issignaling_test_data): Add tests of
3506 snan_value_MACRO.
3507
3508 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3509
3510 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
3511 behavior when eliding a lock not held by the current thread.
3512 * sysdeps/powerpc/nptl/elide.h: Likewise.
3513
3514 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3515
3516 [BZ #20728]
3517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
3518 branch to _exit() by a function call.
3519
3520 2016-10-28 Florian Weimer <fweimer@redhat.com>
3521
3522 * malloc/malloc.c: Update chunk layout comments.
3523 (chunk_main_arena): Update comment.
3524
3525 2016-10-28 Florian Weimer <fweimer@redhat.com>
3526
3527 * crypt/sha256.c, crypt/sha256-block.c,
3528 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
3529 sha256_process_block to __sha256_process_block.
3530 * crypt/sha512.c, crypt/sha512-block.c,
3531 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
3532 sha512_process_block to __sha512_process_block.
3533
3534 2016-10-28 Carlos O'Donell <carlos@redhat.com>
3535
3536 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
3537
3538 * math/test-nan-overflow.c: Include stdlib.h for malloc.
3539
3540 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
3541
3542 [BZ #20019]
3543 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
3544 definition in unrelocated shared library.
3545 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3546
3547 2016-10-28 Florian Weimer <fweimer@redhat.com>
3548
3549 [BZ #20729]
3550 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
3551 * sysdeps/unix/sysv/linux/i386/Makefile
3552 (uses-6-syscall-arguments): Define.
3553 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
3554 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
3555 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
3556 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
3557 Likewise.
3558 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
3559 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
3560 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
3561 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
3562 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
3563 (CFLAGS-fallocate64.os): Likewise.
3564 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
3565 (CFLAGS-pthread_rwlock_timedrdlock.os)
3566 (CFLAGS-pthread_rwlock_timedwrlock.o)
3567 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
3568 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
3569 (CFLAGS-sem_timedwait.os): Likewise.
3570
3571 2016-10-28 Florian Weimer <fweimer@redhat.com>
3572
3573 * elf/tst-linkall-static.c: New file.
3574 * elf/Makefile (tests-static): Add tst-linkall-static.
3575 (tst-linkall-static): Link against static libraries.
3576
3577 2016-10-27 Florian Weimer <fweimer@redhat.com>
3578
3579 * malloc/malloc.c (sysmalloc): Initialize previous size field of
3580 mmaped chunks.
3581
3582 2016-10-28 Florian Weimer <fweimer@redhat.com>
3583
3584 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
3585 members to mchunk_prev_size, mchunk_size.
3586 (chunk_main_arena): Reverse sense and rename from
3587 chunk_non_main_arena.
3588 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
3589 mchunk_size instead of size.
3590 (set_non_main_arena): Define.
3591 (chunksize): Use chunksize_nomask instead of direct member access.
3592 (chunksize_nomask): Define.
3593 (next_chunk): Use chunksize instead of direct member access.
3594 (prev_size, set_prev_size): Define.
3595 (prev_chunk): Use prev_size instead of direct member access.
3596 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
3597 (inuse_bit_at_offset, set_inuse_bit_at_offset)
3598 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
3599 (mchunk_prev_size, mchunk_size): Poison tokens.
3600 (unlink): Use chunksize_nomask, prev_size accessors.
3601 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
3602 (do_check_free_chunk): Use prev_size accessor.
3603 (sysmalloc): Use set_prev_size, set_head accessors.
3604 (munmap_chunk, mremap_chunk): Use prev_size accessor.
3605 (__libc_free): Use chunksize_nomask accessor.
3606 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
3607 chunk_main_arena accessors.
3608 (_int_free): Use chunksize_nomask, prev_size accessors.
3609 (malloc_consolidate): Use chunksize, prev_size accessors.
3610 (_int_realloc): Use chunksize_nomask accessor.
3611 (_int_memalign): Use set_prev_size accessor.
3612 (__malloc_info): Use chunksize_nomask accessor.
3613 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
3614 accessors.
3615 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
3616 (heap_trim): Use chunksize_nomask, prev_size accessors.
3617
3618 2016-10-28 Joseph Myers <joseph@codesourcery.com>
3619
3620 [BZ #19380]
3621 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
3622 for inexact results.
3623 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
3624 of inexact result where mpfr_subnormalize is the only inexact
3625 step.
3626 * stdlib/tst-strtod-round-data.h: Regenerated.
3627 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
3628 Define to 0.
3629 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
3630
3631 2016-10-27 David S. Miller <davem@davemloft.net>
3632
3633 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
3634
3635 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
3636
3637 * malloc/malloc.c (do_set_mallopt_check): New function.
3638 (do_set_mmap_threshold): Likewise.
3639 (do_set_mmaps_max): Likewise.
3640 (do_set_top_pad): Likewise.
3641 (do_set_perturb_byte): Likewise.
3642 (do_set_trim_threshold): Likewise.
3643 (do_set_arena_max): Likewise.
3644 (do_set_arena_test): Likewise.
3645 (__libc_mallopt): Use them.
3646
3647 2016-10-26 Joseph Myers <joseph@codesourcery.com>
3648
3649 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3650 (canonicalize): New declaration.
3651 * math/Versions (canonicalize): New libm symbol at version
3652 GLIBC_2.25.
3653 (canonicalizef): Likewise.
3654 (canonicalizel): Likewise.
3655 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
3656 * math/s_canonicalize_template.c: New file.
3657 * math/libm-test.inc: Update comment on functions tested and
3658 testing of NaN payloads.
3659 (TEST_NAN_PAYLOAD): New macro.
3660 (NO_TEST_INLINE): Update value.
3661 (XFAIL_TEST): Likewise.
3662 (ERRNO_UNCHANGED): Likewise.
3663 (ERRNO_EDOM): Likewise.
3664 (ERRNO_ERANGE): Likewise.
3665 (IGNORE_RESULT): Likewise.
3666 (NON_FINITE): Likewise.
3667 (TEST_SNAN): Likewise.
3668 (NO_TEST_MATHVEC): Likewise.
3669 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
3670 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
3671 (struct test_Ffp_b1_data): New type.
3672 (RUN_TEST_Ffp_b1): New macro.
3673 (RUN_TEST_LOOP_Ffp_b1): Likewise.
3674 (canonicalize_test_data): New array.
3675 (canonicalize_test): New function.
3676 (main): Call canonicalize_test.
3677 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
3678 canonicalizef and canonicalizel.
3679 * manual/libm-err-tab.pl: Update comment on interfaces without
3680 ulps tabulated.
3681 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
3682 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
3683 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3684 canonicalize.
3685 (CFLAGS-nldbl-canonicalize.c): New variable.
3686 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
3687 to ...
3688 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
3689 ... here.
3690 (do_test): Also test canonicalizel.
3691 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
3692 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
3693 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
3694 file.
3695 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
3696 Use libm_hidden_def.
3697 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
3698 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
3699 (do_test): Also test canonicalizel.
3700 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
3701 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
3702 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
3703 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
3704 libm_hidden_def.
3705 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
3706 macro.
3707 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
3708 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
3709 * sysdeps/nacl/libm.abilist: Update.
3710 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3711 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3712 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3713 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3714 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3715 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3716 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3717 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3718 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3719 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3720 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3721 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3723 Likewise.
3724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3725 Likewise.
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3727 Likewise.
3728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3729 Likewise.
3730 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3731 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3732 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3733 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3734 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3736 Likewise.
3737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3738 Likewise.
3739 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3740 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3741 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3742
3743 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
3744 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3745 getpayload.
3746 (CFLAGS-nldbl-getpayload.c): New variable.
3747
3748 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3749
3750 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
3751 integer from the format string.
3752
3753 2016-10-26 Florian Weimer <fweimer@redhat.com>
3754
3755 [BZ #19473]
3756 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
3757 declarations.
3758 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
3759 weak aliases.
3760 * malloc/hooks.c (__malloc_get_state): Remove definition.
3761 (malloc_get_state): New stub implementation as
3762 compatibility symbol.
3763 (malloc_set_state): Rename from __malloc_set_state. Turn into
3764 compat symbol.
3765 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
3766 malloc_set_state.
3767 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
3768
3769 2016-10-26 Florian Weimer <fweimer@redhat.com>
3770
3771 * iconvdata/iso646.c (enum variant): Drop illegal_var.
3772 (names): Turn into concatenation of strings.
3773 (gconv_init): Adapt iteration over names.
3774
3775 2016-10-26 Florian Weimer <fweimer@redhat.com>
3776
3777 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
3778 make const.
3779 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
3780 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
3781 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
3782 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
3783 character in sbconv.
3784 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
3785 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
3786 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
3787
3788 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
3789
3790 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
3791
3792 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
3793 (M_TRIM_THRESHOLD): Likewise.
3794
3795 * manual/memory.texi (M_ARENA_TEST): Add documentation.
3796 (M_ARENA_MAX): Likewise.
3797 * malloc/malloc.c: Remove obsolete comment.
3798
3799 * manual/memory.texi: Add environment variable alternatives to
3800 setting mallopt parameters.
3801
3802 2016-10-26 Carlos O'Donell <carlos@redhat.com>
3803
3804 * include/atomic.h
3805 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
3806 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
3807
3808 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3809
3810 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
3811 * stdlib/tst-strfrom.h: New file.
3812 * stdlib/tst-strfrom.c: New file.
3813 * stdlib/tst-strfrom-locale.c: New file.
3814
3815 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
3816 * stdlib/bug-strtod2.c: Likewise.
3817 * stdlib/tst-strtod-round-skeleton.c: Likewise.
3818 * stdlib/tst-strtod6.c: Likewise.
3819 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
3820
3821 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3822
3823 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
3824 * manual/arith.texi: Document strfromd, strfromf, strfroml.
3825 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
3826 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
3827 * stdlib/stdlib.h (strfromd): New declaration.
3828 (strfromf): Likewise.
3829 (strfroml): Likewise.
3830 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
3831 strfrom.
3832 * stdlib/strfromd.c: New file.
3833 * stdlib/strfromf.c: Likewise.
3834 * stdlib/strfroml.c: Likewise.
3835 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
3836 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
3837 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
3838 * sysdeps/arm/nacl/libc.abilist: Update.
3839 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
3840 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3841 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3842 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3843 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3844 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3845 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3846 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3847 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3848 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3849 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3850 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3851 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3852 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
3854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3857 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3858 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3859 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3860 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3861 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3864 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3865 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3866 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3867
3868 2016-10-25 Joseph Myers <joseph@codesourcery.com>
3869
3870 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
3871 instead of cmpli.
3872 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
3873 instead of cmpli.
3874
3875 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
3876
3877 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
3878 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3879 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
3880 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3881 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3882 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3883
3884 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3885
3886 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
3887 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3888 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
3889 SYSCALL_LL64_PRW.
3890 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3891 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
3892 __ASSUME_PRW_DUMMY_ARG.
3893 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
3894 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3895 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3896 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3897 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
3898 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
3899
3900 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
3901
3902 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
3903
3904 2016-10-22 Florian Weimer <fweimer@redhat.com>
3905
3906 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
3907 "C++", to override a potential extern "C" directive around the
3908 header file inclusion.
3909
3910 2016-10-21 Joseph Myers <joseph@codesourcery.com>
3911
3912 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
3913
3914 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3915
3916 * sysdeps/powerpc/fpu/fenv_private.h:
3917 (_FPU_MASK_ALL): Rename to...
3918 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
3919 XE FPSCR bits.
3920
3921 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
3922
3923 (_FPU_MASK_ROUNDING): Rename to...
3924 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
3925 NI bits.
3926
3927 (_FPU_MASK_EXCEPT_ROUND): Rename to...
3928 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
3929 bits and rounding bits.
3930
3931 (__libc_feholdbits_ppc): New inline function to mask, set,
3932 and pontentially clear FSPCR bits, and change MSR[FE] bits.
3933 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
3934 (libc_feholdexcept_setround_ppc): Likewise.
3935
3936 (__libc_femergeenv_ppc): New function to dynamically mask both
3937 old and new FP environments and merge.
3938 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
3939 (libc_feresetround_ppc): Likewise.
3940 (libc_feupdateenv_test_ppc): Likewise.
3941 (libc_feupdateenv_ppc): Likewise.
3942
3943 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
3944 of ISA RN bits, and update macro names.
3945 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
3946 effectively the same as the previously mentioned function.
3947
3948 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
3949 usage with fe_resetround_ppc.
3950
3951 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
3952 to be used.
3953 (libc_feholdexcept_setround_ctxf): Likewise.
3954 (libc_feholdexcept_setround_ctxl): Likewise.
3955
3956 2016-10-21 Florian Weimer <fweimer@redhat.com>
3957
3958 [BZ #20715]
3959 * math/math.h [__cplusplus] (iszero): Define as function template.
3960 * math/Makefile [CXX] (tests): Add test-math-iszero.
3961 (CFLAGS-test-math-iszero.cc): Set.
3962 * math/test-math-iszero.cc: New file.
3963
3964 2016-10-20 Joseph Myers <joseph@codesourcery.com>
3965
3966 [BZ #20660]
3967 * sysdeps/arm/e_sqrt.c: New file.
3968 * sysdeps/arm/e_sqrtf.c: Likewise.
3969
3970 2016-10-19 Joseph Myers <joseph@codesourcery.com>
3971
3972 [BZ #20718]
3973 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
3974 not use floating-point comparisons to test sign.
3975 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
3976 Likewise.
3977
3978 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3979 (getpayload): New declaration.
3980 * math/Versions (getpayload): New libm symbol at version
3981 GLIBC_2.25.
3982 (getpayloadf): Likewise.
3983 (getpayloadl): Likewise.
3984 * math/Makefile (libm-calls): Add s_getpayloadF.
3985 * math/libm-test.inc: Include <nan-high-order-bit.h>.
3986 (struct test_f_f_data): Add comment.
3987 (RUN_TEST_fp_f): New macro.
3988 (RUN_TEST_LOOP_fp_f): Likewise.
3989 (getpayload_test_data): New array.
3990 (getpayload_test): New function.
3991 (main): Call getpayload_test.
3992 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
3993 descriptor.
3994 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
3995 getpayloadf and getpayloadl.
3996 * manual/libm-err-tab.pl: Update comment on interfaces without
3997 ulps tabulated.
3998 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
3999 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4000 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4001 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4004 * sysdeps/nacl/libm.abilist: Update.
4005 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4006 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4007 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4008 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4009 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4010 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4011 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4012 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4013 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4014 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4015 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4016 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4018 Likewise.
4019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4020 Likewise.
4021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4022 Likewise.
4023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4024 Likewise.
4025 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4026 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4027 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4028 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4029 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4031 Likewise.
4032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4033 Likewise.
4034 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4035 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4036 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4037
4038 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4039
4040 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4041 tst-fallocate{64}.
4042 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4043 on syscall return.
4044
4045 2016-10-17 Carlos O'Donell <carlos@redhat.com>
4046
4047 [BZ #20689]
4048 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4049 usable.
4050
4051 2016-10-17 Joseph Myers <joseph@codesourcery.com>
4052
4053 * sysdeps/generic/nan-high-order-bit.h: New file.
4054 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4055 * sysdeps/mips/nan-high-order-bit.h: Likewise.
4056 * sysdeps/hppa/math_private.h: Remove file.
4057 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4058 not define here.
4059 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4060 <nan-high-order-bit.h>.
4061 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4062 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4063 <nan-high-order-bit.h>.
4064 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4065 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4066 <nan-high-order-bit.h>.
4067 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4068 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4069 <nan-high-order-bit.h>.
4070 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4071 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4072 <nan-high-order-bit.h>.
4073 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4074 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4075 <nan-high-order-bit.h>.
4076 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4077 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4078 <nan-high-order-bit.h>.
4079 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4080 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4081 <nan-high-order-bit.h>.
4082 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4083 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4084 <nan-high-order-bit.h>.
4085 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4086 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4087 <nan-high-order-bit.h>.
4088 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4089 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4090 <nan-high-order-bit.h>.
4091 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4092 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4093 <nan-high-order-bit.h>.
4094 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4095 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4096 <nan-high-order-bit.h>.
4097 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4098 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4099 <nan-high-order-bit.h>.
4100 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4101 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4102 <nan-high-order-bit.h>.
4103 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4104 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4105 <nan-high-order-bit.h>.
4106 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4107 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4108 <nan-high-order-bit.h>.
4109 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4110 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4111 <nan-high-order-bit.h>.
4112 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4113
4114 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4115
4116 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4117
4118 2016-09-22 John David Anglin <dave.anglin@bell.net>
4119
4120 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4121 abort-instr.h.
4122 (EFAULT): Remove conditional define.
4123 (ENOSYS): Likewise.
4124 (atomic_compare_and_exchange_val_acq): Use instruction nullification
4125 instead of conditional branch instructions.
4126
4127 2016-10-15 Joseph Myers <joseph@codesourcery.com>
4128
4129 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4130 (totalordermag): New declaration.
4131 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4132 New macro.
4133 * math/Versions (totalordermag): New libm symbol at version
4134 GLIBC_2.25.
4135 (totalordermagf): Likewise.
4136 (totalordermagl): Likewise.
4137 * math/Makefile (libm-calls): Add s_totalordermagF.
4138 * math/libm-test.inc (totalordermag_test_data): New array.
4139 (totalordermag_test): New function.
4140 (main): Call totalordermag_test.
4141 * math/test-tgmath.c (NCALLS): Increase to 125.
4142 (F(compile_test)): Call totalordermag.
4143 (F(totalordermag)): New function.
4144 * manual/arith.texi (FP Comparison Functions): Document
4145 totalordermag, totalordermagf and totalordermagl.
4146 * manual/libm-err-tab.pl: Update comment on interfaces without
4147 ulps tabulated.
4148 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4149 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4150 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4151 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4154 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4155 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4156 totalordermag.
4157 (CFLAGS-nldbl-totalordermag.c): New variable.
4158 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4159 (do_test): Also test totalordermagl.
4160 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4161 Likewise.
4162 * sysdeps/nacl/libm.abilist: Update.
4163 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4164 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4165 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4166 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4167 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4168 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4169 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4170 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4171 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4172 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4173 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4174 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4176 Likewise.
4177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4178 Likewise.
4179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4180 Likewise.
4181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4182 Likewise.
4183 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4184 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4185 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4186 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4187 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4189 Likewise.
4190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4191 Likewise.
4192 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4193 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4194 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4195
4196 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
4197
4198 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
4199 boolean.
4200
4201 2016-10-13 Joseph Myers <joseph@codesourcery.com>
4202
4203 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
4204 raising FE_INVALID with feraisexcept in case where part of
4205 argument is infinite, subtract that part of argument from itself.
4206 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
4207 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
4208 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4209
4210 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4211
4212 * math/libm-test.inc (totalorder_test_data): Add more tests.
4213
4214 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
4215
4216 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
4217 Undefine weak_alias and add a comment why mips64 require
4218 versioning.
4219
4220 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
4221
4222 [BZ #20647]
4223 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
4224 maximum CPUID level is less than 2.
4225
4226 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4227
4228 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4229 (totalorder): New declaration.
4230 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
4231 New macro.
4232 * math/Versions (totalorder): New libm symbol at version
4233 GLIBC_2.25.
4234 (totalorderf): Likewise.
4235 (totalorderl): Likewise.
4236 * math/Makefile (libm-calls): Add s_totalorderF.
4237 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
4238 string.
4239 * math/libm-test.inc (PAYLOAD_DIG): New macro.
4240 (qnan_value_pl): Likewise.
4241 (snan_value_pl): Likewise.
4242 (qnan_value): Define using qnan_value_pl.
4243 (snan_value): Define using snan_value_pl.
4244 (struct test_ff_i_data): Add comment about which tests use this
4245 structure.
4246 (RUN_TEST_ff_b): New macro.
4247 (RUN_TEST_LOOP_ff_b): Likewise.
4248 (totalorder_test_data): New array.
4249 (totalorder_test): New function.
4250 (main): Call totalorder_test.
4251 * math/test-tgmath.c (NCALLS): Increase to 122.
4252 (F(compile_test)): Call totalorder.
4253 (F(totalorder)): New function.
4254 * manual/arith.texi (FP Comparison Functions): Document
4255 totalorder, totalorderf and totalorderl.
4256 * manual/libm-err-tab.pl: Update comment on interfaces without
4257 ulps tabulated.
4258 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
4259 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
4260 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
4261 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
4263 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
4264 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
4265 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4266 totalorder.
4267 (CFLAGS-nldbl-totalorder.c): New variable.
4268 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
4269 file.
4270 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4271 Add test-totalorderl-ldbl-128ibm.
4272 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
4273 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
4274 test-totalorderl-ldbl-96.
4275 * sysdeps/nacl/libm.abilist: Update.
4276 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4277 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4278 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4279 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4280 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4281 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4282 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4283 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4284 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4285 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4286 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4287 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4289 Likewise.
4290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4291 Likewise.
4292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4293 Likewise.
4294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4295 Likewise.
4296 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4297 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4298 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4299 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4300 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4302 Likewise.
4303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4304 Likewise.
4305 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4306 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4307 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4308
4309 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4310
4311 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
4312 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
4313 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
4314 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
4315 remove ENOSYS implementation.
4316 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
4317 Consolidate all Linux implementations.
4318
4319 2016-10-11 Florian Weimer <fweimer@redhat.com>
4320
4321 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
4322 * resolv/herror.c (herror): Cast away const-ness.
4323 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
4324 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
4325
4326 2016-10-11 Joseph Myers <joseph@codesourcery.com>
4327
4328 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
4329 instead of M_NAN + M_NAN.
4330 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4331
4332 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4333
4334 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
4335 unused variable 'p'.
4336
4337 2016-10-09 Alan Modra <amodra@gmail.com>
4338 Andreas Schwab <schwab@linux-m68k.org>
4339
4340 [BZ #20554]
4341 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
4342 [PIC && !SHARED]: Set up PIC register for PLT call.
4343
4344 2016-10-07 Joseph Myers <joseph@codesourcery.com>
4345
4346 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
4347 conditional on value of [__FLT_EVAL_METHOD__].
4348 * math/test-iseqsig-excess-precision.c: New file.
4349 * math/Makefile (tests): Add test-iseqsig-excess-precision.
4350
4351 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4352
4353 * math/s_iseqsig_template.c: Include math-private.h.
4354
4355 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
4356 * posix/tst-posix_fadvise.c: New file.
4357 * posix/tst-posix_fadvise64.c: Likewise.
4358 * posix/tst-posix_fadvise-common.c: Likewise.
4359 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4360 (__ASSUME_FADVISE64_64_6ARG): Define.
4361 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4362 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
4363 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4364 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
4365 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
4366 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
4367 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
4368 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4369 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
4370 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
4371 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
4372 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
4373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
4374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
4375 Likewise.
4376 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
4377 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
4378 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
4379 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4380 Alias to __posix_fadvise64_l32.
4381 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
4382 Add compat definition to posix_fadvise64.
4383 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4384 Add versioned definition to posix_fadvise64.
4385 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
4386 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
4387 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
4388 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
4389 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
4390
4391 * io/Makefile (tests): Add tst-posix_fallocate and
4392 tst-posix_fallocate64.
4393 * io/tst-posix_fallocate-common.c: New file.
4394 * io/tst-posix_fallocate.c: Likewise.
4395 * io/tst-posix_fallocate64.c: Likewise.
4396 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
4397 file.
4398 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
4399 Likewise.
4400 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
4401 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
4402 Likewise.
4403 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
4404 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
4405 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
4406 SYSCALL_LL to pass both offset and len arguments.
4407 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
4408 Likewise.
4409 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
4410 __libc_pwrite64 alias used by posix_fallocate64.
4411
4412 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4413 tst-fallocate64.
4414 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4415 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4416 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4417 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4418 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4419 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4420 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4421 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4422 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4423 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4424 macro on offset argument.
4425 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4426 SYSCALL_LL64 on offset argument.
4427
4428 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4429 tst-fallocate64.
4430 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4431 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4432 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4433 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4434 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4435 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4436 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4437 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4438 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4439 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4440 macro on offset argument.
4441 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4442 SYSCALL_LL64 on offset argument.
4443 * test-skeleton.c (FAIL_RET): Add macro.
4444 (FAIL_EXIT): Likewise.
4445 (FAIL_EXIT1): Likewise.
4446 (_FAIL): Likewise.
4447
4448 2016-10-07 Florian Weimer <fweimer@redhat.com>
4449
4450 [BZ #20629]
4451 resolv: Remove RES_USEBSTRING and its implementation.
4452 * resolv/resolv.h (RES_USEBSTRING): Remove.
4453 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
4454 (digitvalue, encode_bitstring, decode_bitstring): Remove.
4455 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
4456 (labellen): Remove extended label types support.
4457 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
4458 * resolv/res_init.c (res_setoptions): Likewise.
4459 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4460
4461 2016-10-07 Florian Weimer <fweimer@redhat.com>
4462
4463 resolv: Remove RES_NOIP6DOTINT and its implementation.
4464 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
4465 (RES_NOIP6DOTINT): Remove.
4466 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
4467 handling.
4468 * resolv/res_debug.c (p_option): Likewise.
4469 * resolv/res_init.c (res_setoptions): Likewise.
4470 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4471
4472 2016-10-07 Florian Weimer <fweimer@redhat.com>
4473
4474 resolv: Deprecate unimplemented flags.
4475 * misc/sys/cdefs.h (__glibc_macro_warning1)
4476 (__glibc_macro_warning): Define.
4477 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
4478 (RES_KEEPTSIG): Mark as deprecated.
4479 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
4480 RES_NOCHECKNAME, RES_KEEPTSIG.
4481 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
4482
4483 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4484
4485 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
4486 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
4487 Use strong_alias to create symbols for glibc verison 2.19.
4488
4489 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4490
4491 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
4492
4493 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4494
4495 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
4496
4497 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4498
4499 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
4500
4501 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4502
4503 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4504 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
4505 in header for using it as type for ifunc function because __GI_* symbols
4506 for ppc32 do not target the ifunc symbols.
4507 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4508
4509 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4510
4511 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
4512 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
4513 libc_ifunc_hidden_def.
4514 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
4515 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
4516 Redirect ifunced function in header for using it as type of ifunc'ed
4517 function. Redefine libc_hidden_def to use fallback non ifunc'ed
4518 function for __GI_* symbol.
4519 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
4520 * include/libc-symbols.h
4521 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
4522
4523 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4524
4525 [BZ #20478]
4526 * sysdeps/s390/multiarch/ifunc-resolve.h
4527 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
4528 to create ifunc symbols.
4529 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
4530 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
4531 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
4532 for using it as type for ifunc function.
4533 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4534 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4535 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4536 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4537 * sysdeps/s390/multiarch/strcat.c: Likewise.
4538 * sysdeps/s390/multiarch/strchr.c: Likewise.
4539 * sysdeps/s390/multiarch/strcmp.c: Likewise.
4540 * sysdeps/s390/multiarch/strcpy.c: Likewise.
4541 * sysdeps/s390/multiarch/strcspn.c: Likewise.
4542 * sysdeps/s390/multiarch/strlen.c: Likewise.
4543 * sysdeps/s390/multiarch/strncmp.c: Likewise.
4544 * sysdeps/s390/multiarch/strncpy.c: Likewise.
4545 * sysdeps/s390/multiarch/strnlen.c: Likewise.
4546 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4547 * sysdeps/s390/multiarch/strrchr.c: Likewise.
4548 * sysdeps/s390/multiarch/strspn.c: Likewise.
4549 * sysdeps/s390/multiarch/wcschr.c: Likewise.
4550 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4551 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4552 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4553 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4554 * sysdeps/s390/multiarch/wmemset.c: Likewise.
4555 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4556 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
4557 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
4558 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4559 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
4560 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
4561
4562 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4563
4564 * include/libc-symbols.h (__ifunc_resolver):
4565 New macro is used by __ifunc* macros.
4566 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
4567 depending on HAVE_GCC_IFUNC.
4568 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
4569 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
4570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4571 Redirect ifunced function in header for using as type for ifunc function.
4572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
4573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
4574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
4575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
4576 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4577 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4578 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4579 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4580 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4581 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4582 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4583 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4584 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4585 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
4588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
4590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4591 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4592 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4593 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4594 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4595 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4596 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4597 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4598 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4599 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4600 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4601 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4602 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4603 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
4604 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
4606 Add libc_hidden_def() and use libc_ifunc_hidden() macro
4607 instead of libc_ifunc() macro.
4608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4609 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4610
4611 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4612
4613 * config.h.in (HAVE_GCC_IFUNC): New undef.
4614 * configure.ac: Add check if gcc supports attribute ifunc feature.
4615 * configure: Regenerated.
4616 * manual/install.texi: Add recommendation for gcc with
4617 indirect-function support.
4618 * INSTALL: Regenerated.
4619
4620 2016-10-06 Joseph Myers <joseph@codesourcery.com>
4621
4622 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
4623 macro.
4624 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4625 (__iseqsig): New declaration.
4626 * math/s_iseqsig_template.c: New file.
4627 * math/Versions (__iseqsigf): New libm symbol at version
4628 GLIBC_2.25.
4629 (__iseqsig): Likewise.
4630 (__iseqsigl): Likewise.
4631 * math/libm-test.inc (iseqsig_test_data): New array.
4632 (iseqsig_test): New function.
4633 (main): Call iseqsig_test.
4634 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
4635 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
4636 * manual/libm-err-tab.pl: Update comment on interfaces without
4637 ulps tabulated.
4638 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
4639 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
4640 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
4641 * sysdeps/nacl/libm.abilist: Update.
4642 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4643 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4644 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4645 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4646 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4647 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4648 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4649 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4650 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4651 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4652 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4653 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4655 Likewise.
4656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4657 Likewise.
4658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4659 Likewise.
4660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4661 Likewise.
4662 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4663 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4664 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4665 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4666 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4668 Likewise.
4669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4670 Likewise.
4671 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4672 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4673 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4674
4675 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
4676
4677 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
4678 do_sincos_2, sloww, sloww1): Update comments.
4679
4680 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
4681 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
4682
4683 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
4684 K boolean and rename it.
4685 (__sin): Adjust.
4686 (__cos): Adjust.
4687
4688 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
4689 Siddhesh Poyarekar <siddhesh@sourceware.org>
4690
4691 * manual/nss.texi: Fix typos in the manual.
4692
4693 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
4694
4695 * manual/contrib.texi: Fix typos in the manual.
4696
4697 * manual/maint.texi: Fix typos in the manual.
4698
4699 * manual/install.texi: Fix typos in the manual.
4700 * INSTALL: Regenerated.
4701
4702 * manual/lang.texi: Fix typos in the manual.
4703
4704 * manual/probes.texi: Fix typos in the manual.
4705
4706 * manual/threads.texi: Fix typos in the manual.
4707
4708 * manual/debug.texi: Fix typos in the manual.
4709
4710 * manual/crypt.texi: Fix typos in the manual.
4711
4712 * manual/conf.texi: Fix typos in the manual.
4713
4714 * manual/sysinfo.texi: Fix typos in the manual.
4715
4716 * manual/users.texi: Fix typos in the manual.
4717
4718 * manual/job.texi: Fix typos in the manual.
4719
4720 * manual/process.texi: Fix typos in the manual.
4721
4722 * manual/argp.texi: Fix typos in the manual.
4723 * manual/getopt.texi: Likewise.
4724 * manual/startup.texi: Likewise.
4725
4726 * manual/signal.texi: Fix typos in the manual.
4727
4728 * manual/setjmp.texi: Fix typos in the manual.
4729
4730 * manual/resource.texi: Fix typos in the manual.
4731
4732 * manual/time.texi: Fix typos in the manual.
4733
4734 * manual/arith.texi: Fix typos in the manual.
4735
4736 * manual/math.texi: Fix typos in the manual.
4737
4738 * manual/syslog.texi: Fix typos in the manual.
4739
4740 * manual/terminal.texi: Fix typos in the manual.
4741
4742 * manual/socket.texi: Fix typos in the manual.
4743
4744 * manual/filesys.texi: Fix typos in the manual.
4745
4746 * manual/llio.texi: Fix typos in the manual.
4747
4748 * manual/stdio.text: Fix typos in the manual.
4749
4750 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
4751
4752 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
4753 instead of K1.
4754
4755 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
4756 SHIFT_QUADRANT and make it bool.
4757 (do_sincos_2): Likewise.
4758 (sloww): Likewise.
4759 (sloww1): Likewise.
4760 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
4761 (__cos): Likewise.
4762
4763 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4764
4765 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4766
4767 2016-10-04 Joseph Myers <joseph@codesourcery.com>
4768
4769 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
4770 Define to __WORDSIZE, not conditional on [LONG_MAX ==
4771 0x7fffffffL].
4772 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4773
4774 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4775
4776 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
4777 inline by __inline__.
4778 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
4779 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
4780 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
4781 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
4782 sigset_t from signal.h.
4783 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
4784 which is already required.
4785
4786 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
4787
4788 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4789
4790 2016-10-03 Joseph Myers <joseph@codesourcery.com>
4791
4792 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
4793 (struct tcp_repair_window): New type.
4794
4795 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4796
4797 * libio/tst-memstream3.c: Include string.h.
4798
4799 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4800
4801 [BZ #18241]
4802 [BZ #20181]
4803 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
4804 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
4805 write position is at the end the buffer.
4806 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
4807 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
4808 (_IO_str_seekoff): Set correct offset from negative displacement and
4809 set EINVAL for invalid ones.
4810 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
4811 buffer length.
4812 (_IO_wstr_switch_to_get_mode): New function.
4813 (_IO_wstr_seekoff): Set correct offset from negative displacement and
4814 set EINVAL for invalid ones.
4815 * libio/tst-memstream3.c: New file.
4816 * libio/tst-wmemstream3.c: Likewise.
4817 * manual/examples/memstrm.c: Remove warning when priting size_t.
4818
4819 2016-09-30 Joseph Myers <joseph@codesourcery.com>
4820
4821 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
4822 macro to use __builtin_fma.
4823 * sysdeps/x86_64/fpu/dla.h: Remove file.
4824
4825 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4826 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
4827 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
4828
4829 2016-09-30 Carlos O'Donell <carlos@redhat.com>
4830
4831 [BZ #20292]
4832 * elf/Makefile (routines): Add dl-addr-obj.
4833 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
4834 tst-_dl_addr_inside_object.
4835 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
4836 [ifeq (yesyes,$(have-fpie)$(build-shared))]
4837 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
4838 [ifeq (yesyes,$(have-fpie)$(build-shared))]
4839 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
4840 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
4841 * elf/dl-open.c: Likewise.
4842 * elf/dl-addr-obj.c: New file.
4843 * elf/tst-_dl_addr_inside_object.c: New file.
4844
4845 2016-09-30 Joseph Myers <joseph@codesourcery.com>
4846
4847 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
4848 <bits/iscanonical.h>.
4849 * bits/iscanonical.h: New file.
4850 * math/s_iscanonicall.c: Likewise.
4851 * math/Versions (__iscanonicall): New libm symbol at version
4852 GLIBC_2.25.
4853 * math/libm-test.inc (iscanonical_test_data): New array.
4854 (iscanonical_test): New function.
4855 (main): Call iscanonical_test.
4856 * math/Makefile (headers): Add bits/iscanonical.h.
4857 (type-ldouble-routines): Add s_iscanonicall.
4858 * manual/arith.texi (Floating Point Classes): Document
4859 iscanonical.
4860 * manual/libm-err-tab.pl: Update comment on interfaces without
4861 ulps tabulated.
4862 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
4863 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
4865 Likewise.
4866 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4867 test-iscanonical-ldbl-128ibm.
4868 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
4869 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
4870 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
4871 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
4872 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4873 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4874 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4876 Likewise.
4877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4878 Likewise.
4879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4880 Likewise.
4881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4882 Likewise.
4883 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4884 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4885
4886 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4887
4888 * string/bits/string3.h: Remove C++ style comments.
4889
4890 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
4891
4892 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
4893 instead of ternary condition.
4894 (do_sincos_2): Likewise.
4895 (__sin): Likewise.
4896 (__cos): Likewise.
4897 (slow): Likewise.
4898 (sloww): Likewise.
4899 (sloww1): Likewise.
4900 (bsloww): Likewise.
4901 (bsloww1): Likewise.
4902
4903 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
4904 instead of ternary condition.
4905 (do_sin_slow): Likewise.
4906 (do_sincos_1): Likewise.
4907 (do_sincos_2): Likewise.
4908 (__cos): Likewise.
4909 (sloww): Likewise.
4910 (sloww1): Likewise.
4911 (sloww2): Likewise.
4912 (bsloww): Likewise.
4913 (bsloww1): Likewise.
4914 (bsloww2): Likewise.
4915
4916 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
4917 check from here...
4918 (slow2): ... and here...
4919 (__sin): ... to here.
4920
4921 2016-09-28 Joseph Myers <joseph@codesourcery.com>
4922
4923 * math/math.h
4924 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
4925 Cast argument to its own type.
4926 * math/test-iszero-excess-precision.c: New file.
4927 * math/Makefile (tests): Add test-iszero-excess-precision.
4928 (CFLAGS-test-iszero-excess-precision.c): New variable.
4929
4930 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4931
4932 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
4933 field, add err field.
4934 (__spawni_child): Report error through err member instead of pipe.
4935 (__spawnix): Likewise.
4936
4937 2016-09-28 Zack Weinberg <zackw@panix.com>
4938
4939 * scripts/check-installed-headers.sh: Generalize treatment of
4940 sys/elf.h to all target architectures.
4941
4942 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
4943 deleted typedef ucontext_t.
4944
4945 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4946
4947 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
4948 (__INTERNAL_SYSCALL1): Likewise.
4949 (__INTERNAL_SYSCALL2): Likewise.
4950 (__INTERNAL_SYSCALL3): Likewise.
4951 (__INTERNAL_SYSCALL4): Likewise.
4952 (__INTERNAL_SYSCALL5): Likewise.
4953 (__INTERNAL_SYSCALL6): Likewise.
4954 (__INTERNAL_SYSCALL7): Likewise.
4955 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
4956 (__INTERNAL_SYSCALL_NARGS): Likewise.
4957 (__INTERNAL_SYSCALL_DISP): Likewise.
4958 (INTERNAL_SYSCALL_CALL): Likewise.
4959 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
4960 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
4961 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
4962 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
4963 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
4964 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
4965 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
4966 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
4967 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
4968 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
4969 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
4970 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
4971 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
4972
4973 2016-09-23 Joseph Myers <joseph@codesourcery.com>
4974
4975 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
4976 macro.
4977 * math/libm-test.inc (iszero_test_data): New array.
4978 (iszero_test): New function.
4979 (main): Call iszero_test.
4980 * manual/arith.texi (Floating Point Classes): Document iszero.
4981 * manual/libm-err-tab.pl: Update comment on interfaces without
4982 ulps tabulated.
4983
4984 2016-09-23 Zack Weinberg <zackw@panix.com>
4985
4986 * scripts/check-installed-headers.sh: New script.
4987 * Rules: In each directory that defines header files to be installed,
4988 run check-installed-headers.sh on them as a special test.
4989 * Makefile: Likewise for the headers installed at top level.
4990
4991 * include/aliases.h, include/alloca.h, include/argz.h
4992 * include/arpa/nameser.h, include/arpa/nameser_compat.h
4993 * include/elf.h, include/envz.h, include/err.h
4994 * include/execinfo.h, include/fpu_control.h, include/getopt.h
4995 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
4996 * include/link.h, include/malloc.h, include/mcheck.h
4997 * include/mntent.h, include/netinet/ether.h
4998 * include/nss.h, include/obstack.h, include/printf.h
4999 * include/pty.h, include/resolv.h, include/rpc/auth.h
5000 * include/rpc/auth_des.h, include/rpc/auth_unix.h
5001 * include/rpc/clnt.h, include/rpc/des_crypt.h
5002 * include/rpc/key_prot.h, include/rpc/netdb.h
5003 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5004 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5005 * include/rpc/rpc_msg.h, include/rpc/svc.h
5006 * include/rpc/svc_auth.h, include/rpc/xdr.h
5007 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5008 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5009 * include/rpcsvc/ypupd.h, include/shadow.h
5010 * include/stdio_ext.h, include/sys/epoll.h
5011 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5012 * include/sys/prctl.h, include/sys/profil.h
5013 * include/sys/statfs.h, include/sys/sysctl.h
5014 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5015 * sysdeps/arm/nacl/include/bits/setjmp.h
5016 * sysdeps/mips/include/sys/asm.h
5017 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5018 * sysdeps/unix/sysv/linux/include/sys/timex.h
5019 * sysdeps/x86/fpu/include/bits/fenv.h:
5020 Add #ifndef _ISOMAC guard around internal declarations.
5021 Add multiple-inclusion guard if not already present.
5022
5023 2016-09-23 Zack Weinberg <zackw@panix.com>
5024
5025 * sysdeps/generic/sys/ucontext.h
5026 * sysdeps/arm/sys/ucontext.h
5027 * sysdeps/i386/sys/ucontext.h
5028 * sysdeps/m68k/sys/ucontext.h
5029 * sysdeps/mips/sys/ucontext.h
5030 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5031 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5032 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5033 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5034 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5035 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5036 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5037 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5038 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5039 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5040 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5041 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5042 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5043 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5044 Include both bits/sigcontext.h and bits/sigstack.h.
5045 Fix grammar error in comment, if present.
5046
5047 * bits/sigstack.h
5048 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5049 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5050 * sysdeps/unix/sysv/linux/bits/sigstack.h
5051 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5052 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5053 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5054 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5055 * bits/sigcontext.h
5056 * sysdeps/mach/hurd/i386/bits/sigcontext.h
5057 * sysdeps/unix/sysv/linux/bits/sigcontext.h
5058 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5059 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5060 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
5061 as well as signal.h, if this was not already allowed. Request
5062 definition of size_t if necessary. Minimize semantically-null
5063 differences across files.
5064
5065 2016-09-23 Zack Weinberg <zackw@panix.com>
5066
5067 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5068 Remove all logic conditional on __need macros. Move all the
5069 conditionally defined types to their own headers...
5070 * time/bits/types/clock_t.h: Define clock_t here.
5071 * time/bits/types/clockid_t.h: Define clockid_t here.
5072 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5073 * time/bits/types/struct_timespec.h: Define struct timespec here.
5074 * time/bits/types/struct_timeval.h: Define struct timeval here.
5075 * time/bits/types/struct_tm.h: Define struct tm here.
5076 * time/bits/types/time_t.h: Define time_t here.
5077 * time/bits/types/timer_t.h: Define timer_t here.
5078 * time/Makefile: Install the new headers.
5079
5080 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5081 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5082 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5083 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5084 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5085 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5086 * sysdeps/unix/sysv/linux/bits/resource.h
5087 * sysdeps/unix/sysv/linux/bits/timex.h
5088 * sysdeps/unix/sysv/linux/mips/bits/resource.h
5089 * sysdeps/unix/sysv/linux/net/ppp_defs.h
5090 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5091 * sysdeps/unix/sysv/linux/sys/acct.h
5092 * sysdeps/unix/sysv/linux/sys/timerfd.h
5093 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5094 * time/sys/time.h, time/sys/timeb.h
5095 Use the new bits/types headers.
5096
5097 * include/time.h: Remove __need logic.
5098 * include/bits/time.h
5099 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5100 * include/bits/types/time_t.h, include/bits/types/timer_t.h
5101 * include/bits/types/struct_itimerspec.h
5102 * include/bits/types/struct_timespec.h
5103 * include/bits/types/struct_timeval.h
5104 * include/bits/types/struct_tm.h:
5105 New wrapper headers.
5106
5107 2016-09-23 Zack Weinberg <zackw@panix.com>
5108
5109 * sysdeps/mach/hurd/net/if_ppp.h
5110 * sysdeps/unix/sysv/linux/net/if_ppp.h:
5111 Only define struct ifpppstatsreq and struct ifpppcstatsreq
5112 if __USE_MISC is defined, to ensure struct ifreq is declared.
5113
5114 * inet/netinet/ether.h: Condition all function prototypes
5115 on __USE_MISC, to ensure struct ether_addr is declared.
5116
5117 * socket/bits/types/struct_osockaddr.h: New header.
5118 * include/bits/types/struct_osockaddr.h: New wrapper.
5119 * socket/Makefile: Install the new header.
5120 * socket/sys/socket.h, inet/protocols/talkd.h:
5121 Refer to bits/types/struct_osockaddr.h for the definition of
5122 struct osockaddr.
5123
5124 2016-09-23 Zack Weinberg <zackw@panix.com>
5125
5126 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5127 * inet/protocols/routed.h, inet/protocols/talkd.h
5128 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5129 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5130 * sysdeps/generic/netinet/if_ether.h
5131 * sysdeps/generic/netinet/in_systm.h
5132 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5133 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5134 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5135 * sysdeps/mach/hurd/net/if_arp.h
5136 * sysdeps/mach/hurd/net/if_ppp.h
5137 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5138 * sysdeps/unix/sysv/linux/bits/in.h
5139 * sysdeps/unix/sysv/linux/net/ethernet.h
5140 * sysdeps/unix/sysv/linux/net/if_arp.h
5141 * sysdeps/unix/sysv/linux/net/if_ppp.h
5142 * sysdeps/unix/sysv/linux/net/if_shaper.h
5143 * sysdeps/unix/sysv/linux/net/route.h
5144 * sysdeps/unix/sysv/linux/netinet/if_ether.h
5145 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5146 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5147 * sysdeps/unix/sysv/linux/netipx/ipx.h
5148 * sysdeps/unix/sysv/linux/sys/acct.h
5149 * include/arpa/nameser.h, include/resolv.h:
5150 Change all uses of u_char to unsigned char,
5151 u_short and ushort to unsigned short, u_int and uint to unsigned int,
5152 u_long and ulong to unsigned long, u_int8_t to uint8_t,
5153 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5154 and u_int64_t and u_quad_t to uint64_t.
5155
5156 * mach/sys/reboot.h: Remove two casts of integer literals
5157 to the types they already have.
5158
5159 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5160 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5161 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5162 from referring to 'unsigned char' to 'uint8_t' for consistency with
5163 the macro definition below.
5164
5165 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5166 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5167 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5168 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5169 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5170 * sysdeps/unix/sysv/linux/sys/acct.h
5171 * include/arpa/nameser.h, include/resolv.h:
5172 Fix indentation disrupted by mechanical edits.
5173
5174 * inet/protocols/talkd.h, resolv/arpa/nameser.h
5175 * sysdeps/generic/netinet/in_systm.h
5176 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5177 * sysdeps/gnu/netinet/udp.h
5178 * sysdeps/unix/sysv/linux/net/ethernet.h
5179 * sysdeps/unix/sysv/linux/net/if_arp.h
5180 * sysdeps/unix/sysv/linux/net/if_ppp.h
5181 * sysdeps/unix/sysv/linux/net/if_shaper.h
5182 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5183 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5184 * sysdeps/unix/sysv/linux/netipx/ipx.h
5185 * sysdeps/unix/sysv/linux/sys/acct.h
5186 Include stdint.h for uintNN_t definitions.
5187 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
5188
5189 2016-09-23 Zack Weinberg <zackw@panix.com>
5190
5191 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
5192 * sysdeps/unix/sysv/linux/netrose/rose.h:
5193 Include sys/socket.h and netax25/ax25.h.
5194
5195 * inet/netinet/icmp6.h, inet/netinet/ip6.h
5196 * resolv/arpa/nameser_compat.h:
5197 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
5198
5199 * sysdeps/unix/sysv/linux/sys/quota.h:
5200 Use __caddr_t instead of caddr_t.
5201 * sysdeps/unix/sysv/linux/sys/timerfd.h:
5202 Use __clockid_t instead of clockid_t.
5203
5204 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
5205
5206 * argp/argp.h: Check whether _LIBC is defined before expanding it.
5207 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
5208 expanding it.
5209
5210 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
5211 Define __glibc_c99_flexarr_available to 1 when the compiler
5212 supports C99-compatible flexible array members, 0 otherwise.
5213 * sysdeps/unix/sysv/linux/bits/socket.h
5214 * sysdeps/mach/hurd/bits/socket.h
5215 * bits/socket.h: Use __glibc_c99_flexarr_available in
5216 definitions of struct cmsghdr and CMSG_DATA.
5217
5218 2016-09-23 Florian Weimer <fweimer@redhat.com>
5219
5220 * manual/nss.texi (NSS Modules Interface): Adjust function return
5221 type to enum nss_status. Document errnop argument. Clarify
5222 h_errnop semantics. Fix cross-reference formatting.
5223 (NSS Module Function Internals): Mention that *errnop needs to be
5224 set on failure, but not to zero.
5225
5226 2016-09-23 Florian Weimer <fweimer@redhat.com>
5227
5228 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
5229 (get_random_name): New functions.
5230 (check_wrapper_flags_mode): Use linkat to give the new file a name
5231 determined by get_random_name.
5232 (do_test): Add calls to test open64 and openat64.
5233
5234 2016-09-23 Florian Weimer <fweimer@redhat.com>
5235
5236 * test-skeleton.c: Remove #include <stdarg.h>.
5237
5238 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
5239
5240 [BZ #19826]
5241 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
5242 initialization of static TLS entries.
5243 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
5244 * nptl/allocatestack.c (init_one_static_tls): Likewise.
5245
5246 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5247
5248 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
5249 _hurd_malloc_fork_prepare.
5250 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
5251 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
5252 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
5253 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
5254 (_hurd_fork_child_hook): Drop malloc_fork_child.
5255 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
5256 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
5257 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
5258 after locking locks (notably hurd_dtable_lock). Call
5259 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
5260 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
5261 __malloc_fork_unlock_child.
5262 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
5263
5264 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
5265
5266 * soft-fp/extendhftf2.c: New.
5267 * soft-fp/fixhfti.c: Likewise.
5268 * soft-fp/fixunshfti.c: Likewise.
5269 * soft-fp/floattihf.c: Likewise.
5270 * soft-fp/floatuntihf.c: Likewise.
5271 * soft-fp/half.h: Likewise.
5272 * soft-fp/trunctfhf2.c: Likewise.
5273
5274 2016-09-21 Joseph Myers <joseph@codesourcery.com>
5275
5276 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
5277 macro.
5278 * math/libm-test.inc (issubnormal_test_data): New array.
5279 (issubnormal_test): New function.
5280 * manual/arith.texi (Floating Point Classes): Document
5281 issubnormal.
5282 * manual/libm-err-tab.pl: Update comment on interfaces without
5283 ulps tabulated.
5284
5285 * sysdeps/generic/stdint.h: Define
5286 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5287 <bits/libc-header-start.h> instead of including <features.h>.
5288 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
5289 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
5290 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
5291 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
5292 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
5293 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
5294 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
5295 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
5296 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
5297 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
5298 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
5299 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
5300 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
5301 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
5302 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
5303 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
5304 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
5305 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
5306 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
5307 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
5308 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
5309 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
5310 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
5311 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
5312 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
5313 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
5314 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
5315 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
5316 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
5317 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
5318 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
5319 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
5320 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
5321 * manual/arith.texi (Integers): Document these macros for types
5322 specified by width properties.
5323 * manual/lang.texi (Width of Type): Document these macros for
5324 other standard typedefs.
5325 * stdlib/tst-width-stdint.c: New file.
5326 * stdlib/Makefile (tests): Add tst-width-stdint.
5327
5328 2016-09-21 Florian Weimer <fweimer@redhat.com>
5329
5330 [BZ #20016]
5331 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
5332 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
5333 Move ...
5334 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
5335 ... here, as compatibility symbols in a new file.
5336 * resolv/Makefile (libresolv-routines): Add compat-hooks.
5337 * resolv/res_init.c (__res_vinit): Adjust member names.
5338 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
5339 * resolv/resolv.h (res_sendhookact, res_send_qhook)
5340 (res_send_rhook): Remove.
5341 (struct __res_state): Rename qhook, rhook members.
5342
5343 2016-09-21 Florian Weimer <fweimer@redhat.com>
5344
5345 malloc: Use __libc_lock wrappers.
5346 * malloc/arena.c (list_lock, free_list_lock): Define using
5347 __libc_lock_define_initialized.
5348 (arena_lock): Adjust formatting.
5349 * malloc/malloc.c (struct malloc_state): Define mutex using
5350 __libc_lock_define.
5351 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
5352 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
5353 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
5354 (mutex_unlock, mutex_trylock): Remove.
5355 (__pthread_initialize): Remove unused macro.
5356 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
5357 (mutex_unlock, mutex_trylock): Remove.
5358
5359 2016-09-21 Florian Weimer <fweimer@redhat.com>
5360
5361 [BZ #20592]
5362 Remove RR type classification macros.
5363 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
5364 (ns_t_udp_p, ns_t_xfr_p): Remove.
5365
5366 2016-09-21 Florian Weimer <fweimer@redhat.com>
5367
5368 Remove misleading version information.
5369 * resolv/arpa/nameser.h (__NAMESER): Remove.
5370 * resolv/arpa/nameser_compat.h (__BIND): Remove.
5371
5372 2016-09-21 Florian Weimer <fweimer@redhat.com>
5373
5374 Remove the always-defined BIND_4_COMPAT macro.
5375 * resolv/arpa/nameser.h: Unconditionally include
5376 <arpa/nameser_compat.h>.
5377 (BIND_4_COMPAT): Remove.
5378 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
5379
5380 2016-09-21 Florian Weimer <fweimer@redhat.com>
5381
5382 [BZ #20591]
5383 Remove obsolete DNSSEC support.
5384 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
5385 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
5386 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
5387 (ns_verify_tcp, ns_verify_tcp_init): Remove.
5388 (ns_cert_types): Add comment.
5389 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
5390 separately.
5391 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
5392 (dst_s_dns_key_id): Remove.
5393 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
5394 variables.
5395
5396 2016-09-21 Florian Weimer <fweimer@redhat.com>
5397
5398 [BZ #20524]
5399 * manual/string.texi (String/Array Comparison): Clarify the
5400 strverscmp behavior.
5401
5402 2016-09-21 Florian Weimer <fweimer@redhat.com>
5403
5404 * test-skeleton.c (xasprintf): Add function.
5405 * io/tst-open-tmpfile.c: New test.
5406 * io/Makefile (tests): Add it.
5407
5408 2016-09-21 Florian Weimer <fweimer@redhat.com>
5409
5410 Avoid running $(CXX) during build to obtain header file paths.
5411 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
5412 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
5413 * Makerules (cstdlib, cmath): Remove variables. Use
5414 $(c++-cstdlib-header), $(c++-cmath-header) instead.
5415 * configure: Regenerate.
5416
5417 2016-09-21 Florian Weimer <fweimer@redhat.com>
5418
5419 * Makeconfig (all-object-suffixes): Include .op only if
5420 $(build-profile).
5421
5422 2016-09-21 Florian Weimer <fweimer@redhat.com>
5423
5424 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
5425 conditionals. Do not define PATH_MAX.
5426
5427 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5428
5429 * posix/Makefile (tests): Add tst-spawn3.
5430 * posix/tst-spawn3.c: New file.
5431 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
5432 if it is already opened for open action.
5433
5434 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
5435 all signals when executing the clone vfork child.
5436 (SIGALL_SET): Remove macro.
5437
5438 * nptl/Makefile (tests): Add tst-exec5.
5439 * nptl/tst-exec5.c: New file.
5440 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
5441 asynchronous cancellation.
5442
5443 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
5444
5445 * hurd/exc2signal.c: #include <hurd/signal.h>
5446 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
5447 'sigcode', 'error' parameters with 'detail' parameter. Fix code
5448 accordingly.
5449 * mach/mach_error.c (mach_error): Fix old-style function definition.
5450 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
5451
5452 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5453
5454 * math/Makefile (libm-calls): Remove s_nanF.
5455 (gen-libm-calls): Add s_nanF.
5456
5457 * math/s_nan.c: Refactor into ...
5458 * math/s_nan_template.c: New file.
5459
5460 * math/s_nanf.c: Removed.
5461 * math/s_nanl.c: Removed.
5462 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
5463 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
5464
5465 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5466 (LDOUBLE_nanl_libm_version): New macro.
5467
5468 * sysdeps/generic/math-type-macros-double.h:
5469 (M_STRTO_NAN): New macro.
5470 * sysdeps/generic/math-type-macros-float.h: Likewise.
5471 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5472
5473 * sysdeps/generic/math-type-macros.h: Document
5474 M_STRTO_NAN.
5475
5476 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5477
5478 * math/s_nanf.c: Remove __nanf undef.
5479 * math/s_nan.c: Remove __nan undef.
5480 * math/s_nanl.c: Remove __nanl undef.
5481
5482 * sysdeps/generic/math_private.h (__nan): Remove macro
5483 override.
5484 (__nanf): Likewise.
5485 (__nanl): Likewise.
5486
5487 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5488
5489 * math/Makefile (gen-all-calls): New variable.
5490 (generated): Replace gen-libm-calls with gen-all-calls.
5491 (gen-libm-templates.stmp): Likewise. Also, ensure
5492 the output directory exists or is created and add
5493 dependency on the Makefile.
5494 (calls): Move s_ldexpF into gen-calls.
5495 (gen-calls): New variable.
5496
5497 * math/s_ldexpf.c: Removed.
5498 * math/s_ldexpl.c: Removed.
5499 * math/s_ldexp.c: Refactored into ...
5500 * math/s_ldexp_template.c: New file.
5501
5502 * sysdeps/generic/math-type-macros-double.h: Remove
5503 redundant fall-through definition of declare_mgen_alias.
5504 (declare_mgen_alias_2): New macro.
5505
5506 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
5507 New macro for function aliased to two exported symbols.
5508
5509 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
5510 new template file.
5511 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5512
5513 2016-09-20 Florian Weimer <fweimer@redhat.com>
5514
5515 * Makeconfig (all-object-suffixes): Remove .og.
5516 * Makerules (elide-routines.og): Remove.
5517 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
5518 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
5519 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
5520
5521 2016-09-20 Florian Weimer <fweimer@redhat.com>
5522
5523 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
5524 .os objects.
5525
5526 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5527
5528 [BZ #20615]
5529 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
5530 fpu directory by non-fpu.
5531 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
5532 on non-fpu directory from a fpu directory.
5533
5534 2016-09-19 Joseph Myers <joseph@codesourcery.com>
5535
5536 * include/limits.h: Define
5537 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5538 <bits/libc-header-start.h> instead of including <features.h>.
5539 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
5540 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
5541 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
5542 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
5543 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
5544 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
5545 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
5546 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
5547 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5548 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
5549 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
5550 * manual/lang.texi (Width of Type): Document these macros.
5551 * stdlib/tst-width.c: New file.
5552 * stdlib/Makefile (tests): Add tst-width.
5553
5554 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5555
5556 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
5557 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
5558
5559 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5560
5561 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
5562 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5563 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5564
5565 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5566
5567 [BZ #18243]
5568 * rt/Makefile (test): Add tst-shm-cancel.
5569 * rt/tst-shm-cancel.c: New file.
5570 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
5571
5572 [BZ #18243]
5573 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
5574 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
5575 definition.
5576 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
5577 uncontended case.
5578 * nptl/sem_wait.c (__new_sem_wait): Likewise.
5579 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
5580 (tf): Fix check for uncontended case.
5581 (do_test): Likewise.
5582 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
5583 (tf): Fix check for uncontended case.
5584 (do_test): Likewise.
5585 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
5586 (tf): Fix check for uncontended case.
5587 (do_test): Likewise.
5588 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
5589 (tf): Fix check for uncontended case.
5590 (do_test): Likewise.
5591
5592 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
5593 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
5594
5595 [BZ #15765]
5596 * nptl/Makefile (tests): Add tst-sem16.
5597 * nptl/tst-sem16.c: New file.
5598 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
5599
5600 * nptl/sem_open.c (sem_open): Init pad value to 0.
5601 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5602 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5603
5604 2016-09-15 Florian Weimer <fweimer@redhat.com>
5605
5606 [BZ #20611]
5607 * inet/Makefile (routines): Add inet6_scopeid_pton.
5608 (tests): Add tst-inet6_scopeid_pton.
5609 * inet/inet6_scopeid_pton.c: New file.
5610 * inet/net-internal.h: Likewise.
5611 * inet/tst-inet6_scopeid_pton.c: New test.
5612 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
5613 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
5614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5615
5616 2016-09-14 Florian Weimer <fweimer@redhat.com>
5617
5618 Remove support for compiling wrappers with PTW.
5619 * sysdeps/nptl/Makeconfig: Drop ptw- support.
5620 * nptl/Makefile (pthread-compat-wrappers): Define.
5621 (libpthread-routines): Use pthread-compat-wrappers.
5622 * sysdeps/unix/sysv/linux/alpha/Makefile
5623 (libpthread-routines, libpthread-shared-only-routines): Remove
5624 ptw- prefix.
5625 * sysdeps/s390/nptl/Makefile
5626 (libpthread-routines, libpthread-shared-only-routines): Likewise.
5627 * sysdeps/ia64/nptl/Makefile
5628 (libpthread-routines, libpthread-shared-only-routines): Likewise.
5629 * sysdeps/nacl/Makefile (libpthread-routines): Use
5630 pthread-compat-wrappers to filter the routines list instead of the
5631 ptw- prefix.
5632
5633 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5634
5635 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
5636 with L() and remove explicit suffix, convert real literals
5637 which can be equivalentally substituted with integers, and
5638 transform -L(x) to L(-x).
5639
5640 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5641 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5642 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5643 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5644 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5645 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5646 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5647 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5648 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5649 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5651 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5652 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5653 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5654 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5655 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5656 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5657 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5658 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5659 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5660 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5661 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5662 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5663 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5664 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5665 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5666 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5667 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5668 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5669 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5670 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5671 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5672 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5673 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5674 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5675 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5676 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5677 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5678 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5679 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5680 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5681 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5682 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5683 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5684 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5685 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5686 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5687 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5688 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5689 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5690
5691 2016-09-13 Florian Weimer <fweimer@redhat.com>
5692
5693 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
5694
5695 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
5696
5697 * malloc/Makefile (tests): Remove individual static test names
5698 and just add all of tests-static.
5699
5700 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
5701
5702 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5703
5704 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
5705 file.
5706
5707 * sysdeps/sparc/fpu/fegetmode.c: New file.
5708 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
5709
5710 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
5711 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
5712
5713 * sysdeps/s390/fpu/fegetmode.c: New file.
5714 * sysdeps/s390/fpu/fesetmode.c: Likewise.
5715
5716 * sysdeps/powerpc/fpu/fegetmode.c: New file.
5717 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
5718 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
5719 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
5720 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
5721 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
5722
5723 * sysdeps/mips/fpu/fegetmode.c: New file.
5724 * sysdeps/mips/fpu/fesetmode.c: Likewise.
5725
5726 * sysdeps/m68k/fpu/fegetmode.c: New file.
5727 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
5728
5729 * sysdeps/ia64/fpu/fegetmode.c: New file.
5730 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
5731
5732 * sysdeps/hppa/fpu/fegetmode.c: New file.
5733 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
5734
5735 * sysdeps/arm/fegetmode.c: New file.
5736 * sysdeps/arm/fesetmode.c: Likewise.
5737
5738 * sysdeps/alpha/fpu/fegetmode.c: New file.
5739 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
5740
5741 * sysdeps/aarch64/fpu/fegetmode.c: New file.
5742 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
5743
5744 * math/fegetmode.c: New file.
5745 * math/fesetmode.c: Likewise.
5746 * sysdeps/i386/fpu/fegetmode.c: Likewise.
5747 * sysdeps/i386/fpu/fesetmode.c: Likewise.
5748 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
5749 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
5750 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
5751 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
5752 declaration.
5753 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
5754 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
5755 typedef.
5756 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5757 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5758 (femode_t): New typedef.
5759 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5760 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5761 (femode_t): New typedef.
5762 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5763 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5764 (femode_t): New typedef.
5765 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5766 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5767 (femode_t): New typedef.
5768 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5769 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5770 (femode_t): New typedef.
5771 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5772 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5773 (femode_t): New typedef.
5774 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5775 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5776 (femode_t): New typedef.
5777 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5778 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5779 (femode_t): New typedef.
5780 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5781 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5782 (femode_t): New typedef.
5783 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5784 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5785 (femode_t): New typedef.
5786 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
5787 declaration.
5788 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5789 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5790 (femode_t): New typedef.
5791 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5792 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5793 (femode_t): New typedef.
5794 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5795 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5796 (femode_t): New typedef.
5797 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5798 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5799 (femode_t): New typedef.
5800 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5801 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5802 (femode_t): New typedef.
5803 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5804 * manual/arith.texi (FE_DFL_MODE): Document macro.
5805 (fegetmode): Document function.
5806 (fesetmode): Likewise.
5807 * math/Versions (fegetmode): New libm symbol at version
5808 GLIBC_2.25.
5809 (fesetmode): Likewise.
5810 * math/Makefile (libm-support): Add fegetmode and fesetmode.
5811 (tests): Add test-femode and test-femode-traps.
5812 * math/test-femode-traps.c: New file.
5813 * math/test-femode.c: Likewise.
5814 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
5815 alias for __fe_dfl_env.
5816 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
5817 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
5818 (__fe_dfl_mode): Likewise.
5819 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
5820 version GLIBC_2.25.
5821 * sysdeps/nacl/libm.abilist: Update.
5822 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5823 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5824 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5825 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5826 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5827 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5828 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5829 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5830 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5831 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5832 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5833 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5835 Likewise.
5836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5837 Likewise.
5838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5839 Likewise.
5840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5841 Likewise.
5842 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5843 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5844 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5845 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5846 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5848 Likewise.
5849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5850 Likewise.
5851 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5852 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5853 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5854
5855 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
5856
5857 [BZ #20495]
5858 [BZ #20508]
5859 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
5860 processors, set Use_dl_runtime_resolve_slow and set
5861 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
5862 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
5863 New.
5864 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
5865 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
5866 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
5867 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
5868 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
5869 if Use_dl_runtime_resolve_opt is set. Use
5870 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
5871 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
5872 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
5873 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
5874 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
5875 New.
5876 (_dl_runtime_resolve_opt): Likewise.
5877 (_dl_runtime_profile): Define only if _dl_runtime_profile is
5878 defined.
5879
5880 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
5881
5882 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
5883 __libc_memalign with "+ RELA R_390_GLOB_DAT".
5884
5885 2016-09-06 Florian Weimer <fweimer@redhat.com>
5886
5887 Convert malloc to __libc_lock. Automated part, using this Perl
5888 s/// command:
5889 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
5890 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
5891 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
5892 conversion.
5893
5894 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
5895
5896 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
5897 (linknamespace-symlists-tests): Likewise.
5898 (linknamespace-header-tests): Likewise.
5899
5900 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
5901
5902 [BZ #19810]
5903 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
5904 * elf/tst-noload.c: New test case.
5905 * elf/Makefile (tests): Add tst-noload.
5906
5907 2016-09-02 Roland McGrath <roland@hack.frob.com>
5908
5909 * sysdeps/nacl/dup.c: Add libc_hidden_def.
5910
5911 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
5912 not any more.
5913
5914 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
5915
5916 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
5917
5918 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
5919 (do_cos_slow): Likewise.
5920 (do_sin): Likewise.
5921 (do_sin_slow): Likewise.
5922 (slow): Likewise.
5923 (slow1): Likewise.
5924 (slow2): Likewise.
5925 (sloww): Likewise.
5926 (sloww1): Likewise.
5927 (sloww2): Likewise.
5928 (bsloww): Likewise.
5929 (bsloww1): Likewise.
5930 (bsloww2): Likewise.
5931 (cslow2): Likewise.
5932
5933 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
5934
5935 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
5936 arguments. Consolidate input partitioning from callers here.
5937 (do_cos_slow): Likewise.
5938 (do_sin): Likewise.
5939 (do_sin_slow): Likewise.
5940 (do_sincos_1): Remove the no longer necessary input partitioning.
5941 (do_sincos_2): Likewise.
5942 (__sin): Likewise.
5943 (__cos): Likewise.
5944 (slow1): Likewise.
5945 (slow2): Likewise.
5946 (sloww1): Likewise.
5947 (sloww2): Likewise.
5948 (bsloww1): Likewise.
5949 (bsloww2): Likewise.
5950 (cslow2): Likewise.
5951
5952 2016-09-02 Florian Weimer <fweimer@redhat.com>
5953
5954 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
5955 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
5956 outside of allocated array.
5957
5958 2016-09-02 Florian Weimer <fweimer@redhat.com>
5959
5960 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
5961 instead of MB_CUR_MAX to avoid variable-length array.
5962
5963 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5964
5965 * math/Makefile (libm-calls): Remove k_rem_pio2F.
5966 (type-double-routines): Add k_rem_pio2.
5967 (type-float-routines): Add k_rem_pio2f.
5968
5969 * sysdeps/generic/math_private.h:
5970 (__kernel_rem_pio2l): Removed.
5971
5972 * math/k_rem_pio2l.c: Removed.
5973 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
5974 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
5975 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
5976 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
5977
5978 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5979
5980 * math/Makefile (gen-libm-calls): Add s_fmin
5981 (libm-calls): Remove above.
5982
5983 * math/s_fmin.c: Refactor into ...
5984 * math/s_fmin_template.c: New file.
5985
5986 * math/s_fminf.c: Removed.
5987 * math/s_fminl.c: Removed.
5988 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5989 (LDOUBLE_fmin_libm_version): New macro.
5990
5991 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
5992 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
5993
5994 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5995
5996 * math/Makefile: (gen-libm-calls): Add s_fmax.
5997 (libm-calls): Remove above.
5998
5999 * math/s_fmax.c: Refactor into ...
6000 * math/s_fmax_template.c: New file.
6001 * math/s_fmaxf.c: Removed.
6002 * math/s_fmaxl.c: Removed.
6003
6004 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6005 (LDOUBLE_fmaxl_libm_version): New macro.
6006
6007 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6008 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6009
6010 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6011 s_fmin.c to pick the aarch64 version of the file.
6012 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6013 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6014
6015 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6016
6017 * math/Makefile: (gen-libm-calls): Add s_nextdown.
6018 (libm-calls): Remove above.
6019
6020 * math/s_nextdown.c: Refactor into ...
6021 * math/s_nextdown_template.c: New file.
6022 * math/s_nextdownf.c: Removed.
6023 * math/s_nextdownl.c: Removed.
6024
6025 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6026
6027 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6028
6029 * math/Makefile (gen-libm-calls): Add s_fdim.
6030 (libm-calls): Move to above.
6031
6032 * math/s_fdim.c: Renamed and refactored into to ...
6033 * math/s_fdim_template.c: New file.
6034 * math/s_fdiml.c: Removed.
6035 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6036 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6037
6038 * sysdeps/generic/math-type-macros-double.h:
6039 (declare_mgen_alias): Don't declare if already declared.
6040 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6041 Likewise.
6042
6043 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6044 (declare_mgen_alias): Don't declare if already declared.
6045 (M_LIBM_NEED_COMPAT): Likewise.
6046 (declare_mgen_libm_compat): Likewise.
6047 (LDOUBLE_fdiml_libm_version): New macro.
6048
6049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6050 Include math/s_fdim.c now that ldbl-opt version is not needed.
6051 (declare_mgen_alias): New macro to disable aliasing.
6052
6053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6054 (declare_mgen_alias): Likewise.
6055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6056 (declare_mgen_alias): Likewise.
6057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6058 (declare_mgen_alias): Likewise.
6059 (M_LIBM_NEED_COMPAT): Likewise.
6060
6061 2016-09-01 Florian Weimer <fweimer@redhat.com>
6062
6063 [BZ #20525]
6064 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6065 Include <linux/quota.h>.
6066 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6067 and btodb.
6068 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6069 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6070 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6071 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6072 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6073 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6074 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6075 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6076 types.
6077 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6078 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6079
6080 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6081
6082 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6083 (gammal_positive): Fix spacing.
6084 (__ieee754_gammal_r): Likewise.
6085
6086 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6087
6088 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6089 (_Float128): Define as long double, always.
6090 (L): Apply long double type suffix, always.
6091
6092 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6093 _Float128, excepting comments.
6094
6095 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6096 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6097 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6098 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6100 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6101 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6103 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6104 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6105 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6106 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6107 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6108 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6109 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6110 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6111 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6112 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6115 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6135 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6138 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6140 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6141 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6142 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6143 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6144 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6146 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6147 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6148 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6149 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6150 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6151 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6152 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6156 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6157 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6158 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6159 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6160 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6161 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6162 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6163
6164 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6165 _Float128, and include math_private.h.
6166 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6167
6168 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6169 long double semantics.
6170 (_Float128): Likewise.
6171 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6172 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6173 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6174 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6175
6176 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6177
6178 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6179 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6180 * sysdeps/s390/configure: Regenerated.
6181 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6182 instruction for raising over-/underflow if z196 zarch is supported
6183 by default.
6184 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6185
6186 2016-08-30 Svante Signell <svante.signell@gmail.com>
6187
6188 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
6189 it point to a dumb buffer for RPC to fill it.
6190
6191 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
6192
6193 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
6194 instead of if/else.
6195 (do_sin_slow): Likewise.
6196 (do_sincos_1): Use fabs instead of if/else.
6197 (do_sincos_2): Likewise.
6198 (__sin): Likewise.
6199 (__cos): Likewise.
6200 (slow2): Likewise.
6201 (sloww): Likewise.
6202 (sloww1): Likewise. Drop argument M.
6203 (sloww2): Use fabs instead of if/else.
6204 (bsloww): Likewise.
6205 (bsloww1): Likewise.
6206 (bsloww2): Likewise.
6207
6208 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
6209 fall through comment.
6210 (do_sincos_1): Likewise.
6211
6212 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
6213 Consolidate switch cases 0 and 2.
6214
6215 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6216
6217 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
6218 (libm-calls): Remove the above.
6219
6220 * math/s_cexp_template.c: Update using type-generic macros.
6221 * math/s_clog10_template.c: Likewise.
6222 * math/s_cpow_template.c: Likewise.
6223 * math/s_clog_template.c: Likewise.
6224 * math/s_cproj_template.c: Likewise.
6225 * math/s_csqrt_template.c: Likewise.
6226
6227 * math/s_cexp.c: Removed.
6228 * math/s_cexpf.c: Removed.
6229 * math/s_cexpl.c: Removed.
6230 * math/s_clog10.c: Removed.
6231 * math/s_clog10f.c: Removed.
6232 * math/s_clog10l.c: Removed.
6233 * math/s_cpow.c: Removed.
6234 * math/s_cpowf.c: Removed.
6235 * math/s_cpowl.c: Removed.
6236 * math/s_clog.c: Removed.
6237 * math/s_clogf.c: Removed.
6238 * math/s_clogl.c: Removed.
6239 * math/s_cproj.c: Removed.
6240 * math/s_cprojf.c: Removed.
6241 * math/s_cprojl.c: Removed.
6242 * math/s_csqrt.c: Removed.
6243 * math/s_csqrtf.c: Removed.
6244 * math/s_csqrtl.c: Removed.
6245
6246 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
6247 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
6248 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
6249 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
6250 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
6251 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
6252
6253 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
6254 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
6255 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
6256 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
6257 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
6258 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
6259 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
6260 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
6261 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
6262 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
6263 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
6264
6265 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
6266 version.
6267
6268 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
6269 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
6270 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
6271 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
6272
6273 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6274
6275 * s_cexp_template.c: Copy of s_cexp.c.
6276 * s_clog_template.c: Copy of s_clog.c.
6277 * s_clog10_template.c: Copy of s_clog10.c.
6278 * s_cpow_template.c: Copy of s_cpow.c.
6279 * s_cproj_template.c: Copy of s_cproj.c.
6280 * s_csqrt_template.c: Copy of s_csqrt.c.
6281
6282 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6283
6284 [BZ #20517]
6285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6286 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
6287 exported.
6288
6289 2016-08-29 Joseph Myers <joseph@codesourcery.com>
6290
6291 * math/fetestexceptflag.c: New file.
6292 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
6293 Stefan Liebler.
6294 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6295 (fetestexceptflag): New function declaration.
6296 * manual/arith.texi (fetestexceptflag): Document function.
6297 * math/Versions (fetestexceptflag): New libm symbol at version
6298 GLIBC_2.25.
6299 * math/Makefile (libm-support): Add fetestexceptflag.
6300 (tests): Add test-fetestexceptflag.
6301 * math/test-fetestexceptflag.c: New file.
6302 * sysdeps/nacl/libm.abilist: Update.
6303 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6304 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6305 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6306 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6307 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6308 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6309 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6310 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6311 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6312 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6313 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6314 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6316 Likewise.
6317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6318 Likewise.
6319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6320 Likewise.
6321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6322 Likewise.
6323 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6324 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6325 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6326 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6327 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6329 Likewise.
6330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6331 Likewise.
6332 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6333 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6334 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6335
6336 2016-08-26 Florian Weimer <fweimer@redhat.com>
6337
6338 [BZ #20432]
6339 Avoid strong references to malloc-internal symbols when linking
6340 statically, to support statically interposed mallocs.
6341 * include/libc-symbols.h (call_function_static_weak): New macro.
6342 * malloc/Makefile (tests): Add tst-interpose-nothread,
6343 tst-interpose-thread, tst-interpose-static-nothread,
6344 tst-interpose-static-thread.
6345 (tests-static): Add tst-interpose-static-nothread,
6346 tst-interpose-static-thread.
6347 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
6348 tst-interpose-aux-thread.o.
6349 (test-extras): Add tst-interpose-aux-nothread,
6350 tst-interpose-aux-thread.
6351 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
6352 tst-interpose-aux-nothread.o.
6353 (tst-interpose-thread, tst-interpose-static-thread): Link with
6354 tst-interpose-aux-thread.o and libthread.
6355 * malloc/tst-interpose-aux-nothread.c: New file.
6356 * malloc/tst-interpose-aux-thread.c: Likewise.
6357 * malloc/tst-interpose-aux.c: Likewise.
6358 * malloc/tst-interpose-aux.h: Likewise.
6359 * malloc/tst-interpose-nothread.c: Likewise.
6360 * malloc/tst-interpose-skeleton.c: Likewise.
6361 * malloc/tst-interpose-static-nothread.c: Likewise.
6362 * malloc/tst-interpose-static-thread.c: Likewise.
6363 * malloc/tst-interpose-thread.c: Likewise.
6364 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
6365 * sysdeps/mach/hurd/fork.c (__fork): Only call
6366 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6367 __malloc_fork_unlock_child if defined.
6368 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6369
6370 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6371
6372 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
6373 timespec C99 designated initialization.
6374
6375 2016-08-26 Florian Weimer <fweimer@redhat.com>
6376
6377 [BZ #19946]
6378 Avoid expected SIGALRM signals.
6379 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
6380 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
6381 (xpthread_create, xpthread_detach, xpthread_join)
6382 (delayed_exit_thread, delayed_exit): New functions.
6383 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
6384 (tf): Use xpthread_cond_wait.
6385 (do_test): Likewise. Replace alarm with delayed_exit.
6386 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6387 (do_test): Call delayed_exit. Report failure.
6388 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6389 (do_test): Call delayed_exit.
6390 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6391 (do_test): Call delayed_exit. Use xpthread_join. Report error.
6392 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6393 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
6394 error.
6395 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6396 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
6397 error.
6398 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
6399 (do_test): Call delayed_exit.
6400 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
6401 (do_test): Call delayed_exit.
6402 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
6403 (do_test): Call delayed_exit instead of alarm. Use
6404 xpthread_mutex_lock.
6405 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
6406 (do_test): Call delayed_exit instead of alarm. Use
6407 xpthread_mutex_lock.
6408 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
6409 (do_test): Call delayed_exit instead of alarm.
6410 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
6411 (do_test): Call delayed_exit instead of alarm. Use
6412 xpthread_spin_lock.
6413 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
6414 (do_test): Call delayed_exit instead of alarm. Use
6415 xpthread_join.
6416
6417 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
6418
6419 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
6420 adjust CFA when allocating register save area on re-aligned
6421 stack.
6422
6423 2016-08-26 Florian Weimer <fweimer@redhat.com>
6424
6425 * string/tst-cmp.c: New test.
6426 * string/Makefile (tests): Add it.
6427
6428 2016-08-25 Mark Wielaard <mark@klomp.org>
6429
6430 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
6431 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
6432 (check_tree_recurse): Use newly defined accessors.
6433 (check_tree): Likewise.
6434 (maybe_split_for_insert): Likewise.
6435 (__tfind): Likewise.
6436 (__tdelete): Likewise.
6437 (trecurse): Likewise.
6438 (tdestroy_recurse): Likewise.
6439 (__tsearch): Likewise. And add asserts for malloc alignment.
6440 (__twalk): Cast root to node in case CHECK_TREE is defined.
6441
6442 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
6443
6444 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
6445
6446 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6447
6448 * math/Makefile (libm-gen-calls): Add
6449 catan, catanh, ctan, ctanh.
6450 (libm-calls): Remove the above.
6451
6452 * math/s_catan_template.c: Update using type-generic macros.
6453 * math/s_catanh_template.c: Likewise.
6454 * math/s_ctan_template.c: Likewise.
6455 * math/s_ctanh_template.c: Likewise.
6456
6457 * math/s_catanf.c: Removed.
6458 * math/s_catan.c: Removed.
6459 * math/s_catanl.c: Removed.
6460 * math/s_catanhf.c: Removed.
6461 * math/s_catanh.c: Removed.
6462 * math/s_catanhl.c: Removed.
6463 * math/s_ctanf.c: Removed.
6464 * math/s_ctan.c: Removed.
6465 * math/s_ctanl.c: Removed.
6466 * math/s_ctanhf.c: Removed.
6467 * math/s_ctanh.c: Removed.
6468 * math/s_ctanhl.c: Removed.
6469
6470 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
6471 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
6472 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
6473 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
6474 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
6475 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
6476
6477 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
6478 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
6479 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
6480 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
6481
6482 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6483
6484 * s_catan_template.c: Copy of s_catan.c.
6485 * s_catanh_template.c: Copy of s_catanh.c.
6486 * s_ctan_template.c: Copy of s_ctan.c.
6487 * s_ctanh_template.c: Copy of s_ctanh.c.
6488
6489 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6490
6491 * math/Makefile (gen-libm-calls): Move
6492 casin, casinh, csin, csinh here.
6493 (libm-calls): Remove the above.
6494
6495 * math/s_casin_template.c: Update using type-generic macros.
6496 * math/s_casinh_template.c: Likewise.
6497 * math/s_csin_template.c: Likewise.
6498 * math/s_csinh_template.c: Likewise.
6499 * math/k_casinh_template.c: Likewise.
6500
6501 * math/s_casinf.c: Removed.
6502 * math/s_casin.c: Removed.
6503 * math/s_casinl.c: Removed.
6504 * math/s_casinh.c: Removed.
6505 * math/s_casinhf.c: Removed.
6506 * math/s_casinhl.c: Removed.
6507 * math/s_csin.c: Removed.
6508 * math/s_csinf.c: Removed.
6509 * math/s_csinl.c: Removed.
6510 * math/s_csinh.c: Removed.
6511 * math/s_csinhf.c: Removed.
6512 * math/s_csinhl.c: Removed.
6513 * math/k_casinh.c: Removed.
6514 * math/k_casinhf.c: Removed.
6515 * math/k_casinhl.c: Removed.
6516
6517 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
6518 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
6519 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
6520 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
6521
6522 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
6523 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
6524 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
6525 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
6526 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
6527 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
6528 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
6529 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
6530
6531 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
6532 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
6533 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
6534 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
6535
6536 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
6537 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
6538 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
6539 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
6540
6541 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6542
6543 * s_casin_template.c: Copy of s_casin.c.
6544 * s_casinh_template.c: Copy of s_casinh.c.
6545 * s_csin_template.c: Copy of s_csin.c.
6546 * s_csinh_template.c: Copy of s_csinh.c.
6547 * k_casinh_template.c: Copy of k_casinh.c.
6548
6549 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
6550
6551 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
6552
6553 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6554
6555 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
6556 (mul_split) Remove, rename as mul_splitl, remove
6557 redundant float.h include, and include via mul_splitl.h
6558
6559 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6560 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6561 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6562 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6563 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6564
6565 * math/mul_splitl.h: New file.
6566
6567 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
6568 Move into mul_split.h, and remove redundant float.h include.
6569
6570 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6571 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6572 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6573 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
6574
6575 * math/mul_split.h: New file.
6576
6577 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6578
6579 * math/Makefile (libm-gen-calls): Move
6580 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
6581 (libm-calls): Remove above.
6582
6583 * math/s_cacos_template.c: Update using type-generic macros.
6584 * math/s_cacosh_template.c: Likewise.
6585 * math/s_ccos_template.c: Likewise.
6586 * math/s_ccosh_template.c: Likewise.
6587
6588 * math/s_cacosf.c: Removed.
6589 * math/s_cacos.c: Removed.
6590 * math/s_cacosl.c: Removed.
6591 * math/s_cacoshf.c: Removed.
6592 * math/s_cacosh.c: Removed.
6593 * math/s_cacoshl.c: Removed.
6594 * math/s_ccosf.c: Removed.
6595 * math/s_ccos.c: Removed.
6596 * math/s_ccosl.c: Removed.
6597 * math/s_ccoshf.c: Removed.
6598 * math/s_ccosh.c: Removed.
6599 * math/s_ccoshl.c: Removed.
6600
6601 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
6602 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
6603 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
6604 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
6605 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
6606 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
6607
6608 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
6609 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
6610 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
6611 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
6612
6613 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
6614 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6615 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6616 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6617
6618 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6619
6620 * s_cacos_template.c: Copy of s_cacos.c.
6621 * s_cacosh_template.c: Copy of s_cacosh.c.
6622 * s_ccos_template.c: Copy of s_ccos.c.
6623 * s_ccosh_template.c: Copy of s_ccosh.c.
6624
6625 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6626
6627 * stdlib/tst-strtod-round-skeleton.c:
6628 Refactored from tst-strtod-round.c.
6629
6630 (L_): New macro to apply literal modifier.
6631 (FNPFX): New macro to select str or wcs prefix.
6632 (CHAR): New macro to choose wchar_t or char.
6633 (STRM): New macro to choose printf for tested character type.
6634
6635 (STRTO): New macro to choose appropriate string -> real function.
6636 (FNPFXS): Stringitized version of FNPFX.
6637 (STR): Support for above macro.
6638 (STRX): Likewise.
6639
6640 (TEST): Update with above macros.
6641 (test): Likewise.
6642 (GEN_ONE_TEST): Likewise.
6643 (test_in_one_mode): Likewise.
6644
6645 * stdlib/tst-strtod-round.c: New file.
6646 * wcsmbs/tst-wcstod-round.c: New file.
6647
6648 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
6649 (tst-wcstod-round): Add libm depencency for fesetround.
6650
6651 2016-08-19 Zack Weinberg <zackw@panix.com>
6652
6653 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
6654
6655 2016-08-18 Torvald Riegel <triegel@redhat.com>
6656
6657 [BZ #20477]
6658 * resolv/res_hconf.c (do_init): Use atomic access.
6659 * resolv/res_hconf.h: Add comments.
6660 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
6661 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
6662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6663
6664 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
6665
6666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6667 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
6668 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6669 Likewise.
6670
6671 2016-08-18 Florian Weimer <fweimer@redhat.com>
6672
6673 [BZ #16907]
6674 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
6675 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
6676 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
6677 (__attribute__): Remove definition.
6678
6679 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6680
6681 * sysdeps/ieee754/ldbl-128/e_asinl.c:
6682 Remove unused sqrtl declaration.
6683
6684 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6685
6686 * math/Makefile: (gen-libm-templates.stmp): New rule.
6687 (libm-calls): Move carg conj cimag and cabs into ...
6688 (gen-libm-calls): New variable.
6689 (generated): Inform Make objects from gen-libm-calls
6690 may be generated.
6691
6692 * sysdeps/generic/math-type-macros.h: New file.
6693 * sysdeps/generic/math-type-macros-float.h: Likewise.
6694 * sysdeps/generic/math-type-macros-double.h: Likewise.
6695 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6696 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
6697 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
6698
6699 * math/cabs.c: Refactor into
6700 * math/cabs_template.c: new file.
6701 * math/cabsf.c: Removed.
6702 * math/cabsl.c: Removed.
6703 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
6704 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
6705
6706 * math/carg.c: Refactor into
6707 * math/carg_template.c: new file.
6708 * math/cargf.c: Removed.
6709 * math/cargl.c: Removed.
6710 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
6711 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
6712
6713 * math/conj.c: Refactor into
6714 * math/conj_template.c: new file.
6715 * math/conjf.c: Removed.
6716 * math/conjl.c: Removed.
6717 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
6718 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
6719
6720 * math/cimag.c: Refactor into
6721 * math/cimag_template.c: new file.
6722 * math/cimagf.c: Removed.
6723 * math/cimagl.c: Removed.
6724 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6725 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6726
6727 * math/cimag.c: Refactor into
6728 * math/cimag_template.c: new file.
6729 * math/cimagf.c: Removed.
6730 * math/cimagl.c: Removed.
6731 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6732 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6733
6734 2016-08-17 Florian Weimer <fweimer@redhat.com>
6735
6736 Reduce time to expected nptl/tst-once5 failure.
6737 * nptl/tst-once5.cc (TIMEOUT): Define.
6738
6739 2016-08-17 Florian Weimer <fweimer@redhat.com>
6740
6741 [BZ #20452]
6742 Avoid additional copies of objects in libc.a in static libraries.
6743 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
6744 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
6745 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
6746 rt-sysdep.
6747 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
6748 Add nptl-sysdep.
6749 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
6750 Add ptw-sysdep.
6751 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
6752 rt-sysdep.
6753 * sysdeps/unix/sysv/linux/alpha/Makefile
6754 (libpthread-shared-only-routines): Add ptw-sysdep,
6755 ptw-sigprocmask, ptw-rt_sigaction.
6756 * sysdeps/unix/sysv/linux/ia64/Makefile
6757 (librt-shared-only-routines): Add rt-sysdep.
6758 * sysdeps/unix/sysv/linux/i386/Makefile
6759 (libpthread-shared-only-routines): Add libc-do-syscall.
6760 * sysdeps/unix/sysv/linux/microblaze/Makefile
6761 (libpthread-shared-only-routines): Add sysdep.
6762 * sysdeps/unix/sysv/linux/powerpc/Makefile
6763 (librt-shared-only-routines): Add rt-sysdep.
6764 (libpthread-shared-only-routines): Add sysdep.
6765 * sysdeps/unix/sysv/linux/s390/Makefile
6766 (librt-shared-only-routines): Add rt-sysdep.
6767 * sysdeps/unix/sysv/linux/sparc/Makefile
6768 (librt-shared-only-routines): Add rt-sysdep.
6769 (libpthread-shared-only-routines): Add sysdep.
6770 * sysdeps/unix/sysv/linux/tile/Makefile
6771 (libpthread-shared-only-routines): Likewise.
6772
6773 2016-08-16 Joseph Myers <joseph@codesourcery.com>
6774
6775 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
6776 Mask implicit bit out of unpacked value.
6777 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
6778 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
6779 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
6780
6781 * sysdeps/sparc/fpu/fesetexcept.c: New file.
6782
6783 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
6784
6785 * sysdeps/s390/fpu/fesetexcept.c: New file.
6786
6787 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
6788 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
6789 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
6790
6791 * sysdeps/mips/fpu/fesetexcept.c: New file.
6792
6793 * sysdeps/m68k/fpu/fesetexcept.c: New file.
6794
6795 * sysdeps/ia64/fpu/fesetexcept.c: New file.
6796
6797 * sysdeps/hppa/fpu/fesetexcept.c: New file.
6798
6799 * sysdeps/arm/fesetexcept.c: New file.
6800
6801 * sysdeps/alpha/fpu/fesetexcept.c: New file.
6802
6803 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
6804
6805 * math/fesetexcept.c: New file.
6806 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
6807 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
6808 * math/fenv.h: Define
6809 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6810 <bits/libc-header-start.h> instead of including <features.h>.
6811 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
6812 declaration.
6813 * manual/arith.texi (fesetexcept): Document function.
6814 * math/Versions (fesetexcept): New libm symbol at version
6815 GLIBC_2.25.
6816 * math/Makefile (libm-support): Add fesetexcept.
6817 (tests): Add test-fesetexcept and test-fesetexcept-traps.
6818 * math/test-fesetexcept.c: New file.
6819 * math/test-fesetexcept-traps.c: Likewise.
6820 * sysdeps/nacl/libm.abilist: Update.
6821 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6822 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6823 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6824 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6825 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6826 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6827 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6828 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6829 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6830 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6831 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6832 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6834 Likewise.
6835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6836 Likewise.
6837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6838 Likewise.
6839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6840 Likewise.
6841 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6842 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6843 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6844 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6845 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6847 Likewise.
6848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6849 Likewise.
6850 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6851 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6852 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6853
6854 2016-08-16 Florian Weimer <fweimer@redhat.com>
6855
6856 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
6857 New.
6858 (do_test): Apply default_stack_size_in_mb if not set.
6859 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
6860
6861 2016-08-15 Andreas Schwab <schwab@suse.de>
6862
6863 [BZ #20435]
6864 CVE-2016-6323
6865 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
6866 as .cantunwind.
6867
6868 2016-08-12 Joseph Myers <joseph@codesourcery.com>
6869
6870 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
6871 comment from fraiseexcpt.c.
6872
6873 * math/test-fexcept.c (feraiseexcept_exact): New function.
6874 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
6875 (test_except): Likewise.
6876
6877 2016-08-10 Joseph Myers <joseph@codesourcery.com>
6878
6879 [BZ #20455]
6880 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
6881 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
6882 to be restored.
6883
6884 * math/test-fexcept-traps.c: New file.
6885 * math/test-fexcept.c: Likewise.
6886 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
6887 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
6888 macro.
6889 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
6890 (EXCEPTION_SET_FORCES_TRAP): Likewise.
6891
6892 2016-08-09 Torvald Riegel <triegel@redhat.com>
6893
6894 * include/atomic.h (atomic_fetch_and_relaxed,
6895 atomic_fetch_and_release, atomic_fetch_or_release,
6896 atomic_fetch_xor_release): New.
6897
6898 2016-08-06 Christian Seiler <christian@iwakd.de>
6899
6900 [BZ #20444]
6901 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
6902 MACH_PORT_NULL.
6903
6904 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
6905
6906 * math/s_fdim.c: Avoid alias renamed.
6907 * math/s_fdimf.c: Likewise.
6908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6909 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6910 Add s_fdimf-vis3, s_fdim-vis3.
6911 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
6912 (CFLAGS-s_fdim-vis3.c): Likewise.
6913 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
6914 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
6915
6916 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
6917
6918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6919 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6920 Remove s_fdimf-vis3, s_fdim-vis3.
6921 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
6922 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
6923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
6924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
6925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
6926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
6927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
6928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
6929 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
6930 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
6931
6932 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
6933
6934 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
6935 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
6936 -Wa,-Av9a -mvis.
6937
6938 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6939
6940 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
6941 LIT() to individual constants in simple expressions
6942 after splitting on spaces.
6943 (_apply_lit): Rename replaced version, and use it to
6944 apply to what appears to be a token.
6945
6946 * math/libm-test.inc: Fix many, many issues with
6947 spacing.
6948
6949 2016-08-05 Joseph Myers <joseph@codesourcery.com>
6950
6951 * math/math.h: Move comment about <bits/mathdef.h> definitions
6952 above inclusion of <bits/mathdef.h>. Do not mention
6953 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
6954
6955 2016-08-05 Torvald Riegel <triegel@redhat.com>
6956
6957 * include/atomic.h (atomic_exchange_relaxed): New.
6958
6959 2016-08-04 Joseph Myers <joseph@codesourcery.com>
6960
6961 * math/e_scalb.c: Do not include <fenv.h>.
6962 (invalid_fn): Do calculation resulting in NaN instead of raising
6963 FE_INVALID and returning a NaN explicitly.
6964 * math/e_scalbf.c: Do not include <fenv.h>.
6965 (invalid_fn): Do calculation resulting in NaN instead of raising
6966 FE_INVALID and returning a NaN explicitly.
6967 * math/e_scalbl.c: Do not include <fenv.h>.
6968 (invalid_fn): Do calculation resulting in NaN instead of raising
6969 FE_INVALID and returning a NaN explicitly.
6970
6971 2016-08-04 Carlos O'Donell <carlos@redhat.com>
6972
6973 * po/de.po: Updated from Translation Project.
6974 * po/fi.po: Likewise.
6975 * po/sv.po: Likewise.
6976
6977 2016-08-04 Florian Weimer <fweimer@redhat.com>
6978
6979 [BZ #20452]
6980 Use sysdep.o from libc.a in static libraries.
6981 * sysdeps/unix/sysv/linux/i386/Makefile
6982 (libpthread-shared-only-routines): Add sysdep.
6983 (librt-shared-only-routines): Likewise.
6984
6985 2016-08-03 Joseph Myers <joseph@codesourcery.com>
6986
6987 * math/tgmath.h (nextdown): Define if
6988 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
6989 (nextup): Likewise.
6990
6991 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
6992 macro.
6993 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
6994 Document.
6995 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
6996 Document macro.
6997 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
6998 (exp10f): Likewise.
6999 (exp10l): Likewise.
7000 * math/bits/mathcalls.h (exp10): Declare if
7001 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7002
7003 * manual/arith.texi (nextup): Fix typo in last change.
7004
7005 2016-08-03 Zack Weinberg <zackw@panix.com>
7006
7007 [BZ #19239]
7008 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7009 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7010 define major, minor, and makedev to issue deprecation warnings on use.
7011 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7012 previously-activated deprecation warnings for these macros and prevent
7013 subsequent inclusions of this header from having any effect.
7014 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7015 including <sys/sysmacros.h>, and undefine it again afterward.
7016
7017 2016-08-03 Zack Weinberg <zackw@panix.com>
7018
7019 * sysdeps/generic/sys/sysmacros.h: Delete file.
7020 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7021 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7022 * bits/sysmacros.h: ... here; this encoding is now the generic
7023 encoding. Now defines only the following macros:
7024 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7025 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7026 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7027
7028 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7029 bits/sysmacros.h and the above new macros to generate the
7030 public implementations of major, minor, and makedev.
7031 * misc/tst-makedev.c: New test.
7032 * include/sys/sysmacros.h: New wrapper.
7033
7034 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7035 (routines): Add makedev.
7036 (tests): Add tst-makedev.
7037 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7038 gnu_dev_makedev.
7039 * posix/Makefile (headers): Remove sys/sysmacros.h.
7040 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7041
7042 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7043 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7044 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7045 * sysdeps/unix/sysv/linux/alpha/libc.abilist
7046 * sysdeps/unix/sysv/linux/arm/libc.abilist
7047 * sysdeps/unix/sysv/linux/hppa/libc.abilist
7048 * sysdeps/unix/sysv/linux/i386/libc.abilist
7049 * sysdeps/unix/sysv/linux/ia64/libc.abilist
7050 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7051 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7052 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7053 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7054 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7055 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7056 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7057 * sysdeps/unix/sysv/linux/nios2/libc.abilist
7058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7062 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7063 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7064 * sysdeps/unix/sysv/linux/sh/libc.abilist
7065 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7066 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7069 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7070 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7071 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7072 Add GLIBC_2.25.
7073
7074 * include/features.h (__glibc_clang_prereq): New macro.
7075 * misc/sys/cdefs.h (__glibc_clang_has_extension)
7076 (__attribute_deprecated_msg__): New macros.
7077
7078 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7079
7080 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7081 macro.
7082 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7083 * manual/arith.texi (issignaling): Document as ISO from TS
7084 18661-1:2014.
7085 (nextup): Likewise.
7086 (nextupf): Likewise.
7087 (nextupl): Likewise.
7088 (nextdown): Likewise.
7089 (nextdownf): Likewise.
7090 (nextdownl): Likewise.
7091 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7092 macro.
7093 * math/math.h: Define
7094 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7095 <bits/libc-header-start.h> instead of including <features.h>.
7096 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7097 [__USE_GNU].
7098 * math/bits/mathcalls.h (nextdown): Declare if
7099 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7100 (nextup): Likewise.
7101 (__issignaling): Likewise.
7102
7103 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7104
7105 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7106 check, and remove __glibc_likely hint
7107 from FP_INFINITE check.
7108 * s_csinhf.c (__csinhf): Likewise.
7109
7110 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7111 hint from FP_INFINITE check.
7112 * s_csinhl.c (__csinhl): Likewise.
7113
7114 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7115
7116 * math/Makefile (libm-calls): Insert F placeholder into
7117 object names. Move w_lgamma_compat* routines into
7118 (libm-compat-calls): New variable.
7119 (libm-compat-calls-ldouble-yes): New variable.
7120 (calls): Insert F placeholder.
7121 (generated): Redefine using new type-foreach macro call.
7122 (routines): Likewise.
7123
7124 (types): New variable to hold a list of symbolic names
7125 for each type supported by the target machine.
7126 (libm-routines): Redefine using new types variable.
7127 (type-foreach): macro to replace fooF with the
7128 appropriately suffixed foo for each types.
7129
7130 (type-ldouble-suffix): New variable.
7131 (type-ldouble-routines): Likewise.
7132 (type-ldouble-yes): Likewise.
7133 (type-double-suffix): Likewise.
7134 (type-double-routines): Likewise.
7135 (type-float-suffix): Likewise.
7136 (type-float-routines): Likewise.
7137
7138 (dbl-only-routines): Remove.
7139 (long-c-yes): Likewise.
7140 (long-m-routines): Likewise.
7141 (long-m-support): Likewise.
7142 (long-m-yes): Likewise.
7143 (test-longdouble-yes): Likewise.
7144
7145 (test-float.o): Simplify by increasing the scope of the
7146 recipe which adds libm-test.stmp to the vector types.
7147 (test-ifloat.o): Likewise.
7148 (test-float-finite.o): Likewise.
7149 (test-double.o): Likewise
7150 (test-idouble.o): Likewise.
7151 (test-double-finite.o): Likewise.
7152 (test-ldouble.o): Likewise
7153 (test-ildoubl.o): Likewise.
7154 (test-ldouble-finite.o): Likewise.
7155
7156 (libm-tests): Redefine type tests using foreach and the
7157 list of types in types.
7158
7159 (CPPFLAGS-test-ildoubl.c): Rename to
7160 (CPPFLAGS-test-ildouble.c): New variable
7161
7162 * math/test-ildoubl.c: Rename to
7163 * math/test-ildouble.c: New file.
7164
7165 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7166
7167 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7168 Use fabsl instead of fabs.
7169 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7170 Likewise.
7171 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7172 Add long double suffix to constant to ensure proper
7173 promotion to long double.
7174
7175 2016-08-03 Tom Tromey <tom@tromey.com>
7176
7177 [BZ #20311]
7178 * nptl_db/Makefile (headers): Add proc_service.h.
7179 * nptl_db/proc_service.h: Add include guard. Use
7180 __BEGIN/__END_DECLS.
7181 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7182 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7183 arguments.
7184
7185
7186 2016-08-03 Florian Weimer <fweimer@redhat.com>
7187
7188 [BZ #17730]
7189 Avoid using memalign for TCB allocations.
7190 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
7191 (_dl_allocate_tls_storage): Use malloc and manual alignment.
7192 Avoid alignment gap in the TLS_DTV_AT_TP case.
7193 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
7194 determine the pointer to free.
7195 * nptl/tst-tls3-malloc.c: New test.
7196 * nptl/Makefile (tests): Add it.
7197 (tst-tls3-malloc): Link with libdl, libpthread.
7198 (LDFLAGS-tst-tls3-malloc): Set.
7199 (tst-tls3-malloc.out): Depend on DSO used in test.
7200
7201 2016-08-03 Florian Weimer <fweimer@redhat.com>
7202
7203 [BZ #17730]
7204 Avoid using memalign for TLS allocations.
7205 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
7206 is_static member with to_free member.
7207 (union dtv): Use struct dtv_pointer.
7208 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
7209 dtv_pointer instead of is_static.
7210 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
7211 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
7212 instead of val.
7213 (allocate_dtv_entry): New function.
7214 (allocate_and_init): Return struct dtv_pointer. Call
7215 allocate_dtv_entry instead of __libc_memalign.
7216 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
7217 instead of val.
7218 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
7219 instead of is_static. Adjust call to allocate_and_init.
7220 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
7221 struct dtv_pointer instead of val.
7222
7223 2016-08-03 Florian Weimer <fweimer@redhat.com>
7224
7225 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
7226 (MALLOC_ALIGN_MASK): Move ...
7227 * malloc/malloc-internal.h: ... to here.
7228 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
7229
7230 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7231
7232 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
7233 (UDP_ENCAP_GTP1U): Likewise.
7234
7235 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
7236 (PF_MAX): Update value.
7237 (AF_QIPCRTR): New macro.
7238
7239 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
7240
7241 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
7242 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7243 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7244 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7245 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7246 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7247 s_truncf-vis3, s_trunc-vis3.
7248 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7249 (CFLAGS-s_ceil-vis3.c): Likewise.
7250 (CFLAGS-s_floorf-vis3.c): Likewise.
7251 (CFLAGS-s_floor-vis3.c): Likewise.
7252 (CFLAGS-s_truncf-vis3.c): Likewise.
7253 (CFLAGS-s_trunc-vis3.c): Likewise.
7254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
7255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
7257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7258 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
7259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
7261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7262 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
7263 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7264 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
7265 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7266
7267 2016-08-02 David S. Miller <davem@davemloft.net>
7268
7269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7270 (__nearbyint_vis3): Don't check for sNaN before float register is
7271 loaded with the incoming argument.
7272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7273 (__nearbyintf_vis3): Likewise.
7274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
7275 Likewise.
7276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
7277 Likewise.
7278
7279 * string/test-strncmp.c (do_test_limit): Make sure the test data
7280 stream is aligned as required for the type "CHAR".
7281 (do_test): Likewise.
7282
7283 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
7284
7285 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
7286 by beq instructions jumping to the end of the function.
7287 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
7288 clobber list. Use "i" constraint instead of "X".
7289 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
7290 of "X".
7291
7292 2016-08-02 Joseph Myers <joseph@codesourcery.com>
7293
7294 * bits/libc-header-start.h: New file.
7295 * Makefile (headers): Add bits/libc-header-start.h.
7296 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
7297 (__GLIBC_USE): New macro.
7298 * libio/stdio.h: Define
7299 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7300 <bits/libc-header-start.h> instead of including <features.h>.
7301 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
7302 (open_memstream): Likewise.
7303 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
7304 (__asprintf): Likewise.
7305 (asprintf): Likewise.
7306 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
7307 (getdelim): Likewise.
7308 (getline): Likewise.
7309 * string/string.h: Define
7310 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7311 <bits/libc-header-start.h> instead of including <features.h>.
7312 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
7313 (strndup): Likewise.
7314 * wcsmbs/wchar.h: Define
7315 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7316 <bits/libc-header-start.h> instead of including <features.h>.
7317 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
7318 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
7319
7320 2016-08-02 Florian Weimer <fweimer@redhat.com>
7321
7322 Support linking against compatibility symbols, for use in tests.
7323 * include/libc-symbols.h (symbol_version_reference): New macro.
7324 (symbol_version): Use it.
7325 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
7326 (compat_symbol): Use compat_symbol_reference.
7327 (compat_symbol_1, compat_symbol_2): Remove.
7328 (compat_symbol_reference, compat_symbol_reference_1)
7329 (compat_symbol_reference_2): New macro. Use
7330 symbol_version_reference.
7331
7332 2016-08-02 Florian Weimer <fweimer@redhat.com>
7333
7334 [BZ #19469]
7335 * malloc/Makefile (CPPFLAGS): Compile tests with
7336 -DTEST_NO_MALLOPT.
7337 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
7338
7339 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
7340
7341 [BZ #20033]
7342 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
7343 finite version.
7344 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
7345 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
7346 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
7347 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
7348 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
7349 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
7350 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
7351 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
7352 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
7353 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
7354 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
7355 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
7356 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
7357 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
7358 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
7359 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
7360 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
7361 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
7362 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
7363 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
7364 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
7365 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
7366 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
7367 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
7368 in zero power.
7369
7370 2016-08-02 Florian Weimer <fweimer@redhat.com>
7371
7372 [BZ #20370]
7373 * malloc/arena.c (get_free_list): Update comment. Assert that
7374 arenas on the free list have no attached threads.
7375 (remove_from_free_list): New function.
7376 (reused_arena): Call it.
7377
7378 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
7379
7380 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
7381 when it is a NaN.
7382 [_IEEE_FP_INEXACT] Remove.
7383 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
7384 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
7385 when it is a NaN.
7386 [_IEEE_FP_INEXACT] Remove.
7387 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
7388 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
7389 when it is a NaN.
7390 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
7391 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
7392 when its absolute value is greater than 0x1.0p52.
7393 [_IEEE_FP_INEXACT] Remove.
7394 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
7395 when its absolute value is greater than 0x1.0p23.
7396 [_IEEE_FP_INEXACT] Remove.
7397
7398 2016-08-01 Carlos O'Donell <carlos@redhat.com>
7399
7400 * version.h (RELEASE): Set to "development"
7401 (VERSION): Set to 2.24.90.
7402 * NEWS: Add 2.25 section.
7403
7404 * version.h (RELEASE): Set to "stable"
7405 (VERSION): Set to 2.24.
7406 * include/features.h (__GLIBC_MINOR__): Set to 24.
7407
7408 * NEWS: Add 2.24 fixed bugs.
7409 * po/libc.pot: Regenerate.
7410
7411 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
7412
7413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7414 [$(subdir) = math] (libm-sysdep_routines): Remove.
7415 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7416 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7417 s_truncf-vis3, s_trunc-vis3.
7418 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
7420 file.
7421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
7422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
7423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
7427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
7428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
7430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
7431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
7432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
7433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
7434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
7435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
7436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
7440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
7441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
7442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
7443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
7449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
7452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7454 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
7455 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
7456 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
7457 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
7458 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7459 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7460 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
7461 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
7462 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
7463 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
7464
7465 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
7466
7467 [BZ #20384]
7468 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
7469 test-double-libmvec-sincos-avx-main.o,
7470 test-double-libmvec-sincos-avx2-main.o,
7471 test-double-libmvec-sincos-main.o,
7472 test-float-libmvec-sincosf-avx-main.o,
7473 test-float-libmvec-sincosf-avx2-main.o and
7474 test-float-libmvec-sincosf-main.o.
7475 test-float-libmvec-sincosf-avx512-main.o.
7476 ($(objpfx)test-double-libmvec-sincos): Also link with
7477 $(objpfx)test-double-libmvec-sincos-main.o.
7478 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
7479 $(objpfx)test-double-libmvec-sincos-avx-main.o.
7480 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
7481 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
7482 ($(objpfx)test-float-libmvec-sincosf): Also link with
7483 $(objpfx)test-float-libmvec-sincosf-main.o.
7484 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
7485 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
7486 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
7487 test-double-libmvec-sincos-avx512-main.o and
7488 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
7489 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
7490 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
7491 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
7492 (CFLAGS-test-double-libmvec-sincos.c): Removed.
7493 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
7494 (CFLAGS-test-double-libmvec-sincos-main.c): New.
7495 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
7496 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
7497 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
7498 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
7499 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
7500 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
7501 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
7502 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
7503 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
7504 -DREQUIRE_AVX2.
7505 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
7506 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
7507 -DREQUIRE_AVX512F.
7508 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
7509 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
7510 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7511 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
7512 file.
7513 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
7514 Likewise.
7515 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
7516 Likewise.
7517 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
7518 Likewise.
7519 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
7520 Likewise.
7521 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
7522 Likewise.
7523 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
7524 Likewise.
7525 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
7526 Likewise.
7527
7528 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
7529
7530 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
7531
7532 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
7533
7534 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
7535 and typo in a comment about AT_HWCAP entry.
7536
7537 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7538
7539 * sysdeps/aarch64/libm-test-ulps: Updated.
7540
7541 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7542
7543 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
7544 of r13 as it is not restored in mvcle case.
7545
7546 2016-07-19 Mike Frysinger <vapier@gentoo.org>
7547
7548 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
7549 Rename "ret" to "__ret".
7550 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
7551 inline_syscall5, inline_syscall6): Likewise.
7552
7553 2016-07-19 Will Newton <will.newton@gmail.com>
7554
7555 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
7556 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
7557 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
7558 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
7559 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
7560
7561 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
7562
7563 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
7564 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
7565 -mfpmath=387 with $(rtld-CFLAGS).
7566 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
7567 $(rtld-CFLAGS).
7568
7569 2016-07-18 Ross Burton <ross.burton@intel.com>
7570 Khem Raj <raj.khem@gmail.com>
7571
7572 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
7573 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
7574 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
7575 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
7576 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
7577 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
7578 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
7579 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
7580 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
7581 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
7582 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
7583 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
7584 R_METAG_TLS_DTPOFF): New.
7585
7586 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
7587 Matt Clay <mclay@lycos.com>
7588
7589 [BZ #20357]
7590 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
7591 to call __mpsin/__mpcos and to negate values.
7592 * math/auto-libm-test-in: Add test.
7593 * math/auto-libm-test-out: Regenerate.
7594
7595 2016-07-18 Zack Weinberg <zackw@panix.com>
7596
7597 * grp/Makefile: Don't install the internal header grp-merge.h.
7598
7599 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
7600
7601 * sysdeps/aarch64/libm-test-ulps: Regenerated.
7602
7603 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7604
7605 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
7606
7607 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7608
7609 [BZ #15368]
7610 * sysdeps/unix/sysv/linux/nptl-signals.h
7611 (__nptl_clear_internal_signals): New function.
7612 (__libc_signal_block_all): Likewise.
7613 (__libc_signal_block_app): Likewise.
7614 (__libc_signal_restore_set): Likewise.
7615 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
7616 implementation.
7617 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
7618 the cached pid/tid value in pthread structure.
7619
7620 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
7621
7622 [BZ #20347]
7623 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7624
7625 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7626
7627 [BZ #20348]
7628 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
7629 preadv64, pwrite64 and pwritev64.
7630
7631 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7632
7633 [BZ #20350]
7634 * posix/tst-preadwrite.c: Renamed to ...
7635 * posix/tst-preadwrite-common.c: This.
7636 (PREAD): Removed.
7637 (PWRITE): Likewise.
7638 (STRINGIFY): Likewise.
7639 (STRINGIFY2): Likewise.
7640 (do_prepare): Make it static and remove function arguments.
7641 (do_test): Likewise.
7642 (PREPARE): Updated.
7643 (TEST_FUNCTION): New.
7644 (name): Make it static.
7645 (fd): Likewise.
7646 (do_prepare): Use create_temp_file.
7647 (do_test): Renamed to ...
7648 (do_test_with_offset): This. Make it static and accept offset.
7649 Properly check return value of PWRITE and PREAD. Return bytes
7650 read. Don't close fd nor unlink name.
7651 * posix/tst-preadwrite.c: Rewrite.
7652 * posix/tst-preadwrite64.c: Likewise.
7653
7654 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7655
7656 [BZ #20309]
7657 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
7658 -mtls-dialect=gnu2 works.
7659 * configure: Regenerated.
7660 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
7661 (tests): Add tst-gnu2-tls1.
7662 (modules-names): Add tst-gnu2-tls1mod.
7663 ($(objpfx)tst-gnu2-tls1): New.
7664 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
7665 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
7666 * elf/tst-gnu2-tls1.c: New file.
7667 * elf/tst-gnu2-tls1mod.c: Likewise.
7668 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
7669 bytes for push in the PLT entry to align the stack.
7670
7671 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
7672
7673 [BZ #20349]
7674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
7675
7676 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7677
7678 [BZ #18707]
7679 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
7680 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
7681
7682 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7683
7684 * sysdeps/unix/sysv/linux/sysdep.h
7685 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
7686 guards.
7687 * misc/tst-preadvwritev-common.c: New file.
7688 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
7689 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
7690 a check for files larger than 2GB.
7691
7692 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7693 (__ASSUME_OFF_DIFF_OFF64): Remove define.
7694 * sysdeps/unix/sysv/linux/pread.c
7695 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
7696 __OFF_T_MATCHES_OFF64_T.
7697 * sysdeps/unix/sysv/linux/pread64.c
7698 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
7699 * sysdeps/unix/sysv/linux/preadv.c
7700 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
7701 * sysdeps/unix/sysv/linux/preadv64.c
7702 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
7703 * sysdeps/unix/sysv/linux/pwrite.c
7704 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
7705 * sysdeps/unix/sysv/linux/pwrite64.c
7706 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
7707 * sysdeps/unix/sysv/linux/pwritev.c
7708 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
7709 * sysdeps/unix/sysv/linux/pwritev64.c
7710 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
7711
7712 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
7713
7714 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7715 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
7716
7717 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
7718
7719 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
7720
7721 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
7722
7723 [BZ #20240]
7724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7725 (CFLAGS-s_modf-ppc32.c): New variable.
7726 (CFLAGS-s_modff-ppc32.c): Likewise.
7727 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7728 (CFLAGS-s_modf-ppc64.c): Likewise.
7729 (CFLAGS-s_modff-ppc64.c): Likewise.
7730
7731 2016-07-07 Andreas Schwab <schwab@suse.de>
7732
7733 [BZ #20263]
7734 * nptl/tst-robust10.c: New test.
7735 * nptl/Makefile (tests): Add tst-robust10.
7736
7737 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
7738
7739 [BZ #20263]
7740 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
7741
7742 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7743
7744 * sysdeps/s390/linkmap.h (struct link_map_machine):
7745 Remove member gotplt and add member jmprel.
7746 * sysdeps/s390/s390-32/dl-machine.h
7747 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
7748 instead of gotplt with &got[3].
7749 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
7750 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7751
7752 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
7753
7754 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
7755
7756 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7757
7758 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
7759 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
7760 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7761 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
7762 * libio/vtables.c (_IO_vtable_check)
7763 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7764 * libio/libioP.h (IO_set_accept_foreign_vtables)
7765 [!PTR_MANGLE]: Do not call PTR_MANGLE.
7766
7767 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
7768
7769 [BZ #20314]
7770 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
7771 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
7772 $(common-objpfx)cmath.
7773 ($(common-objpfx)cstdlib): New target.
7774 ($(common-objpfx)cmath): Likewise.
7775
7776 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
7777
7778 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
7779
7780 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7781
7782 [BZ #20327]
7783 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
7784 are not part of the string.
7785
7786 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7787
7788 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
7789 * nptl/tst-cancel4-common.h (fifoname): New variable.
7790 (fifofd): Likewise.
7791 (cl_fifo): New function.
7792 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
7793 SIGINT.
7794 (tf_open): Add early cancel test.
7795
7796 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
7797
7798 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
7799
7800 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
7801
7802 * sysdeps/generic/ldsodefs.h
7803 (dl_symbol_visibility_binds_local_p): New inline function.
7804 * elf/dl-addr.c (determine_info): Treat hidden and internal
7805 symbols as local.
7806 * elf/dl-lookup.c (do_lookup_x): Likewise.
7807 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
7808
7809 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
7810
7811 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
7812 invalid exception for a sNaN input.
7813 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7814 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7815 (__nearbyint_vis3): Likewise
7816 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7817 (__nearbyintf_vis3): Likewise
7818 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
7819 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7820 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
7821 Likewise.
7822 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
7823 Likewise.
7824
7825 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
7826
7827 [BZ #20139]
7828 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
7829 (HAVE_AVX512DQ_ASM_SUPPORT): This.
7830 * sysdeps/x86_64/configure.ac: Require assembler from binutils
7831 2.24 or above.
7832 (HAVE_AVX512_ASM_SUPPORT): Removed.
7833 (HAVE_AVX512DQ_ASM_SUPPORT): New.
7834 * sysdeps/x86_64/configure: Regenerated.
7835 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
7836 check unconditional.
7837 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7838 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7839 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7840 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7841 Likewise.
7842 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7843 Likewise.
7844 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7845 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7846 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7847 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7848 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7849 Likewise.
7850 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7851 Likewise.
7852 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7853 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7854 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
7855 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
7856 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
7857 Likewise.
7858 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
7859 Likewise.
7860 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
7861 Likewise.
7862 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
7863 Likewise.
7864 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
7865 Likewise.
7866 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
7867 Likewise.
7868 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
7869 Likewise.
7870 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
7871 Likewise.
7872 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
7873 Likewise.
7874 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
7875 Likewise.
7876 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
7877 Likewise.
7878
7879 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
7880
7881 [BZ #20024]
7882 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
7883 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
7884 of this implementation of vector function.
7885 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
7886 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
7887 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
7888 Likewise.
7889 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
7890 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
7891 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
7892 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
7893 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
7894 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
7895 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
7896 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
7897 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
7898 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
7899 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
7900 for testing vector sincos with fixed ABI.
7901 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7902 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7903 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7904 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7905 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7906 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7907 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7908 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
7909 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
7910 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
7911 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
7912 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
7913 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
7914 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
7915 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7916 * sysdeps/x86_64/fpu/Makefile: Added new tests.
7917
7918 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
7919
7920 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
7921
7922 2016-06-30 Anton Blanchard <anton@samba.org>
7923
7924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7925 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
7926 s_sinf-ppc64.
7927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
7928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7930 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7931
7932 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7933
7934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7936 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
7937 e_expf-ppc64.
7938 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
7939 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
7940 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
7941 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
7942
7943 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
7944
7945 [BZ #20277]
7946 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
7947 when SHARED is defined.
7948
7949 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
7950
7951 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
7952 (index_arch_Prefer_ERMS): Likewise.
7953 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
7954 __memcpy_erms for Prefer_ERMS.
7955 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7956 (__memmove_erms): Enabled for libc.a.
7957 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
7958 __memmove_erms or Prefer_ERMS.
7959 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
7960 __mempcpy_erms for Prefer_ERMS.
7961 * sysdeps/x86_64/multiarch/memset.S (memset): Return
7962 __memset_erms for Prefer_ERMS.
7963
7964 2016-06-30 Andreas Schwab <schwab@suse.de>
7965
7966 [BZ #20262]
7967 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
7968 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
7969 of memory.
7970
7971 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
7972
7973 [BZ #18645]
7974 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
7975 (test-extras): Add tst-cleanupx4aux.
7976 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
7977 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
7978 tst-cleanupx4aux.o.
7979 * nptl/tst-cleanupx4aux.c: New file.
7980
7981 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
7982
7983 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7984
7985 2016-06-29 Andreas Schwab <schwab@suse.de>
7986
7987 [BZ #20260]
7988 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
7989 address before the beginning of the string as an integer to avoid
7990 array-bounds warning.
7991
7992 2016-06-28 Richard Henderson <rth@redhat.com>
7993
7994 * elf/elf.h (EM_BPF): New.
7995 (EM_NUM): Update.
7996 (R_BPF_NONE, R_BPF_MAP_FD): New.
7997
7998 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
7999 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8000 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8001 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8002 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8003 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8004 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8005 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8006 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8007 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8008 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8009 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8010 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8011 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8012 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8013 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8014 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8015 (EM_NUM): Update.
8016
8017 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
8018
8019 [BZ #18960]
8020 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8021 Set _nl_current_LC_CATEGORY_used to two instead of one.
8022
8023 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
8024
8025 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8026 (do_test): ... this.
8027 (TEST_FUNCTION): New macro.
8028 Include test-skeleton.c.
8029 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8030 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8031
8032 2016-06-27 Joseph Myers <joseph@codesourcery.com>
8033
8034 [BZ #15479]
8035 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8036 floating-point environment rather than just control word.
8037 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8038 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8039 floating-point environment, with "invalid" exceptions merged in,
8040 rather than just control word.
8041 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8042 * math/libm-test.inc (trunc_test_data): Do not allow spurious
8043 "inexact" exceptions.
8044
8045 [BZ #15479]
8046 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8047 floating-point environment rather than just control word.
8048 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8049 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8050 floating-point environment, with "invalid" exceptions merged in,
8051 rather than just control word.
8052 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8053 * math/libm-test.inc (floor_test_data): Do not allow spurious
8054 "inexact" exceptions.
8055
8056 [BZ #15479]
8057 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8058 floating-point environment rather than just control word.
8059 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8060 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8061 floating-point environment, with "invalid" exceptions merged in,
8062 rather than just control word.
8063 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8064 * math/libm-test.inc (ceil_test_data): Do not allow spurious
8065 "inexact" exceptions.
8066
8067 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
8068
8069 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8070 __libc_vfork.
8071 (__vfork) [IS_IN (libc)]: Remove alias.
8072 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8073 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8074 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8075
8076 2016-06-24 Torvald Riegel <triegel@redhat.com>
8077
8078 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8079 of atomic_compare_and_exchange_bool_rel.
8080 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8081 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8082 catomic_compare_and_exchange_bool_rel): Remove.
8083 * sysdeps/aarch64/atomic-machine.h
8084 (atomic_compare_and_exchange_bool_rel): Likewise.
8085 * sysdeps/alpha/atomic-machine.h
8086 (atomic_compare_and_exchange_bool_rel): Likewise.
8087 * sysdeps/arm/atomic-machine.h
8088 (atomic_compare_and_exchange_bool_rel): Likewise.
8089 * sysdeps/mips/atomic-machine.h
8090 (atomic_compare_and_exchange_bool_rel): Likewise.
8091 * sysdeps/microblaze/atomic-machine.h
8092 ( __arch_compare_and_exchange_bool_8_rel,
8093 __arch_compare_and_exchange_bool_16_rel): Likewise.
8094 * sysdeps/powerpc/atomic-machine.h
8095 ( __arch_compare_and_exchange_bool_8_rel,
8096 __arch_compare_and_exchange_bool_16_rel): Likewise.
8097 * sysdeps/powerpc/powerpc32/atomic-machine.h
8098 ( __arch_compare_and_exchange_bool_32_rel,
8099 __arch_compare_and_exchange_bool_64_rel): Likewise.
8100 * sysdeps/powerpc/powerpc64/atomic-machine.h
8101 ( __arch_compare_and_exchange_bool_32_rel,
8102 __arch_compare_and_exchange_bool_64_rel): Likewise.
8103 * sysdeps/tile/atomic-machine.h
8104 (atomic_compare_and_exchange_bool_rel): Likewise.
8105
8106 2016-06-23 Joseph Myers <joseph@codesourcery.com>
8107
8108 [BZ #20296]
8109 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8110 when either argument is a NaN.
8111 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8112 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8113
8114 * math/libm-test.inc (snan_value_ld): New macro.
8115 (isgreater_test_data): Add sNaN tests.
8116 (isgreaterequal_test_data): Likewise.
8117 (isless_test_data): Likewise.
8118 (islessequal_test_data): Likewise.
8119 (islessgreater_test_data): Likewise.
8120 (isunordered_test_data): Likewise.
8121 (nextafter_test_data): Likewise.
8122 (nexttoward_test_data): Likewise.
8123 (remainder_test_data): Likewise.
8124 (remquo_test_data): Likewise.
8125 (significand_test_data): Likewise.
8126 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8127
8128 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
8129
8130 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8131 environment macros are defined.
8132 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8133
8134 2016-06-23 Florian Weimer <fweimer@redhat.com>
8135
8136 [BZ #20191]
8137 Implement vtable verification in libio.
8138 * Makerules (shlib.lds): Place __libc_IO_vtables section.
8139 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8140 * debug/vdprintf_chk.c (__vdprintf_chk): Call
8141 _IO_new_file_init_internal instead of _IO_file_init.
8142 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8143 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8144 * libio/Makefile (routines): Add vtables.
8145 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8146 (_IO_init): Remove, not for internal use.
8147 (_IO_init_internal): Declare, internal replacement for _IO_init.
8148 (_IO_file_init): Remove, not for internal use.
8149 (_IO_new_file_init): Remove, not for internal use.
8150 (_IO_new_file_init_internal): Declare, internal replacement for
8151 _IO_new_file_init.
8152 (_IO_old_file_init): Remove, not for internal use.
8153 (_IO_old_file_init_internal): Declare, internal replacement for
8154 _IO_old_file_init.
8155 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8156 internal use.
8157 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8158 Declare.
8159 (libio_vtable): New macro.
8160 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8161 functions.
8162 * libio/fileops.c (_IO_new_file_init_internal): Rename from
8163 _IO_new_file_init.
8164 (_IO_new_file_init): New externally visible wrapper which disables
8165 vtable verification.
8166 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8167 Define as vtables.
8168 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8169 (_IO_init): New externally visible wrapper which disables
8170 vtable verification.
8171 * libio/iofdopen.c (_IO_new_fdopen): Call
8172 _IO_new_file_init_internal instead of _IO_file_init. Adjust
8173 comment.
8174 * libio/iofopen.c (__fopen_internal): Call
8175 _IO_new_file_init_internal instead of _IO_file_init.
8176 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8177 Define as vtables.
8178 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8179 _IO_new_file_init_internal instead of _IO_file_init.
8180 * libio/iopopen.c (_IO_new_popen): Likewise.
8181 (_IO_proc_jumps): Define as vtable.
8182 * libio/iovdprintf.c (_IO_vdprintf): Call
8183 _IO_new_file_init_internal instead of _IO_file_init.
8184 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8185 (__open_memstream): Call _IO_init_internal instead of _IO_init.
8186 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8187 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8188 _IO_old_file_init.
8189 (_IO_old_file_init): New externally visible wrapper which disables
8190 vtable verification.
8191 (_IO_old_file_jumps): Define as vtable.
8192 * libio/oldiofdopen.c (_IO_old_fdopen): Call
8193 _IO_old_file_init_internal instead of _IO_old_file_init.
8194 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8195 * libio/oldiopopen.c (_IO_old_popen): Likewise.
8196 (_IO_old_proc_jumps): Define as vtable.
8197 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
8198 Define as vtables.
8199 * libio/vtables.c: New file.
8200 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
8201 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
8202 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
8203 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
8204 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
8205 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
8206 instead of _IO_init.
8207
8208 2016-06-23 Florian Weimer <fweimer@redhat.com>
8209
8210 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
8211
8212 2016-06-23 Florian Weimer <fweimer@redhat.com>
8213
8214 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
8215 potentially unused.
8216
8217 2016-06-22 Florian Weimer <fweimer@redhat.com>
8218
8219 * test-skeleton.c (write_message): New function.
8220 * malloc/tst-mallocfork2.c (write_message): Remove.
8221 * debug/tst-longjmp_chk2.c (write_indented): New function.
8222 (write_message): Remove.
8223 (stackoverflow_handler): Call write_indented.
8224
8225 2016-06-22 Joseph Myers <joseph@codesourcery.com>
8226
8227 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
8228 "inexact" exceptions after fnstenv.
8229 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8230 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8231 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8232
8233 2015-06-22 Zack Weinberg <zackw@panix.com>
8234
8235 * sysdeps/generic/bits/hwcap.h: Moved to ...
8236 * bits/hwcap.h: Here.
8237
8238 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
8239
8240 * sysdeps/aarch64/memcpy.S (memcpy):
8241 Further tuning for performance.
8242
8243 2016-06-21 Florian Weimer <fweimer@redhat.com>
8244
8245 [BZ #20284]
8246 * malloc/arena.c (reused_arena): Do not return NULL if we start
8247 out with a non-corrupted arena.
8248
8249 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8250
8251 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
8252 * misc/tst-preadvwritev.c: New file.
8253 * misc/tst-preadvwritev64.c: Likewise.
8254 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
8255 usage.
8256 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
8257 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
8258 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
8259 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
8260
8261 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
8262
8263 [BZ #19654]
8264 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8265 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
8266 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
8267 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
8268 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
8269 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
8270 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
8271 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
8272 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
8273 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
8274 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
8275 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
8276 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
8277 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
8278 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
8279 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
8280 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
8281 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
8282 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
8283 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
8284 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
8285 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
8286 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
8287 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
8288 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
8289 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
8290
8291 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
8292
8293 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
8294 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
8295
8296 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
8297
8298 * sysdeps/aarch64/memcpy.S (memcpy):
8299 Rewrite of optimized memcpy and memmove.
8300 * sysdeps/aarch64/memmove.S (memmove): Remove
8301 memmove code (merged into memcpy.S).
8302
8303 2016-06-20 Florian Weimer <fweimer@redhat.com>
8304
8305 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
8306 * sysdeps/generic/dl-dtv.h: New file.
8307 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8308 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
8309 (dtv_t): Remove.
8310 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8311 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
8312 (dtv_t): Remove.
8313 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8314 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
8315 (dtv_t): Remove.
8316 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8317 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
8318 (dtv_t): Remove.
8319 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8320 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
8321 (dtv_t): Remove.
8322 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8323 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
8324 (dtv_t): Remove.
8325 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8326 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
8327 (dtv_t): Remove.
8328 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
8329 (dtv_t): Remove.
8330 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8331 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
8332 (dtv_t): Remove.
8333 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8334 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
8335 (dtv_t): Remove.
8336 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8337 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
8338 (dtv_t): Remove.
8339 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8340 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
8341 (dtv_t): Remove.
8342 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8343 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
8344 (dtv_t): Remove.
8345 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8346 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
8347 (dtv_t): Remove.
8348 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8349 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
8350 (dtv_t): Remove.
8351 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8352 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
8353 (dtv_t): Remove.
8354
8355 2016-06-20 Florian Weimer <fweimer@redhat.com>
8356
8357 Revert symbol poisoning of __malloc_initialize_hook.
8358 * include/stdc-predef.h (__malloc_initialize_hook): Remove
8359 poisoning.
8360 * malloc/Makefile: Remove un-poisoning.
8361 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
8362 instead of old__malloc_initialize_hook.
8363 * malloc/malloc-hooks.h: Likewise.
8364 * malloc/malloc.c: Likewise.
8365 * malloc/mcheck-init.c: Likewise.
8366
8367 2016-06-19 Carlos O'Donell <carlos@redhat.com>
8368
8369 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
8370
8371 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
8372
8373 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
8374 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
8375 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8376 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8377
8378 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8379
8380 * NEWS: Mention addition of nextup and nextdown.
8381 * manual/arith.texi: Document nextup and nextdown.
8382 * manual/libm-err-tab.pl: Add nextup and nextdown.
8383 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
8384 * math/Versions (libm): Add GLIBC_2.24.
8385 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
8386 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8387 Add new test.
8388 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
8389 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
8390 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
8391 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
8392 (nextup_test_data): Likewise.
8393 (nextdown_test_data): Likewise.
8394 * math/s_nextdown.c: New file.
8395 * math/s_nextdownf.c: Likewise.
8396 * math/s_nextdownl.c: Likewise.
8397 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
8398 F(nextup): New function.
8399 F(nextdown): Likewise.
8400 * math/tgmath.h: Add nextup and nextdown.
8401 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
8402 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8405 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8406 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
8407 Add nextup and nextdown.
8408 (CFLAGS-nldbl-nextup.c): New variable.
8409 (CFLAGS-nldbl-nextdown.c): Likewise.
8410 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
8411 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
8412 * sysdeps/nacl/libm.abilist: Update.
8413 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8414 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8415 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8416 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8417 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8418 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8419 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8420 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8421 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8422 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8423 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8424 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8427 Likewise.
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8430 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8431 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8432 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8433 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8434 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
8436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
8437 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8438 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8439 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8440 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8441
8442 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8443
8444 * manual/pattern.texi: Fix typos & grammar errors.
8445
8446 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8447
8448 * manual/search.texi: Fix typos & grammar errors.
8449
8450 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8451
8452 * manual/message.texi: Fix typos & grammar errors.
8453
8454 2016-06-16 Mike Frysinger <vapier@gentoo.org>
8455
8456 * manual/contrib.texi: Fix spelling typos.
8457 * manual/crypt.texi: Likewise.
8458 * manual/filesys.texi: Likewise.
8459 * manual/locale.texi: Likewise.
8460 * manual/message.texi: Likewise.
8461 * manual/nss.texi: Likewise.
8462 * manual/string.texi: Likewise.
8463
8464 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8465
8466 * manual/locale.texi: Fix typos & grammar errors.
8467
8468 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8469
8470 * manual/charset.texi: Fix typos & grammar errors.
8471
8472 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8473
8474 * manual/string.texi: Fix typos.
8475
8476 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8477
8478 * manual/ctype.texi: Fix typos.
8479
8480 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8481
8482 * manual/memory.texi: Fix various typos & grammar errors.
8483
8484 2016-06-14 Joseph Myers <joseph@codesourcery.com>
8485
8486 [BZ #20255]
8487 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
8488 * math/libm-test.inc (fdim_test_data): Add another test.
8489
8490 [BZ #6796]
8491 [BZ #20255]
8492 [BZ #20256]
8493 * math/s_fdim.c: Include <math_private.h>.
8494 (__fdim): Use math_narrow_eval on result.
8495 * math/s_fdimf.c: Include <math_private.h>.
8496 (__fdimf): Use math_narrow_eval on result.
8497 * sysdeps/i386/fpu/s_fdim.S: Remove file.
8498 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
8499 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
8500 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
8501 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
8502 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
8503 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
8504 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
8505 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
8506 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
8507 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
8508 * math/libm-test.inc (fdim_test_data): Expect errno setting on
8509 overflow. Add sNaN tests.
8510
8511 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
8512 fpclassify.
8513 * math/s_fdimf.c (__fdimf): Likewise.
8514 * math/s_fdiml.c (__fdiml): Likewise.
8515
8516 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8517
8518 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8519 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
8520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8521 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8522 ifunc'ed strcasecmp/strncasecmp.
8523 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
8524 [EALIGN]: Removed.
8525 [END]: Likewise.
8526 [__strcasecmp]: Define instead of the above to control symbol name.
8527 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
8528 for __strcasecmp_power8.
8529 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
8530 for __strncasecmp_power8.
8531 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
8532 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
8533 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
8534 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
8535 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
8536 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
8537
8538 2016-06-13 Joseph Myers <joseph@codesourcery.com>
8539
8540 [BZ #20252]
8541 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
8542 arguments when second argument is a NaN.
8543 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
8544 qNaN tests.
8545
8546 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
8547 (conj_test_data): Likewise.
8548 (copysign_test_data): Likewise.
8549 (creal_test_data): Likewise.
8550 (fma_test_data): Likewise.
8551 (fmod_test_data): Likewise.
8552
8553 [BZ #20250]
8554 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
8555 itself.
8556 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
8557 zero input to itself.
8558 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
8559 Likewise.
8560 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
8561 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8562 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8563 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8564 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
8565
8566 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8567
8568 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
8569 * nptl/tst-cancel4-common.c: New file.
8570 * nptl/tst-cancel4-common.h: Likewise.
8571 * nptl/tst-cancel4.c: Move common definitions to
8572 tst-cancel4-common.{c,h} file.
8573 * nptl/tst-cancel4_1.c: New test.
8574 * nptl/tst-cancel4_2.c: New test.
8575
8576 2016-06-13 Florian Weimer <fweimer@redhat.com>
8577
8578 [BZ #20248]
8579 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
8580 (write_message): New function.
8581 (stackoverflow_handler): Call it instead of printf, to avoid
8582 excessive stack usage by printf.
8583 (do_test): Restore SIGSEGV, SIGBUS default handlers.
8584
8585 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8586
8587 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
8588 (prio_inherit_missing): Remove define.
8589 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8590 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8591 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
8592 Likewise.
8593 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8594 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8595 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8596 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8597 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8598 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8599
8600 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8601
8602 [BZ #19670]
8603 [BZ #19672]
8604
8605 * io/test-lfs.c (do_prepare): Use xmalloc.
8606 * io/tst-fcntl.c (do_prepare): Likewise.
8607 * libio/tst-fopenloc.c (do_bz17916): Likewise.
8608 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
8609 * login/tst-utmp.c (do_prepare): Likewise.
8610 * posix/tst-exec.c (do_prepare): Likewise.
8611 * posix/tst-pathconf.c (prepare): Likewise.
8612 * posix/tst-spawn.c (do_prepare): Likewise.
8613 * posix/tst-truncate.c (do_prepare): Likewise.
8614 * rt/tst-aio.c (do_prepare): Likewise.
8615 * rt/tst-aio64.c (do_prepare): Likewise.
8616
8617 2016-06-11 Florian Weimer <fweimer@redhat.com>
8618
8619 [BZ #20237]
8620 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
8621 (get*ent): Set entidx to NULL during initialization. If entidx is
8622 NULL, start iteration from the beginning.
8623
8624 2016-06-11 Florian Weimer <fweimer@redhat.com>
8625
8626 * malloc/malloc.c (musable): Return correct size for dumped fake
8627 mmapped chunk.
8628
8629 2016-06-11 Florian Weimer <fweimer@redhat.com>
8630
8631 [BZ #20222]
8632 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
8633 (_IO_cookie_write): Likewise.
8634 (_IO_cookie_seek): Likewise.
8635 (_IO_cookie_close): Likewise.
8636 (_IO_old_cookie_seek): Likewise.
8637 (set_callbacks): New function.
8638 (_IO_cookie_init): Call set_callbacks to copy callbacks.
8639
8640 2016-06-11 Marko Myllynen <myllynen@redhat.com>
8641
8642 * locale/programs/localedef.c (oldstyle_tables): Remove.
8643 * locale/programs/localedef.h (oldstyle_tables): Likewise.
8644
8645 2016-06-10 Joseph Myers <joseph@codesourcery.com>
8646
8647 [BZ #20240]
8648 * math/Makefile (CFLAGS-s_modf.c): New variable.
8649 (CFLAGS-s_modff.c): Likewise.
8650 (CFLAGS-s_modfl.c): Likewise.
8651 * math/libm-test.inc (modf_test_data): Add sNaN tests.
8652
8653 2016-06-09 Carlos O'Donell <carlos@redhat.com>
8654
8655 [BZ #20215]
8656 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
8657 [!__GNUC_PREREQ (3,2)]: Likewise.
8658
8659 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
8660
8661 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
8662 (msghdr.msg_controllen): Likewise.
8663 (cmsghdr.cmsg_len): Likewise.
8664 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
8665 ptw-oldsendmsg.
8666 (CFLAGS-oldrecvmsg.c): Remove rule.
8667 (CFLAGS-oldsendmsg.c): Likewise.
8668 (CFLAGS-recvmsg.c): Add rule.
8669 (CFLAGS-sendmsg.c): Likewise.
8670 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
8671 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
8672 (CFLAGS-recvmsg.c): Remove rule.
8673 (CFLAGS-sendmsg.c): Likewise.
8674 (CFLAGS-oldrecvmsg.c): Likewise.
8675 (CFLAGS-oldsendmsg.c): Likewise.
8676 (CFLAGS-recvmmsg.c): Likewise.
8677 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
8678 to kernel defined interfaces.
8679 (msghdr.msg_controllen): Likewise.
8680 (cmsghdr.cmsg_len): Likewise.
8681 (msghdr.__glibc_reserved1): Remove member.
8682 (msghdr.__glibc_reserved2): Likewise.
8683 (cmsghdr.__glibc_reserved1): Likewise.
8684 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
8685 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
8686 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8687 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8688 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
8689 version.
8690 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8691 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
8692 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8693 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
8694 Remove recvmsg and sendmsg.
8695 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
8696 Likewise.
8697 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8698 Likewise.
8699 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8700 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8701 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8702 Likewise.
8703 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8704 Likewise.
8705 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
8706 [libc] (GLIBC_2.24): Likewise.
8707 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8708 Likewise.
8709 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8710 Likewise.
8711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8712 [libc] (GLIBC_2.24): Likewise.
8713 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8714 Likewise.
8715 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8716 Likewise.
8717 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8718 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8719 Likewise.
8720 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8721 Likewise.
8722 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8723 Likewise.
8724 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
8725 Likewise.
8726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
8727 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
8728 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
8729 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
8730 version for {recv,send,recm,sendm}msg.
8731 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8732 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8733 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8734 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8735 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8736 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8737 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8738 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8739 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8740 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8741 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8742 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8744 Likewise.
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8746 Likewise.
8747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8749 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8750 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8751 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8752 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8753 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8754 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8757 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8758 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8759 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8760
8761 2016-06-10 Florian Weimer <fweimer@redhat.com>
8762
8763 [BZ #19564]
8764 Remove __malloc_initialize_hook from the API.
8765 * malloc/malloc.h (__malloc_initialize_hook): Remove.
8766 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
8767 #pragma GCC poison.
8768 * malloc/malloc-hooks.h: New file.
8769 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
8770 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
8771 (old__malloc_initialize_hook): Rename from
8772 __malloc_initialize_hook to evade poisoning. Turn into compat
8773 symbol.
8774 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
8775 __malloc_initialize_hook.
8776 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
8777 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
8778 * manual/memory.texi (Hooks for Malloc): Remove
8779 __malloc_initialize_hook. Adjust hook example.
8780
8781 2016-06-09 Joseph Myers <joseph@codesourcery.com>
8782
8783 [BZ #20235]
8784 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
8785 itself.
8786 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8787 * math/libm-test.inc (log2_test_data): Add sNaN tests.
8788
8789 [BZ #20234]
8790 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
8791 infinity or NaN input to itself.
8792
8793 [BZ #20233]
8794 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
8795 to itself.
8796
8797 [BZ #20232]
8798 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
8799 itself.
8800
8801 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
8802
8803 * sysdeps/x86_64/start.S (_start): Always indirect branch to
8804 __libc_start_main via GOT.
8805
8806 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
8807
8808 * sysdeps/x86_64/memcopy.h: New file.
8809 * sysdeps/x86_64/wordcopy.c: Likewise.
8810
8811 2016-06-09 Florian Weimer <fweimer@redhat.com>
8812
8813 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
8814 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
8815 <cstdlib>.
8816 (optimization_barrier): New.
8817 (do_test): Use it. Call quick_exit in the global namespace.
8818 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
8819 instead of <cstdlib>, <thread>.
8820 (optimization_barrier): New.
8821 (non_main_thread): Adjust declaration. Call optimization_barrier.
8822 Call quick_exit in the global namespace.
8823 (do_test): Call optimization_barrier. Use pthread_create,
8824 pthread_join instead of std::thread.
8825
8826 2016-06-09 Andreas Schwab <schwab@suse.de>
8827
8828 [BZ #19755]
8829 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
8830 new entries in auto-propagate mode.
8831 * nscd/grpcache.c (cache_addgr): Likewise.
8832
8833 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8834
8835 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
8836 New functions.
8837 (add_temp_file): Use them.
8838
8839 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
8840
8841 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
8842
8843 2016-06-08 Joseph Myers <joseph@codesourcery.com>
8844
8845 [BZ #20229]
8846 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
8847 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
8848 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
8849
8850 [BZ #20228]
8851 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
8852 itself.
8853 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8854 * math/libm-test.inc (log10_test_data): Add sNaN tests.
8855
8856 [BZ #20227]
8857 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
8858 itself.
8859 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8860 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8861 * math/libm-test.inc (log_test_data): Add sNaN tests.
8862
8863 [BZ #20226]
8864 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
8865 itself.
8866 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8867 * math/libm-test.inc (exp_test_data): Add sNaN tests.
8868 (exp10_test_data): Likewise.
8869 (expm1_test_data): Likewise.
8870
8871 [BZ #20225]
8872 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
8873 itself.
8874 * math/s_ldexpf.c (__ldexpf): Likewise.
8875 * math/s_ldexpl.c (__ldexpl): Likewise.
8876 * math/w_scalbln.c (__w_scalbln): Likewise.
8877 * math/w_scalblnf.c (__w_scalblnf): Likewise.
8878 * math/w_scalblnl.c (__w_scalblnl): Likewise.
8879 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
8880 (scalbln_test_data): Likewise.
8881
8882 [BZ #20224]
8883 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
8884 argument to itself.
8885 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
8886
8887 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
8888
8889 [BZ #19776]
8890 * sysdeps/x86_64/memcpy.S: Make it dummy.
8891 * sysdeps/x86_64/mempcpy.S: Likewise.
8892 * sysdeps/x86_64/memmove.S: New file.
8893 * sysdeps/x86_64/memmove_chk.S: Likewise.
8894 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8895 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8896 * sysdeps/x86_64/memmove.c: Removed.
8897 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8898 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8899 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
8900 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8901 Likewise.
8902 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8903 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8905 memcpy-sse2-unaligned, memmove-avx-unaligned,
8906 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
8907 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8908 (__libc_ifunc_impl_list): Replace
8909 __memmove_chk_avx512_unaligned_2 with
8910 __memmove_chk_avx512_unaligned. Remove
8911 __memmove_chk_avx_unaligned_2. Replace
8912 __memmove_chk_sse2_unaligned_2 with
8913 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
8914 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
8915 with __memmove_avx512_unaligned. Replace
8916 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
8917 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
8918 with __memcpy_chk_avx512_unaligned. Remove
8919 __memcpy_chk_avx_unaligned_2. Replace
8920 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
8921 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
8922 Replace __memcpy_avx512_unaligned_2 with
8923 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
8924 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
8925 with __mempcpy_chk_avx512_unaligned. Remove
8926 __mempcpy_chk_avx_unaligned_2. Replace
8927 __mempcpy_chk_sse2_unaligned_2 with
8928 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
8929 Replace __mempcpy_avx512_unaligned_2 with
8930 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
8931 Replace __mempcpy_sse2_unaligned_2 with
8932 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
8933 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
8934 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
8935 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
8936 if processor has ERMS. Default to __memcpy_sse2_unaligned.
8937 (ENTRY): Removed.
8938 (END): Likewise.
8939 (ENTRY_CHK): Likewise.
8940 (libc_hidden_builtin_def): Likewise.
8941 Don't include ../memcpy.S.
8942 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
8943 __memcpy_chk_avx512_unaligned_erms and
8944 __memcpy_chk_avx512_unaligned. Use
8945 __memcpy_chk_avx_unaligned_erms and
8946 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
8947 Default to __memcpy_chk_sse2_unaligned.
8948 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8949 Change function suffix from unaligned_2 to unaligned.
8950 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
8951 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
8952 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
8953 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
8954 (ENTRY): Removed.
8955 (END): Likewise.
8956 (ENTRY_CHK): Likewise.
8957 (libc_hidden_builtin_def): Likewise.
8958 Don't include ../mempcpy.S.
8959 (mempcpy): New. Add a weak alias.
8960 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
8961 __mempcpy_chk_avx512_unaligned_erms and
8962 __mempcpy_chk_avx512_unaligned. Use
8963 __mempcpy_chk_avx_unaligned_erms and
8964 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
8965 Default to __mempcpy_chk_sse2_unaligned.
8966
8967 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
8968
8969 [BZ #19881]
8970 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
8971 into ...
8972 * sysdeps/x86_64/memset.S: This.
8973 (__bzero): Removed.
8974 (__memset_tail): Likewise.
8975 (__memset_chk): Likewise.
8976 (memset): Likewise.
8977 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
8978 defined.
8979 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
8980 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
8981 (__memset_zero_constant_len_parameter): Check SHARED instead of
8982 PIC.
8983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8984 memset-avx2 and memset-sse2-unaligned-erms.
8985 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8986 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
8987 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
8988 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8989 (__bzero): Enabled.
8990 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
8991 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
8992 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
8993 or __memset_avx2_unaligned_erms if processor has ERMS. Support
8994 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
8995 (memset): Removed.
8996 (__memset_chk): Likewise.
8997 (MEMSET_SYMBOL): New.
8998 (libc_hidden_builtin_def): Replace __memset_sse2 with
8999 __memset_sse2_unaligned.
9000 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9001 __memset_chk_sse2 and __memset_chk_avx2 with
9002 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9003 Use __memset_chk_sse2_unaligned_erms or
9004 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
9005 __memset_chk_avx512_unaligned_erms and
9006 __memset_chk_avx512_unaligned.
9007
9008 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9009
9010 * math/gen-auto-libm-test.c (fp_format_desc): remove
9011 suffix member.
9012 (output_generic_value): Remove usage of suffix member,
9013 and the resulting unuse of the fp_format argument.
9014 (output_for_one_input_case): Remove unused fp_format
9015 parameter.
9016
9017 * math/auto-libm-test-out: Regenerate.
9018
9019 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9020 usage with TEST_COND_ibm128.
9021 (TEST_COND_flt_32): Remove.
9022 (TEST_COND_dbl_64): Remove.
9023 (TEST_COND_ldbl_96_intel): Remove.
9024 (TEST_COND_ldbl_96_m68k): Remove.
9025 (TEST_COND_ldbl_128): Remove.
9026
9027 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9028
9029 * auto-libm-test-in:
9030 Replace flt-32 usage with binary32.
9031 Replace dbl-64 usage with binary64.
9032 Replace ldbl-intel-96 usage with intel96.
9033 Replace ldbl-m68k-96 usage with m68k96.
9034 Replace ldbl-128ibm usage with ibm128.
9035 Replace ldbl-128 usage with binary128.
9036
9037 * auto-libm-test-out: Regenerate.
9038
9039 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9040
9041 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9042 (parse_ulps): Dynamically generate type name matching
9043 string from all_floats.
9044 (get_ulps): Generate the ulps as an array instead.
9045 (output_ulps): Dynamically compose the type based
9046 on the number of supported formats, and print
9047 the indices as type specific helper macros.
9048
9049 * math/libm-test.inc: Remove comment about CHOOSE.
9050 (ulp_data): Generate the type in libm-test-ulps.h.
9051 (ULP_IDX): New macro.
9052 (find_ulps): Update usage of max_ulp.
9053
9054 * math/test-double-vlen2.h (CHOOSE): Remove.
9055 * math/test-double-vlen4.h (CHOOSE): Likewise.
9056 * math/test-double-vlen8.h (CHOOSE): Likewise.
9057 * math/test-float.c (CHOOSE): Likewise.
9058 * math/test-float-finite.c (CHOOSE): Likewise.
9059 * math/test-double.c (CHOOSE): Likewise.
9060 * math/test-double-finite.c (CHOOSE): Likewise.
9061 * math/test-idouble.c (CHOOSE): Likewise.
9062 * math/test-ifloat.c (CHOOSE): Likewise.
9063 * math/test-ildoubl.c (CHOOSE): Likewise.
9064 * math/test-ldouble-finite.c (CHOOSE): Likewise.
9065 * math/test-ldouble.c (CHOOSE): Likewise.
9066
9067 * math/test-float.h (TEST_FLOAT): Remove.
9068 * math/test-double.h (TEST_DOUBLE): Likewise.
9069 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9070
9071 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9072
9073 * math/gen-libm-test.pl: (apply_lit): New subroutine.
9074 (parse_args): Strip C suffix from floating point literals
9075 typed with 'f' and wrap them with LIT().
9076
9077 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9078 (test_ff_f_data_nexttoward): Rename to
9079 (test_fj_f_data): New struct.
9080 (nexttoward_test_data): Relabel tests as
9081 TEST_fj_f instead of TEST_ff_f.
9082
9083 2016-06-08 Florian Weimer <fweimer@redhat.com>
9084
9085 Emacs bug 23726.
9086 * malloc/malloc.c (dumped_main_arena_start): Update comment.
9087 (__libc_realloc): Correct size computation for dumped fake mmapped
9088 chunks.
9089
9090 2016-06-07 Joseph Myers <joseph@codesourcery.com>
9091
9092 [BZ #20219]
9093 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9094 to itself.
9095 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9096
9097 [BZ #20218]
9098 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9099 to itself.
9100 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9101
9102 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
9103
9104 [BZ #20195]
9105 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9106 check to ...
9107 (init_cpu_features): Here.
9108
9109 2016-06-07 Carlos O'Donell <carlos@redhat.com>
9110
9111 [BZ #20214]
9112 * sysdeps/unix/sysv/linux/bits/in.h
9113 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9114 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9115 Define to 1.
9116 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9117 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9118 Define to 0.
9119 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9120 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9121
9122 2016-06-06 Carlos O'Donell <carlos@redhat.com>
9123
9124 [BZ #20198]
9125 * stdlib/Makefile (tests): Add tst-quick_exit, and
9126 tst-thread-quick_exit.
9127 [ifeq ($(have-cxx-thread_local),yes)]
9128 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9129 (CFLAGS-tst-thread-quick_exit.o): Likewise.
9130 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9131 (LDLIBS-tst-thread-quick_exit): Likewise.
9132 [ifneq ($(have-cxx-thread_local),yes)]
9133 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9134 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9135 If run_dtors is true call __call_tls_dtors.
9136 (exit): Call __run_exit_handlers with run_dtors set to true.
9137 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9138 definition.
9139 * stdlib/quick_exit.c (quick_exit): Remove function.
9140 (__new_quick_exit): New function.
9141 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9142 function.
9143 * stdlib/tst-quick_exit.cc: New file.
9144 * stdlib/tst-thread-quick_exit.cc: New file.
9145 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9146 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9147 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9148 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9149 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9150 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9151 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9152 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9153 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9154 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9155 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9156 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9157 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9158 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9159 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9160 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9165 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9166 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9167 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9168 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9169 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9172 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9173 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9174 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9175
9176 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
9177
9178 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9179 a typo in comments.
9180
9181 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9182
9183 [BZ #20213]
9184 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9185 argument to itself.
9186 * math/libm-test.inc (asin_test_data): Add sNaN tests.
9187
9188 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9189
9190 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
9191 required flags.
9192 (CFLAGS-pwritev64.c): Likewise.
9193 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
9194 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9195 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
9196 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9197 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
9198 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
9199 syscall from auto-generation.
9200 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
9201 [WORDSIZE == 64] (pwritev64): Remove macro.
9202 [!PWRITEV] (PWRITEV): Likewise.
9203 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9204 [!PWRITEV] (PWRITE): Likewise.
9205 [!PWRITEV] (OFF_T): Likewise.
9206 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9207 (LO_HI_LONG): Remove macro.
9208 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
9209 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
9210 (PWRITEV): Remove macro.
9211 (PWRITEV_REPLACEMENTE): Likewise.
9212 (PWRITE): Likewise.
9213 (OFF_T): Likewise.
9214 (pwritev64): New function.
9215 * nptl/tst-cancel4.c (tf_writev): Add test.
9216
9217 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
9218 required flags.
9219 (CFLAGS-preadv64.c): Likewise.
9220 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
9221 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9222 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
9223 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
9224 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
9225 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
9226 syscall from auto-generation.
9227 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
9228 [WORDSIZE == 64] (preadv64): Remove macro.
9229 [!PREADV] (PREADV): Likewise.
9230 [!PREADV] (PREADV_REPLACEMENT): Likewise.
9231 [!PREADV] (PREAD): Likewise.
9232 [!PREADV] (OFF_T): Likewise.
9233 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
9234 (LO_HI_LONG): Remove macro.
9235 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
9236 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
9237 (PREADV): Remove macro.
9238 (PREADV_REPLACEMENTE): Likewise.
9239 (PREAD): Likewise.
9240 (OFF_T): Likewise.
9241 (preadv64): New function.
9242 * nptl/tst-cancel4.c (tf_preadv): Add test.
9243
9244 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9245
9246 [BZ #20212]
9247 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
9248 argument to itself.
9249 * math/libm-test.inc (acos_test_data): Add sNaN tests.
9250
9251 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9252
9253 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
9254 New symbol defined as libc_hidden_def.
9255 (strcasestr): Became a weak alias to __strcasestr.
9256 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
9257 according to multi-arch support. Move __stpncpy hidden
9258 definition from here to...
9259 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
9260 symbol stpncpy.
9261 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
9262 libc_hidden_builtin_def.
9263 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
9264 memset symbol to use when multi-arch support is available.
9265
9266 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9267
9268 * dlfcn/tst-rec-dlopen.c: Include string.h.
9269
9270 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9271
9272 * manual/install.texi: Remove mention of --without-tls
9273 * INSTALL: Regenerate.
9274
9275 2016-06-05 Florian Weimer <fweimer@redhat.com>
9276
9277 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
9278 Remove.
9279 (call_function, interposed_malloc_called): New variables.
9280 (malloc): New function.
9281 (do_test): Do not change malloc hooks. Initialize malloc. Set
9282 and clear call_function as needed.
9283
9284 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
9285
9286 * include/wchar.h (__wmemset): Use __typeof.
9287
9288 2016-06-03 Carlos O'Donell <carlos@redhat.com>
9289
9290 * include/wchar.h (__wmemset): Declare function without typeof.
9291
9292 2016-06-03 Joseph Myers <joseph@codesourcery.com>
9293
9294 [BZ #20205]
9295 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
9296 exponent when incrementing negative subnormal with low mantissa
9297 word zero.
9298 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9299 Add another test.
9300
9301 2016-06-03 Florian Weimer <fweimer@redhat.com>
9302
9303 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
9304 __wmemset instead of wmemset.
9305
9306 2016-06-02 Carlos O'Donell <carlos@redhat.com>
9307
9308 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
9309 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
9310 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
9311 __USE_KERNEL_IPV6_DEFS to 0.
9312 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
9313 Update comment.
9314
9315 2016-06-01 Florian Weimer <fweimer@redhat.com>
9316
9317 [BZ #19861]
9318 Do not use IFUNC resolver with potentially unrelocated symbol.
9319 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
9320 (DEFINE_FORK): Remove macro and inline definition.
9321 (fork_alias): Renamed from fork_ifunc.
9322 (__fork_alias): Renamed from __fork_ifunc.
9323
9324 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9325
9326 [BZ 19653]
9327 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
9328 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
9329
9330 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9331
9332 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
9333 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
9334 i386-linux-gnu).
9335 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
9336 Set to no.
9337 * sysdeps/mach/hurd/configure: Refresh.
9338
9339 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9340
9341 [BZ #20178]
9342 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
9343 on failure instead of exit.
9344
9345 2016-05-30 Roland McGrath <roland@hack.frob.com>
9346
9347 [BZ #3629]
9348 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
9349 of POSIX.1-2008.
9350
9351 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9352
9353 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
9354 Use PLT entry for calling _hurd_self_sigstate.
9355
9356 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
9357
9358 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
9359 available logical processors with SMT level type sharing L2
9360 cache for Intel processors.
9361
9362 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9363
9364 [BZ #20160]
9365 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
9366 argument to itself before returning the result.
9367 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9368 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9369 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9370 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9371 Likewise.
9372 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9373 Likewise.
9374 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
9375 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
9376 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9377 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9378 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9379 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9380
9381 [BZ #20160]
9382 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
9383 argument to itself before returning the result.
9384 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9385 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9386 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9387 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
9388 Likewise.
9389 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9390 Likewise.
9391 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
9392 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
9393 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
9394 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9395 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9396 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9397
9398 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9399
9400 * libm-test.inc: Replace usage of M_El with
9401 (lit_e): New macro.
9402
9403 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9404
9405 * libm-test.inc: Replace usage of M_PI_4l with
9406 (lit_pi_4_d): New macro.
9407
9408 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9409
9410 * libm-test.inc: Replace usage of M_PIl with
9411 (lit_pi): New macro.
9412
9413 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9414
9415 * libm-test.inc: Replace usage of M_PI2l with
9416 (lit_pi_2_d): New macro.
9417
9418 * math/test-double.h (LITM): New macro.
9419 * math/test-float.h (LITM): Likewise.
9420 * math/test-ldouble.h (LITM): Likewise.
9421
9422 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9423
9424 * libm-test.inc (M_PI_34l): Rename to
9425 (lit_pi_3_m_4_d): New Macro.
9426 (M_PI_34_LOG10El): Rename to
9427 (lit_pi_3_m_4_ln10_m_d): New Macro.
9428 (M_PI2_LOG10El): Rename to
9429 (lit_pi_2_ln10_m_d): New Macro.
9430 (M_PI4_LOG10El): Rename to
9431 (lit_pi_4_ln10_m_d): New Macro.
9432 (M_PI_LOG10El): Rename to
9433 (lit_pi_ln10_d): New Macro.
9434
9435 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9436
9437 [BZ #20157]
9438 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
9439 determine whether to negate low half if [_ARCH_PPCGR], and integer
9440 comparison otherwise.
9441 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
9442 determine whether to negate low half.
9443
9444 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
9445 (NO_TEST_INLINE_DOUBLE): Likewise.
9446 (TEST_COND_x86_64): Likewise.
9447 (TEST_COND_x86): Likewise.
9448 (M_PI_6l): Likewise.
9449
9450 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9451
9452 * math/libm-test.inc:
9453 (TEST_FLOAT): Change usage to TEST_COND_binary32.
9454 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
9455 (TEST_LDOUBLE): Update usage to evaluate as true if
9456 the guarded tests match the property being tested.
9457 (LDBL_MAX_EXP): Change to MAX_EXP.
9458 (LDBL_MIN_EXP): Change to MIN_EXP.
9459 (LDBL_MANT_DIG): Change to MANT_DIG, except for
9460 nexttoward tests.
9461
9462 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9463
9464 * math/libm-test.inc:
9465 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
9466 (TYPE_MIN): Likewise.
9467 (TYPE_TRUE_MIN): Likewise.
9468 (TYPE_MAX): Likewise.
9469 (MIN_EXP): Likewise.
9470 (MAX_EXP): Likewise.
9471 (MANT_DIG): Likewise.
9472
9473 (FSTR_MAX): New macro.
9474 (__CONCATX): Likewise.
9475 (QTYPE_STR): Likewise.
9476 (TEST_COND_binary32): Likewise.
9477 (TEST_COND_binary64): Likewise.
9478 (TEST_COND_binary128): Likewise.
9479 (TEST_COND_ibm128): Likewise.
9480 (TEST_COND_intel96): Likewise.
9481 (TEST_COND_m68k96): Likewise.
9482
9483 (TEST_COND_flt_32): Redefine as equivalent format test macro.
9484 (TEST_COND_dbl_64): Likewise.
9485 (TEST_COND_ldbl_96_intel): Likewise.
9486 (TEST_COND_ldbl_96_m68k): Likewise.
9487 (TEST_COND_ldbl_128): Likewise.
9488 (TEST_COND_ldbl_128ibm): Likewise.
9489
9490 (plus_zero): Redefine using LIT macro.
9491 (minus_zero): Likewise.
9492 (plus_infty): Redefine as (INF).
9493 (minux_infty): Redefine as (-INF).
9494 (max_value): Redefine as TYPE_MAX.
9495 (min_value): Redefine as TYPE_MIN.
9496 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
9497
9498 (print_float): Refactor to use snprintf to convert FLOAT values
9499 to string. This brings it closer to dropin replacement of strtof
9500 for the TS 18661 defined types.
9501 (update_stats): Likewise.
9502 (print_complex_function_ulps): Likewise.
9503 (print_max_error): Likewise.
9504 (print_complex_max_error): Likewise.
9505 (check_float_internal): Likewise.
9506
9507 * math/test-float.h (PREFIX): New macro.
9508 (LIT): Likewise.
9509 (TYPE_STR): Likewise.
9510 (FTOSTR): Likewise.
9511
9512 * math/test-double.h (PREFIX): New macro.
9513 (LIT): Likewise.
9514 (TYPE_STR): Likewise.
9515 (FTOSTR): Likewise.
9516
9517 * math/test-ldouble.h (PREFIX): New macro.
9518 (LIT): Likewise.
9519 (TYPE_STR): Likewise.
9520 (FTOSTR): Likewise.
9521
9522 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9523
9524 [BZ #20156]
9525 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
9526 to itself when zero or not finite.
9527 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
9530 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9531
9532 2016-05-26 Joseph Myers <joseph@codesourcery.com>
9533
9534 [BZ #20153]
9535 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
9536 x * x + x for infinities and NaNs.
9537
9538 [BZ #20151]
9539 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
9540 argument to itself before returning result.
9541 (__ieee754_y0l): Likewise.
9542 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9543 (__ieee754_y1l).
9544
9545 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
9546 (atan_test_data): Likewise.
9547 (ceil_test_data): Likewise.
9548 (cos_test_data): Likewise.
9549 (cosh_test_data): Likewise.
9550 (erf_test_data): Likewise.
9551 (exp2_test_data): Likewise.
9552 (fabs_test_data): Likewise.
9553 (floor_test_data): Likewise.
9554 (ilogb_test_data): Likewise.
9555 (j0_test_data): Likewise.
9556 (j1_test_data): Likewise.
9557 (jn_test_data): Likewise.
9558 (lgamma_test_data): Likewise.
9559 (lrint_test_data): Likewise.
9560 (llrint_test_data): Likewise.
9561 (logb_test_data): Likewise.
9562 (lround_test_data): Likewise.
9563 (llround_test_data): Likewise.
9564 (nearbyint_test_data): Likewise.
9565 (rint_test_data): Likewise.
9566 (round_test_data): Likewise.
9567 (sin_test_data): Likewise.
9568 (sincos_test_data): Likewise.
9569 (sinh_test_data): Likewise.
9570 (sqrt_test_data): Likewise.
9571 (tan_test_data): Likewise.
9572 (tanh_test_data): Likewise.
9573 (tgamma_test_data): Likewise.
9574 (trunc_test_data): Likewise.
9575 (y0_test_data): Likewise.
9576 (y1_test_data): Likewise.
9577 (yn_test_data): Likewise.
9578
9579 * math/libm-test.inc: Update comment about NaN testing.
9580 (TEST_SNAN): New macro.
9581 (snan_value): Likewise.
9582 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
9583 (fpclassify_test_data): Add sNaN tests.
9584 (isfinite_test_data): Likewise.
9585 (isinf_test_data): Likewise.
9586 (isnan_test_data): Likewise.
9587 (isnormal_test_data): Likewise.
9588 (issignaling_test_data): Likewise.
9589 (signbit_test_data): Likewise.
9590 * math/gen-libm-test.pl (%beautify): Add snan_value.
9591 (show_exceptions): Add argument $test_snan.
9592 (parse_args): Handle snan_value as non-finite. Update call to
9593 show_exceptions.
9594 * math/Makefile (libm-test-no-inline-cflags): Add
9595 -fsignaling-nans.
9596
9597 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9598
9599 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
9600 (CFLAGS-oldsendmsg.c): Add rule.
9601 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9602 Correct recvmsg symbol name.
9603 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
9604 Likewise.
9605
9606 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9607
9608 * sysdeps/unix/sysv/linux/Makefile
9609 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
9610 oldsendmmsg.
9611 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
9612 sendmmsg.
9613 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9614 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9615 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9616 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9618 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9619 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9621 Likewise.
9622 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9623 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
9624 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9625 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
9626 iovlen and controllen fields to adjust to POSIX specification.
9627 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9628
9629 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
9630 and change to correct expected type.
9631 (msghdr.msg_controllen): Likewise.
9632 (cmsghdr.cmsg_len): Likewise.
9633 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
9634 expected POSIX assumption about the size.
9635 (msghdr.msg_controllen): Likewise.
9636 (msghdr.__glibc_reserved1): Likewise.
9637 (msghdr.__glibc_reserved2): Likewise.
9638 (cmsghdr.cmsg_len): Likewise.
9639 (cmsghdr.__glibc_reserved1): Likewise.
9640 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
9641 Add ptw-oldrecvmsg and ptw-oldsendmsg.
9642 (CFLAGS-sendmsg.c): Remove rule.
9643 (CFLAGS-recvmsg.c): Likewise.
9644 (CFLAGS-oldsendmsg.c): Add rule.
9645 (CFLAGS-oldrecvmsg.c): Likewise.
9646 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
9647 recvmsg and sendmsg.
9648 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
9649 Likewise.
9650 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
9651 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
9652 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9653 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
9654 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9655 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9656 Likewise.
9657 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9658 Likewise.
9659 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
9660 Likewise.
9661 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
9662 Likewise.
9663 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9664 Likewise.
9665 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9666 Likewise.
9667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
9668 (GLIBC_2.24): Likewise.
9669 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9670 Likewise.
9671 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9672 Likewise.
9673 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9674 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9675 Likewise.
9676 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9677 Likewise.
9678 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9679 Likewise.
9680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
9681 (GLIBC_2.24): Likewise.
9682 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
9683 Likewise.
9684 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
9685 Likewise.
9686 * sysdeps/unix/sysv/linux/Makefile
9687 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
9688 (CFLAGS-sendmsg.c): Add rule.
9689 (CFLAGS-recvmsg.c): Likewise.
9690 (CFLAGS-oldsendmsg.c): Likewise.
9691 (CFLAGS-oldrecvmsg.c): Likewise.
9692 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
9693 initialization.
9694 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9695 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9696 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
9697 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9698 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
9699 iovlen and controllen fields to adjust to POSIX specification.
9700 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
9701 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
9702 added recvmsg and sendmsg.
9703 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9704 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9705 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9706 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9707 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9708 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9709 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9710 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9711 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9712 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9713 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9714 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9716 Likewise.
9717 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9719 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9720 Likewise.
9721 Likewise.
9722 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9723 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9724 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9725 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9726 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9727 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9729 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9731 Likewise.
9732 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9733 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9734
9735 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
9736 from auto-generation.
9737 (sendmsg): Likewise.
9738 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
9739 (sendmsg): Likewise.
9740 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
9741 (sendmsg): Likewise.
9742 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
9743 (sendmsg): Likewise.
9744 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
9745 (sendmsg): Likewise.
9746 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
9747 (sendmsg): Likewise.
9748 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
9749 Likewise.
9750 (sendmsg): Likewise.
9751 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
9752 (sendmsg): Likewise.
9753 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9754 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9755 Remove.
9756 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9757 Likewise.
9758 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9759 Undefine.
9760 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9761 Likewise.
9762 * sysdeps/unix/sysv/linux/kernel-features.h
9763 (__ASSUME_SENDMSG_SYSCALL): Define.
9764 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9765 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9766 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9767 Remove.
9768 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9769 Likewise.
9770 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9771 Undefine.
9772 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9773 Likewise.
9774 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9775 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9776 Remove.
9777 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9778 Likewise.
9779 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9780 Undefine.
9781 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9782 Likewise.
9783 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9784 (__ASSUME_SENDMSG_SYSCALL): Undefine.
9785 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9786 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9787 (__ASSUME_SENDMSG_SYSCALL): Likewise.
9788 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9789 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9790 (__ASSUME_SENDMSG_SYSCALL): Likewise.
9791 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9792
9793 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9794
9795 * stdlib/gen-tst-strtod-round.c: Add backslash to
9796 compile command in comment.
9797 (printfp): Remove the literal suffix, and define an infinite
9798 value as INF to avoid expansion clash with INFINITY.
9799 (round_str): Remove the literal suffix.
9800 (round_for_all): Likewise, remove the now duplicate ldbl-64
9801 entry, and remove some magic constants.
9802
9803 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
9804 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
9805 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
9806 (_CONCAT): New macro.
9807 (CONCAT): Likewise.
9808 (CHOOSE_ld): Likewise.
9809 (CHOOSE_f): Likewise.
9810 (CHOOSE_d): Likewise.
9811 (FTYPE_MEMBER): Likewise.
9812 (BOOL_MEMBER): Likewise.
9813 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
9814 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
9815 (_XNTRY): Likewise.
9816 (XNTRY): Likewise.
9817 (_ENTRY): Likewise.
9818 (ENTRY): Likewise.
9819 (test_exactness): Generate members via macro.
9820 (test_results): Likewise.
9821 (test): Update members.
9822 (TEST): Redefine using new macros.
9823 (INF): New macro.
9824 (fetestmodes): New structure.
9825 (do_test): Refactor to be type generic.
9826 (test_in_one_mode): Refactor duplicate code into
9827 (GEN_ONE_TEST): New macro.
9828
9829 * stdlib/tst-strtod-round-data.h: Regenerate.
9830
9831 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
9832 Extend to pass additional arbitrary parameters to
9833 generators.
9834
9835 2016-05-25 Joseph Myers <joseph@codesourcery.com>
9836
9837 [BZ #15479]
9838 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
9839 floating-point state after first floating-point operation on
9840 input. Restore full floating-point state instead of just rounding
9841 mode.
9842 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9843 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9844 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9845 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9846 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9847
9848 [BZ #15479]
9849 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
9850 floating-point state after first floating-point operation on
9851 input. Restore full floating-point state instead of just rounding
9852 mode.
9853 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9854 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9855 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9856 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9857 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9858
9859 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9860
9861 [BZ #19727]
9862 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
9863 valid high surrogate.
9864 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
9865 of an utf16 surrogate.
9866 * iconv/gconv_simple.c (BODY): Likewise.
9867 * iconvdata/bug-iconv12.c: New file.
9868 * iconvdata/Makefile (tests): Add bug-iconv12.
9869
9870 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9871
9872 [BZ #19726]
9873 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
9874 outptrp in case of an illegal input.
9875 * iconv/tst-iconv6.c: New file.
9876 * iconv/Makefile (tests): Add tst-iconv6.
9877
9878 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9879
9880 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
9881 an error in case of a value in range of an utf16 low surrogate.
9882
9883 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9884
9885 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
9886 an error in case of a value in range of an utf16 low surrogate.
9887
9888 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9889
9890 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
9891 Move to ...
9892 * sysdeps/s390/Makefile: ... here.
9893 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
9894 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
9895 (BRANCH_ON_COUNT): New define.
9896 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
9897 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
9898 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
9899 run on s390-32, too.
9900 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
9901 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
9902 run on s390-32, too.
9903 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
9904 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
9905 run on s390-32, too.
9906
9907 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9908
9909 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
9910 etf3eh or new vector loop-variant.
9911
9912 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9913
9914 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
9915 etf3eh or new vector loop-variant.
9916
9917 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9918
9919 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
9920 or new vector loop-variant.
9921
9922 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9923
9924 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
9925 Rename to TR_LOOP and usage of tr instead of troo instruction.
9926
9927 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9928
9929 * sysdeps/s390/multiarch/gconv_simple.c: New File.
9930 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
9931
9932 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9933
9934 * sysdeps/s390/multiarch/8bit-generic.c: New File.
9935 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
9936 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
9937 New override define.
9938 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
9939
9940 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9941
9942 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
9943 * sysdeps/s390/configure.ac: Add test for S390 vector register
9944 support in gcc.
9945 * sysdeps/s390/configure: Regenerated.
9946
9947 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9948
9949 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
9950 Install file from $(objpfx)gconv-modules.
9951 ($(objpfx)gconv-modules): Concatenate architecture specific file
9952 in variable sysdeps-gconv-modules and gconv-modules in src dir.
9953 * sysdeps/s390/gconv-modules: New file.
9954 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
9955 Deleted.
9956 ($(objpfx)gconv-modules-s390): Deleted.
9957 (sysdeps-gconv-modules): New variable.
9958
9959 2016-05-24 Joseph Myers <joseph@codesourcery.com>
9960
9961 [BZ #15479]
9962 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
9963 of immediate operand to rounding instruction.
9964 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
9965 Likewise.
9966 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
9967 Likewise.
9968 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
9969 Likewise.
9970
9971 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9972
9973 * math/libm-test.inc (MIN_EXP): Directly define as
9974 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
9975
9976 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9977
9978 * math/libm-test.inc (MANT_DIG): Directly define as
9979 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
9980
9981 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9982
9983 * stdlib/gen-tst-strtod-round.c (main):
9984 Change usage to more closely match the generated
9985 output. Add usage and compilation instructions.
9986 (string_to_fp): Add and use FILE* parameter as
9987 output target.
9988 (print_fp): Likewise.
9989 (round_str): Likewise.
9990 (round_for_all): Likewise.
9991 * stdlib/tst-strtod-round.c (tests): Move into
9992 * stdlib/tst-strtod-round-data.h: New file.
9993
9994 2016-05-24 Joseph Myers <joseph@codesourcery.com>
9995
9996 [BZ #15479]
9997 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
9998 (__round): Do not force "inexact" exception.
9999 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10000 variable.
10001 (__round): Do not force "inexact" exception.
10002 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10003 (__roundf): Do not force "inexact" exception.
10004 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10005 (__roundl): Do not force "inexact" exception.
10006 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10007 (__roundl): Do not force "inexact" exception.
10008 * math/libm-test.inc (round_test_data): Do not allow spurious
10009 "inexact" exceptions.
10010
10011 [BZ #15479]
10012 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10013 exception in comment.
10014 (huge): Remove variable.
10015 (__floor): Do not force "inexact" exception.
10016 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10017 "inexact" exception in comment.
10018 (huge): Remove variable.
10019 (__floor): Do not force "inexact" exception.
10020 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10021 exception in comment.
10022 (huge): Remove variable.
10023 (__floorf): Do not force "inexact" exception.
10024 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10025 exception in comment.
10026 (huge): Remove variable.
10027 (__floorl): Do not force "inexact" exception.
10028
10029 [BZ #15479]
10030 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10031 exception in comment.
10032 (huge): Remove variable.
10033 (__ceil): Do not force "inexact" exception.
10034 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10035 "inexact" exception in comment.
10036 (huge): Remove variable.
10037 (__ceil): Do not force "inexact" exception.
10038 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10039 (__ceilf): Do not force "inexact" exception.
10040 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10041 exception in comment.
10042 (huge): Remove variable.
10043 (__ceill): Do not force "inexact" exception.
10044
10045 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
10046
10047 * config.h.in (BIND_NOW): New.
10048 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
10049 * configure: Regenerated.
10050 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10051 indirect branch via the GOT slot.
10052
10053 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10054
10055 [BZ #19765]
10056 * sysdeps/s390/mempcpy.S: New File.
10057 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10058 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10059 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10060 Add mempcpy variants.
10061 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10062 (memcpy): Adjust to be usable from mempcpy entry point.
10063 (__memcpy_mvcle): Likewise.
10064 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10065 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10066 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10067 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10068 (__memcpy_z10): Likewise.
10069 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10070
10071 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10072
10073 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10074 Remove __GI_ symbol.
10075 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10076 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10077 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10078 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10079 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10080 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10081
10082 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10083
10084 * sysdeps/s390/s390-64/memcpy.S (memcpy):
10085 Use cghi instead of chi to compare 64bit value.
10086
10087 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10088
10089 * sysdeps/s390/s390-32/memcpy.S (memcpy):
10090 Jump to 1MB check before executing mvc-loop.
10091
10092 2016-05-24 Florian Weimer <fweimer@redhat.com>
10093
10094 [BZ #6527]
10095 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10096 unconditionally.
10097 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10098
10099 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10100
10101 * stdlib/tst-strtod6.c (do_test): Use new type generic
10102 invocation of the test function.
10103 (test): Refactor into ...
10104 (TEST_STRTOD): New macro base function.
10105
10106 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10107
10108 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10109 (TEST_STRTOD): New macro.
10110 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10111
10112 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10113
10114 * stdlib/tst-strtod6.c (do_test): Use new type generic
10115 invocation of the test function.
10116 (test): Refactor into ...
10117 (TEST_STRTOD): New macro base function.
10118
10119 2016-05-23 Florian Weimer <fweimer@redhat.com>
10120
10121 CVE-2016-4429
10122 [BZ #20112]
10123 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10124 payload.
10125
10126 2016-05-23 Florian Weimer <fweimer@redhat.com>
10127
10128 [BZ #20111]
10129 * bits/sockaddr.h (_SS_SIZE): Define.
10130 * bits/socket.h (_SS_SIZE): Remove.
10131 (_SS_PADSIZE): Adjust to account for all padding.
10132 (struct sockaddr_storage): Update comment. Avoid implicit
10133 padding.
10134 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10135 (_SS_PADSIZE): Adjust to account for all padding.
10136 (struct sockaddr_storage): Update comment. Avoid implicit
10137 padding.
10138 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10139 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10140 (_SS_PADSIZE): Adjust to account for all padding.
10141 (struct sockaddr_storage): Update comment. Avoid implicit
10142 padding.
10143 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10144 __SS_SIZE is 126 in this version.
10145 * inet/tst-sockaddr.c: New file.
10146 * inet/Makefile (tests): Add tst-sockaddr.c
10147 (tst-sockaddr.c): Compile with non-strict aliasing.
10148
10149 2016-05-23 Joseph Myers <joseph@codesourcery.com>
10150
10151 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10152 [XPG3 || XPG4].
10153 (NL_ARGMAX): Also expect for [XPG3].
10154 (NL_LANGMAX): Likewise.
10155 (NL_MSGMAX): Likewise.
10156 (NL_NMAX): Likewise.
10157 (NL_SETMAX): Likewise.
10158 (NL_TEXTMAX): Likewise.
10159 (NZERO): Likewise.
10160 (TMP_MAX): Likewise.
10161 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10162 variable.
10163
10164 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10165 (PF_MAX): Update value.
10166 (AF_KCM): New macro.
10167 (SOL_NETBEUI): Likewise.
10168 (SOL_LLC): Likewise.
10169 (SOL_DCCP): Likewise.
10170 (SOL_NETLINK): Likewise.
10171 (SOL_TIPC): Likewise.
10172 (SOL_RXRPC): Likewise.
10173 (SOL_PPPOL2TP): Likewise.
10174 (SOL_BLUETOOTH): Likewise.
10175 (SOL_PNPIPE): Likewise.
10176 (SOL_RDS): Likewise.
10177 (SOL_IUCV): Likewise.
10178 (SOL_CAIF): Likewise.
10179 (SOL_ALG): Likewise.
10180 (SOL_NFC): Likewise.
10181 (SOL_KCM): Likewise.
10182 (MSG_BATCH): New enum value and macro.
10183
10184 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
10185
10186 [BZ #18185]
10187 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10188 sharing L2 cache to 2 for Knights Landing.
10189
10190 2016-05-20 Joseph Myers <joseph@codesourcery.com>
10191
10192 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
10193 (FTW_DP): Do not expect for [XPG3 || XPG4].
10194 (FTW_SL): Do not expect for [XPG3].
10195 (FTW_SLN): Likewise.
10196 (FTW_PHYS): Likewise.
10197 (FTW_MOUNT): Likewise.
10198 (FTW_DEPTH): Likewise.
10199 (FTW_CHDIR): Likewise.
10200 (nftw): Likewise.
10201 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
10202 variable.
10203
10204 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10205
10206 * manual/errno.texi: Fix various typos & grammar errors.
10207
10208 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10209
10210 * manual/intro.texi: Fix duplicated typo.
10211
10212 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10213
10214 [BZ #13304]
10215 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
10216 <float.h>, <math_private.h> and <stdlib.h>.
10217 (add_split): New function.
10218 (mul_split): Likewise.
10219 (ext_val): New typedef.
10220 (store_ext_val): New function.
10221 (mul_ext_val): New function.
10222 (compare): New function.
10223 (add_split_ext): New function.
10224 (__fmal): After checking for Inf, NaN and zero, compute result as
10225 an exact sum of scaled double values in round-to-nearest before
10226 adding those up and adjusting for other rounding modes.
10227 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
10228 tests of fma.
10229 * math/auto-libm-test-out: Regenerated.
10230
10231 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10232
10233 [BZ #20119]
10234 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
10235 processor level type mask for CPUID with EAX == 11.
10236
10237 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10238
10239 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
10240 logical threads if the HTT bit is 0.
10241 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
10242 (index_cpu_HTT): Likewise.
10243 (reg_HTT): Likewise.
10244
10245 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10246
10247 [BZ #20115]
10248 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
10249 Remove alignments on jump targets.
10250
10251 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10252
10253 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
10254 (getpwent): Likewise.
10255 (setpwent): Likewise.
10256 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
10257 variable.
10258
10259 * conform/data/search.h-data (insque): Do not expect for [XPG3].
10260 (remque): Likewise.
10261 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
10262 variable.
10263
10264 2016-05-18 Joseph Myers <joseph@codesourcery.com>
10265
10266 * math/libm-test.inc: Update comment not to refer to signs of NaNs
10267 not being tested.
10268
10269 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10270
10271 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10272 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
10273 call.
10274 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10275 (__condvar_cleanup1): Likewise.
10276
10277 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10278
10279 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
10280 New
10281 (__pthread_unwind): Renamed to ...
10282 (PTHREAD_UNWIND): This.
10283 (__pthread_enable_asynccancel): Replace
10284 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
10285
10286 2016-05-18 Joseph Myers <joseph@codesourcery.com>
10287
10288 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
10289 (CLONE_NEWCGROUP): New macro.
10290
10291 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
10292 (Q_GETNEXTQUOTA): New macro.
10293
10294 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10295
10296 [BZ #19907]
10297 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
10298 buffer updated by the previous run.
10299 * string/test-memcpy.c (do_one_test): Likewise.
10300 * benchtests/bench-memmove.c (do_one_test): Add a comment.
10301 * string/test-memmove.c (do_one_test): Likewise.
10302
10303 2016-05-17 Joseph Myers <joseph@codesourcery.com>
10304
10305 [BZ #20094]
10306 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
10307 not [__USE_XOPEN].
10308 (unlockpt): Likewise.
10309 (ptsname): Likewise.
10310 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
10311 variable.
10312
10313 [BZ #20076]
10314 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
10315 instead of [__USE_UNIX98].
10316 (S_ISSOCK): Likewise.
10317 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
10318 variable.
10319
10320 [BZ #20074]
10321 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
10322 [__USE_POSIX].
10323 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
10324 variable.
10325
10326 [BZ #20051]
10327 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
10328 (ttyslot): Do not declare.
10329 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
10330 (ttyslot): New prototype.
10331 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
10332 variable.
10333 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10334
10335 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10336
10337 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
10338
10339 2016-05-13 Florian Weimer <fweimer@redhat.com>
10340
10341 Fix race condition in tst-mallocfork2, use fewer resources.
10342 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
10343 to current process group.
10344 (signal_sender): Yield in the non-sleeping case.
10345
10346 2016-05-13 Joseph Myers <joseph@codesourcery.com>
10347
10348 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
10349 (ecvt): Likewise.
10350 (fcvt): Likewise.
10351 (gcvt): Likewise.
10352 (getsubopt): Likewise.
10353 (grantpt): Likewise.
10354 (initstate): Likewise.
10355 (l64a): Likewise.
10356 (mktemp): Likewise.
10357 (mkstemp): Likewise.
10358 (ptsname): Likewise.
10359 (random): Likewise.
10360 (realpath): Likewise.
10361 (setstate): Likewise.
10362 (srandom): Likewise.
10363 (ttyslot): Likewise.
10364 (unlockpt): Likewise.
10365 (valloc): Likewise.
10366
10367 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
10368 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
10369 variable.
10370
10371 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
10372
10373 [BZ #20072]
10374 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
10375 init_cpu_features only if SHARED is defined.
10376 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
10377
10378 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
10379
10380 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
10381 non-inclusive caches on Intel processors.
10382
10383 2016-05-13 Florian Weimer <fweimer@redhat.com>
10384
10385 * malloc/malloc.c (dumped_main_arena_start)
10386 (dumped_main_arena_end): New variables.
10387 (DUMPED_MAIN_ARENA_CHUNK): New macro.
10388 (do_check_chunk): Skip dumped fake mmapped chunks.
10389 (munmap_chunk): Likewise.
10390 (__libc_free): Do not adjust statistics for fake mmapped chunks.
10391 (__libc_realloc): Adjust hardening check. Always copy dumped fake
10392 mmapped chunks.
10393 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
10394 Mark dumped chunks as using mmap. Update dumped_main_arena_start
10395 and dumped_main_arena_end to cover the dumped heap.
10396
10397 2016-05-12 Joseph Myers <joseph@codesourcery.com>
10398
10399 * conform/data/time.h-data (getdate_err): Do not expect for
10400 [XPG3].
10401 (getdate): Likewise.
10402 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
10403 variable.
10404
10405 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
10406 (F_ULOCK): Likewise.
10407 (F_TEST): Likewise.
10408 (F_TLOCK): Likewise.
10409 (useconds_t): Likewise.
10410 (intptr_t): Do not expect for [XPG3] or [XPG4].
10411 (brk): Do not expect for [XPG3]
10412 (fchown): Likewise.
10413 (fchdir): Likewise.
10414 (ftruncate): Likewise.
10415 (getdtablesize): Likewise.
10416 (gethostid): Likewise.
10417 (getpagesize): Likewise.
10418 (getpgid): Likewise.
10419 (getsid): Likewise.
10420 (getwd): Likewise.
10421 (lchown): Likewise.
10422 (lockf): Likewise.
10423 (readlink): Likewise.
10424 (sbrk): Likewise.
10425 (setpgrp): Likewise.
10426 (setregid): Likewise.
10427 (setreuid): Likewise.
10428 (symlink): Likewise.
10429 (sync): Likewise.
10430 (truncate): Likewise.
10431 (ualarm): Likewise.
10432 (usleep): Likewise.
10433 (vfork): Likewise.
10434 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
10435 variable.
10436
10437 [BZ #20054]
10438 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
10439 not [__USE_UNIX98].
10440 * conform/data/unistd.h-data (gethostname): Do not expect for
10441 [XPG3].
10442
10443 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
10444 [!POSIX] (S_IFBLK): Likewise.
10445 [!POSIX] (S_IFCHR): Likewise.
10446 [!POSIX] (S_IFIFO): Likewise.
10447 [!POSIX] (S_IFREG): Likewise.
10448 [!POSIX] (S_IFDIR): Likewise.
10449 [!POSIX] (S_IFLNK): Likewise.
10450 [!POSIX] (S_IFSOCK): Likewise.
10451 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
10452 variable.
10453 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10454
10455 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
10456
10457 * sysdeps/aarch64/memset.S (__memset):
10458 Rewrite of optimized memset.
10459
10460 2016-05-12 Florian Weimer <fweimer@redhat.com>
10461
10462 [BZ #19703]
10463 Partially async-signal-safe fork for single-threaded processes.
10464 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
10465 variable. Do not acquire and reset/release malloc and libio locks
10466 in single-threaded processes.
10467 * malloc/tst-mallocfork2.c: New file.
10468 * malloc/Makefile (tests): Add it.
10469
10470 2016-05-12 Florian Weimer <fweimer@redhat.com>
10471
10472 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
10473 argument. Use scratch buffer instead of extend_alloca.
10474 (gethosts): Use scratch buffer instead of extend_alloca.
10475 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
10476 extend_alloca.
10477 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
10478
10479 2016-05-11 Joseph Myers <joseph@codesourcery.com>
10480
10481 [BZ #20055]
10482 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
10483 instead of [__USE_UNIX98].
10484 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
10485 [__USE_UNIX98].
10486 * conform/data/termios.h-data (tcgetsid): Do not expect for
10487 [XPG3].
10488 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
10489 variable.
10490 (test-xfail-XPG4/termios.h/conform): Likewise.
10491
10492 2016-05-11 Florian Weimer <fweimer@redhat.com>
10493
10494 Do not use mcheck in localedef.
10495 * locale/programs/localedef.c (turn_on_mcheck)
10496 (__malloc_initialize_hook): Remove.
10497
10498 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10499
10500 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
10501 * sysdeps/s390/s390-64/Makefile: Likewise.
10502
10503 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
10504
10505 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
10506 Remove ifunc-defines.sym.
10507 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
10508 Likewise.
10509 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
10510 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10511 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
10512 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
10513 rtld-global-offsets.sym.
10514 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
10515 * sysdeps/x86/cpu-features-offsets.sym: This.
10516 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
10517 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
10518
10519 2016-05-10 Joseph Myers <joseph@codesourcery.com>
10520
10521 [BZ #20073]
10522 * io/sys/stat.h (fchmod): Declare for
10523 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
10524 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
10525 variable.
10526
10527 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
10528 [XPG3] (S_IFSOCK): Likewise.
10529 [XPG3] (S_ISVTX): Likewise.
10530 [XPG3] (S_ISLNK): Likewise.
10531 [XPG3] (S_ISSOCK): Likewise.
10532 [XPG3] (fchmod): Likewise.
10533 [XPG3] (lstat): Likewise.
10534 [XPG3] (mknod): Likewise.
10535
10536 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
10537 [XPG3]. Expect type long and XFAIL for [XPG4].
10538 (st_blocks): Likewise.
10539
10540 [BZ #20044]
10541 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
10542 (pthread_atfork): New prototype.
10543 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
10544 variable.
10545
10546 [BZ #20043]
10547 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
10548 prototype.
10549
10550 2016-05-10 Florian Weimer <fweimer@redhat.com>
10551
10552 [BZ #20017]
10553 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
10554 gmtime.
10555
10556 2016-05-10 Florian Weimer <fweimer@redhat.com>
10557
10558 [BZ #19994]
10559 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
10560 flag in _res.options.
10561
10562 2016-05-09 Joseph Myers <joseph@codesourcery.com>
10563
10564 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
10565 [XPG3 || XPG4].
10566 (blksize_t): Likewise.
10567 (clockid_t): Likewise.
10568 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
10569 variable.
10570 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10571
10572 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
10573
10574 * sysdeps/unix/sysv/linux/s390/init-first.c:
10575 Add VDSO_SYMBOL(getcpu).
10576 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
10577 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
10578 Add VDSO_SYMBOL(getcpu).
10579 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
10580 New define HAVE_GETCPU_VSYSCALL.
10581 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10582
10583 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
10584
10585 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
10586 instead of <sysdeps/x86_64/cacheinfo.c>.
10587 * sysdeps/x86_64/cacheinfo.c: Moved to ...
10588 * sysdeps/x86/cacheinfo.c: Here.
10589
10590 2016-05-04 Florian Weimer <fweimer@redhat.com>
10591
10592 * malloc/malloc-internal.h: Adjust header file guard.
10593
10594 2016-05-04 Florian Weimer <fweimer@redhat.com>
10595
10596 [BZ #19787]
10597 * inet/getnameinfo.c (check_sprintf_result): New function.
10598 (CHECKED_SNPRINTF): New macro.
10599 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
10600 to the host buffer.
10601 (gni_host_local): Use checked_copy to copy the host name.
10602 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
10603 (gni_serv_local): Use checked_copy to copy the service name.
10604 (getnameinfo): Remove unnecessary truncation of result buffers.
10605
10606 2016-05-04 Florian Weimer <fweimer@redhat.com>
10607
10608 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
10609 in case of inet_ntop failure.
10610
10611 2016-05-04 Florian Weimer <fweimer@redhat.com>
10612
10613 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
10614 avoid long lines.
10615 (gni_host_inet_numeric): Likewise. Reduce scope of local
10616 variables.
10617 (gni_host_inet, gni_host_local): Add comment.
10618 (gni_host): Add comment. Use temporary to avoid long lines.
10619
10620 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10621
10622 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
10623 registers specifiers where general purpose registers specifiers should
10624 have been used.
10625
10626 2016-05-04 Florian Weimer <fweimer@redhat.com>
10627
10628 [BZ #19779]
10629 CVE-2016-1234
10630 Avoid copying names of directory entries.
10631 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
10632 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
10633 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
10634 (struct readdir_result): New type.
10635 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
10636 (GL_READDIR): New macros.
10637 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
10638 (convert_dirent, convert_dirent64): New functions.
10639 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
10640 convert_dirent64. Adjust references to the readdir result.
10641 * sysdeps/unix/sysv/linux/i386/glob64.c:
10642 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
10643 * posix/bug-glob2.c (LONG_NAME): Define.
10644 (filesystem): Add LONG_NAME.
10645 (my_DIR): Increase the size of room_for_dirent.
10646
10647 2016-05-03 Joseph Myers <joseph@codesourcery.com>
10648
10649 [BZ #20041]
10650 * misc/sys/select.h (__need_timespec): Only define if
10651 [__USE_XOPEN2K].
10652 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
10653 variable.
10654 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10655 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10656 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10657
10658 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10659 Segher Boessenkool <segher@gcc.gnu.org>
10660
10661 [BZ #20004]
10662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
10663 (__novec_swapcontext): Add missing load.
10664
10665 2016-05-02 Joseph Myers <joseph@codesourcery.com>
10666
10667 [BZ #20023]
10668 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
10669 <time.h>.
10670 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
10671 variable.
10672 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10673
10674 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10675
10676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
10677 flags CLONE_VM compare.
10678
10679 2016-05-02 Florian Weimer <fweimer@redhat.com>
10680
10681 [BZ #20031]
10682 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
10683 completely empty.
10684
10685 2016-05-02 Florian Weimer <fweimer@redhat.com>
10686
10687 [BZ #19573]
10688 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
10689 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
10690 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
10691 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
10692 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
10693 (hesiod_free_list): Mark as hidden.
10694 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
10695 res_set, res_get.
10696 * hesiod/hesiod.c: Remove unnecessary forward declarations.
10697 (init, __hesiod_res_get, __hesiod_res_set): Remove.
10698 (hesiod_init): Remove obsolete res_ninit call.
10699 (hesiod_end): Do not free resolver state. Do not invoke callback.
10700 (hesiod_bind): Do not call init.
10701 (get_txt_records): Use res_mkquery, res_send instead of
10702 res_nmkquery, res_nsend.
10703 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
10704 instead of _nss_hesiod_init.
10705 (_nss_hesiod_initgroups_dyn): Likewise.
10706 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
10707 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
10708 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
10709
10710 2016-05-02 Florian Weimer <fweimer@redhat.com>
10711
10712 * hesiod/hesiod_p.h (DEF_RHS): Remove.
10713 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
10714
10715 2016-05-02 Florian Weimer <fweimer@redhat.com>
10716
10717 * hesiod/hesiod.h: Remove RCS keyword.
10718 * hesiod/hesiod_p.h: Likewise.
10719
10720 * hesiod/hesiod.c: Likewise.
10721
10722 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
10723
10724 [BZ #12450]
10725 * locale/iso-639.def: Add Samogitian/sgs.
10726
10727 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
10728
10729 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
10730
10731 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
10732
10733 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
10734 Carlos O'Donell <carlos@redhat.com>
10735
10736 [BZ #19072]
10737 * grp/Makefile (headers): Add grp-merge.h
10738 (routines): Add grp-merge.
10739 * grp/getgrgid_r.c: Include grp-merge.h.
10740 (DEEPCOPY_FN): Define.
10741 (MERGE_FN): Define.
10742 * grp/getgrname_r.c: Include grp-merge.h.
10743 (DEEPCOPY_FN): Define.
10744 (MERGE_FN): Define.
10745 * grp/grp-merge.c: New file.
10746 * grp/grp-merge.h: New file.
10747 * include/grp-merge.h: New file.
10748 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
10749 __copy_grp@GLIBC_PRIVATE.
10750 * manual/nss.texi (Actions in the NSS configuration): Describe
10751 return, continue, and merge.
10752 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
10753 (DEEPCOPY_FN): Define.
10754 (MERGE_FN): Define.
10755 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
10756 (DEEPCOPY_FN): Define.
10757 (MERGE_FN): Define.
10758 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
10759 [!MERGE_FN]: Define __merge_einval.
10760 (CHECK_MERGE): Define.
10761 (REENTRANT_NAME): Process merge if do_merge is true.
10762 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
10763 (__nss_getent_r): Likewise.
10764 * nss/nsswitch.c (nss_parse_service_list): Likewise.
10765 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
10766
10767 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10768
10769 [BZ #20012]
10770 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
10771 length to calculate the buffer to read.
10772 (fmemopen_write): Set the buffer position based on bytes written.
10773 (fmemopen_seek): Return EINVAL for invalid whence modes.
10774
10775 [BZ #19957]
10776 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
10777 tst-getpid2.
10778 (test): Add tst-clone2.
10779 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
10780 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
10781 pid/tid fields for CLONE_VM.
10782 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10783 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10784 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10785 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
10786 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10787 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10788 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10789 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10791 Likewise.
10792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10793 Likewise.
10794 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10795 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10796 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10797 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10798 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10799 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10800 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10801 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
10802
10803 2016-04-29 Florian Weimer <fweimer@redhat.com>
10804
10805 [BZ #19642]
10806 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
10807 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
10808 (gni_serv_local, gni_serv): New functions extracted from
10809 getnameinfo.
10810 (getnameinfo): Call gni_host and gni_serv to perform the
10811 processing. Always free scratch buffer.
10812
10813 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10814
10815 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
10816 remaining bytes in the dest string, with zeros.
10817
10818 2016-04-29 Florian Weimer <fweimer@redhat.com>
10819
10820 [BZ #20010]
10821 CVE-2016-3706
10822 * sysdeps/posix/getaddrinfo.c
10823 (convert_hostent_to_gaih_addrtuple): New function.
10824 (gethosts): Call convert_hostent_to_gaih_addrtuple.
10825 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
10826 AF_INET data.
10827
10828 2016-04-29 Florian Weimer <fweimer@redhat.com>
10829
10830 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
10831 callback function gl_readdir.
10832 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
10833 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
10834 (glob_in_dir): Remove len. Use strdup instead of malloc and
10835 memcpy to copy the name.
10836 * manual/pattern.texi (Calling Glob): Document requirements for
10837 implementations of the gl_readdir callback function.
10838 * manual/examples/mkdirent.c: New example.
10839 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
10840 per the manual guidance.
10841 * posix/tst-gnuglob.c (my_readdir): Likewise.
10842
10843 2016-04-28 Joseph Myers <joseph@codesourcery.com>
10844
10845 [BZ #20014]
10846 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
10847 not [__USE_POSIX].
10848 (getchar_unlocked): Likewise.
10849 (putc_unlocked): Likewise.
10850 (putchar_unlocked): Likewise.
10851 (flockfile): Likewise.
10852 (ftrylockfile): Likewise.
10853 (funlockfile): Likewise.
10854 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
10855 variable.
10856 (test-xfail-XPG4/stdio.h/conform): Likewise.
10857
10858 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
10859 Expect constant.
10860 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
10861 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
10862 variable.
10863 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10864 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10865
10866 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
10867 [__USE_LARGEFILE64] (off64_t): Likewise.
10868 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
10869 variable.
10870
10871 2016-04-28 Florian Weimer <fweimer@redhat.com>
10872
10873 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
10874
10875 2016-04-28 Florian Weimer <fweimer@redhat.com>
10876
10877 * resolv/inet_addr.c: Reindent preprocessor conditionals.
10878 * resolv/res_init.c: Likewise.
10879 * resolv/res_mkquery.c: Likewise.
10880
10881 2016-04-28 Florian Weimer <fweimer@redhat.com>
10882
10883 * resolv/res_init.c (isascii): Do not define. Use definition in
10884 <ctype.h>.
10885 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
10886 (LOG_AUTH): Remove.
10887 (SPRINTF): Remove, adjust caller.
10888 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
10889
10890 2016-04-28 Florian Weimer <fweimer@redhat.com>
10891
10892 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
10893 SUNSECURITY conditional.
10894 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
10895
10896 2016-04-28 Florian Weimer <fweimer@redhat.com>
10897
10898 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
10899 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
10900 Remove BSD-related preprocessor conditionals.
10901 * conf/portability.h: Remove.
10902
10903 2016-04-28 Florian Weimer <fweimer@redhat.com>
10904
10905 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
10906 * resolv/res_data.c: Likewise.
10907
10908 2016-04-28 Florian Weimer <fweimer@redhat.com>
10909
10910 * resolv/res_comp.c: Remove code conditional on __ultrix__.
10911 * resolv/res_data.c: Remove code conditional on ultrix.
10912
10913 2016-04-28 Florian Weimer <fweimer@redhat.com>
10914
10915 * resolv/res_init.c (RFC1535): Do not define. Remove
10916 RFC1535 preprocessor conditionals.
10917 * resolv/README: Update. Do not claim strict RFC 1535 compliance
10918 because there configuration options which make the resolver
10919 behavior different.
10920
10921 2016-04-28 Florian Weimer <fweimer@redhat.com>
10922
10923 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
10924 RESOLVSORT preprocessor conditionals.
10925 * resolv/nss_dns/dns-host.c: Likewise.
10926 * resolv/res_init.c: Likewise.
10927
10928 2016-04-28 Florian Weimer <fweimer@redhat.com>
10929
10930 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
10931 is never defined.
10932
10933 2016-04-28 Florian Weimer <fweimer@redhat.com>
10934
10935 * inet/inet_lnaof.c: Remove SCSS keyword.
10936 * inet/inet_mkadr.c: Likewise.
10937 * inet/inet_net.c: Likewise.
10938 * inet/inet_netof.c: Likewise.
10939 * inet/rcmd.c: Likewise.
10940 * inet/rexec.c: Likewise.
10941 * inet/ruserpass.c: Likewise.
10942
10943 2016-04-28 Florian Weimer <fweimer@redhat.com>
10944
10945 * resolv/inet_addr.c: Remove _LIBC conditionals.
10946 * resolv/res_data.c: Likewise.
10947 * resolv/res_init.c: Likewise.
10948 * resolv/res_mkquery.c: Likewise.
10949 * resolv/res_libc.c: Update comment.
10950 * resolv/README: Update.
10951
10952 2016-04-28 Florian Weimer <fweimer@redhat.com>
10953
10954 * resolv/gethnamaddr.c: Remove SCSS keyword.
10955 * resolv/herror.c: Likewise.
10956 * resolv/inet_addr.c: Likewise.
10957 * resolv/inet_net_ntop.c: Likewise.
10958 * resolv/inet_net_pton.c: Likewise.
10959 * resolv/inet_neta.c: Likewise.
10960 * resolv/inet_ntop.c: Likewise.
10961 * resolv/inet_pton.c: Likewise.
10962 * resolv/ns_date.c: Remove RCS keyword.
10963 * resolv/ns_name.c: Likewise.
10964 * resolv/ns_netint.c: Likewise.
10965 * resolv/ns_parse.c: Likewise.
10966 * resolv/ns_print.c: Likewise.
10967 * resolv/ns_samedomain.c: Likewise.
10968 * resolv/ns_ttl.c: Likewise.
10969 * resolv/nsap_addr.c: Likewise.
10970 * resolv/res_comp.c: Remove SCSS and RCS keyword.
10971 * resolv/res_data.c: Remove RCS keyword.
10972 * resolv/res_debug.c: Remove SCSS and RCS keyword.
10973 * resolv/res_init.c: Likewise.
10974 * resolv/res_mkquery.c: Likewise.
10975 * resolv/res_query.c: Likewise.
10976 * resolv/res_send.c: Likewise.
10977
10978 2016-04-27 Joseph Myers <joseph@codesourcery.com>
10979
10980 * conform/data/stdio.h-data (fdopen): Expect also for
10981 [XPG3 || XPG4].
10982
10983 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
10984 (fseeko): Likewise.
10985 (ftello): Likewise.
10986 (ftrylockfile): Likewise.
10987 (funlockfile): Likewise.
10988 (getc_unlocked): Likewise.
10989 (getchar_unlocked): Likewise.
10990 (putc_unlocked): Likewise.
10991 (putchar_unlocked): Likewise.
10992
10993 2016-04-27 Florian Weimer <fweimer@redhat.com>
10994
10995 [BZ #19868]
10996 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
10997 DNS packet syntax checks (which were not needed before). Skip
10998 over non-PTR records.
10999
11000 2016-04-27 Florian Weimer <fweimer@redhat.com>
11001
11002 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11003 definition. Include <stddef.h> instead.
11004
11005 2016-04-27 Florian Weimer <fweimer@redhat.com>
11006
11007 [BZ #19831]
11008 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11009 function.
11010 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11011 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11012
11013 2016-04-27 Florian Weimer <fweimer@redhat.com>
11014
11015 [BZ #19862]
11016 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11017 (getanswer_r): Do not call syslog.
11018 (gaih_getanswer_slice): Likewise.
11019 * resolv/gethnamaddr.c (AskedForGot): Remove.
11020 (getanswer): Do not call syslog.
11021 (gethostbyaddr): Likewise.
11022
11023 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11024
11025 * conform/data/signal.h-data (union sigval): Expect also if
11026 [XOPEN2K].
11027 (struct sigevent): Likewise.
11028 (SIGEV_NONE): Likewise.
11029 (SIGEV_SIGNAL): Likewise.
11030 (SIGEV_THREAD): Likewise.
11031 (SIGRTMIN): Likewise.
11032 (SIGRTMAX): Likewise.
11033 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11034 variable.
11035 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11036
11037 2016-04-27 Florian Weimer <fweimer@redhat.com>
11038
11039 [BZ #19830]
11040 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11041 (gaih_getanswer_slice): Likewise.
11042 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11043 Also check for availability of RR metadata.
11044
11045 2016-04-27 Florian Weimer <fweimer@redhat.com>
11046
11047 [BZ #19825]
11048 * resolv/res_send.c (send_vc): Remove early *resplen2
11049 initialization. Set *resplen2 on socket error. Call
11050 close_and_return_error for other errors.
11051
11052 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11053
11054 * sysdeps/unix/sysv/linux/netiucv/iucv.h
11055 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11056 (SCM_IUCV_TRGCLS): New define.
11057
11058 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11059
11060 [BZ #20005]
11061 * libio/fmemopen.c (fmemopen_write): Update internal position after
11062 write.
11063 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11064 * stdio-common/tst-fmemopen4.c: New file..
11065
11066 2016-04-26 Joseph Myers <joseph@codesourcery.com>
11067
11068 [BZ #19996]
11069 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11070 not [__USE_XOPEN2K].
11071 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11072 variable.
11073
11074 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11075 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11076 variable.
11077
11078 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11079 [__USE_XOPEN2K8].
11080 [__USE_LARGEFILE64] (off64_t): Likewise.
11081 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11082 variable.
11083
11084 2016-04-25 Joseph Myers <joseph@codesourcery.com>
11085
11086 [BZ #19989]
11087 * libio/stdio.h (cuserid): Do not declare if
11088 [__USE_XOPEN2K && !__USE_GNU].
11089 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11090 variable.
11091
11092 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11093
11094 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11095 (sysdep_routines): Add P8 and PPC64 strcspn targets.
11096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11097 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11098 ifunc'ed strcspn.
11099 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11100 [EALIGN]: Removed.
11101 [END]: Likewise
11102 [STRSPN]: Define instead of the above to control symbol name.
11103 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11104 New file.
11105 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11106 Likewise.
11107 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11108 Likewise.
11109 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11110 Likewise.
11111 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11112 [INITIAL_MASK]: New macro.
11113 [STRCSPN]: Likewise.
11114 [UPDATE_MASK]: Likewise.
11115 [USE_AS_STRCSPN]: Likewise.
11116
11117 2016-04-25 Florian Weimer <fweimer@redhat.com>
11118
11119 [BZ #19931]
11120 * stdio-common/tst-vfprintf-width-prec.c: New file.
11121 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11122 (tests-special): Add tst-vfprintf-width-prec-mem.out.
11123 (generated): Add mtrace-related files.
11124 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11125 (tst-%-mem.out): New pattern rule, replaces
11126 tst-printf-bz18872-mem.out.
11127 * stdio-common/vfprintf.c (vfprintf): When handling a precision
11128 specifier, deallocate any previously allocated work buffer.
11129
11130 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11131
11132 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11133 Add nop before __startcontext, add explaining comments.
11134
11135 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
11136
11137 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11138 any more. Notably since IPV6_PKTINFO has been reintroduced with a
11139 completely different API.
11140
11141 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11142 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11143 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11144 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11145 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11146 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11147 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11148 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11149 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11150 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11151
11152 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
11153
11154 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11155
11156 2016-04-23 Mike Frysinger <vapier@gentoo.org>
11157
11158 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11159 when it is the default of 0.
11160
11161 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11162
11163 * sysdeps/powerpc/locale-defines.sym: Add new macros.
11164 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11165 (sysdep_routines): Add new strcasestr targets.
11166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11167 (__libc_ifunc_impl_list): Likewise.
11168 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11169 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11170 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11171 * sysdeps/powerpc/powerpc64/power8/Makefile:
11172 New file to add strcasestr-ppc64 to sysdep_routines.
11173 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11174 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11175
11176 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
11177
11178 * benchtests/Makefile (wcsmbs-benchset): Include only for
11179 native builds and runs.
11180 (LOCALES): Likewise.
11181 (bench-build): Build timing-type here instead of the bench
11182 target. Generate locale only for native builds.
11183 * benchtests/README: Add note for cross-building.
11184
11185 * benchtests/Makefile (bench-clean): Clean up extra-objs.
11186
11187 * benchtests/README: Update README to include instructions on
11188 using bench-build.
11189
11190 * Makefile.in (bench-build): New target.
11191 * Rules (PHONY): Add bench-build target.
11192 * benchtests/Makefile (bench): Depend on bench-build.
11193 (bench-build): New target.
11194
11195 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11196
11197 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
11198 profil_reply_port.
11199 (profile_waiter): Do not initialize profil_reply_port.
11200 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
11201 frequency instead of tick length in us.
11202
11203 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
11204
11205 [BZ #18712]
11206 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
11207 (__old_mempcpy_small): Likewise.
11208 (__old_strcpy_small): Likewise.
11209 (__old_stpcpy_small): Likewise.
11210 (__old_strpbrk_c2): Fix compat symbol name.
11211 (__old_strpbrk_c3): Likewise.
11212 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
11213 (__mempcpy_small): Remove.
11214 (__strcpy_small): Remove.
11215 (__stpcpy_small): Remove.
11216
11217 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
11218
11219 [BZ #19400]
11220 * locale/iso-639.def: Add the Talossan/tzl language.
11221
11222 2016-04-16 Mike Frysinger <vapier@gentoo.org>
11223
11224 [BZ #16983]
11225 * locale/programs/ld-address.c (address_finish): Update postal_fmt
11226 comment. Add "ln" to strchr check on postal_fmt.
11227
11228 2016-04-16 Mike Frysinger <vapier@gentoo.org>
11229
11230 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
11231 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
11232 tel_dom_fmt.
11233
11234 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11235
11236 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11237 (sysdep_routines): Added __strlen_power8.
11238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
11239 __strlen_power8 entry.
11240 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
11241 Implementation for POWER8.
11242 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
11243 for __strlen_power8.
11244 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
11245 Implementation for POWER8.
11246
11247 2016-04-15 Mike Frysinger <vapier@gentoo.org>
11248
11249 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
11250
11251 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
11252
11253 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
11254 Goldmont and Airmont processors.
11255
11256 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
11257
11258 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
11259 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
11260 (__STRING2_SMALL_GET32): Remove.
11261 (memset): Remove.
11262 (__memset_1): Remove.
11263 (__memset_gc): Remove.
11264 (__mempcpy): Remove.
11265 (mempcpy): Remove.
11266 (__mempcpy_args): Remove.
11267 (strchr): Remove.
11268 (strcpy): Remove.
11269 (strcpy_args): Remove.
11270 (__stpcpy_args): Remove.
11271 (__strcmp_cc): Remove.
11272 (__strcmp_gc): Remove.
11273 (strstr): Remove.
11274
11275 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
11276
11277 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
11278 * nis/nis_call.c (nis_server_cache_add): Likewise.
11279
11280 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11281
11282 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
11283
11284 2016-04-14 Florian Weimer <fweimer@redhat.com>
11285
11286 * malloc/arena.c (__malloc_fork_lock_parent)
11287 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
11288 internal_function attribute.
11289
11290 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
11291
11292 * stdio-common/printf_fp.c (__printf_fp_l):
11293 Rename ___printf_fp_l to __printf_fp_l and
11294 remove strong alias. Use libc_hidden_def instead
11295 of ldbl_hidden_def macro.
11296
11297 2016-04-14 Florian Weimer <fweimer@redhat.com>
11298
11299 Remove malloc hooks from fork handler. They are no longer needed
11300 because malloc runs right before fork, and no malloc calls from
11301 other fork handlers are not possible anymore.
11302 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
11303 declarations.
11304 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
11305 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
11306 (atfork_recursive_cntr): Remove.
11307 (__malloc_fork_lock_parent): Do not override malloc hooks and
11308 thread_arena.
11309 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
11310 thread_arena.
11311 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
11312 thread_arena instead of save_arena.
11313
11314 2016-04-14 Florian Weimer <fweimer@redhat.com>
11315
11316 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
11317 (thread_atfork, thread_atfork_static): Remove.
11318 * sysdeps/mach/hurd/malloc-machine.h:
11319 (thread_atfork, thread_atfork_static): Remove.
11320
11321 2016-04-14 Florian Weimer <fweimer@redhat.com>
11322
11323 [BZ #19431]
11324 Run the malloc fork handler as late as possible to avoid deadlocks.
11325 * malloc/malloc-internal.h: New file.
11326 * malloc/malloc.c: Include it.
11327 * malloc/arena.c (ATFORK_MEM): Remove.
11328 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
11329 Update comment.
11330 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
11331 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
11332 Remove outdated comment.
11333 (ptmalloc_init): Do not call thread_atfork. Remove
11334 thread_atfork_static.
11335 * malloc/tst-malloc-fork-deadlock.c: New file.
11336 * Makefile (tests): Add tst-malloc-fork-deadlock.
11337 (tst-malloc-fork-deadlock): Link against libpthread.
11338 * manual/memory.texi (Aligned Memory Blocks): Update safety
11339 annotation comments.
11340 * sysdeps/nptl/fork.c (__libc_fork): Call
11341 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11342 __malloc_fork_unlock_child.
11343 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
11344
11345 2016-04-14 Florian Weimer <fweimer@redhat.com>
11346
11347 [BZ #19613]
11348 Remove union wait.
11349 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
11350 (w_stopsig, w_stopval): Remove.
11351 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
11352 stat_loc argument.
11353 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
11354 (__WAIT_STATUS_DEFN): Remove.
11355 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11356 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
11357 (wait, wait3, wait4): Use int * for the stat_loc argument.
11358 * posix/wait.c (__wait): Likewise.
11359 * posix/wait3.c (__wait3): Likewise.
11360 * posix/wait4.c (__wait4): Likewise.
11361 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
11362 (__WAIT_STATUS_DEFN): Remove.
11363 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11364 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
11365 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
11366 argument.
11367 * sysdeps/posix/wait.c (__libc_wait): Likewise.
11368 * sysdeps/posix/wait3.c (__wait3): Likewise.
11369 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
11370 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11371 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
11372 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
11373 stat_loc argument.
11374 * manual/process.texi (BSD Wait Functions): Remove union wait.
11375
11376 2016-04-13 Andreas Schwab <schwab@suse.de>
11377
11378 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
11379 (test-extras): Add tst-tlsalign-vars.
11380 * math/Makefile: Wrap long lines.
11381 (libm-vec-test-wrappers): Define.
11382 (test-extras): Add $(libm-vec-test-wrappers).
11383 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
11384 * nss/Makefile (extra-test-objs): Add nss_test1.os.
11385 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
11386 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
11387 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
11388 (extra-test-objs): Add corresponding objects.
11389
11390 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
11391
11392 [BZ #19928]
11393 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
11394 New.
11395 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
11396 times of shared cache size.
11397 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
11398 (VMOVNT): New.
11399 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
11400 (VMOVNT): Likewise.
11401 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
11402 (VMOVNT): Likewise.
11403 (VMOVU): Changed to movups for smaller code sizes.
11404 (VMOVA): Changed to movaps for smaller code sizes.
11405 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
11406 comments.
11407 (PREFETCH): New.
11408 (PREFETCH_SIZE): Likewise.
11409 (PREFETCHED_LOAD_SIZE): Likewise.
11410 (PREFETCH_ONE_SET): Likewise.
11411 Rewrite to use forward and backward loops, which move 4 vector
11412 registers at a time, to support overlapping addresses and use
11413 non temporal store if size is above the threshold and there is
11414 no overlap between destination and source.
11415
11416 2016-04-12 Alex Smith <alex.smith@imgtec.com>
11417
11418 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
11419 Include dl-vdso.
11420 * sysdeps/unix/sysv/linux/mips/Versions: Add
11421 __vdso_clock_gettime.
11422 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
11423 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
11424 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
11425 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
11426 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
11427 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11428 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11429 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11430 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11431
11432 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11433
11434 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
11435 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
11436 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11437 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11438 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11439 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11442 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
11443 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
11444 syscalls generation.
11445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11446 [__NR_pwrite64] (__NR_write): Remove define.
11447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11448 [__NR_pwrite64] (__NR_write): Remove define.
11449 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
11450 Remove define.
11451 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
11452 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
11453 Remove define.
11454 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
11455 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
11456 Linux implementation as base.
11457 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11458
11459 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
11460 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
11461 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11462 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
11464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11465 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
11466 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
11467 syscall generation.
11468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11469 [__NR_pread64] (__NR_pread): Remove define.
11470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11471 [__NR_pread64] (__NR_pread): Likewise.
11472 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
11473 define.
11474 (__libc_pread): Use SYSCALL_LL macro on offset argument.
11475 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
11476 Remove define.
11477 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
11478 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
11479 Linux implementation as base.
11480 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11481 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11482 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11483
11484 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
11485 definition.
11486 (__ALIGNMENT_COUNT): Likewise.
11487 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
11488 (__ALIGNMENT_COUNT): Likewise.
11489 (SYSCALL_LL): New define.
11490 (SYSCALL_LL64): Likewise.
11491 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
11492 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
11493 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
11494 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
11495
11496 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11497 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
11498 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11499 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11500 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11501 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11502
11503 2016-04-11 Florian Weimer <fweimer@redhat.com>
11504
11505 [BZ #19865]
11506 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
11507 original buffer before retry.
11508
11509 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11510
11511 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
11512 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
11513 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
11514 GLRO(dl_auxv) list.
11515 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
11516 including <ldsodefs.h>.
11517 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
11518
11519 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
11520
11521 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
11522 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
11523 $(CPPFLAGS).
11524
11525 2016-04-09 Khem Raj <raj.khem@gmail.com>
11526
11527 [BZ #17950]
11528 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
11529 Add -mfpmath=387.
11530
11531 2016-04-09 Mike Frysinger <vapier@gentoo.org>
11532
11533 * sysdeps/i386/configure.ac: Change == to = when calling test.
11534 * sysdeps/x86_64/configure.ac: Likewise.
11535 * sysdeps/i386/configure: Regenerated.
11536 * sysdeps/x86_64/configure: Likewise.
11537
11538 2016-04-08 Mike Frysinger <vapier@gentoo.org>
11539
11540 [BZ #16137]
11541 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
11542 * benchtests/bench-strcoll.c (input_files): Likewise.
11543 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11544 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
11545 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
11546
11547 2016-04-08 Joseph Myers <joseph@codesourcery.com>
11548
11549 [BZ #19929]
11550 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
11551 [__USE_XOPEN2K8 && !__USE_GNU].
11552 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
11553 variable.
11554
11555 [BZ #19925]
11556 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
11557 define if [!__USE_MISC && __USE_XOPEN2K].
11558 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
11559 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
11560 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
11561 Likewise.
11562 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
11563 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
11564 variable.
11565 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11566
11567 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11568
11569 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11570 (sysdep_routines): Add new strspn targets.
11571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11572 (__libc_ifunc_impl_list): Add strspn.
11573 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11574 New file.
11575 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
11576 Likewise.
11577 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
11578 Likewise.
11579 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11580 Likewise.
11581
11582 2016-04-07 Florian Weimer <fweimer@redhat.com>
11583
11584 * misc/hsearch_r.c: Include <limits.h>.
11585
11586 2016-04-07 Florian Weimer <fweimer@redhat.com>
11587
11588 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
11589
11590 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11591
11592 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11593 (MEMCPY_SYMBOL): New.
11594 (MEMPCPY_SYMBOL): Likewise.
11595 (MEMMOVE_CHK_SYMBOL): Likewise.
11596 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
11597 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
11598 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
11599 Provide alias for memcpy in libc.a and ld.so.
11600
11601 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11602
11603 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11604 (MEMSET_CHK_SYMBOL): New. Define if not defined.
11605 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
11606 Disabled fro now.
11607 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
11608 symbols. Properly check USE_MULTIARCH on __memset symbols.
11609
11610 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11611
11612 * benchtests/Makefile (string-benchset): Add memcpy-large,
11613 memmove-large and memset-large.
11614 * benchtests/bench-memcpy-large.c: New file.
11615 * benchtests/bench-memmove-large.c: Likewise.
11616 * benchtests/bench-memmove-large.c: Likewise.
11617 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
11618
11619 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
11620
11621 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
11622 32-bit displacement to avoid long nop between instructions.
11623
11624 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
11625
11626 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
11627 a comment on VMOVU and VMOVA.
11628
11629 2016-04-04 Florian Weimer <fweimer@redhat.com>
11630
11631 [BZ #19633]
11632 Use specified locale for number formatting in strfmon_l.
11633 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
11634 (__nl_lookup_word): New inline functions.
11635 * include/printf.h (__print_fp_l): Declare.
11636 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
11637 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
11638 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
11639 (___printf_fp): New function.
11640 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
11641 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
11642 * stdlib/tst-strfmon_l.c (do_test): New test.
11643 * stdlib/Makefile (tests): Add kt.
11644 (LOCALES): Build additional locales.
11645 (tst-strfmon_l.out): Require locales.
11646
11647 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
11648
11649 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
11650 if not in libc.
11651 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11652 Likewise.
11653 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
11654 Likewise.
11655 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11656 Likewise.
11657
11658 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
11659
11660 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11661 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
11662 with unaligned_erms.
11663 (__memmove_erms): Skip if source == destination.
11664 (__memmove_unaligned_erms): Don't check source == destination
11665 first.
11666
11667 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11668
11669 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11670 bit_arch_Fast_Copy_Backward for Intel Core proessors.
11671
11672 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11673
11674 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
11675 * string/strspn.c (strspn): Likewise.
11676
11677 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11678
11679 * benchtests/bench-memset.c (do_test): Support 64-byte
11680 alignment.
11681 (test_main): Test 64-byte alignment.
11682
11683 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11684
11685 * benchtests/bench-memmove.c (test_main): Test 64-byte
11686 alignment.
11687
11688 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11689
11690 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
11691
11692 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11693
11694 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
11695 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
11696 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
11697
11698 * string/strpbrk.c (strpbrk): Rewrite function.
11699 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
11700 (__strpbrk_c2): Likewise.
11701 (__strpbrk_c3): Likewise.
11702 * string/string-inlines.c
11703 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
11704 Likewise.
11705 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
11706 Likewise.
11707
11708 * string/strspn.c (strcspn): Rewrite function.
11709 * string/bits/string2.h (strspn): Use __builtin_strcspn.
11710 (__strspn_c1): Remove inline function.
11711 (__strspn_c2): Likewise.
11712 (__strspn_c3): Likewise.
11713 * string/string-inlines.c
11714 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
11715 compatibility symbol.
11716 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
11717 Likewise.
11718 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
11719 Likewise.
11720 * string/string-inlines.c: Include generic version.
11721
11722 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
11723 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11724
11725 * string/Version (libc): Add GLIBC_2.24.
11726 * string/strcspn.c (strcspn): Rewrite function.
11727 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
11728 (__strcspn_c1): Remove inline function.
11729 (__strcspn_c2): Likewise.
11730 (__strcspn_c3): Likewise.
11731 * string/string-inline.c
11732 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
11733 compatibility symbol.
11734 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
11735 Likewise.
11736 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
11737 Likewise.
11738 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
11739
11740 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11741
11742 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11743 Use ahi instead of aghi to adjust stack pointer.
11744
11745 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11746
11747 [BZ #19853]
11748 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
11749 TEST to take significant digits as second parameter.
11750 [TEST]: Redefine in terms of TEST_N taking 30
11751 significant digits.
11752 (do_test): Add test case to demonstrate precision
11753 failure in the ldbl-128ibm printf.
11754 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
11755 (__mpn_extract_long_double): Carry 7 extra intermediate
11756 bits of precision to aide computing difference when
11757 signs differ.
11758
11759 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
11760
11761 [BZ #19881]
11762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11763 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
11764 memset-avx512-unaligned-erms.
11765 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11766 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
11767 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
11768 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
11769 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
11770 __memset_sse2_unaligned_erms, __memset_erms,
11771 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
11772 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11773 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
11774 file.
11775 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11776 Likewise.
11777 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
11778 Likewise.
11779 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
11780 Likewise.
11781
11782 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
11783
11784 [BZ #19776]
11785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11786 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
11787 memmove-avx512-unaligned-erms.
11788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11789 (__libc_ifunc_impl_list): Test
11790 __memmove_chk_avx512_unaligned_2,
11791 __memmove_chk_avx512_unaligned_erms,
11792 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
11793 __memmove_chk_sse2_unaligned_2,
11794 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
11795 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
11796 __memmove_avx512_unaligned_erms, __memmove_erms,
11797 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
11798 __memcpy_chk_avx512_unaligned_2,
11799 __memcpy_chk_avx512_unaligned_erms,
11800 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
11801 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
11802 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
11803 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
11804 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
11805 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
11806 __mempcpy_chk_avx512_unaligned_erms,
11807 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
11808 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
11809 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
11810 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
11811 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
11812 __mempcpy_erms.
11813 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
11814 file.
11815 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11816 Likewise.
11817 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11818 Likewise.
11819 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11820 Likewise.
11821
11822 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11823
11824 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
11825 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
11826 (La_s390_64_regs): Likewise.
11827 (La_s390_32_retval): Append vector register lrv_v24.
11828 (La_s390_64_retval): Likeweise.
11829 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11830 Handle extended structs La_s390_32_regs and La_s390_32_retval.
11831 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11832 Handle extended structs La_s390_64_regs and La_s390_64_retval.
11833
11834 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11835
11836 [BZ #19916]
11837 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
11838 to create a non-vector/vector version for _dl_runtime_resolve and
11839 _dl_runtime_profile. Move implementation to ...
11840 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
11841 (_dl_runtime_resolve) Save and restore fpr/vrs.
11842 (_dl_runtime_profile) Save and restore vrs and fix some issues
11843 if _dl_call_pltexit is called.
11844 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
11845 Choose the correct resolver function if running on a machine with vx.
11846 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
11847 to create a non-vector/vector version for _dl_runtime_resolve and
11848 _dl_runtime_profile. Move implementation to ...
11849 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
11850 (_dl_runtime_resolve) Save and restore fpr/vrs.
11851 (_dl_runtime_profile) Save and restore vrs and fix some issues
11852 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
11853 Choose the correct resolver function if running on a machine with vx.
11854
11855 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11856
11857 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
11858
11859 2016-03-31 Florian Weimer <fweimer@redhat.com>
11860
11861 [BZ #19509]
11862 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
11863 skip_map != NULL.
11864 * elf/tst-dlsym-error.c: New file.
11865 * elf/Makefile (tests): Add tst-dlsym-error.
11866 (tst-dlsym-error): Link against libdl.
11867
11868 2016-03-29 Joseph Myers <joseph@codesourcery.com>
11869
11870 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11871 (__ASSUME_FUTIMESAT): Remove macro.
11872 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
11873
11874 2016-03-29 Florian Weimer <fweimer@redhat.com>
11875
11876 [BZ #19879]
11877 CVE-2016-3075
11878 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
11879 copy name.
11880
11881 2016-03-29 Florian Weimer <fweimer@redhat.com>
11882
11883 [BZ #19837]
11884 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
11885 error if parse_line fails.
11886
11887 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
11888
11889 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
11890 (index_cpu_ERMS): Likewise.
11891 (reg_ERMS): Likewise.
11892
11893 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
11894
11895 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
11896 PER_LINUX_FDPIC): Add.
11897
11898 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
11899
11900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11901 memcpy-avx512-no-vzeroupper.
11902 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
11903 to ...
11904 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
11905 (MEMCPY): Don't define.
11906 (MEMCPY_CHK): Likewise.
11907 (MEMPCPY): Likewise.
11908 (MEMPCPY_CHK): Likewise.
11909 (MEMPCPY_CHK): Renamed to ...
11910 (__mempcpy_chk_avx512_no_vzeroupper): This.
11911 (MEMPCPY_CHK): Renamed to ...
11912 (__mempcpy_chk_avx512_no_vzeroupper): This.
11913 (MEMCPY_CHK): Renamed to ...
11914 (__memmove_chk_avx512_no_vzeroupper): This.
11915 (MEMCPY): Renamed to ...
11916 (__memmove_avx512_no_vzeroupper): This.
11917 (__memcpy_avx512_no_vzeroupper): New alias.
11918 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
11919
11920 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
11921
11922 [BZ #18858]
11923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11924 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
11925 and mempcpy-avx512-no-vzeroupper.
11926 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
11927 New.
11928 (MEMPCPY): Likewise.
11929 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
11930 (MEMPCPY_CHK): New.
11931 (MEMPCPY): Likewise.
11932 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
11933 (MEMPCPY): Likewise.
11934 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
11935 (MEMPCPY): Likewise.
11936 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
11937 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
11938 Likewise.
11939 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
11940 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
11941
11942 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
11943 Amit Pawar <Amit.Pawar@amd.com>
11944
11945 [BZ #19583]
11946 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11947 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
11948 processors. Set Fast_Copy_Backward for AMD Excavator
11949 processors.
11950 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
11951 New.
11952 (index_arch_Fast_Unaligned_Copy): Likewise.
11953 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
11954 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
11955
11956 2016-03-25 Florian Weimer <fweimer@redhat.com>
11957
11958 [BZ #19791]
11959 * resolv/res_send.c (close_and_return_error): New function.
11960 (send_dg): Initialize *resplen2 after reopen failure. Call
11961 close_and_return_error for error returns. On error paths without
11962 __res_iclose, initialze *resplen2 explicitly. Update comment for
11963 successful return.
11964
11965 2016-03-25 Florian Weimer <fweimer@redhat.com>
11966
11967 [BZ# 19860]
11968 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
11969 zero if the compiler does not provide the AVX512F bit.
11970
11971 2016-03-24 Joseph Myers <joseph@codesourcery.com>
11972
11973 [BZ #19848]
11974 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
11975 from 8 to 4.
11976 (__ieee754_powl): Compare integer exponent against 4 not 8.
11977 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
11978 from 8 to 4.
11979 (__ieee754_powl): Compare integer exponent against 4 not 8.
11980 * math/auto-libm-test-in: Add more tests of pow.
11981 * math/auto-libm-test-out: Regenerated.
11982 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
11983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11984
11985 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
11986
11987 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
11988 Make code unconditional.
11989 [!__NR_utimensat]: Remove conditional code.
11990 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
11991 Make code unconditional.
11992 [!__NR_utimensat]: Remove conditional code.
11993 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
11994 Make code unconditional.
11995 [!__NR_utimensat]: Remove conditional code.
11996
11997 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
11998
11999 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12000 Make code unconditional.
12001
12002 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
12003
12004 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12005 call-clobbered %eax on retry path.
12006 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12007
12008 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12009
12010 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12011 Don't set %rcx twice before "rep movsb".
12012
12013 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12014
12015 [BZ #19583]
12016 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12017 inline. Check family before setting family, model and
12018 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
12019 bits here.
12020 (init_cpu_features): Replace HAS_CPU_FEATURE and
12021 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12022 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
12023 for Intel processors with usable AVX2. Call get_common_indeces
12024 for other processors with family == NULL.
12025 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12026 (CPU_FEATURES_ARCH_P): Likewise.
12027 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12028 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12029
12030 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12031
12032 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12033 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12034 $(shared-thread-library) instead of hardcoding the path to libpthread.
12035
12036 2016-03-22 Joseph Myers <joseph@codesourcery.com>
12037
12038 * sysdeps/unix/sysv/linux/kernel-features.h
12039 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12040 * sysdeps/unix/sysv/linux/getdents.c
12041 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12042 [!have_no_getdents64_defined]: Likewise.
12043 (__GETDENTS): Remove __have_no_getdents64 conditional.
12044
12045 2016-03-21 Joseph Myers <joseph@codesourcery.com>
12046
12047 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12048 Remove macro.
12049 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12050 <kernel-features.h>.
12051 (signalfd) [__NR_signalfd4]: Make code unconditional.
12052 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12053
12054 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12055
12056 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12057 style.
12058
12059 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
12060
12061 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12062 (__pthread_enable_asynccancel): Use JUMPTARGET to call
12063 __pthread_unwind.
12064 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12065 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12066 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12067 (__condvar_cleanup1): Likewise.
12068
12069 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
12070
12071 [BZ #19822]
12072 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12073 move it to the final $@ location.
12074
12075 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12076
12077 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12078 access where posix_spawn success and pid argument is null.
12079 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12080 success case.
12081
12082 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
12083
12084 * sysdeps/mach/hurd/i386/c++-types.data: New file.
12085
12086 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12087
12088 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12089 and __fcntl.
12090 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12091 __fcntl only.
12092 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12093 adding attribute_hidden to __open and __fcntl.
12094
12095 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12096 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12097 depend on libc-modules.h,
12098 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12099
12100 2016-03-17 Joseph Myers <joseph@codesourcery.com>
12101
12102 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12103 Remove macro.
12104 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12105 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12106 entry.
12107
12108 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12109 Remove macro.
12110 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12111 include <kernel-features.h>.
12112 [!__ASSUME_FALLOCATE]: Remove conditional code.
12113 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12114
12115 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
12116
12117 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12118 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12119 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12120 (_ZGVdN4v_cos_avx2): Likewise.
12121 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12122 (_ZGVdN4v_cos): Likewise.
12123 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12124 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12125 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12126 (_ZGVdN4v_exp_avx2): Likewise.
12127 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12128 (_ZGVdN4v_exp): Likewise.
12129 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12130 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12131 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12132 (_ZGVdN4v_log_avx2): Likewise.
12133 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12134 (_ZGVdN4v_log): Likewise.
12135 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12136 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12137 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12138 (_ZGVdN4vv_pow_avx2): Likewise.
12139 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12140 (_ZGVdN4vv_pow): Likewise.
12141 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12142 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12143 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12144 (_ZGVdN4v_sin_avx2): Likewise.
12145 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12146 (_ZGVdN4v_sin): Likewise.
12147 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12148 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12149 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12150 (_ZGVdN4vvv_sincos_avx2): Likewise.
12151 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12152 (_ZGVdN4vvv_sincos): Likewise.
12153 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12154 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12155 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12156 (_ZGVbN4v_cosf_sse4): Likewise.
12157 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12158 (_ZGVdN8v_cosf_avx2): Likewise.
12159 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12160 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12161 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12162 (_ZGVbN4v_expf_sse4): Likewise.
12163 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12164 (_ZGVdN8v_expf_avx2): Likewise.
12165 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12166 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12167 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12168 (_ZGVbN4v_logf_sse4): Likewise.
12169 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12170 (_ZGVdN8v_logf_avx2): Likewise.
12171 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12172 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12173 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12174 (_ZGVbN4vv_powf_sse4): Likewise.
12175 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12176 (_ZGVdN8vv_powf_avx2): Likewise.
12177 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12178 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12179 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12180 (_ZGVbN4vvv_sincosf_sse4): Likewise.
12181 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12182 (_ZGVdN8vvv_sincosf_avx2): Likewise.
12183 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12184 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12185 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12186 (_ZGVbN4v_sinf_sse4): Likewise.
12187 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12188 (_ZGVdN8v_sinf_avx2): Likewise.
12189 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12190 Use JUMPTARGET to call callee.
12191 (WRAPPER_IMPL_SSE2_ff): Likewise.
12192 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12193 (WRAPPER_IMPL_AVX): Likewise.
12194 (WRAPPER_IMPL_AVX_ff): Likewise.
12195 (WRAPPER_IMPL_AVX_fFF): Likewise.
12196 (WRAPPER_IMPL_AVX512): Likewise.
12197 (WRAPPER_IMPL_AVX512_ff): Likewise.
12198 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12199 Likewise.
12200 (WRAPPER_IMPL_SSE2_ff): Likewise.
12201 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12202 (WRAPPER_IMPL_AVX): Likewise.
12203 (WRAPPER_IMPL_AVX_ff): Likewise.
12204 (WRAPPER_IMPL_AVX_fFF): Likewise.
12205 (WRAPPER_IMPL_AVX512): Likewise.
12206 (WRAPPER_IMPL_AVX512_ff): Likewise.
12207 (WRAPPER_IMPL_AVX512_fFF): Likewise.
12208
12209 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12210
12211 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
12212 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
12213 qualifier.
12214 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
12215 internal_function qualifiers.
12216
12217 2016-03-15 Carlos O'Donell <carlos@redhat.com>
12218
12219 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
12220 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
12221 * math/atest-exp.c (exp_mpn): Mark chk unused.
12222 * math/atest-exp2.c (exp_mpn): Likewise.
12223 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
12224 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
12225
12226 2016-03-15 Joseph Myers <joseph@codesourcery.com>
12227
12228 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
12229 Remove macro.
12230 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
12231 <kernel-features.h>.
12232 [__NR_ppoll]: Make code unconditional.
12233 [!__ASSUME_PPOLL]: Remove conditional code.
12234
12235 * sysdeps/unix/sysv/linux/kernel-features.h
12236 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
12237 (__ASSUME_ACCEPT4): Likewise.
12238 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12239 Define.
12240 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
12241 Likewise.
12242 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12243 Likewise.
12244 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
12245 Likewise.
12246 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
12247 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
12248 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12249 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12250 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12251 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12252 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12253 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12254 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12255 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12256 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12257 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12258 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12259 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12260 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12261 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12262 Likewise.
12263 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12264 Likewise.
12265 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12266 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12267 0x040300].
12268 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12269 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12270 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12271 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12272 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12273 0x030300].
12274 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
12275 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12276 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12277 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12278 0x040300].
12279 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12280 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12281 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12282 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12283 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12284 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12285 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12286 0x030300].
12287 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12288 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12289 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12290 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12291 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12292 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12293 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12294 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12295 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12296 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12297 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12298 0x040300].
12299 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12300 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12301 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12302 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12303 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12304 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12305 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12306 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12307 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12308 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12309 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12310 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12311 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12312 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12313 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
12314 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12315 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12316 Likewise.
12317 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12318 Likewise.
12319
12320 2016-03-15 Andreas Schwab <schwab@suse.de>
12321
12322 [BZ #19257]
12323 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
12324 statp->_u._ext.nscount as loop count.
12325
12326 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
12327
12328 * math/test-signgam-finite-c99.c: Also #undef
12329 __LIBC_INTERNAL_MATH_INLINES.
12330 * math/test-signgam-main.c: Likewise.
12331
12332 2016-03-14 Joseph Myers <joseph@codesourcery.com>
12333
12334 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
12335 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12336 (MADV_FREE): Likewise.
12337 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
12338 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
12339 EPOLLEXCLUSIVE.
12340
12341 2016-03-14 Carlos O'Donell <carlos@redhat.com>
12342
12343 * timezone/README: Remove mention of checktab.awk. Mention wiki
12344 SharedSourceFiles.
12345
12346 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
12347
12348 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
12349 WUNTRACED.
12350
12351 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12352
12353 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
12354 order to match the type of p when calling atomic_exchange_acq().
12355
12356 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12357
12358 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
12359 cfi_offset calls.
12360 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
12361 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
12362 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
12363 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
12364 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
12365
12366 2016-03-10 Carlos O'Donell <carlos@redhat.com>
12367
12368 * timezone/checktab.awk: Removed.
12369
12370 2016-03-10 Joseph Myers <joseph@codesourcery.com>
12371
12372 * manual/math.texi (Errors in Math Functions): Document relaxed
12373 accuracy goals for IBM long double.
12374 * math/libm-test.inc (test_exceptions): Always allow spurious
12375 "underflow" and "inexact" exceptions for IBM long double.
12376
12377 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
12378
12379 [BZ #19762]
12380 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12381 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
12382 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
12383 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
12384 (bit_arch_*): This for feature array.
12385 (bit_*): Renamed to ...
12386 (bit_cpu_*): This for cpu array.
12387 (index_*): Renamed to ...
12388 (index_arch_*): This for feature array.
12389 (index_*): Renamed to ...
12390 (index_cpu_*): This for cpu array.
12391 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
12392 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
12393 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
12394 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
12395 bit_##name with index_cpu_##name and bit_cpu_##name.
12396 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
12397 bit_##name with index_arch_##name and bit_arch_##name.
12398
12399 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
12400
12401 [BZ #19792]
12402 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
12403 Terminate FDE before return label.
12404
12405 2016-03-09 Joseph Myers <joseph@codesourcery.com>
12406
12407 [BZ #19790]
12408 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
12409 (rintl): Define as macro.
12410 [USE_AS_NEARBYINTL] (__rintl): Likewise.
12411 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
12412 of fesetround. Ensure results are evaluated before end of scope.
12413 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
12414 USE_AS_NEARBYINTL and include s_rintl.c.
12415 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
12416 Disable exception traps in new environment.
12417 (libc_feholdsetround_ppc_ctx): Likewise.
12418
12419 2016-03-08 Roland McGrath <roland@hack.frob.com>
12420
12421 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
12422 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
12423 (tst_audit10_aux) [__AVX512F__]: ... here.
12424
12425 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
12426
12427 * include/sys/auxv.h: New file.
12428
12429 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
12430
12431 [BZ #19759]
12432 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
12433
12434 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12435
12436 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
12437 operand modifier.
12438 (feclearexcept): Likewise.
12439
12440 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12441
12442 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
12443 to reflect the entire 32-bit HWCAP.
12444 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
12445 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
12446
12447 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
12448
12449 [BZ #19783]
12450 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
12451 $(test-via-rtld-prefix).
12452 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
12453
12454 2016-03-08 Florian Weimer <fweimer@redhat.com>
12455
12456 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
12457 union wait. Report any non-zero exit status as error.
12458
12459 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12460
12461 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
12462 configured with --enable-hardcoded-path-in-tests.
12463
12464 2016-03-08 Joseph Myers <joseph@codesourcery.com>
12465
12466 [BZ #19677]
12467 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12468 (__ieee754_remainderl): Put zero low parts in canonical form.
12469 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
12470 file. Based on
12471 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
12472 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
12473 with wrapper round test-fmodrem-ldbl-128ibm.c.
12474 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
12475 file.
12476 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
12477 Likewise.
12478 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12479 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
12480
12481 2016-03-07 Florian Weimer <fweimer@redhat.com>
12482
12483 [BZ #19610]
12484 * elf/ldconfig.c (opt_link): Update comment.
12485 (options): Update help string for option -X.
12486 (search_dir): Unlink stale symbolic link only if updating symbolic
12487 links.
12488 * elf/tst-ldconfig-X.sh: New file.
12489 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
12490 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
12491
12492 2016-03-07 Andreas Schwab <schwab@suse.de>
12493
12494 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
12495 needed arguments.
12496
12497 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
12498
12499 [BZ #15333]
12500 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
12501 to lstat64.
12502
12503 2016-03-07 Florian Weimer <fweimer@redhat.com>
12504
12505 * libio/filedoalloc.c (isatty): Remove.
12506 (local_isatty): Add comment. Call __isatty directly.
12507 (_IO_file_doallocate): Update comment. Assume _LIBC.
12508 * libio/wfiledoalloc.c (isatty): Remove.
12509 (_IO_wfile_doallocate): Update comment.
12510
12511 2016-03-07 Florian Weimer <fweimer@redhat.com>
12512
12513 [BZ #19269]
12514 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
12515 tst-audit4-aux.o.
12516 (tst-audit10): Depend on tst-audit10-aux.o.
12517 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
12518 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
12519 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
12520 instead of inline AVX code.
12521 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
12522 instead of inline AVX512 code.
12523 * sysdeps/x86_64/tst-audit4-aux.c: New file
12524 * sysdeps/x86_64/tst-audit10-aux.c: New file
12525
12526 [BZ #19648]
12527 * test-skeleton.c (main): Do not set RLIMIT_DATA.
12528
12529 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12530
12531 [BZ #14750]
12532 [BZ #10354]
12533 [BZ #18433]
12534 * include/sched.h (__clone): Add hidden prototype.
12535 (__clone2): Likewise.
12536 * include/unistd.h (__dup): Likewise.
12537 * posix/Makefile (tests): Add tst-spawn2.
12538 * posix/tst-spawn2.c: New file.
12539 * sysdeps/posix/dup.c (__dup): Add hidden definition.
12540 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
12541 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12542 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12543 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12544 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12545 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
12546 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12547 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
12548 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12549 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12551 Likewise.
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12553 Likewise.
12554 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12555 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12556 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12557 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12558 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12559 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12560 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12561 * sysdeps/unix/sysv/linux/nptl-signals.h
12562 (____nptl_is_internal_signal): New function.
12563 * sysdeps/unix/sysv/linux/spawni.c: New file.
12564
12565 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
12566 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
12567 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
12568 * posix/tst-execvp2.c (do_test): Likewise.
12569 * posix/tst-execvp3.c (do_test): Likewise.
12570 * posix/tst-execvp4.c (do_test): Likewise.
12571 * posix/tst-execvpe1.c: New file.
12572 * posix/tst-execvpe2.c: Likewise.
12573 * posix/tst-execvpe3.c: Likewise.
12574 * posix/tst-execvpe4.c: Likewise.
12575 * posix/tst-execvpe5.c: Likewise.
12576 * posix/tst-execvpe6.c: Likewise.
12577
12578 [BZ #19534]
12579 * posix/execl.c (execl): Remove dynamic memory allocation.
12580 * posix/execle.c (execle): Likewise.
12581 * posix/execlp.c (execlp): Likewise.
12582
12583 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
12584
12585 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
12586 Replace .text with .text.avx512.
12587 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12588 Likewise.
12589
12590 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
12591
12592 * sysdeps/generic/libnsl.abilist: New file.
12593 * sysdeps/generic/libutil.abilist: New file.
12594
12595 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
12596
12597 [BZ #19762]
12598 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
12599 HAS_ARCH_FEATURE with Fast_Rep_String.
12600 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
12601 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
12602 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
12603 Likewise.
12604 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
12605 Likewise.
12606 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
12607 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
12608 Likewise.
12609 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
12610 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
12611 Likewise.
12612
12613 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12614
12615 [BZ #19745]
12616 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12617 with *%rax in call.
12618
12619 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12620
12621 [BZ #19745]
12622 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
12623 with *__libc_start_main@GOTPCREL(%rip) in call.
12624
12625 2016-03-04 Roland McGrath <roland@hack.frob.com>
12626
12627 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
12628 inside conditional for nonempty $(CXX).
12629
12630 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
12631 nonempty.
12632
12633 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
12634 to test for empty $(CXX) rather than $(CXX) of "no".
12635
12636 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12637
12638 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
12639
12640 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
12641 H.J. Lu <hongjiu.lu@intel.com>
12642
12643 [BZ #18880]
12644 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
12645 instead of Slow_BSF, and also check for Fast_Copy_Backward to
12646 enable __memcpy_ssse3_back.
12647
12648 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
12649
12650 [BZ #19758]
12651 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12652 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
12653
12654 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12655
12656 [BZ #19490]
12657 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
12658 (__fentry__): Likewise.
12659
12660 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
12661
12662 * gmon/Makefile (noprof): Add $(sysdep_noprof).
12663 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
12664
12665 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
12666
12667 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
12668 __mcount_internal directly.
12669 (C_LABEL(__fentry__)): Likewise.
12670 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
12671 directly.
12672
12673 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
12674
12675 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12676 (__start_context): Call __setcontext directly.
12677
12678 2016-02-26 Joseph Myers <joseph@codesourcery.com>
12679
12680 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12681 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12682 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
12683 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12684 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12685 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12686 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
12687 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12688 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12689 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
12690 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12691 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12692 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12693 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12694 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12695 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12696 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
12697 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12698 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12699 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12700 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
12701 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12702 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12703 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12704 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
12705 Remove conditional code.
12706 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12707 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
12708 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12709 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12710 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
12711 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12712 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12713 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12714 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12715 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12716 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12717 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12718
12719 2016-02-24 Marko Myllynen <myllynen@redhat.com>
12720
12721 * NEWS (2.23): Fix typo in bug 19048 text.
12722
12723 2016-02-24 Carlos O'Donell <carlos@redhat.com>
12724
12725 [BZ #14259]
12726 * Makeconfig: Rename msgcatdir to localedir.
12727 Rename inst_msgcatdir to inst_localedir.
12728 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
12729 * config.make.in: Add localedir.
12730 * elf/Makefile ($(objpfx)sotruss): Use localedir.
12731 (ldd-rewrite): Likewise.
12732 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
12733 (install-others): Use inst_localedir.
12734 (CPPFLAGS): Use localedir.
12735 * locale/Makefile (locale-CPPFLAGS): Likewise.
12736 * po/Makefile (mo-installed): Use inst_localedir.
12737
12738 [BZ #19575]
12739 * localedata/charmaps/GB18030: Update comments regarding PAU to
12740 non-PUA mappings.
12741
12742 2016-02-24 Joseph Myers <joseph@codesourcery.com>
12743
12744 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
12745 test for header.
12746 * sysdeps/unix/sysv/linux/configure: Regenerated.
12747 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
12748 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
12749 Remove conditional code.
12750 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
12751
12752 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12753 Define to 3.2.0.
12754 (arch_minimum_kernel): Likewise.
12755 * sysdeps/unix/sysv/linux/configure: Regenerated.
12756 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
12757 Define to 2.6.32.
12758 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
12759 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
12760 (arch_minimum_kernel): Define to 2.6.32.
12761 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
12762 * README: Document Linux 3.2 requirement.
12763 * manual/install.texi (Linux): Document Linux 3.2 headers
12764 requirement.
12765 * INSTALL: Regenerated.
12766
12767 2016-02-24 Andreas Schwab <schwab@suse.de>
12768
12769 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
12770 if !NO_LONG_DOUBLE.
12771
12772 2016-02-22 Roland McGrath <roland@hack.frob.com>
12773
12774 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
12775 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
12776
12777 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
12778
12779 [BZ #19512]
12780 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
12781
12782 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
12783
12784 * posix/tst-dir.c: Include libc-internal.h.
12785
12786 2016-02-20 Florian Weimer <fweimer@redhat.com>
12787
12788 [BZ #19056]
12789 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
12790 * manual/filesys.texi (Reading/Closing Directory): Mention
12791 deprecaion.
12792 * posix/tst-dir.c (main): Disable deprecation warning in test.
12793
12794 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
12795
12796 [BZ #19679]
12797 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
12798 Renamed to ...
12799 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
12800 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12801 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
12802 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12803 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12804 * sysdeps/x86_64/dl-trampoline.h
12805 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12806 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12807
12808 2016-02-19 Mark Wielaard <mjw@redhat.com>
12809
12810 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
12811
12812 2016-02-19 Mark Wielaard <mjw@redhat.com>
12813
12814 * elf/elf.h (R_386_GOT32X): New.
12815 (R_386_NUM): Update.
12816 (R_X86_64_GOTPCRELX: New.
12817 (R_X86_64_REX_GOTPCRELX): New.
12818 (R_X86_64_NUM): Update.
12819
12820 2016-02-19 Mike Frysinger <vapier@gentoo.org>
12821
12822 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
12823
12824 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
12825
12826 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
12827 assign attr->stackaddr to it, and adjust it down when
12828 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
12829 [_STACK_GROWS_UP]: Delete assert.
12830 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
12831 Implement stack grows up logic.
12832 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
12833 stack grows up logic.
12834
12835 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12836
12837 * NEWS: Update with 2.24 template.
12838
12839 2016-02-19 Joseph Myers <joseph@codesourcery.com>
12840
12841 [BZ #19678]
12842 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12843 Ensure +0.0 is returned when taking the next value below the least
12844 positive value.
12845
12846 2016-02-19 Florian Weimer <fweimer@redhat.com>
12847
12848 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
12849 available. Do not define NO_THREADS.
12850 * malloc/malloc.c: Do not check NO_THREADS.
12851 * malloc/arena.c: Likewise.
12852
12853 2016-02-19 Florian Weimer <fweimer@redhat.com>
12854
12855 * malloc/malloc.c (__libc_mallinfo): Update comment.
12856 (struct malloc_par): Remove max_total_mem member, it was always 0.
12857 (int_mallinfo): Store 0 into usmblks (no functional change).
12858 * malloc/hooks.c (struct malloc_state): Document that
12859 max_total_mem is always 0.
12860 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
12861 always 0.
12862 * manual/memory.texi (Statistics of Malloc): Likewise.
12863
12864 2016-02-19 Florian Weimer <fweimer@redhat.com>
12865
12866 * malloc/malloc.c (sysmalloc): Do not update arena_max.
12867 * malloc/arena.c (arena_max): Remove.
12868 (heap_trim, _int_new_arena): Do not update arena_max.
12869
12870 2016-02-19 Florian Weimer <fweimer@redhat.com>
12871
12872 * resolv/res_init.c (res_ninit): Update comment.
12873
12874 2016-02-19 Florian Weimer <fweimer@redhat.com>
12875
12876 [BZ #19505]
12877 * posix/spawn_int.h: Add headers and include guard.
12878 (__spawn_valid_fd): New function.
12879 * posix/spawn_faction_addopen.c
12880 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
12881 * posix/spawn_faction_addclose.c
12882 (posix_spawn_file_actions_addclose): Likewise.
12883 * posix/spawn_faction_adddup2.c
12884 (posix_spawn_file_actions_adddup2): Likewise. Add check for
12885 second file descriptor.
12886 * posix/spawn_valid_fd.c: New file.
12887 * posix/tst-posix_spawn-fd.c: New file.
12888 * posix/Makefile (routines): Add spawn_valid_fd.
12889 (tests): Add tst-posix_spawn-fd.
12890
12891 2016-02-19 Florian Weimer <fweimer@redhat.com>
12892
12893 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
12894 (do_test): Limit the number of arenas, so that we can use fewer
12895 outer threads. Limit timeout to 3 seconds, in preparation for a
12896 larger TIMEOUT value.
12897
12898 2016-02-19 Joseph Myers <joseph@codesourcery.com>
12899
12900 [BZ #19674]
12901 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
12902 sign in overflowing and underflowing results when overflow or
12903 underflow is detected early. Include sign in result before rather
12904 than after scaling.
12905
12906 [BZ #19603]
12907 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12908 (__ieee754_remainderl): Adjust sign of integer version of low part
12909 when taking absolute value of high part.
12910 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12911 * math/libm-test.inc (remainder_test_data): Add another test.
12912 (remquo_test_data): Likewise.
12913
12914 2016-02-18 Joseph Myers <joseph@codesourcery.com>
12915
12916 [BZ #19602]
12917 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
12918 equal high parts and both low parts zero specially.
12919 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
12920 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12921 Add test-fmodl-ldbl-128ibm.
12922
12923 [BZ #19595]
12924 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
12925 common logic for all cases of shifting subnormal results. Do not
12926 insert sign bit in shifted mantissa. Always pass -1023 as biased
12927 exponent to ldbl_insert_mantissa in subnormal case.
12928
12929 [BZ #19594]
12930 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
12931 on high and low parts then adjust result and use
12932 ldbl_canonicalize_int if needed.
12933
12934 [BZ #19593]
12935 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
12936 on high part and __floor or __ceil on low part then use
12937 ldbl_canonicalize_int if needed.
12938
12939 [BZ #19592]
12940 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
12941 high and low parts then use ldbl_canonicalize_int if needed.
12942
12943 [BZ #17899]
12944 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
12945 New function.
12946 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
12947 on high and low parts then use ldbl_canonicalize_int if needed.
12948
12949 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12950
12951 * configure: Regenerated.
12952
12953 * po/libc.pot: Regenerated.
12954
12955 * po/be.po: Updated translation.
12956 * po/bg.po: Likewise.
12957 * po/ca.po: Likewise.
12958 * po/cs.po: Likewise.
12959 * po/da.po: Likewise.
12960 * po/el.po: Likewise.
12961 * po/eo.po: Likewise.
12962 * po/es.po: Likewise.
12963 * po/fi.po: Likewise.
12964 * po/fr.po: Likewise.
12965 * po/gl.po: Likewise.
12966 * po/hr.po: Likewise.
12967 * po/hu.po: Likewise.
12968 * po/ia.po: Likewise.
12969 * po/id.po: Likewise.
12970 * po/it.po: Likewise.
12971 * po/ja.po: Likewise.
12972 * po/lt.po: Likewise.
12973 * po/nb.po: Likewise.
12974 * po/nl.po: Likewise.
12975 * po/pt_BR.po: Likewise.
12976 * po/rw.po: Likewise.
12977 * po/sk.po: Likewise.
12978 * po/sl.po: Likewise.
12979 * po/sv.po: Likewise.
12980 * po/tr.po: Likewise.
12981 * po/zh_CN.po: Likewise.
12982 * po/zh_TW.po: Likewise.
12983
12984 * version.h (RELEAES): Set to "development".
12985 (VERSION): Set to 2.23.90.
12986
12987 * version.h (RELEASE): Set to "stable".
12988 (VERSION): Set to 2.23.
12989 * include/feature.h (__GLIBC_MINOR__): Set to 23.
12990
12991 * NEWS: Updated fixed bugs.
12992
12993 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
12994 Wilco Dijkstra <wdijkstr@arm.com>
12995
12996 [BZ #19462]
12997 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
12998 (_STRING_INLINE_unaligned): This.
12999 * include/string.h: Include <string_private.h>.
13000 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13001 _STRING_INLINE_unaligned.
13002 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13003 (_STRING_INLINE_unaligned): New.
13004 * sysdeps/aarch64/string_private.h: New file.
13005 * sysdeps/generic/string_private.h: Likewise.
13006 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13007 * sysdeps/s390/string_private.h: Likewise.
13008 * sysdeps/x86/string_private.h: Likewise.
13009 * sysdeps/m68k/m680x0/m68020/bits/string.h
13010 (_STRING_ARCH_unaligned): Renamed to ...
13011 (_STRING_INLINE_unaligned): This.
13012 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13013 to ...
13014 (_STRING_INLINE_unaligned): This.
13015 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13016 to ...
13017 (_STRING_INLINE_unaligned): This.
13018 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13019 to ...
13020 (_STRING_INLINE_unaligned): This.
13021
13022 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
13023 H.J. Lu <hongjiu.lu@intel.com>
13024
13025 [BZ #19590]
13026 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13027 relocation.
13028
13029 2016-02-15 Carlos O'Donell <carlos@redhat.com>
13030
13031 [BZ #18665]
13032 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13033 *herrno_p.
13034 (gaih_getanswer): Document functional behviour. Return tryagain
13035 if any result is tryagain.
13036 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13037 when freed.
13038 * resolv/res_send.c: Add copyright text.
13039 (__libc_res_nsend): Document that MAXPACKET is expected.
13040 (send_vc): Document. Remove buffer reuse.
13041 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13042 size of the buffer. Add Dprint for truncated UDP buffer.
13043
13044 2016-02-14 Carlos O'Donell <carlos@redhat.com>
13045
13046 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13047 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13048 * INSTALL: Regenerate.
13049
13050 2016-02-14 Jakub Jelinek <jakub@redhat.com>
13051 Jonathan Wakely <jwakely@redhat.com>
13052 Carlos O'Donell <carlos@redhat.com>
13053
13054 [BZ 19439]
13055 * math/Makefile (tests): Add test-math-isinff.
13056 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13057 * math/bits/mathcalls.h [__USE_MISC]: Use
13058 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13059 functions not in C++11 and which don't conflict e.g. isinff,
13060 isinfl etc.
13061 * math/test-math-isinff.cc: New file.
13062
13063 2016-02-12 Florian Weimer <fweimer@redhat.com>
13064
13065 * misc/bug18240.c (do_test): Set RLIMIT_AS.
13066
13067 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
13068
13069 [BZ #19529]
13070 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13071
13072 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13073
13074 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13075
13076 2016-02-01 Joseph Myers <joseph@codesourcery.com>
13077
13078 [BZ #19550]
13079 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13080 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13081 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13082 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13083 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13084 New syscall entry.
13085 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13086 New syscall entry.
13087 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13088 syscall entry.
13089
13090 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
13091
13092 [BZ #18240]
13093 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13094 unsigned int wraparound.
13095
13096 2016-01-27 Florian Weimer <fweimer@redhat.com>
13097
13098 [BZ #18240]
13099 * misc/bug18240.c: New test.
13100 * misc/Makefile (tests): Add it.
13101
13102 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
13103 Joseph Myers <joseph@codesourcery.com>
13104
13105 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13106 load in branch delay slot when less than a word of input left.
13107
13108 2016-01-27 Andreas Schwab <schwab@suse.de>
13109
13110 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13111 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13112 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13113 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13114
13115 2016-01-26 David S. Miller <davem@davemloft.net>
13116
13117 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13118
13119 2016-01-25 David S. Miller <davem@davemloft.net>
13120
13121 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13122 __sqrtl_finite.
13123 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13124 instead using versioned_symbol.
13125 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13126 of entries.
13127
13128 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13129 __sqrtl_finite to GLIBC_2.23
13130
13131 2016-01-25 Ricchard Henderson <rth@redhat.com>
13132
13133 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13134
13135 2016-01-25 Andreas Schwab <schwab@suse.de>
13136
13137 [BZ #17514]
13138 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13139 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13140 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13141 * nptl/tst-mutex-errorcheck.c: New file.
13142
13143 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13144
13145 [BZ #18560]
13146 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13147 (IPCOP_semop): Likewise.
13148 (IPCOP_semget): Likewise.
13149 (IPCOP_semctl): Likewise.
13150 (IPCOP_msgsnd): Likewise.
13151 (IPCOP_msgrcv): Likewise.
13152 (IPCOP_msgget): Likewise.
13153 (IPCOP_msgctl): Likewise.
13154 (IPCOP_shmat): Likewise.
13155 (IPCOP_shmdt): Likewise.
13156 (IPCOP_shmget): Likewise.
13157 (IPCOP_shmctl): Likewise.
13158
13159 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13160
13161 * string/tst-endian.c: Include <libc-internal.h>.
13162 (do_test): Ignore tautological-compare warnings around
13163 "htobeXX (beXXtoh (i)) != i" and
13164 "htoleXX (leXXtoh (i)) != i" if-statements.
13165
13166 2016-01-24 David S. Miller <davem@davemloft.net>
13167
13168 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13169 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13170 alias.
13171 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13172 __sqrtl_finite.
13173
13174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13175
13176 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
13177
13178 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13179 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13180 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13181
13182 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13183
13184 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13185 (thread_func): Use new function to simplify barrier check.
13186 (do_test): Use new function to simplify checking barrier exit
13187 code, and actually join the child thread.
13188
13189 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13190
13191 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
13192 semicolon.
13193 (__libc_tend): Likewise.
13194 (__libc_tabort): Likewise.
13195
13196 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
13197
13198 * sysdeps/nios2/libm-test-ulps: Update.
13199 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
13200 (__gtsf2): Likewise.
13201 (__unorddf2): Likewise.
13202 (__unordsf2): Likewise.
13203 (__ledf2): Likewise.
13204
13205 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
13206
13207 * nis/nis_table.c (__follow_path): Disable diagnostic for
13208 uninitialized variable that is a false positive for gcc 4.7.
13209 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
13210
13211 2016-01-20 Roland McGrath <roland@hack.frob.com>
13212
13213 * sysdeps/nacl/lowlevellock-futex.h
13214 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
13215 Always evaluate PRIVATE argument.
13216
13217 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
13218
13219 [BZ #19490]
13220 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
13221 (pthread_cond_broadcast): Use ENTRY/END
13222 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
13223 (pthread_cond_signal): Likewise.
13224 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
13225 Likewise.
13226 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
13227 Likewise.
13228 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
13229 Likewise.
13230
13231 2016-01-20 Joseph Myers <joseph@codesourcery.com>
13232
13233 * sysdeps/ieee754/dbl-64/s_finite.c
13234 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
13235 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
13236 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
13237 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
13238 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
13239
13240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13241 (__gtsf2): Add as optional for libc.so.
13242 (__unordsf2): Likewise.
13243 (__signbit): Remove for libc.so.
13244 (__signbitl): Likewise.
13245
13246 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13247
13248 * iconvdata/bug-iconv11.c (test_ibm93x):
13249 Use %zu printf format specifier for size_t argument.
13250
13251 2016-01-19 Joseph Myers <joseph@codesourcery.com>
13252
13253 * math/gen-libm-test.pl (parse_ulps): Do not reduce
13254 already-recorded ulps.
13255 * sysdeps/arm/libm-test-ulps: Regenerated.
13256 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13257 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13258 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13259
13260 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
13261 Paul Pluzhnikov <ppluzhnikov@google.com>
13262
13263 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
13264 assembler not supporting AVX-512.
13265
13266 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
13267
13268 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13269
13270 2016-01-18 Joseph Myers <joseph@codesourcery.com>
13271
13272 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13273 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13274
13275 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13276
13277 * sysdeps/arm/libm-test-ulps: Regenerated.
13278
13279 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13280
13281 [BZ #19451]
13282 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
13283
13284 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13285
13286 [BZ #19486]
13287 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
13288 * sysdeps/generic/fix-fp-int-convert-overflow.h
13289 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
13290 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
13291 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
13292 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
13293 Likewise.
13294 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
13295 Avoid conversions to long int where inexact exceptions
13296 could be raised.
13297 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
13298 Likewise.
13299 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
13300 Avoid conversions to long long int where inexact exceptions
13301 could be raised.
13302 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
13303 Likewise.
13304
13305 2016-01-17 Mike Frysinger <vapier@gentoo.org>
13306
13307 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
13308 * configure: Regenerated.
13309
13310 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
13311
13312 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
13313
13314 2016-01-16 Mike Frysinger <vapier@gentoo.org>
13315
13316 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
13317 outside of comment.
13318
13319 2016-01-15 Torvald Riegel <triegel@redhat.com>
13320
13321 * nptl/tst-barrier1.c: Add description on first line.
13322 * nptl/tst-barrier2.c: Likewise.
13323 * nptl/tst-barrier3.c: Likewise.
13324 * nptl/tst-barrier4.c: Likewise.
13325 * nptl/tst-barrier5.c: Likewise.
13326
13327 2016-01-15 Torvald Riegel <triegel@redhat.com>
13328
13329 [BZ #18868]
13330 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
13331
13332 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
13333
13334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
13335 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13336 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
13337 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
13338 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
13339 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
13340 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13341 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13342 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13343 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13344 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13345
13346 2016-01-15 Torvald Riegel <triegel@redhat.com>
13347
13348 [BZ #13065]
13349 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
13350 new implementation.
13351 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
13352 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
13353 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
13354 (BARRIER_IN_THRESHOLD): New macro.
13355 * nptl/pthread_barrierattr_setpshared.c
13356 (pthread_barrierattr_setpshared): Clean up.
13357 * nptl/tst-barrier4.c: Correct comment.
13358 * nptl/tst-barrier5.c: New file.
13359 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
13360 (gen-as-const-headers): Remove lowlevelbarrier.sym.
13361 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
13362 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
13363 * nptl/lowlevelbarrier.sym: Remove.
13364 * nptl/DESIGN-barrier.txt: Remove.
13365 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
13366 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
13367 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
13368 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
13369 error.
13370 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
13371 implementation.
13372
13373 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13374
13375 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
13376 (do_child): Mask SIGRTMIN while thr is running.
13377
13378 2016-01-15 Martin Sebor <msebor@redhat.com>
13379
13380 [BZ #19432]
13381 * iconvdata/Makefile: Add bug-iconv11.
13382 * iconvdata/bug-iconv11.c: New test.
13383 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
13384 * iconvdata/ibm933.c: Same.
13385 * iconvdata/ibm935.c: Same.
13386 * iconvdata/ibm937.c: Same.
13387 * iconvdata/ibm939.c: Same.
13388
13389 2016-01-15 Martin Sebor <msebor@redhat.com>
13390
13391 [BZ #19443]
13392 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
13393 [DEBUG] (_ufc_set_bits): Declare used.
13394 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
13395 [DEBUG] (print_all): Declare used.
13396 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
13397 operands of the ternary ?: expression to target type.
13398 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
13399 calling the undeclared abort.
13400 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
13401
13402 2016-01-15 Martin Sebor <msebor@redhat.com>
13403
13404 [BZ #18755]
13405 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
13406 warnings.
13407 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
13408 (__gai_create_helper_thread): Same.
13409 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
13410 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
13411 to suppress -Wmaybe-uninitialized warnings.
13412
13413 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
13414
13415 [BZ #19465]
13416 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
13417 inside if.
13418 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13419 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13420 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13421
13422 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
13423
13424 [BZ #19466]
13425 * time/tst-mktime2.c (time_t_max): Removed.
13426 (time_t_min): Likewise.
13427 (TYPE_SIGNED): New.
13428 (TYPE_MINIMUM): Likewise.
13429 (TYPE_MAXIMUM): Likewise.
13430 (TIME_T_MIN): Likewise.
13431 (TIME_T_MAX): Likewise.
13432 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
13433 and TIME_T_MIN.
13434 (do_test): Likewise.
13435
13436 2016-01-14 Amit Pawar <amit.pawar@amd.com>
13437
13438 [BZ #19467]
13439 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13440 index_Fast_Unaligned_Load flag for Excavator family CPUs.
13441
13442 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
13443
13444 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
13445
13446 2016-01-13 Carlos O'Donell <carlos@redhat.com>
13447
13448 * benchtests/Makefile (PYTHON): Define.
13449 (bench-func): Use $(PYTHON) to run python scripts.
13450 ($(objpfx)bench-%.c): Likewise.
13451
13452 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
13453
13454 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
13455 leading slash when `file_name' is "/".
13456
13457 2016-01-12 Joseph Myers <joseph@codesourcery.com>
13458
13459 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
13460 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
13461 Likewise.
13462 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
13463 Likewise.
13464 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
13465 Likewise.
13466 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
13467 enum constant and macro.
13468 (PTRACE_SETSIGMASK): Likewise.
13469 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13470 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13471 (PTRACE_GETSIGMASK): Likewise.
13472 (PTRACE_SETSIGMASK): Likewise.
13473 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13474 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
13475 Likewise.
13476 (PTRACE_SETSIGMASK): Likewise.
13477 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13478 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13479 (PTRACE_GETSIGMASK): Likewise.
13480 (PTRACE_SETSIGMASK): Likewise.
13481 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13482 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
13483 Likewise.
13484 (PTRACE_SETSIGMASK): Likewise.
13485 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13486 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
13487 Likewise.
13488 (PTRACE_SETSIGMASK): Likewise.
13489 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13490 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
13491 Likewise.
13492 (PTRACE_SETSIGMASK): Likewise.
13493 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13494
13495 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
13496 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13497
13498 [BZ #19439]
13499 * math/bits/mathcalls.h
13500 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
13501 prototype.
13502 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
13503
13504 2016-01-11 Andreas Schwab <schwab@suse.de>
13505
13506 [BZ #19253]
13507 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
13508 cache when TZDEFRULES was used.
13509 * time/tst-tzname.c: New file.
13510 * time/Makefile (test): Add tst-tzname.
13511 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
13512 * timezone/Makefile (test-zones): Add $(posixrules-file).
13513 ($(testdata)/$(posixrules-file)): New rule.
13514
13515 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
13516
13517 Fix doc quoting problems with Texinfo 5
13518 Without this change, in the info file output, Texinfo 5 quotes code
13519 in text with undirected single quotes 'like this' and generates
13520 code examples that with many PDF readers cannot be cut out of PDFs
13521 and pasted into code.
13522 * manual/libc.texinfo: Configure the libc manual like the GNU
13523 Emacs manual, by using @documentencoding and setting
13524 txicodequoteundirected and txicodequotebacktick. This way,
13525 Texinfo 5 quotes code in text with directed single quotes ‘like
13526 this’ and produces examples that can be cut out of PDFs. This
13527 change causes Texinfo 5 to generate info files that contain UTF-8
13528 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
13529 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
13530
13531 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13532
13533 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
13534 __libc_tabort, __libc_tend): New wrappers that enforce compiler
13535 barriers to their respective compiler built-ins.
13536 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
13537 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
13538 * sysdeps/powerpc/sysdep.h: Likewise.
13539 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
13540 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
13541 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
13542
13543 2016-01-08 Marko Myllynen <myllynen@redhat.com>
13544
13545 * scripts/config.guess: Revert previous shebang change.
13546 * scripts/config.sub: Likewise.
13547 * scripts/mkinstalldirs: Likewise.
13548
13549 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13550
13551 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
13552 PPC_FEATURE2_HAS_IEEE128.
13553 * sysdeps/powerpc/dl-procinfo.c:
13554 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
13555
13556 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
13557
13558 [BZ #19415]
13559 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
13560 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
13561 (_dl_lookup_address): Rewrite using function resolver trampoline.
13562 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
13563 two bits in address.
13564
13565 2016-01-07 Mike Frysinger <vapier@gentoo.org>
13566
13567 * longlong.h: Change !__SHMEDIA__ to
13568 (!defined (__SHMEDIA__) || !__SHMEDIA__).
13569 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
13570
13571 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
13572 Joseph Myers <joseph@codesourcery.com>
13573 Mark Shinwell <shinwell@codesourcery.com>
13574 Andrew Stubbs <ams@codesourcery.com>
13575 Rich Felker <dalias@libc.org>
13576
13577 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
13578
13579 2016-01-07 Richard Henderson <rth@redhat.com>
13580
13581 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
13582
13583 2016-01-07 Mike Frysinger <vapier@gentoo.org>
13584
13585 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
13586 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
13587 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13588 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13589 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
13590
13591 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
13592 Joseph Myers <joseph@codesourcery.com>
13593
13594 * timezone/private.h: Update from tzcode 2015g.
13595 * timezone/tzfile.h: Likewise.
13596 * timezone/tzselect.ksh: Likewise.
13597 * timezone/zdump.c: Likewise.
13598 * timezone/zic.c: Likewise.
13599 * timezone/ialloc.c: Remove file.
13600 * timezone/scheck.c: Likewise.
13601 * timezone/Makefile (extra-objs): Remove variable.
13602 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
13603 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
13604 -Wno-maybe-uninitialized.
13605 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
13606 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
13607 (CFLAGS-ialloc.c): Remove variable.
13608 (CFLAGS-scheck.c): Likewise.
13609 * timezone/README: Update list of files from tzcode.
13610
13611 2016-01-07 Khem Raj <raj.khem@gmail.com>
13612
13613 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
13614 instead of __fxprintf when _LIBC is undefined.
13615
13616 2016-01-07 Marko Myllynen <myllynen@redhat.com>
13617
13618 * catgets/test-gencat.sh: Remove space after shebang.
13619 * conform/GlibcConform.pm: Likewise.
13620 * conform/check-header-lists.sh: Likewise.
13621 * conform/conformtest.pl: Likewise.
13622 * conform/linknamespace.pl: Likewise.
13623 * conform/list-header-symbols.pl: Likewise.
13624 * debug/catchsegv.sh: Likewise.
13625 * elf/genrtldtbl.awk: Likewise.
13626 * elf/tst-pathopt.sh: Likewise.
13627 * elf/tst-rtld-load-self.sh: Likewise.
13628 * grp/tst_fgetgrent.sh: Likewise.
13629 * iconvdata/gen-8bit-gap-1.sh: Likewise.
13630 * iconvdata/gen-8bit-gap.sh: Likewise.
13631 * iconvdata/gen-8bit.sh: Likewise.
13632 * iconvdata/run-iconv-test.sh: Likewise.
13633 * intl/tst-gettext.sh: Likewise.
13634 * intl/tst-gettext2.sh: Likewise.
13635 * intl/tst-gettext4.sh: Likewise.
13636 * intl/tst-gettext6.sh: Likewise.
13637 * intl/tst-translit.sh: Likewise.
13638 * io/ftwtest-sh: Likewise.
13639 * libio/test-freopen.sh: Likewise.
13640 * locale/gen-translit.pl: Likewise.
13641 * malloc/tst-mtrace.sh: Likewise.
13642 * manual/check-safety.sh: Likewise.
13643 * manual/libc-texinfo.sh: Likewise.
13644 * manual/tsort.awk: Likewise.
13645 * manual/xtract-typefun.awk: Likewise.
13646 * nptl/tst-cancel-wrappers.sh: Likewise.
13647 * nptl/tst-tls6.sh: Likewise.
13648 * posix/globtest.sh: Likewise.
13649 * posix/tst-getconf.sh: Likewise.
13650 * posix/wordexp-tst.sh: Likewise.
13651 * scripts/check-c++-types.sh: Likewise.
13652 * scripts/check-local-headers.sh: Likewise.
13653 * scripts/config.guess: Likewise.
13654 * scripts/config.sub: Likewise.
13655 * scripts/cpp: Likewise.
13656 * scripts/cross-test-ssh.sh: Likewise.
13657 * scripts/documented.sh: Likewise.
13658 * scripts/evaluate-test.sh: Likewise.
13659 * scripts/gen-libc-abis: Likewise.
13660 * scripts/gen-sorted.awk: Likewise.
13661 * scripts/list-fixed-bugs.py: Likewise.
13662 * scripts/merge-test-results.sh: Likewise.
13663 * scripts/mkinstalldirs: Likewise.
13664 * scripts/rellns-sh: Likewise.
13665 * scripts/test-installation.pl: Likewise.
13666 * scripts/update-copyrights: Likewise.
13667 * stdio-common/tst-printf.sh: Likewise.
13668 * stdio-common/tst-unbputc.sh: Likewise.
13669 * stdlib/tst-fmtmsg.sh: Likewise.
13670 * stdlib/tst-setcontext3.sh: Likewise.
13671 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
13672 * sysdeps/unix/make-syscalls.sh: Likewise.
13673
13674 2016-01-06 John David Anglin <dave.anglin@bell.net>
13675
13676 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
13677 asm stw with atomic_exchange_rel. Add explanatory comment.
13678 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
13679 Likewise.
13680
13681 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
13682
13683 [BZ #19122]
13684 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
13685 * sysdeps/generic/dl-unistd.h: New file.
13686 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
13687
13688 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
13689
13690 [BZ #19122]
13691 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
13692 * sysdeps/generic/dl-mman.h: New file.
13693 * sysdeps/mach/hurd/dl-mman.h: Likewise.
13694
13695 2016-01-05 Joseph Myers <joseph@codesourcery.com>
13696
13697 * manual/texinfo.tex: Update to version 2016-01-04.21 with
13698 trailing whitespace removed.
13699 * scripts/config.guess: Update to version 2016-01-01.
13700 * scripts/config.sub: Update to version 2016-01-01.
13701 * scripts/move-if-change: Update from gnulib.
13702
13703 2016-01-04 Anton Blanchard <anton@samba.org>
13704
13705 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
13706 for array indices.
13707 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
13708
13709 2016-01-04 Joseph Myers <joseph@codesourcery.com>
13710
13711 * NEWS: Update copyright dates.
13712 * catgets/gencat.c (print_version): Likewise.
13713 * csu/version.c (banner): Likewise.
13714 * debug/catchsegv.sh: Likewise.
13715 * debug/pcprofiledump.c (print_version): Likewise.
13716 * debug/xtrace.sh (do_version): Likewise.
13717 * elf/ldconfig.c (print_version): Likewise.
13718 * elf/ldd.bash.in: Likewise.
13719 * elf/pldd.c (print_version): Likewise.
13720 * elf/sotruss.sh: Likewise.
13721 * elf/sprof.c (print_version): Likewise.
13722 * iconv/iconv_prog.c (print_version): Likewise.
13723 * iconv/iconvconfig.c (print_version): Likewise.
13724 * locale/programs/locale.c (print_version): Likewise.
13725 * locale/programs/localedef.c (print_version): Likewise.
13726 * login/programs/pt_chown.c (print_version): Likewise.
13727 * malloc/memusage.sh (do_version): Likewise.
13728 * malloc/memusagestat.c (print_version): Likewise.
13729 * malloc/mtrace.pl: Likewise.
13730 * manual/libc.texinfo: Likewise.
13731 * nptl/version.c (banner): Likewise.
13732 * nscd/nscd.c (print_version): Likewise.
13733 * nss/getent.c (print_version): Likewise.
13734 * nss/makedb.c (print_version): Likewise.
13735 * posix/getconf.c (main): Likewise.
13736 * scripts/test-installation.pl: Likewise.
13737 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13738
13739 * All files with FSF copyright notices: Update copyright dates
13740 using scripts/update-copyrights.
13741 * intl/plural.c: Regenerated.
13742 * locale/programs/charmap-kw.h: Likewise.
13743 * locale/programs/locfile-kw.h: Likewise.
13744
13745 2016-01-02 Helge Deller <deller@gmx.de>
13746
13747 [BZ #19285]
13748 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
13749 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
13750 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
13751 (MADV_xxK_PAGES): Remove.
13752
13753 2016-01-01 Mike Frysinger <vapier@gentoo.org>
13754
13755 [BZ #15421]
13756 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
13757 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
13758 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
13759 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
13760
13761 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
13762
13763 [BZ #19408]
13764 * sysdeps/unix/sysv/linux/personality.c: New file.
13765 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
13766 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
13767 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
13768 (sysdep_routines): Add personality.
13769 (tests): Add tst-personality.
13770 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
13771 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
13772 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
13773 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
13774 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
13775 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
13776 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
13777 Likewise.
13778 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
13779 Likewise.
13780 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
13781 Likewise.
13782 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
13783 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
13784 Likewise.
13785
13786 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
13787
13788 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
13789 (PATH_ARM_SYSTYPE): Remove.
13790 (PATH_CPUINFO): Likewise.
13791 (IO_BASE_FOOTBRIDGE): Likewise.
13792 (IO_SHIFT_FOOTBRIDGE): Likewise.
13793 (struct platform): Likewise.
13794 (init_iosys): Remove compatibility code for 2.4 kernels.
13795 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
13796
13797 2015-12-29 Florian Weimer <fweimer@redhat.com>
13798
13799 * malloc/tst-malloc-thread-fail.c: New file.
13800 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
13801 (tst-malloc-thread-fail): Link against libpthread.
13802
13803 2015-12-29 Mike Frysinger <vapier@gentoo.org>
13804
13805 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
13806 (get_parser): New function.
13807 (main): New function.
13808
13809 2015-12-29 Rob Wu <rob@robwu.nl>
13810
13811 [BZ #19369]
13812 * resolv/res_init.c (__res_vinit): Reset defdname before use.
13813
13814 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
13815
13816 [BZ #19270]
13817 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13818
13819 2015-12-28 Mike Frysinger <vapier@gentoo.org>
13820
13821 [BZ #15421]
13822 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
13823
13824 2015-12-23 Torvald Riegel <triegel@redhat.com>
13825
13826 [BZ #13690]
13827 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
13828 after releasing it.
13829 (__lll_robust_unlock): Likewise.
13830 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13831 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
13832 (lll_robust_unlock): Likewise.
13833 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
13834 Prevent warnings in callers.
13835
13836 2015-12-23 Florian Weimer <fweimer@redhat.com>
13837
13838 * malloc/arena.c (list_lock): Update comment.
13839
13840 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13841
13842 * sysdeps/powerpc/hwcapinfo.c: Export symbol
13843 __parse_hwcap_and_convert_at_platform to libc.a.
13844
13845 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13846
13847 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
13848 platform and feature support for POWER9.
13849 * sysdeps/powerpc/dl-procinfo.h: Likewise.
13850 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
13851 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
13852 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
13853 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
13854 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13855 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13856 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13857
13858 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13859
13860 Harmonize generic stdio-lock support with nptl
13861
13862 This fixes build when _IO_funlockfile is a macro, fixes build where
13863 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
13864 stack unwind.
13865
13866 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
13867 _IO_release_lock ): Use cleanup attribute on new
13868 _IO_acquire_lock_file variable instead of assuming that
13869 _IO_release_lock will be called.
13870 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
13871 _IO_acquire_lock_needs_exceptions_enabled.
13872 (_IO_acquire_lock_clear_flags2): New macro.
13873
13874 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13875
13876 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13877
13878 2015-12-21 Florian Weimer <fweimer@redhat.com>
13879
13880 [BZ #19182]
13881 * malloc/arena.c (list_lock): Document lock ordering requirements.
13882 (free_list_lock): New lock.
13883 (ptmalloc_lock_all): Comment on free_list_lock.
13884 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
13885 (detach_arena): Update comment. free_list_lock is now needed.
13886 (_int_new_arena): Use free_list_lock around detach_arena call.
13887 Acquire arena lock after list_lock. Add comment, including FIXME
13888 about incorrect synchronization.
13889 (get_free_list): Switch to free_list_lock.
13890 (reused_arena): Acquire free_list_lock around detach_arena call
13891 and attached threads counter update. Add two FIXMEs about
13892 incorrect synchronization.
13893 (arena_thread_freeres): Switch to free_list_lock.
13894 * malloc/malloc.c (struct malloc_state): Update comments to
13895 mention free_list_lock.
13896
13897 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
13898
13899 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
13900 Remove functions.
13901 (sloww, sloww1): Accept argument to offset quadrant.
13902 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
13903 quadrant.
13904 (__sin, __cos): Consolidate common code into new functions.
13905 (reduce_sincos_1, do_sincos_1): New functions.
13906 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
13907
13908 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
13909 code to new functions.
13910 (reduce_sincos_2, do_sincos_2): New functions.
13911 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
13912
13913 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
13914 common code for sincos.
13915 (__cos) [!IN_SINCOS]: Likewise.
13916 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
13917 New function.
13918 (__sincos): Use it.
13919
13920 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
13921
13922 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
13923 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
13924 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
13925
13926 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
13927
13928 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
13929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
13930 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13931 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
13932 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13933 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
13934 index_Prefer_No_VZEROUPPER): New feature.
13935 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
13936 Prefer_No_VZEROUPPER for Knights Landing.
13937
13938 015-12-18 Torvald Riegel <triegel@redhat.com>
13939
13940 * math/atest-exp2.c (mp_exp_m1): Remove.
13941
13942 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13943
13944 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
13945 syscalls.
13946 (__SYSCALL0): New macro.
13947 (__SYSCALL1): Likewise.
13948 (__SYSCALL2): Likewise.
13949 (__SYSCALL3): Likewise.
13950 (__SYSCALL4): Likewise.
13951 (__SYSCALL5): Likewise.
13952 (__SYSCALL6): Likewise.
13953 (__SYSCALL_CONCAT_X): Likewise.
13954 (__SYSCALL_CONCAT): Likewise.
13955 (__SYSCALL_DIST): Likewise.
13956 (__SYSCALL_CALL): Likewise.
13957
13958 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
13959
13960 [BZ #19363]
13961 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
13962
13963 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13964
13965 [BZ #19375]
13966 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
13967 negative subnormals.
13968
13969 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
13970
13971 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13972 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
13973 (INTERNAL_SYSCALL_NCS): Use it.
13974 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13975
13976 2015-12-16 Florian Weimer <fweimer@redhat.com>
13977
13978 [BZ #19243]
13979 * malloc/arena.c (get_free_list): Remove assert and adjust
13980 reference count handling. Add comment about reused_arena
13981 interaction.
13982 (reused_arena): Add comments abount get_free_list interaction.
13983 * malloc/tst-malloc-thread-exit.c: New file.
13984 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
13985 (tst-malloc-thread-exit): Link against libpthread.
13986
13987 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
13988
13989 [BZ #19367]
13990 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
13991 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
13992 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
13993 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
13994 (index_Prefer_MAP_32BIT_EXEC): Likewise.
13995
13996 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
13997
13998 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
13999 Silvermont optimizations for Knights Landing.
14000
14001 2015-12-15 Andreas Schwab <schwab@suse.de>
14002
14003 [BZ #17197]
14004 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14005 immediately after emitting SI.
14006 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14007 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14008 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14009 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14010 * iconvdata/bug-iconv10.c: New file.
14011 * iconvdata/Makefile (tests): Add bug-iconv10.
14012 ($(objpfx)bug-iconv10.out): New rule.
14013
14014 2015-12-15 Florian Weimer <fweimer@redhat.com>
14015
14016 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14017 aliasing violation.
14018
14019 2015-12-14 Joseph Myers <joseph@codesourcery.com>
14020
14021 [BZ #18472]
14022 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14023 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14024 conditionals for them.
14025 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14026 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14028 sys/kdaemon.h.
14029 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14030 compat-only syscall, obsoleted in glibc 2.23.
14031 (create_module): Likewise.
14032 (get_kernel_syms): Likewise.
14033 (query_module): Likewise.
14034 (uselib): Likewise.
14035 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14036
14037 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
14038
14039 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14040 <linux/version.h>.
14041 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14042 conditional code.
14043 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14044 and ioshift_name initialization.
14045
14046 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14047
14048 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14049 Fix indentation.
14050
14051 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14052
14053 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14054
14055 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14056
14057 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14058
14059 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
14060 Jakub Wilk <jwilk@debian.org>
14061
14062 [BZ #19347]
14063 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14064 to change the group of the device to the tty group.
14065
14066 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
14067
14068 Split large string section; add truncation advice
14069 * manual/examples/strncat.c: Remove.
14070 This example was misleading, as the code would have undefined
14071 behavior if "hello" was longer than SIZE. Anyway, the manual
14072 shouldn't encourage strncpy+strncat for this sort of thing.
14073 * manual/string.texi (Copying Strings and Arrays): Split into
14074 three sections Copying Strings and Arrays, Concatenating Strings,
14075 and Truncating Strings, as this section was way too long. All
14076 cross-referenced changed. Add advice about string-truncation
14077 functions. Remove misleading strncat example.
14078
14079 2015-12-10 Carlos O'Donell <carlos@redhat.com>
14080
14081 * manual/nss.texi (NSS Modules Interface): Document
14082 NSS_STATUS_NOTFOUND and SUCCESS.
14083
14084 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14085
14086 [BZ 18568]
14087 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14088 201505L, for Unicode 8.
14089
14090 2015-12-09 Carlos O'Donell <carlos@redhat.com>
14091
14092 * locale/C-translit.h: Regenerate.
14093
14094 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14095
14096 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14097 and U+0153.
14098
14099 2015-12-09 Joseph Myers <joseph@codesourcery.com>
14100
14101 [BZ #19351]
14102 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14103 expanding log(1+z), compare z rather than its square with epsilon
14104 to determine when to avoid evaluating the expansion.
14105
14106 [BZ #19350]
14107 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14108 Increase overflow threshold.
14109
14110 [BZ #19349]
14111 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14112 when small.
14113
14114 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14115 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14116 New macro.
14117 [__LINUX_KERNEL_VERSION >= 0x040300]
14118 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14119 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14120 Likewise.
14121 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14122 Likewise.
14123 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14124 Likewise.
14125 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14126 Likewise.
14127 [__LINUX_KERNEL_VERSION >= 0x040300]
14128 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14129 [__LINUX_KERNEL_VERSION >= 0x040300]
14130 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14131 [__LINUX_KERNEL_VERSION >= 0x040300]
14132 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14133 [__LINUX_KERNEL_VERSION >= 0x040300]
14134 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14135 [__LINUX_KERNEL_VERSION >= 0x040300]
14136 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14137 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14138 Likewise.
14139 [__LINUX_KERNEL_VERSION >= 0x040300]
14140 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14141 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14142 Likewise.
14143 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14144 Likewise.
14145 [__LINUX_KERNEL_VERSION >= 0x040300]
14146 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14147 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14148 Likewise.
14149 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14150 Likewise.
14151 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14152 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14153 Likewise.
14154 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14155 Likewise.
14156 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14157 Likewise.
14158 [__LINUX_KERNEL_VERSION >= 0x040300]
14159 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14160 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14161 Likewise.
14162 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14163 Likewise.
14164 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14165 Likewise.
14166 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14167 Likewise.
14168 [__LINUX_KERNEL_VERSION >= 0x040300]
14169 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14170 [__LINUX_KERNEL_VERSION >= 0x040300]
14171 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14172 [__LINUX_KERNEL_VERSION >= 0x040300]
14173 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14174 [__LINUX_KERNEL_VERSION >= 0x040300]
14175 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14176 [__LINUX_KERNEL_VERSION >= 0x040300]
14177 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14178 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14179 Likewise.
14180 [__LINUX_KERNEL_VERSION >= 0x040300]
14181 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14182 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14183 Likewise.
14184 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14185 Likewise.
14186 [__LINUX_KERNEL_VERSION >= 0x040300]
14187 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14188 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14189 Likewise.
14190 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14191 Likewise.
14192 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14193 (__ASSUME_SOCKET_SYSCALL): Likewise.
14194 (__ASSUME_BIND_SYSCALL): Likewise.
14195 (__ASSUME_CONNECT_SYSCALL): Likewise.
14196 (__ASSUME_LISTEN_SYSCALL): Likewise.
14197 (__ASSUME_ACCEPT_SYSCALL): Likewise.
14198 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14199 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14200 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14201 (__ASSUME_SEND_SYSCALL): Likewise.
14202 (__ASSUME_SENDTO_SYSCALL): Likewise.
14203 (__ASSUME_RECV_SYSCALL): Likewise.
14204 (__ASSUME_RECVFROM_SYSCALL): Likewise.
14205 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
14206 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14207 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14208 (__ASSUME_SENDMSG_SYSCALL): Likewise.
14209 (__ASSUME_RECVMSG_SYSCALL): Likewise.
14210 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14211 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
14212 Likewise.
14213 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
14214 Likewise.
14215 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
14216 Likewise.
14217 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
14218 Likewise.
14219 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
14220 Likewise.
14221 [__LINUX_KERNEL_VERSION >= 0x020625]
14222 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14223 [__LINUX_KERNEL_VERSION >= 0x020625]
14224 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14225 [__LINUX_KERNEL_VERSION >= 0x020625]
14226 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14227 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
14228 Likewise.
14229 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
14230 Likewise.
14231 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
14232 Likewise.
14233 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
14234 Likewise.
14235 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
14236 Likewise.
14237 [__LINUX_KERNEL_VERSION >= 0x020625]
14238 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14239 [__LINUX_KERNEL_VERSION >= 0x020625]
14240 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14241 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
14242 Likewise.
14243 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
14244 Likewise.
14245
14246 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
14247
14248 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
14249 record the current if the current ABI and CPU support the FP64
14250 extension.
14251 (has-modd-spreg): Define to record the current if the current ABI and
14252 CPU support 32-bit floating point values in odd FPU registers.
14253 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14254 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
14255 $(has-modd-spreg) equals yes.
14256 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
14257 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
14258 $(has-modd-spreg) equal yes.
14259
14260 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
14261
14262 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
14263 basename.
14264
14265 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
14266
14267 * benchtests/Makefile (bench-math): Move ffs and ffsll...
14268 (bench-string): ... here.
14269 (bench): Add bench-string.
14270 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
14271 to *-benchset to reflect what they are.
14272 (benchset): Adjust.
14273
14274 * benchtests/sincos-inputs: Add inputs from sin-inputs and
14275 cos-inputs.
14276
14277 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
14278
14279 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
14280 __attribute__ ((__simd__)) for vector math function declarations.
14281
14282 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
14283
14284 Fix typo in strncat, wcsncat manual entries
14285 * manual/string.texi (Copying and Concatenation): Fix typos in
14286 sample implementations of strncat and wcsncat, by having them use
14287 the old value of the destination length, not the new one.
14288
14289 2015-12-04 Joseph Myers <joseph@codesourcery.com>
14290
14291 [BZ #16961]
14292 [BZ #16962]
14293 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
14294 string on the stack for strtod.
14295 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
14296 a string on the stack for strtof.
14297 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
14298 constructing a string on the stack for strtold.
14299 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
14300 __strtold_nan to GLIBC_PRIVATE.
14301 * math/test-nan-overflow.c: New file.
14302 * math/test-nan-payload.c: Likewise.
14303 * math/Makefile (tests): Add test-nan-overflow and
14304 test-nan-payload.
14305
14306 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
14307
14308 Consistency about byte vs character in string.texi
14309 * manual/string.texi (String and Array Utilities):
14310 Distinguish more carefully among bytes, multibyte characters,
14311 and wide characters. Use "byte" when talking about C 'char',
14312 to distinguish it more clearly from multibyte characters.
14313 Say "wide character" or "multibyte character" instead of
14314 "character", when a wide or multibyte character is intended.
14315 Similarly for "multibyte string" versus "string".
14316 Define these terms more carefully.
14317
14318 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
14319
14320 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
14321 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
14322 Likewise.
14323 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14324 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14325 * sysdeps/sh/math_private.h: New file.
14326 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
14327 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
14328 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
14329 long double function name.
14330 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14331 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14332 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14333 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14334 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
14336 Remove __finitel, __isinfl, and __isnanl.
14337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14338 Likewise.
14339 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14341 Remove __finitel.
14342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14343 Likewise.
14344 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14345
14346 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
14347
14348 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
14349 installed libmvec_nonshared.a.
14350
14351 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14352
14353 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
14354 (sysdep_routines): Likewise.
14355 (sysdep-rtld-routines): Likewise.
14356 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
14357 [$(subdir) = nptl](tests-static): test-get_hwcap-static
14358 * sysdeps/powerpc/Versions: Added new
14359 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
14360 * sysdeps/powerpc/hwcapinfo.c: New file.
14361 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
14362 and parse hwcap, hwcap2 and platform number information.
14363 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
14364 to store HWCAP+HWCAP2 and platform number.
14365 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
14366 for HWCAP+HWCAP2 and platform number in the TCB.
14367 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
14368 the HWCAP, HWCAP2 and platform number in the TCB.
14369 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
14370 (TLS_INIT_TP): Included calls to add the hwcap and
14371 at_platform values in the TCB in TP initialization.
14372 (TLS_DEFINE_INIT_TP): Likewise.
14373 (THREAD_GET_HWCAP): New macro.
14374 (THREAD_SET_HWCAP): Likewise.
14375 (THREAD_GET_AT_PLATFORM): Likewise.
14376 (THREAD_SET_AT_PLATFORM): Likewise.
14377 * sysdeps/powerpc/powerpc32/dl-machine.h:
14378 (dl_platform_init): New function that calls
14379 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
14380 powerpc32.
14381 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
14382 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
14383 this functionality, static linking case.
14384 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
14385 linking case.
14386 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
14387 __parse_hwcap_and_convert_at_platform for the static linking case.
14388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
14389 Included the new __parse_hwcap_and_convert_at_platform symbol in the
14390 ABI list for GLIBC 2.23.
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
14392 Likewise.
14393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
14394 Likewise.
14395
14396 2015-12-02 Ludovic Courtès <ludo@gnu.org>
14397
14398 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
14399 * configure: Regenerate.
14400 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
14401 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
14402
14403 2015-12-02 Carlos O'Donell <carlos@redhat.com>
14404
14405 * iconvdata/ibm930.c: Add comment explaining encoding uses.
14406 * iconvdata/ibm933.c: Likewise.
14407 * iconvdata/ibm935.c: Likewise.
14408 * iconvdata/ibm937.c: Likewise.
14409 * iconvdata/ibm939.c: Likewise.
14410
14411 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14412
14413 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
14414 pthread_join.
14415 * nptl/tst-cancel21.c (tf): Likewise.
14416
14417 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
14418
14419 [BZ #19313]
14420 * bits/typesizes.h (__CPU_MASK_TYPE): New.
14421 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14422 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14423 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
14424 Likewise.
14425 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
14426 Likewise.
14427 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
14428 Likewise.
14429 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
14430 Likewise.
14431 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
14432 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
14433 unsigned long int with __CPU_MASK_TYPE.
14434
14435 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
14436
14437 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14438
14439 2015-12-01 Joseph Myers <joseph@codesourcery.com>
14440
14441 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
14442 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
14443 t512.x.
14444 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
14445
14446 2015-11-30 Amit Pawar <amit.pawar@amd.com>
14447
14448 [BZ #19214]
14449 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
14450 argument to return extended model. Update family and model
14451 with extended family and model when family == 0x0f.
14452 (init_cpu_features): Updated.
14453
14454 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14455
14456 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
14457 signed off_t, so 32bit bigger than 2GiB values are fine actually.
14458
14459 * sysdeps/mach/hurd/mmap64.c: New file.
14460
14461 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
14462
14463 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
14464 rights for its main user thread in NEWTASK.
14465
14466 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
14467
14468 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
14469 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
14470
14471 2015-11-27 Carlos O'Donell <carlos@redhat.com>
14472
14473 [BZ #14259]
14474 * Makeconfig: Rename localedir to complocaledir.
14475 Rename inst_localedir to inst_complocaledir.
14476 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
14477 * config.make.in: Use complocaledir and libc_cv_complocaledir.
14478 * configure.ac: Use libc_cv_complocaledir.
14479 * configure: Regenerate.
14480 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
14481 -DCOMPLOCALEDIR.
14482 * locale/findlocale.c: Use COMPLOCALEDIR.
14483 * locale/loadarchive.c: Likewise.
14484 * locale/programs/locale.c: Likewise.
14485 * locale/programs/localedef.c: Likewise.
14486 * locale/programs/locarchive.c: Likewise.
14487 * localedata/Makefile: Use inst_complocaledir.
14488 * sysdeps/gnu/configure: Regenerate.
14489 * sysdeps/hppa/configure: Regenerate.
14490 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14491 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14493 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14494 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14495 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14496 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14497
14498 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
14499
14500 [BZ #19058]
14501 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
14502 AS_NEEDED.
14503 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
14504 workaround.
14505 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
14506 libmvec-static-only-routines): Added new file.
14507 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
14508
14509 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14510
14511 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
14512 of interrupted RPC instead of restoring it.
14513
14514 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
14515 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
14516 libc_hidden_def.
14517 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
14518 into initialized data instead of common. Define rtld_hidden_data_def.
14519 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
14520 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
14521 libc_hidden_def.
14522 (if_freenameindex): Add libc_hidden_weak.
14523 (if_nameindex): Add libc_hidden_weak.
14524 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
14525 __open64.
14526 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
14527 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
14528 * sysdeps/mach/nanosleep.c: Include <time.h>
14529 (__nanosleep): Rename to __libc_nanosleep.
14530 (__nanosleep): Add weak_alias.
14531 (nanosleep): Update alias.
14532
14533 2015-11-24 Joseph Myers <joseph@codesourcery.com>
14534
14535 * stdlib/strtod_nan.c: New file.
14536 * stdlib/strtod_nan_double.h: Likewise.
14537 * stdlib/strtod_nan_float.h: Likewise.
14538 * stdlib/strtod_nan_main.c: Likewise.
14539 * stdlib/strtod_nan_narrow.h: Likewise.
14540 * stdlib/strtod_nan_wide.h: Likewise.
14541 * stdlib/strtof_nan.c: Likewise.
14542 * stdlib/strtold_nan.c: Likewise.
14543 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
14544 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
14545 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
14546 * wcsmbs/wcstod_nan.c: Likewise.
14547 * wcsmbs/wcstof_nan.c: Likewise.
14548 * wcsmbs/wcstold_nan.c: Likewise.
14549 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
14550 strtold_nan.
14551 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
14552 wcstof_nan.
14553 * include/stdlib.h (__strtof_nan): Declare and use
14554 libc_hidden_proto.
14555 (__strtod_nan): Likewise.
14556 (__strtold_nan): Likewise.
14557 (__wcstof_nan): Likewise.
14558 (__wcstod_nan): Likewise.
14559 (__wcstold_nan): Likewise.
14560 * include/wchar.h (____wcstoull_l_internal): Declare.
14561 * stdlib/strtod_l.c: Do not include <ieee754.h>.
14562 (____strtoull_l_internal): Remove declaration.
14563 (STRTOF_NAN): Define macro.
14564 (SET_MANTISSA): Remove macro.
14565 (STRTOULL): Likewise.
14566 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
14567 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
14568 (STRTOF_NAN): Define macro.
14569 (SET_MANTISSA): Remove macro.
14570 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
14571 (SET_MANTISSA): Remove macro.
14572 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
14573 macro.
14574 (SET_MANTISSA): Remove macro.
14575 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
14576 macro.
14577 (SET_MANTISSA): Remove macro.
14578 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
14579 (SET_MANTISSA): Remove macro.
14580 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
14581 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
14582 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
14583
14584 [BZ #19266]
14585 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
14586 upper case and lower case letters inside NAN(), not using TOLOWER.
14587 * stdlib/tst-strtod-nan-locale-main.c: New file.
14588 * stdlib/tst-strtod-nan-locale.c: Likewise.
14589 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
14590 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
14591 Depend on $(gen-locales).
14592 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
14593 * wcsmbs/tst-wcstod-nan-locale.c: New file.
14594 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
14595 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
14596 Depend on $(gen-locales).
14597 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
14598
14599 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
14600
14601 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
14602
14603 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
14605 __finitel, __isinfl, and __isnanl.
14606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14607 Likewise.
14608 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
14610 __finitel.
14611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14612 Likewise.
14613 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14614
14615 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
14616
14617 * malloc/memusage.c (me): Remove redundant getenv call.
14618
14619 2015-10-24 Florian Weimer <fweimer@redhat.com>
14620
14621 [BZ #19143]
14622 [BZ #19164]
14623 * nptl/check-cpuset.h: Remove.
14624 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
14625 Remove CPU set size check.
14626 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
14627 Likewise.
14628 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
14629 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14630 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
14631 (__pthread_setaffinity_new): Remove CPU set size check.
14632 * sysdeps/unix/sysv/linux/sched_setaffinity.c
14633 (__kernel_cpumask_size): Remove.
14634 (__sched_setaffinity_new): Remove CPU set size check.
14635 * manual/threads.texi (Default Thread Attributes): Remove stale
14636 reference to check_cpuset_attr, determine_cpumask_size in comment.
14637 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
14638 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
14639 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
14640 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
14641 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
14642 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
14643 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
14644 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
14645 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
14646 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
14647 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
14648 skeleton test file.
14649 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
14650 tst-affinity-pid.
14651
14652 2015-11-24 Florian Weimer <fweimer@redhat.com>
14653
14654 * scripts/update-abilist.sh: New file.
14655 * Makefile (+subdir_targets): Add subdir_update-all-abi.
14656 * Makerules (update-all-abi-%, update-all-abi)
14657 (subdir_update-all-abi): New targets.
14658 * elf/Makefile (update-all-abi): New target.
14659
14660 2015-11-24 Florian Weimer <fweimer@redhat.com>
14661
14662 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
14663 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
14664 (__libc_lock_define_initialized): Use it.
14665 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
14666 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
14667 * malloc/malloc.c (main_arena): Likewise.
14668 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14669 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14670
14671 2015-11-23 Joseph Myers <joseph@codesourcery.com>
14672
14673 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14674 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
14675 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14676 (PTRACE_O_MASK): Update value.
14677 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
14678 New value in enum __ptrace_setoptions.
14679 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14680 (PTRACE_O_MASK): Update value.
14681 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14682 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14683 (PTRACE_O_MASK): Update value.
14684 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14685 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14686 (PTRACE_O_MASK): Update value.
14687 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14688 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14689 (PTRACE_O_MASK): Update value.
14690 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
14691 New value in enum __ptrace_setoptions.
14692 (PTRACE_O_MASK): Update value.
14693 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
14694 New value in enum __ptrace_setoptions.
14695 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14696 (PTRACE_O_MASK): Update value.
14697
14698 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
14699 New macro.
14700 (PACKET_AUXDATA): Likewise.
14701 (PACKET_ORIGDEV): Likewise.
14702 (PACKET_VERSION): Likewise.
14703 (PACKET_HDRLEN): Likewise.
14704 (PACKET_RESERVE): Likewise.
14705 (PACKET_TX_RING): Likewise.
14706 (PACKET_LOSS): Likewise.
14707 (PACKET_VNET_HDR): Likewise.
14708 (PACKET_TX_TIMESTAMP): Likewise.
14709 (PACKET_TIMESTAMP): Likewise.
14710 (PACKET_FANOUT): Likewise.
14711 (PACKET_TX_HAS_OFF): Likewise.
14712 (PACKET_QDISC_BYPASS): Likewise.
14713 (PACKET_ROLLOVER_STATS): Likewise.
14714 (PACKET_FANOUT_DATA): Likewise.
14715 (PACKET_MR_UNICAST): Likewise.
14716
14717 [BZ #19242]
14718 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
14719 (TOUPPER): Likewise.
14720 * stdlib/tst-strtol-locale-main.c: New file.
14721 * stdlib/tst-strtol-locale.c: Likewise.
14722 * stdlib/Makefile (tests): Add tst-strtol-locale.
14723 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
14724 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
14725 Depend on $(gen-locales).
14726 * wcsmbs/tst-wcstol-locale.c: New file.
14727 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
14728 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
14729 tr_TR.ISO-8859-9.
14730 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
14731 Depend on $(gen-locales).
14732
14733 2015-11-20 Roland McGrath <roland@hack.frob.com>
14734
14735 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
14736 __glibc_likely instead of __builtin_expect. After falling back to
14737 dyncode_create in a non-ET_DYN case, use the allocate_code_data
14738 system interface to register the code pages as occupied.
14739
14740 2015-11-20 Joseph Myers <joseph@codesourcery.com>
14741
14742 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14743 [!ARM_MATH_PRIVATE_H].
14744 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
14745 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14746 [!HPPA_MATH_PRIVATE_H].
14747 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
14748 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
14749 to [!I386_MATH_PRIVATE_H].
14750 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
14751 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
14752 Change guard to [!M68K_MATH_PRIVATE_H].
14753 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
14754 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
14755 guard to [!MICROBLAZE_MATH_PRIVATE_H].
14756 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
14757 macro.
14758 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14759 [!MIPS_MATH_PRIVATE_H].
14760 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
14761 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14762 [!NIO2_MATH_PRIVATE_H].
14763 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
14764 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14765 [!TILE_MATH_PRIVATE_H].
14766 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
14767
14768 [BZ #15421]
14769 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
14770 initialize with 0 and define as weak alias of __signgam.
14771 * include/math.h [!_ISOMAC] (__signgam): Declare.
14772 * math/Makefile (libm-calls): Add w_lgamma_compat.
14773 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
14774 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
14775 test-signgam-ullong-init.
14776 (tests-static): Add test-signgam-uchar-static,
14777 test-signgam-uchar-init-static, test-signgam-uint-static,
14778 test-signgam-uint-init-static, test-signgam-ullong-static and
14779 test-signgam-ullong-init-static.
14780 (CFLAGS-test-signgam-uchar.c): New variable.
14781 (CFLAGS-test-signgam-uchar-init.c): Likewise.
14782 (CFLAGS-test-signgam-uchar-static.c): Likewise.
14783 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
14784 (CFLAGS-test-signgam-uint.c): Likewise.
14785 (CFLAGS-test-signgam-uint-init.c): Likewise.
14786 (CFLAGS-test-signgam-uint-static.c): Likewise.
14787 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
14788 (CFLAGS-test-signgam-ullong.c): Likewise.
14789 (CFLAGS-test-signgam-ullong-init.c): Likewise.
14790 (CFLAGS-test-signgam-ullong-static.c): Likewise.
14791 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
14792 * math/Versions (libm): Add GLIBC_2.23.
14793 * math/lgamma-compat.h: New file.
14794 * math/test-signgam-main.c: Likewise.
14795 * math/test-signgam-uchar-init-static.c: Likewise.
14796 * math/test-signgam-uchar-init.c: Likewise.
14797 * math/test-signgam-uchar-static.c: Likewise.
14798 * math/test-signgam-uchar.c: Likewise.
14799 * math/test-signgam-uint-init-static.c: Likewise.
14800 * math/test-signgam-uint-init.c: Likewise.
14801 * math/test-signgam-uint-static.c: Likewise.
14802 * math/test-signgam-uint.c: Likewise.
14803 * math/test-signgam-ullong-init-static.c: Likewise.
14804 * math/test-signgam-ullong-init.c: Likewise.
14805 * math/test-signgam-ullong-static.c: Likewise.
14806 * math/test-signgam-ullong.c: Likewise.
14807 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
14808 wrapper of w_lgamma_main.c.
14809 * math/w_lgamma_compat.c: New file.
14810 * math/w_lgamma_compatf.c: Likewise.
14811 * math/w_lgamma_compatl.c: Likewise.
14812 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
14813 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
14814 defining compatibility symbols.
14815 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
14816 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
14817 wrapper of w_lgammaf_main.c.
14818 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
14819 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
14820 defining compatibility symbols.
14821 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
14822 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
14823 wrapper of w_lgammal_main.c.
14824 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
14825 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
14826 defining compatibility symbols.
14827 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
14828 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
14829 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
14830 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
14831 <lgamma-compat.h>.
14832 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
14833 (__ieee754_gamma): Define as alias.
14834 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
14835 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
14836 <lgamma-compat.h>.
14837 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
14838 (__ieee754_gammaf): Define as alias.
14839 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
14840 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
14841 <lgamma-compat.h>.
14842 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
14843 (__ieee754_gammal): Define as alias.
14844 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
14845 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
14846 <math/w_lgamma_compat.c>.
14847 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
14848 Define as alias of __lgamma_compat and use in defining lgammal.
14849 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
14850 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
14851 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
14852 (USE_AS_COMPAT): New macro.
14853 (LGAMMA_OLD_VER): Undefine and redefine.
14854 (lgammal): Do not define here.
14855 (gammal): Only define here if [GAMMA_ALIAS].
14856 * conform/linknamespace.pl (@whitelist): Remove signgam.
14857 * sysdeps/nacl/libm.abilist: Update.
14858 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14859 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14860 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14861 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14862 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14863 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14864 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14865 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14866 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14867 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14868 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14869 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14871 Likewise.
14872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14873 Likewise.
14874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14875 Likewise.
14876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14877 Likewise.
14878 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14879 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14880 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14881 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14882 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14884 Likewise.
14885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14886 Likewise.
14887 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14888 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14889 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14890
14891 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14892
14893 [BZ #16364]
14894 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
14895 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
14896
14897 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
14898
14899 * sysdeps/s390/fpu/bits/mathinline.h:
14900 Use __asm__ [__volatile__] instead of asm [volatile].
14901 * sysdeps/s390/abort-instr.h: Likewise.
14902 * sysdeps/s390/atomic-machine.h: Likewise.
14903 * sysdeps/s390/bits/string.h: Likewise.
14904 * sysdeps/s390/dl-tls.h: Likewise.
14905 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14906 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14907 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14908 * sysdeps/s390/fpu/fesetround.c: Likewise.
14909 * sysdeps/s390/fpu/fpu_control.h: Likewise.
14910 * sysdeps/s390/fpu/s_fma.c: Likewise.
14911 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
14912 * sysdeps/s390/memusage.h: Likewise.
14913 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
14914 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
14915 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
14916 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
14917 * sysdeps/s390/nptl/tls.h: Likewise.
14918 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
14919 * sysdeps/s390/s390-32/backtrace.c: Likewise.
14920 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14921 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
14922 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14923 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14924 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
14925 * sysdeps/s390/s390-64/backtrace.c: Likewise.
14926 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14927 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
14928 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
14929 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14930 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14931 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
14932 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14933 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14934 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
14935 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14936 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
14937 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14938 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
14939 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14940 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
14941
14942 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14943 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14944
14945 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
14946 Add lwarx hint, and use macro for acquire instruction.
14947 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14948 Likewise.
14949 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
14950 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
14951 update to use new atomic macros.
14952
14953 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14954
14955 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14956 (__lll_trylock_elision): Fix setting of adapt_count.
14957 * sysdeps/unix/sysv/linux/powerpc/htm.h
14958 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
14959 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
14960 (_ABORT_SYSCALL): Renumber, and clarify definition.
14961 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
14962
14963 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14964
14965 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
14966 after system headers to prevent MIN/MAX redefinition. Define
14967 HAVE_ALLOCA to preserve builtin alloca usage.
14968
14969 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
14970
14971 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
14972 static and don't set or restore rounding.
14973 (__cos)[IN_SINCOS]: Likewise.
14974 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
14975 (__sincos): Set and restore rounding mode. Remove check for infinite
14976 or NaN input.
14977
14978 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
14979
14980 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
14981 as used.
14982
14983 2015-11-16 Florian Weimer <fweimer@redhat.com>
14984
14985 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
14986
14987 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
14988
14989 * config.make.in (have-glob-dat-reloc): New.
14990 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
14991 target supports GLOB_DAT relocaton. AC_SUBST.
14992 * configure: Regenerated.
14993 * elf/Makefile (tests): Add tst-prelink.
14994 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
14995 (tst-prelink-ENV): New.
14996 ($(objpfx)tst-prelink-conflict.out): Likewise.
14997 ($(objpfx)tst-prelink-cmp.out): Likewise.
14998 * sysdeps/x86/tst-prelink.c: Moved to ...
14999 * elf/tst-prelink.c: Here.
15000 * sysdeps/x86/tst-prelink.exp: Moved to ...
15001 * elf/tst-prelink.exp: Here.
15002 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15003 (tst-prelink-ENV): Removed.
15004 ($(objpfx)tst-prelink-conflict.out): Likewise.
15005 ($(objpfx)tst-prelink-cmp.out): Likewise.
15006 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15007
15008 2015-11-13 Joseph Myers <joseph@codesourcery.com>
15009
15010 [BZ #14551]
15011 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15012 (__mpn_construct_long_double): If high part overflows to infinity,
15013 set errno and recompute overflowed result of the correct sign.
15014 * sysdeps/ieee754/ldbl-128ibm/Makefile
15015 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15016 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15017 $(libm).
15018 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15019
15020 2015-11-12 Joseph Myers <joseph@codesourcery.com>
15021
15022 [BZ #15479]
15023 [BZ #19238]
15024 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15025 floating-point state after first operation on input. Restore full
15026 state rather than just rounding mode.
15027 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15028 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15029 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15030
15031 [BZ #19235]
15032 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15033 add 0.5 to integer arguments.
15034 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15035 Likewise.
15036 (.LC2): New object.
15037
15038 2015-11-11 Mike Frysinger <vapier@gentoo.org>
15039
15040 * scripts/pylintrc (reports): Set to no.
15041
15042 2015-11-10 Roland McGrath <roland@hack.frob.com>
15043
15044 * elf/dl-load.c (open_verify): Take new argument FD.
15045 Skip __open call if passed FD is not -1.
15046 (_dl_map_object, open_path): Update callers.
15047 * elf/dl-sysdep-open.h: New file.
15048 * elf/dl-load.c: Include it.
15049 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15050 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15051 * sysdeps/nacl/dl-sysdep-open.h: New file.
15052 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15053 from libc to rtld.
15054
15055 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15056
15057 [BZ #19228]
15058 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15059 and restore full floating-point state.
15060 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15061 Likewise.
15062 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15063 Likewise.
15064 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15065 Likewise.
15066 * math/test-nearbyint-except-2.c: New file.
15067 * math/Makefile (tests): Add test-nearbyint-except-2.
15068
15069 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
15070
15071 [BZ #19178]
15072 * sysdeps/x86/Makefile (tests): Add tst-prelink.
15073 (tst-prelink-ENV): New.
15074 ($(objpfx)tst-prelink-conflict.out): Likewise.
15075 ($(objpfx)tst-prelink-cmp.out): Likewise.
15076 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15077 * sysdeps/x86/tst-prelink.c: New file.
15078 * sysdeps/x86/tst-prelink.exp: Likewise.
15079
15080 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15081
15082 * math/auto-libm-test-in: Add another test of pow.
15083 * math/auto-libm-test-out: Regenerated.
15084 * math/libm-test.inc (pow_test_data): Add another test.
15085
15086 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15087
15088 [BZ #19219]
15089 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15090 weak_alias to nearbyintl.
15091
15092 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15093
15094 * sysdeps/aarch64/bits/string.h: New file.
15095 (_STRING_ARCH_unaligned): Define.
15096
15097 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15098
15099 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15100 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15101 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15102 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15104
15105 2015-11-09 Ulrich Drepper <drepper@gmail.com>
15106
15107 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15108 for original name of the DSO. Add it to the name list of the DSO
15109 if it is actually given.
15110 (_dl_map_object): Keep track of whether an audit module rewrote
15111 the file name. If yes, pass the original name to
15112 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
15113 debugging is enabled, log the change of the file name.
15114 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15115 _dl_map_object_from_fd.
15116 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15117 * elf/tst-audit11.c: New file
15118 * elf/tst-auditmod11.c: New file.
15119 * elf/tst-audit11mod1.c: New file.
15120 * elf/tst-audit11mod2.c: New file.
15121 * elf/tst-audit11mod2.map: New file.
15122 * elf/tst-audit12.c: New file
15123 * elf/tst-auditmod12.c: New file.
15124 * elf/tst-audit12mod1.c: New file.
15125 * elf/tst-audit12mod2.c: New file.
15126 * elf/tst-audit12mod2.map: New file.
15127 * elf/tst-audit12mod3.c: New file.
15128
15129 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15130
15131 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15132 Don't create weak aliases,
15133 because versioned symbols are created later.
15134 * sysdeps/s390/s390-32/setjmp.S
15135 (setjmp, _setjmp): Remove weak and rename to an unique name
15136 in SHARED case due to existing versioned symbols.
15137 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15138 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15139 (getcontext): Create weak alias only in non SHARED case.
15140 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15141
15142 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15143
15144 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15145 (__ASSUME_*_SYSCALL) Define new macros.
15146 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15147 Remove socketcall syscalls.
15148 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15149 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15150 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15151 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15152 * sysdeps/unix/sysv/linux/send.c (__libc_send):
15153 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15154
15155 2015-11-09 Florian Weimer <fweimer@redhat.com>
15156
15157 [BZ #12926]
15158 Terminate process on invalid netlink response.
15159 * sysdeps/unix/sysv/linux/netlinkaccess.h
15160 (__netlink_assert_response): Declare.
15161 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15162 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15163 (sysdep_routines): Add netlink_assert_response.
15164 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15165 __netlink_assert_response.
15166 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15167 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15168 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15169 __netlink_assert_response.
15170
15171 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
15172
15173 [BZ #19178]
15174 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15175 (RTYPE_CLASS_PLT): Likewise.
15176 (RTYPE_CLASS_COPY): Likewise.
15177 (RTYPE_CLASS_TLS): Likewise.
15178 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15179 to set relocation type class for DL_DEBUG_PRELINK. Keep only
15180 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15181 DL_DEBUG_PRELINK.
15182
15183 2015-11-06 Joseph Myers <joseph@codesourcery.com>
15184
15185 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15186 calls with argument -0.5.
15187 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
15188
15189 * configure.ac (libc_cv_z_nodelete): Remove configure test.
15190 (libc_cv_z_nodlopen): Likewise.
15191 (libc_cv_z_initfirst): Likewise.
15192 * configure: Regenerated.
15193
15194 2015-11-06 Florian Weimer <fweimer@redhat.com>
15195
15196 Simplify abilist format to be line-based.
15197 * scripts/abilist.awk: Collect descriptors in the descs variable.
15198 (emit): Write descs variable and sort it
15199 externally, with sort.
15200 * sysdeps/**/*.abilist: Convert to new format.
15201
15202 2015-11-06 Mark Wielaard <mjw@redhat.com>
15203
15204 [BZ #11460]
15205 * io/Makefile (routines): Add fts64.
15206 (tests): Add tst-fts and tst-fts-lfs.
15207 (CFLAGS-fts64.c): New.
15208 * io/Versions (GLIBC_2.23): New.
15209 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
15210 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
15211 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
15212 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
15213 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
15214 (FTSENT64): Likewise.
15215 (fts64_children): Likewise.
15216 (fts64_close): Likewise.
15217 (fts64_open): Likewise.
15218 (fts64_read): Likewise.
15219 (fts64_set): Likewise.
15220 * io/fts64.c: New file.
15221 * io/tst-fts.c: New test.
15222 * io/tst-fts-lfs.c: Likewise.
15223 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
15224 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
15225 fts64_set.
15226 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15227 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15228 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15229 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15230 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15231 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15232 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15233 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15234 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15235 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15236 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15237 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15238 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15240 Likewise.
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15242 Likewise.
15243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15245 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15246 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15247 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15248 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15249 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15252 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15253 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15254 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15255 * sysdeps/wordsize-64/fts.c: New file.
15256 * sysdeps/wordsize-64/fts64.c: Likewise.
15257 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
15258 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
15259 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
15260 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
15261
15262 2015-11-05 Joseph Myers <joseph@codesourcery.com>
15263
15264 * math/libm-test.inc (NON_FINITE): New macro.
15265 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
15266 * math/gen-libm-test.pl (show_exceptions): Add argument
15267 $non_finite.
15268 (parse_args): Update call to show_exceptions.
15269 * math/test-math-finite.h: New file.
15270 * math/test-math-no-finite.h: Likewise.
15271 * math/test-double-finite.c: Likewise.
15272 * math/test-float-finite.c: Likewise.
15273 * math/test-ldouble-finite.c: Likewise.
15274 * math/test-double.c: Include "test-math-no-finite.h".
15275 * math/test-float.c: Include "test-math-no-finite.h".
15276 * math/test-ldouble.c: Include "test-math-no-finite.h".
15277 * math/test-math-inline.h (TEST_FINITE): New macro.
15278 * math/test-math-vector.h (TEST_FINITE): Likewise.
15279 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
15280 (libm-tests): Add test-float-finite and test-double-finite.
15281 ($(objpfx)test-float-finite.o): New dependency on
15282 $(objpfx)libm-test.stmp.
15283 ($(objpfx)test-double-finite.o): Likewise.
15284 ($(objpfx)test-ldouble-finite.o): Likewise.
15285 (libm-test-no-inline-cflags): New variable.
15286 (libm-test-finite-cflags): Likewise.
15287 (CFLAGS-test-float-finite.c): Likewise.
15288 (CFLAGS-test-double-finite.c): Likewise.
15289 (CFLAGS-test-ldouble-finite.c): Likewise.
15290 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
15291 (CFLAGS-test-double.c): Likewise.
15292 (CFLAGS-test-ldouble.c): Likewise.
15293
15294 2015-11-05 Roland McGrath <roland@hack.frob.com>
15295
15296 * io/fcntl.c (__fcntl): Add ... to prototype.
15297 * misc/ioctl.c (__ioctl): Likewise.
15298 * misc/syscall.c (syscall): Likewise.
15299
15300 2015-11-05 Joseph Myers <joseph@codesourcery.com>
15301
15302 * scripts/list-fixed-bugs.py: New file.
15303
15304 [BZ #19213]
15305 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
15306 returned for argument 1.
15307 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
15308 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
15309 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
15310 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
15311 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
15312 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
15313
15314 [BZ #19211]
15315 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
15316 __USE_XOPEN], not if [!__USE_ISOC99].
15317 (lgammaf): Likewise.
15318 (lgammal): Likewise.
15319 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
15320 (gammaf): Likewise.
15321 (gammal): Likewise.
15322 * math/test-signgam-finite-c11.c: New file.
15323 * math/test-signgam-finite-c99.c: Likewise.
15324 * math/test-signgam-finite.c: Likewise.
15325 * math/Makefile (tests): Add test-signgam-finite,
15326 test-signgam-finite-c99 and test-signgam-finite-c11.
15327 (CFLAGS-test-signgam-finite.c): New variable.
15328 (CFLAGS-test-signgam-finite-c99.c): Likewise.
15329 (CFLAGS-test-signgam-finite-c11.c): Likewise.
15330
15331 [BZ #19212]
15332 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
15333 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
15334 500].
15335 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
15336 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
15337 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
15338 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
15339 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
15340 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
15341 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
15342 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
15343 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
15344 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
15345
15346 [BZ #19209]
15347 * math/bits/math-finite.h (ldexp): Remove declaration.
15348 (ldexpf): Likewise.
15349 (ldexpl): Likewise.
15350
15351 [BZ #19205]
15352 * math/bits/math-finite.h (acosf): Condition declaration on
15353 [__USE_ISOC99].
15354 (acosl): Likewise.
15355 (acoshf): Likewise.
15356 (acoshl): Likewise.
15357 (asinf): Likewise.
15358 (asinl): Likewise.
15359 (atan2f): Likewise.
15360 (atan2l): Likewise.
15361 (atanhf): Likewise.
15362 (atanhl): Likewise.
15363 (coshf): Likewise.
15364 (coshl): Likewise.
15365 (expf): Likewise.
15366 (expl): Likewise.
15367 (fmodf): Likewise.
15368 (fmodl): Likewise.
15369 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
15370 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
15371 (j0l): Likewise.
15372 (y0f): Likewise.
15373 (y0l): Likewise.
15374 (j1f): Likewise.
15375 (j1l): Likewise.
15376 (y1f): Likewise.
15377 (y1l): Likewise.
15378 (jnf): Likewise.
15379 (jnl): Likewise.
15380 (ynf): Likewise.
15381 (ynl): Likewise.
15382 (lgammaf_r): Condition declaration on [__USE_ISOC99].
15383 (lgammal_r): Likewise.
15384 (__lgamma_r_finite): New declaration.
15385 (__lgammaf_r_finite): Likewise.
15386 (__lgammal_r_finite): Likewise.
15387 (lgamma): Use __lgamma_r_finite.
15388 (lgammaf): Condition definition on [__USE_ISOC99]. Use
15389 __lgammaf_r_finite.
15390 (lgammal): Condition definition on [__USE_ISOC99]. Use
15391 __lgammal_r_finite.
15392 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
15393 __lgamma_r_finite.
15394 (gammaf): Condition definition on [__USE_ISOC99]. Use
15395 __lgammaf_r_finite.
15396 (gammal): Condition definition on [__USE_ISOC99]. Use
15397 __lgammal_r_finite.
15398 (logf): Condition declaration on [__USE_ISOC99].
15399 (logl): Likewise.
15400 (log10f): Likewise.
15401 (log10l): Likewise.
15402 (ldexpf): Likewise.
15403 (ldexpl): Likewise.
15404 (powf): Likewise.
15405 (powl): Likewise.
15406 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
15407 __USE_ISOC99].
15408 (remainderf): Condition declaration on [__USE_ISOC99].
15409 (remainderl): Likewise.
15410 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
15411 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
15412 (scalbl): Likewise.
15413 (sinhf): Condition declaration on [__USE_ISOC99].
15414 (sinhl): Likewise.
15415 (sqrtf): Likewise.
15416 (sqrtl): Likewise.
15417
15418 2015-11-04 Joseph Myers <joseph@codesourcery.com>
15419
15420 * sysdeps/arm/atomic-machine.h
15421 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15422 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15423 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
15424 Remove conditional code.
15425 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15426 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15427 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
15428 Change conditional to [__ASSEMBLER__].
15429 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15430 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
15431 [!__ASSEMBLER__].
15432 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
15433 code.
15434 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
15435 conditional macro definitions.
15436 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
15437 (__arch_compare_and_exchange_val_16_acq): Likewise.
15438 (__arch_compare_and_exchange_val_32_acq): Likewise.
15439 (atomic_exchange_and_add): Likewise.
15440 (atomic_add): Likewise.
15441 (atomic_add_negative): Likewise.
15442 (atomic_add_zero): Likewise.
15443 (atomic_bit_set): Likewise.
15444 (atomic_bit_test_set): Likewise.
15445 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
15446 code unconditional.
15447 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15448
15449 * math/test-math-errno.h: New file.
15450 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
15451 empty.
15452 (TEST_ERRNO): New macro.
15453 (TEST_EXCEPTIONS): Likewise.
15454 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
15455 (TEST_EXCEPTIONS): Likewise.
15456 * math/test-math-vector.h (TEST_ERRNO): Likewise.
15457 * math/test-double.c: Include "test-math-errno.h".
15458 * math/test-float.c: Likewise.
15459 * math/test-ldouble.c: Likewise.
15460 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
15461 code unconditional.
15462 (test_exceptions): Only run code if TEST_EXCEPTIONS.
15463 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
15464 unconditional.
15465 (test_errno): Only run code if TEST_ERRNO.
15466 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
15467
15468 2015-11-04 Florian Weimer <fweimer@redhat.com>
15469
15470 * nptl/tst-once5.cc: Remove attribution.
15471
15472 2015-11-04 Joseph Myers <joseph@codesourcery.com>
15473
15474 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
15475 sqrt, tan, tanh, y0, y1 and yn.
15476 * math/auto-libm-test-out: Regenerated.
15477 * math/libm-test.inc (scalb_test_data): Add more tests.
15478 (scalbn_test_data): Likewise.
15479 (scalbln_test_data): Likewise.
15480 (signbit_test_data): Likewise.
15481 (sin_test_data): Likewise.
15482 (sincos_test_data): Likewise.
15483 (sinh_test_data): Likewise.
15484 (sqrt_test_data): Likewise.
15485 (tan_test_data): Likewise.
15486 (tanh_test_data): Likewise.
15487 (tgamma_test_data): Likewise.
15488 (y0_test_data): Likewise.
15489 (y1_test_data): Likewise.
15490 (yn_test_data): Likewise.
15491 (significand_test_data): Likewise.
15492 * sysdeps/i386/fpu/libm-test-ulps: Update.
15493
15494 2015-11-03 David Kastrup <dak@gnu.org>
15495
15496 [BZ #18604]
15497 * assert/assert.h (assert): Don't macro-expand failed assertion
15498 expression in error message.
15499 * malloc/malloc.c (assert): Likewise.
15500
15501 2015-11-03 Joseph Myers <joseph@codesourcery.com>
15502
15503 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
15504 test.
15505 * configure: Regenerated.
15506
15507 2015-11-02 Joseph Myers <joseph@codesourcery.com>
15508
15509 * math/libm-test.inc (modf_test_data): Add more tests.
15510 (nearbyint_test_data): Likewise.
15511 (nextafter_test_data): Likewise.
15512 (nexttoward_test_data): Likewise.
15513 (pow_test_data): Likewise.
15514 (remainder_test_data): Likewise.
15515 (remquo_test_data): Likewise.
15516 (rint_test_data): Likewise.
15517
15518 [BZ #19201]
15519 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15520 Check for zero remainder in case of large exponents and ensure
15521 correct sign of result in that case.
15522 * math/libm-test.inc (remainder_test_data): Add more tests.
15523
15524 [BZ #6799]
15525 * math/s_nextafter.c: Include <errno.h>.
15526 (__nextafter): Set errno on overflow and underflow.
15527 * math/s_nexttowardf.c: Include <errno.h>.
15528 (__nexttowardf): Set errno on overflow and underflow.
15529 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
15530 (__nextafterl): Set errno on overflow and underflow.
15531 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
15532 (__nexttoward): Set errno on overflow and underflow.
15533 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
15534 (__nexttowardf): Set errno on overflow and underflow.
15535 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
15536 (__nextafterf): Set errno on overflow and underflow.
15537 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
15538 (__nextafterl): Set errno on overflow and underflow.
15539 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
15540 (__nexttoward): Set errno on overflow and underflow.
15541 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
15542 (__nexttowardf): Set errno on overflow and underflow.
15543 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
15544 (__nextafterl): Set errno on overflow and underflow.
15545 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
15546 (__nexttoward): Set errno on overflow and underflow.
15547 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
15548 (__nexttowardf): Set errno on overflow and underflow.
15549 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
15550 (__nexttoward): Set errno on overflow and underflow.
15551 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
15552 (__nexttowardf): Set errno on overflow and underflow.
15553 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
15554 (__nldbl_nexttowardf): Set errno on overflow and underflow.
15555 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
15556 (__nextafterl): Set errno on overflow and underflow.
15557 * math/libm-test.inc (nextafter_test_data): Do not allow errno
15558 setting to be missing on overflow. Add more tests.
15559 (nexttoward_test_data): Likewise.
15560
15561 * configure.ac (libc_cv_initfini_array): Remove configure test.
15562 * configure: Regenerated.
15563
15564 2015-10-29 Joseph Myers <joseph@codesourcery.com>
15565
15566 [BZ #19189]
15567 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
15568 non-finite argument handle arguments with negative sign.
15569
15570 * math/libm-test.inc (j0_test_data): Do not test sign of zero
15571 result from infinite argument.
15572 (j1_test_data): Likewise.
15573 (jn_test_data): Likewise.
15574 (y0_test_data): Likewise.
15575 (y1_test_data): Likewise.
15576 (yn_test_data): Likewise.
15577
15578 [BZ #16171]
15579 * math/w_remainder.c (drem): Define as weak alias of __remainder.
15580 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
15581 * math/w_remainderf.c (dremf): Define as weak alias of
15582 __remainderf.
15583 * math/w_remainderl.c (dreml): Define as weak alias of
15584 __remainderl.
15585 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
15586 __remainder.
15587 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
15588 __remainderf.
15589 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
15590 __remainderl.
15591 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
15592 weak alias of remainderl.
15593 * sysdeps/ieee754/ldbl-opt/w_remainder.c
15594 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
15595 alias of __remainder.
15596 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
15597 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
15598 strong alias of __remainderl.
15599 (dreml): Use long_double_symbol.
15600 * math/Makefile (libm-calls): Remove w_drem.
15601 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
15602 (CFLAGS-nldbl-drem.c): Remove variable.
15603 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
15604 * math/w_drem.c: Remove file.
15605 * math/w_dremf.c: Likewise.
15606 * math/w_dreml.c: Likewise.
15607 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
15608 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
15609 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
15610
15611 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
15612 * sysdeps/i386/configure: Regenerated.
15613 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
15614 * sysdeps/x86_64/configure: Regenerated.
15615
15616 * configure.ac (libc_cv_asm_protected_directive): Remove configure
15617 test.
15618 (libc_cv_visibility_attribute): Likewise.
15619 (libc_cv_protected_data): Test unconditionally.
15620 (libc_cv_broken_visibility_attribute): Remove configure test.
15621 (libc_cv_have_sdata_section): Test unconditionally.
15622 * configure: Regenerated.
15623
15624 * include/libc-internal.h (libc_max_align_t): Remove typedef.
15625 * include/scratch_buffer.h: Include <stddef.h> instead of
15626 <libc-internal.h>.
15627 (struct scratch_buffer): Use max_align_t instead of
15628 libc_max_align_t.
15629
15630 2015-10-29 Florian Weimer <fweimer@redhat.com>
15631
15632 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
15633 instead of extend_alloca. Change control flow to avoid a goto.
15634 Remove assert which is trivially always true.
15635
15636 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15637
15638 [BZ #16068]
15639 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
15640 (FE_ALL_EXCEPT_X86): New macro.
15641 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15642 FE_ALL_EXCEPT. Ensure precision control is included in
15643 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15644 handle "denormal operand exception" and clear FZ and DAZ bits.
15645 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
15646 (FE_ALL_EXCEPT_X86): New macro.
15647 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15648 FE_ALL_EXCEPT. Ensure precision control is included in
15649 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15650 handle "denormal operand exception" and clear FZ and DAZ bits.
15651 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
15652 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
15653 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15654 test-fenv-x87 and test-fenv-sse-2.
15655 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
15656
15657 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
15658 * math/test-double.h (BUILD_COMPLEX): New macro.
15659 * math/test-float.h (BUILD_COMPLEX): Likewise.
15660 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
15661
15662 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
15663 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
15664 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
15665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
15666 instead of DBL_DENORM_MIN in comment.
15667 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
15668 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15669 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
15670 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
15671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
15672 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15673
15674 2015-10-28 Florian Weimer <fweimer@redhat.com>
15675
15676 [BZ# 19048]
15677 * malloc/malloc.c (struct malloc_state): Update comment. Add
15678 attached_threads member.
15679 (main_arena): Initialize attached_threads.
15680 * malloc/arena.c (list_lock): Update comment.
15681 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
15682 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
15683 (deattach_arena): New function.
15684 (_int_new_arena): Initialize arena reference count and deattach
15685 replaced arena.
15686 (get_free_list, reused_arena): Update reference count and deattach
15687 replaced arena.
15688 (arena_thread_freeres): Update arena reference count and only put
15689 unreferenced arenas on the free list.
15690
15691 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15692
15693 [BZ #19181]
15694 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
15695 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
15696 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
15697 * math/test-fenv-clear-main.c: New file.
15698 * math/test-fenv-clear.c: Likewise.
15699 * math/Makefile (tests): Add test-fenv-clear.
15700 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
15701 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15702 test-fenv-clear-sse.
15703 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
15704
15705 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
15706 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
15707 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
15708
15709 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15710
15711 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
15712 static libc.
15713
15714 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15715
15716 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
15717 test.
15718 * sysdeps/i386/configure: Regenerated.
15719 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
15720 test.
15721 * sysdeps/x86_64/configure: Regenerated.
15722 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
15723 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15724 memset-avx2 unconditionally instead of conditionally on
15725 [$(config-cflags-avx2) = yes].
15726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15727 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
15728 unconditional.
15729 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
15730 * sysdeps/x86_64/multiarch/memset_chk.S
15731 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
15732 to [IS_IN (libc) && SHARED].
15733
15734 2015-10-27 Joseph Myers <joseph@codesourcery.com>
15735
15736 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
15737 configure test.
15738 * sysdeps/arm/configure: Regenerated.
15739 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
15740 Define variable if not already defined.
15741
15742 [BZ #17404]
15743 * sysdeps/mips/atomic-machine.h
15744 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
15745 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
15746 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15747
15748 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
15749 unconditional.
15750 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
15751 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15752 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
15753 unconditional.
15754 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15755 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
15756 unconditional.
15757 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15758 * stdlib/setenv.c
15759 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
15760 code unconditional.
15761 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
15762 Remove conditional code.
15763 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
15764 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
15765 unconditional.
15766 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15767 code.
15768 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
15769 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
15770 unconditional.
15771 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15772 code.
15773 * sysdeps/ieee754/ldbl-128/k_tanl.c
15774 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15775 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15776 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
15777 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15778 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15779 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
15780 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
15781 unconditional.
15782 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15783 code.
15784 * sysdeps/ieee754/ldbl-96/k_tanl.c
15785 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15786 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15787
15788 * nptl/tst-initializers1-c11.c: New file.
15789 * nptl/tst-initializers1-gnu11.c: Likewise.
15790 * nptl/Makefile (tests): Add these new tests.
15791 (CFLAGS-tst-initializers1-c11.c): New variable.
15792 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
15793
15794 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
15795 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
15796 instead of -std=gnu99.
15797 * configure.ac (systemtap): Test with -std=gnu11 instead of
15798 -std=gnu99.
15799 * configure: Regenerated.
15800 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
15801 in compilation command in comment.
15802
15803 * sysdeps/nptl/configure.ac: Remove file.
15804 * sysdeps/nptl/configure: Remove generated file.
15805 * configure.ac (libc_cv_forced_unwind): Do not substitute.
15806 * configure: Regenerated.
15807 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
15808 * config.make.in (have-forced-unwind): Remove variable.
15809 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
15810 unconditional.
15811 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
15812 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
15813 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
15814 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
15815 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
15816 unconditional.
15817
15818 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15819
15820 [BZ #19174]
15821 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
15822 .skip_lock_out_of_tbegin_retries.
15823 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15824 (__lll_lock_elision): Likewise, and respect a value of
15825 try_tbegin <= 0.
15826
15827 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15828
15829 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
15830 statement.
15831
15832 2015-10-27 Joseph Myers <joseph@codesourcery.com>
15833
15834 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
15835 variable.
15836 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15837 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15838
15839 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
15840 of -std=c1x -D_ISOC11_SOURCE.
15841
15842 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
15843 * configure: Regenerated.
15844 * manual/install.texi (Tools for Compilation): Document
15845 requirement for GCC 4.7 or later.
15846 * INSTALL: Regenerated.
15847
15848 2015-10-27 Ludovic Courtès <ludo@gnu.org>
15849
15850 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
15851 on CNT to a conditional jump to 'puntdata'.
15852
15853 2015-10-27 Joseph Myers <joseph@codesourcery.com>
15854
15855 * configure.ac (libc_cv_gcc___thread): Remove configure test.
15856 (libc_cv_gcc_tls_model_attr): Likewise.
15857 * configure: Regenerated.
15858
15859 * configure.ac (libc_cv_need_minus_P): Remove configure test.
15860 * configure: Regenerated.
15861 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
15862
15863 2015-10-26 Joseph Myers <joseph@codesourcery.com>
15864
15865 * configure.ac (old_glibc_headers): Remove configure test.
15866 * configure: Regenerated.
15867 * config.make.in (old-glibc-headers): Remove variable.
15868 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
15869 (install): Remove dependency on remove-old-headers.
15870 (headers2_0): Remove variable.
15871 (remove-old-headers): Remove rule.
15872
15873 * configure.ac (libc_cv_dot_text): Remove configure test.
15874 (libc_cv_asm_set_directive): Use .text instead of
15875 ${libc_cv_dot_text} in configure test.
15876 * configure: Regenerated.
15877
15878 2015-10-26 Florian Weimer <fweimer@redhat.com>
15879
15880 [BZ #19168]
15881 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15882
15883 2015-10-26 Florian Weimer <fweimer@redhat.com>
15884
15885 * configure.ac (CXX): Clear the variable if the C++ toolchain does
15886 not support static linking.
15887 * configure: Regenerate.
15888
15889 2015-10-23 Joseph Myers <joseph@codesourcery.com>
15890
15891 * math/libm-test.inc (check_float_internal): Do not special-case
15892 errors up to 0.5 ulp.
15893
15894 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15895 log2.
15896 * math/auto-libm-test-out: Regenerated.
15897 * math/libm-test.inc (MAX_EXP): New macro.
15898 (ilogb_test_data): Add more tests.
15899 (isfinite_test_data): Likewise.
15900 (isgreater_test_data): Likewise.
15901 (isgreaterequal_test_data): Likewise.
15902 (isinf_test_data): Likewise.
15903 (isless_test_data): Likewise.
15904 (islessequal_test_data): Likewise.
15905 (islessgreater_test_data): Likewise.
15906 (isnan_test_data): Likewise.
15907 (isnormal_test_data): Likewise.
15908 (issignaling_test_data): Likewise.
15909 (isunordered_test_data): Likewise.
15910 (j0_test_data): Likewise.
15911 (j1_test_data): Likewise.
15912 (jn_test_data): Likewise.
15913 (lgamma_test_data): Likewise.
15914 (log_test_data): Likewise.
15915 (log10_test_data): Likewise.
15916 (log1p_test_data): Likewise.
15917 (log2_test_data): Likewise.
15918 (logb_test_data): Likewise.
15919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15920
15921 [BZ #18611]
15922 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
15923 avoid excess range and precision on underflow.
15924 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15925 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15926 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15927 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
15928 underflow.
15929 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15930 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15931 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15932 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15933 * math/auto-libm-test-in: Do not allow missing errno setting for
15934 tests of j1 and jn.
15935 * math/auto-libm-test-out: Regenerated.
15936
15937 2015-10-22 Joseph Myers <joseph@codesourcery.com>
15938
15939 [BZ #15491]
15940 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
15941 floating-point environment instead of clearing all exceptions.
15942 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15943 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
15944 merging in "invalid" exceptions from frndint.
15945 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15946 * math/test-nearbyint-except.c: New file.
15947 * math/Makefile (tests): Add test-nearbyint-except.
15948
15949 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
15950
15951 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
15952
15953 * sysdeps/tile/libm-test-ulps: Regenerated.
15954
15955 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15956
15957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
15958 (__NR_sync_file_range2): Assume it is always defined.
15959 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15960 (__NR_sync_file_range): Assume it is always defined.
15961
15962 2015-10-22 Andreas Schwab <schwab@suse.de>
15963
15964 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
15965 INTERNAL_SYSCALL_ERRNO.
15966 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15967 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
15968 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15969 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
15970 Likewise.
15971 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15972
15973 2015-10-21 Joseph Myers <joseph@codesourcery.com>
15974
15975 * io/tst-fcntl.c (fd): New static variable.
15976 (do_prepare): Open temporary file here....
15977 (do_test): ...not here.
15978
15979 * io/ftwtest-sh: Also trap on exit to remove temporary files.
15980
15981 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
15982
15983 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
15984 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
15985 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
15986 Moved before "#ifdef __ASSEMBLER__".
15987
15988 2015-10-21 Joseph Myers <joseph@codesourcery.com>
15989
15990 [BZ #19156]
15991 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
15992 arguments very close to 0.
15993
15994 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
15995
15996 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
15997 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
15998
15999 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16000
16001 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16002 New. Defined for GCC 5 and above when not compiling for
16003 profiling.
16004 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16005
16006 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16007 Renamed to ...
16008 (CFLAGS-epoll_pwait.o): This.
16009 (CFLAGS-mmap.c): Renamed to ...
16010 (CFLAGS-mmap.o): This.
16011 (CFLAGS-mmap64.c): Renamed to ...
16012 (CFLAGS-mmap64.o): This.
16013 (CFLAGS-epoll_pwait.os): New.
16014 (CFLAGS-mmap.os): Likewise.
16015 (CFLAGS-mmap64.os): Likewise.
16016 (CFLAGS-semtimedop.os): Likewise.
16017 (CFLAGS-semtimedop.c): Renamed to ...
16018 (CFLAGS-semtimedop.o): This.
16019
16020 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16021
16022 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16023 warning message.
16024
16025 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16026
16027 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16028 * Makefile ($(objpfx)c++-types-check.out): Filter out
16029 $(+gccwarn-c) instead of -Wstrict-prototypes.
16030
16031 * io/fts.c (fts_open): Convert to prototype-style function
16032 definition.
16033 * malloc/mcheck.c (mcheck): Likewise.
16034 (mcheck_pedantic): Likewise.
16035 * posix/regexec.c (re_search_2_stub): Likewise. Use
16036 internal_function.
16037 (re_search_internal): Likewise.
16038 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16039 prototype-style function definition.
16040 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16041 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16042 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16043 (xdr_utmpptr): Likewise.
16044 (xdr_utmparr): Likewise.
16045 (xdr_utmpidle): Likewise.
16046 (xdr_utmpidleptr): Likewise.
16047 (xdr_utmpidlearr): Likewise.
16048
16049 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16050 log, log10 and log2.
16051 * math/auto-libm-test-out: Regenerated.
16052 * math/libm-test.inc (fmod_test_data): Add more tests.
16053 (fpclassify_test_data): Likewise.
16054 (frexp_test_data): Likewise.
16055 (hypot_test_data): Likewise.
16056 (ilogb_test_data): Likewise.
16057
16058 2015-10-20 Joseph Myers <joseph@codesourcery.com>
16059
16060 * debug/fortify_fail.c (__fortify_fail): Convert to
16061 prototype-style function definition. Use internal_function.
16062 * libio/genops.c (save_for_backup): Convert to prototype-style
16063 function definition.
16064 * libio/wgenops.c (save_for_wbackup): Likewise.
16065 * login/grantpt.c (grantpt): Likewise.
16066 * login/ptsname.c (ptsname): Likewise.
16067 (__ptsname_r): Likewise.
16068 * login/unlockpt.c (unlockpt): Likewise.
16069 * mach/msgserver.c (__mach_msg_server): Likewise.
16070 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16071 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16072 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16073 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16074 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16075 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16076 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16077 Likewise.
16078 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
16079 internal_function.
16080 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16081 prototype-style function definition.
16082 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16083 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16084 (__pthread_create_2_0): Likewise.
16085 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16086 * nptl/register-atfork.c (__register_atfork): Likewise.
16087 * posix/glob.c (glob): Likewise.
16088 * posix/regcomp.c (re_comp): Likewise.
16089 * posix/regexec.c (re_exec): Likewise.
16090 * stdlib/add_n.c [__STDC__]: Make code unconditional.
16091 [!__STDC__]: Remove conditional code.
16092 * stdlib/cmp.c [__STDC__]: Make code unconditional.
16093 [!__STDC__]: Remove conditional code.
16094 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16095 [!__STDC__]: Remove conditional code.
16096 * stdlib/divrem.c [__STDC__]: Make code unconditional.
16097 [!__STDC__]: Remove conditional code.
16098 * stdlib/lshift.c [__STDC__]: Make code unconditional.
16099 [!__STDC__]: Remove conditional code.
16100 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16101 [!__STDC__]: Remove conditional code.
16102 * stdlib/mul.c [__STDC__]: Make code unconditional.
16103 [!__STDC__]: Remove conditional code.
16104 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16105 [!__STDC__]: Remove conditional code.
16106 * stdlib/rshift.c [__STDC__]: Make code unconditional.
16107 [!__STDC__]: Remove conditional code.
16108 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16109 function definition.
16110 (STRTOF): Likewise.
16111 * stdlib/strtod_l.c (__STRTOF): Likewise.
16112 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16113 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16114 (__strtol_l): Likewise.
16115 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16116 [!__STDC__]: Remove conditional code.
16117 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16118 definition.
16119 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16120 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16121 type.
16122 (__strcasecmp): Convert to prototype-style function definition.
16123 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16124 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16125 type.
16126 (__strncasecmp): Convert to prototype-style function definition.
16127 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16128 * sunrpc/xdr.c (xdr_union): Likewise.
16129 * sunrpc/xdr_array.c (xdr_array): Likewise.
16130 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16131 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16132 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16133 Likewise.
16134 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16135 Likewise.
16136 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16137 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16138 Likewise.
16139 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16140 (LOCALE_PARAM_PROTO): Likewise.
16141 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16142 argument type.
16143 (ut_argument_spec): Remove macro.
16144 (ut_argument_spec_iso): Rename to ut_argument_spec.
16145 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
16146 prototype-style function definition.
16147 (memcpy_uppcase): Likewise.
16148 (__strftime_internal): Likewise.
16149 (my_strftime): Likewise.
16150 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16151 (LOCALE_PARAM_DECL): Likewise.
16152 [_LIBC] (LOCALE_PARAM): Include argument type.
16153 (__strptime_internal): Convert to prototype-style function
16154 definition.
16155 (strptime): Likewise.
16156 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16157 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16158 type.
16159 (__wcscasecmp): Convert to prototype-style function definition.
16160 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16161 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16162 type.
16163 (__wcsncasecmp): Convert to prototype-style function definition.
16164
16165 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16166 function definition.
16167 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16168 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16169 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16170 * elf/dl-minimal.c (_itoa): Likewise.
16171 * hurd/hurdmalloc.c (malloc): Likewise.
16172 (free): Likewise.
16173 (realloc): Likewise.
16174 * inet/inet6_option.c (inet6_option_space): Likewise.
16175 (inet6_option_init): Likewise.
16176 (inet6_option_append): Likewise.
16177 (inet6_option_alloc): Likewise.
16178 (inet6_option_next): Likewise.
16179 (inet6_option_find): Likewise.
16180 * io/ftw.c (FTW_NAME): Likewise.
16181 (NFTW_NAME): Likewise.
16182 (NFTW_NEW_NAME): Likewise.
16183 (NFTW_OLD_NAME): Likewise.
16184 * libio/iofwide.c (_IO_fwide): Likewise.
16185 * libio/strops.c (_IO_str_init_static_internal): Likewise.
16186 (_IO_str_init_static): Likewise.
16187 (_IO_str_init_readonly): Likewise.
16188 (_IO_str_overflow): Likewise.
16189 (_IO_str_underflow): Likewise.
16190 (_IO_str_count): Likewise.
16191 (_IO_str_seekoff): Likewise.
16192 (_IO_str_pbackfail): Likewise.
16193 (_IO_str_finish): Likewise.
16194 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
16195 (_IO_wstr_overflow): Likewise.
16196 (_IO_wstr_underflow): Likewise.
16197 (_IO_wstr_count): Likewise.
16198 (_IO_wstr_seekoff): Likewise.
16199 (_IO_wstr_pbackfail): Likewise.
16200 (_IO_wstr_finish): Likewise.
16201 * locale/programs/localedef.c (normalize_codeset): Likewise.
16202 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16203 (add_locales_to_archive): Likewise.
16204 (delete_locales_from_archive): Likewise.
16205 * malloc/malloc.c (__libc_mallinfo): Likewise.
16206 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
16207 * misc/tsearch.c (__tfind): Likewise.
16208 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
16209 * nptl/pthread_attr_getdetachstate.c
16210 (__pthread_attr_getdetachstate): Likewise.
16211 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
16212 Likewise.
16213 * nptl/pthread_attr_getinheritsched.c
16214 (__pthread_attr_getinheritsched): Likewise.
16215 * nptl/pthread_attr_getschedparam.c
16216 (__pthread_attr_getschedparam): Likewise.
16217 * nptl/pthread_attr_getschedpolicy.c
16218 (__pthread_attr_getschedpolicy): Likewise.
16219 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
16220 Likewise.
16221 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
16222 Likewise.
16223 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
16224 Likewise.
16225 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
16226 Likewise.
16227 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
16228 (__pthread_attr_init_2_0): Likewise.
16229 * nptl/pthread_attr_setdetachstate.c
16230 (__pthread_attr_setdetachstate): Likewise.
16231 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
16232 Likewise.
16233 * nptl/pthread_attr_setinheritsched.c
16234 (__pthread_attr_setinheritsched): Likewise.
16235 * nptl/pthread_attr_setschedparam.c
16236 (__pthread_attr_setschedparam): Likewise.
16237 * nptl/pthread_attr_setschedpolicy.c
16238 (__pthread_attr_setschedpolicy): Likewise.
16239 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
16240 Likewise.
16241 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
16242 Likewise.
16243 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
16244 Likewise.
16245 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
16246 Likewise.
16247 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
16248 Likewise.
16249 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
16250 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16251 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
16252 use internal_function.
16253 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
16254 prototype-style function definition.
16255 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
16256 (__pthread_mutex_cond_lock_adjust): Likewise. Use
16257 internal_function.
16258 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
16259 Convert to prototype-style function definition.
16260 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16261 Likewise.
16262 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
16263 Likewise.
16264 (__pthread_mutex_unlock): Likewise.
16265 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
16266 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
16267 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
16268 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
16269 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
16270 * nss/makedb.c (process_input): Likewise.
16271 * posix/fnmatch.c (__strchrnul): Likewise.
16272 (__wcschrnul): Likewise.
16273 (fnmatch): Likewise.
16274 * posix/fnmatch_loop.c (FCT): Likewise.
16275 * posix/glob.c (globfree): Likewise.
16276 (__glob_pattern_type): Likewise.
16277 (__glob_pattern_p): Likewise.
16278 * posix/regcomp.c (re_compile_pattern): Likewise.
16279 (re_set_syntax): Likewise.
16280 (re_compile_fastmap): Likewise.
16281 (regcomp): Likewise.
16282 (regerror): Likewise.
16283 (regfree): Likewise.
16284 * posix/regexec.c (regexec): Likewise.
16285 (re_match): Likewise.
16286 (re_search): Likewise.
16287 (re_match_2): Likewise.
16288 (re_search_2): Likewise.
16289 (re_search_stub): Likewise. Use internal_function
16290 (re_copy_regs): Likewise.
16291 (re_set_registers): Convert to prototype-style function
16292 definition.
16293 (prune_impossible_nodes): Likewise. Use internal_function.
16294 * resolv/inet_net_pton.c (inet_net_pton): Convert to
16295 prototype-style function definition.
16296 (inet_net_pton_ipv4): Likewise.
16297 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16298 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
16299 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16300 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
16301 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16302 Make variadic.
16303 * time/strptime_l.c (localtime_r): Convert to prototype-style
16304 function definition.
16305 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16306 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16307 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16308 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16309
16310 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
16311 definition.
16312 (_ufc_doit_r): Likewise.
16313 * crypt/crypt_util.c (_ufc_copymem): Likewise.
16314 (_ufc_output_conversion_r): Likewise.
16315 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
16316 * inet/rcmd.c (rcmd_af): Likewise.
16317 (rcmd): Likewise.
16318 (ruserok_af): Likewise.
16319 (ruserok): Likewise.
16320 (ruserok2_sa): Likewise.
16321 (ruserok_sa): Likewise.
16322 (iruserok_af): Likewise.
16323 (iruserok): Likewise.
16324 (__ivaliduser): Likewise.
16325 (__validuser2_sa): Likewise.
16326 * inet/rexec.c (rexec_af): Likewise.
16327 (rexec): Likewise.
16328 * inet/ruserpass.c (ruserpass): Likewise.
16329 * locale/programs/xmalloc.c (xcalloc): Likewise.
16330 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
16331 * math/w_drem.c (__drem): Likewise.
16332 * math/w_dremf.c (__dremf): Likewise.
16333 * math/w_dreml.c (__dreml): Likewise.
16334 * misc/daemon.c (daemon): Likewise.
16335 * resolv/res_debug.c (p_fqnname): Likewise.
16336 * stdlib/div.c (div): Likewise.
16337 * string/memcmp.c (memcmp_bytes): Likewise.
16338 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
16339 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
16340
16341 * crypt/cert.c (main): Convert to prototype-style function
16342 definition.
16343 * io/pipe.c (__pipe): Likewise.
16344 * io/pipe2.c (__pipe2): Likewise.
16345 * misc/futimesat.c (futimesat): Likewise.
16346 * misc/utimes.c (__utimes): Likewise.
16347 * posix/execve.c (__execve): Likewise.
16348 * posix/execvp.c (execvp): Likewise.
16349 * posix/execvpe.c (__execvpe): Likewise.
16350 * posix/fexecve.c (fexecve): Likewise.
16351 * socket/socketpair.c (socketpair): Likewise.
16352 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16353 * stdlib/erand48.c (erand48): Likewise.
16354 * stdlib/erand48_r.c (__erand48_r): Likewise.
16355 * stdlib/jrand48.c (jrand48): Likewise.
16356 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
16357 * stdlib/lcong48.c (lcong48): Likewise.
16358 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
16359 * stdlib/nrand48.c (nrand48): Likewise.
16360 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
16361 * stdlib/seed48.c (seed48): Likewise.
16362 * stdlib/seed48_r.c (__seed48_r): Likewise.
16363 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
16364 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
16365 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
16366
16367 2015-10-19 Joseph Myers <joseph@codesourcery.com>
16368
16369 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
16370 * configure: Regenerated.
16371 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
16372 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
16373 unconditional.
16374 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16375 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16376 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16377 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
16378 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
16379 unconditional.
16380 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16381
16382 * posix/Makefile (CFLAGS-regex.c): Remove variable.
16383 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
16384
16385 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
16386 function definition.
16387 * crypt/crypt_util.c (__encrypt_r): Likewise.
16388 * libio/genops.c (_IO_no_init): Likewise.
16389 * libio/iofopncook.c (_IO_fopencookie): Likewise.
16390 (_IO_old_fopencookie): Likewise.
16391 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16392 * libio/iogetline.c (_IO_getline): Likewise.
16393 (_IO_getline_info): Likewise.
16394 * libio/iogetwline.c (_IO_getwline): Likewise.
16395 (_IO_getwline_info): Likewise.
16396 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
16397 * libio/vswprintf.c (_IO_vswprintf): Likewise.
16398 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
16399 (find_entry): Likewise.
16400 (iterate_table): Likewise.
16401 (lookup): Likewise.
16402 * login/forkpty.c (forkpty): Likewise.
16403 * misc/hsearch_r.c (__hsearch_r): Likewise.
16404 * misc/select.c (__select): Likewise.
16405 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
16406 Likewise.
16407 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
16408 Likewise.
16409 * nptl/old_pthread_cond_timedwait.c
16410 (__pthread_cond_timedwait_2_0): Likewise.
16411 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
16412 * nptl/pthread_barrierattr_getpshared.c
16413 (pthread_barrierattr_getpshared): Likewise.
16414 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
16415 Likewise.
16416 * nptl/pthread_mutex_setprioceiling.c
16417 (pthread_mutex_setprioceiling): Likewise.
16418 * nptl/pthread_mutexattr_getprioceiling.c
16419 (pthread_mutexattr_getprioceiling): Likewise.
16420 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
16421 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16422 Likewise.
16423 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16424 Likewise.
16425 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
16426 Likewise.
16427 * socket/recvfrom.c (__recvfrom): Likewise.
16428 * socket/sendto.c (__sendto): Likewise.
16429 * socket/setsockopt.c (__setsockopt): Likewise.
16430 * stdio-common/_itoa.c (_itoa): Likewise.
16431 * stdio-common/_itowa.c (_itowa): Likewise.
16432 * stdio-common/reg-printf.c (__register_printf_specifier):
16433 Likewise.
16434 (__register_printf_function): Likewise.
16435 * stdio-common/tempname.c (__path_search): Likewise.
16436 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
16437 * stdlib/mul_1.c (mpn_mul_1): Likewise.
16438 * stdlib/random_r.c (__initstate_r): Likewise.
16439 * stdlib/setenv.c (__add_to_environ): Likewise.
16440 * stdlib/submul_1.c (mpn_submul_1): Likewise.
16441 * streams/getpmsg.c (getpmsg): Likewise.
16442 * streams/putmsg.c (putmsg): Likewise.
16443 * streams/putpmsg.c (putpmsg): Likewise.
16444 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
16445 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
16446 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
16447 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
16448 * sunrpc/pm_getport.c (pmap_getport): Likewise.
16449 * sunrpc/svc_udp.c (cache_get): Likewise.
16450 * sunrpc/xdr_array.c (xdr_vector): Likewise.
16451 * sysdeps/mach/hurd/getcwd.c
16452 (__canonicalize_directory_name_internal): Likewise.
16453 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
16454 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
16455 * sysdeps/mach/hurd/select.c (__select): Likewise.
16456 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
16457 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16458 * sysdeps/sparc/nptl/pthread_barrier_init.c
16459 (__pthread_barrier_init): Likewise.
16460 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
16461 (__pthread_cond_timedwait): Likewise.
16462 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
16463 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
16464 Likewise.
16465 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
16466 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
16467 Likewise.
16468 * sysvipc/semtimedop.c (semtimedop): Likewise.
16469 * time/setitimer.c (__setitimer): Likewise.
16470 * time/strftime_l.c (emacs_strftime): Likewise.
16471
16472 2015-10-19 Mike Frysinger <vapier@gentoo.org>
16473
16474 * config.make.in (have-ssp): Delete.
16475 (stack-protector): New variable.
16476 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
16477 cache test for -fstack-protector-strong. Export stack_protector to
16478 the best ssp flag.
16479 * configure: Regenerated.
16480 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
16481 * nscd/Makefile (CFLAGS-nscd): Likewise.
16482 * resolv/Makefile (CFLAGS-libresolv): Likewise.
16483
16484 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
16485
16486 [BZ #19122]
16487 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
16488 attribute_hidden.
16489
16490 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16491
16492 [BZ #18743]
16493 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
16494 code to...
16495 (ELIDE_LOCK): ...here.
16496 (__get_new_count): New function with part of the code from
16497 __elide_lock that updates the value of adapt_count after a
16498 transaction abort.
16499 (__elided_trylock): Moved this code to...
16500 (ELIDE_TRYLOCK): ...here.
16501
16502 2015-10-19 Mike Frysinger <vapier@gentoo.org>
16503
16504 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
16505 * configure: Regenerate.
16506 * INSTALL: Regenerate.
16507 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
16508 and tweak grammar.
16509
16510 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
16511
16512 * login/programs/pt_chown.c: Include signal.h
16513 (main): Clear any signal mask from the parent process.
16514
16515 2015-10-19 Joseph Myers <joseph@codesourcery.com>
16516
16517 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
16518 * configure: Regenerated.
16519 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
16520 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
16521 $(gnu89-inline-CFLAGS).
16522
16523 * configure.ac (libc_cv_asm_weak_directive): Remove configure
16524 test.
16525 (libc_cv_asm_weakext_directive): Likewise.
16526 * configure: Regenerated.
16527 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
16528 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
16529 * include/libc-symbols.h
16530 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
16531 #error.
16532 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
16533 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
16534
16535 * sysdeps/arm/backtrace.c (__backtrace): Convert to
16536 prototype-style function definition.
16537 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16538 * sysdeps/i386/ffs.c (__ffs): Likewise.
16539 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16540 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
16541 Likewise.
16542 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16543 Likewise.
16544 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
16545 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16546 Likewise.
16547 * sysdeps/m68k/ffs.c (__ffs): Likewise.
16548 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
16549 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
16550 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
16551 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
16552 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
16553 * sysdeps/mach/hurd/access.c (__access): Likewise.
16554 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
16555 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
16556 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
16557 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
16558 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
16559 (cthread_getspecific): Likewise.
16560 (cthread_setspecific): Likewise.
16561 (__libc_getspecific): Likewise.
16562 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
16563 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
16564 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
16565 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
16566 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
16567 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
16568 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
16569 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
16570 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
16571 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
16572 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
16573 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
16574 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
16575 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
16576 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
16577 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
16578 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
16579 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
16580 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
16581 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
16582 * sysdeps/mach/hurd/link.c (__link): Likewise.
16583 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
16584 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
16585 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
16586 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
16587 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16588 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
16589 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
16590 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
16591 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16592 * sysdeps/mach/hurd/rename.c (rename): Likewise.
16593 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
16594 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
16595 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
16596 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
16597 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
16598 * sysdeps/mach/hurd/send.c (__send): Likewise.
16599 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
16600 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
16601 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
16602 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
16603 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
16604 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
16605 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
16606 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
16607 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
16608 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
16609 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
16610 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
16611 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
16612 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
16613 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
16614 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
16615 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
16616 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
16617 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
16618 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16619 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
16620 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
16621 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
16622 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
16623 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
16624 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
16625 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
16626 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
16627 * sysdeps/posix/alarm.c (alarm): Likewise.
16628 * sysdeps/posix/cuserid.c (cuserid): Likewise.
16629 * sysdeps/posix/dirfd.c (dirfd): Likewise.
16630 * sysdeps/posix/dup.c (__dup): Likewise.
16631 * sysdeps/posix/dup2.c (__dup2): Likewise.
16632 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
16633 (main): Likewise.
16634 * sysdeps/posix/flock.c (__flock): Likewise.
16635 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
16636 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16637 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
16638 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
16639 * sysdeps/posix/isatty.c (__isatty): Likewise.
16640 * sysdeps/posix/killpg.c (killpg): Likewise.
16641 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16642 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
16643 * sysdeps/posix/raise.c (raise): Likewise.
16644 * sysdeps/posix/remove.c (remove): Likewise.
16645 * sysdeps/posix/rename.c (rename): Likewise.
16646 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
16647 * sysdeps/posix/seekdir.c (seekdir): Likewise.
16648 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
16649 * sysdeps/posix/sigignore.c (sigignore): Likewise.
16650 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
16651 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16652 * sysdeps/posix/sigset.c (sigset): Likewise.
16653 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
16654 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
16655 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
16656 * sysdeps/posix/time.c (time): Likewise.
16657 * sysdeps/posix/ttyname.c (getttyname): Likewise.
16658 (ttyname): Likewise.
16659 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
16660 * sysdeps/posix/utime.c (utime): Likewise.
16661 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
16662 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16663 Likewise.
16664 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
16665 (pthread_spin_trylock): Likewise.
16666 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
16667 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
16668 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
16669 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
16670 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
16671 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
16672 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
16673 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
16674 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
16675 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
16676 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
16677 * sysdeps/s390/ffs.c (__ffs): Likewise.
16678 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
16679 Likewise.
16680 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16681 Likewise.
16682 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
16683 Likewise.
16684 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
16685 (pthread_barrier_destroy): Likewise.
16686 * sysdeps/sparc/nptl/pthread_barrier_wait.c
16687 (__pthread_barrier_wait): Likewise.
16688 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
16689 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16690 (__pthread_barrier_wait): Likewise.
16691 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
16692 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
16693 (memcmp_not_common_alignment): Likewise.
16694 (MEMCMP): Likewise.
16695 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
16696 (_wordcopy_fwd_dest_aligned): Likewise.
16697 (_wordcopy_bwd_aligned): Likewise.
16698 (_wordcopy_bwd_dest_aligned): Likewise.
16699 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
16700 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
16701 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16702 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
16703 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
16704 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
16705 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
16706 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
16707 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
16708 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
16709 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
16710 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16711 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
16712 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
16713 * sysdeps/unix/stime.c (stime): Likewise.
16714 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
16715 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
16716 Likewise. Use internal_function.
16717 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
16718 Convert to prototype-style function definition.
16719 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16720 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16721 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
16722 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16723 Likewise. Use internal_function.
16724 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
16725 prototype-style function definition
16726 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16727 Likewise.
16728 (__getlogin_r): Likewise.
16729 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
16730 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
16731 (__pthread_cond_broadcast): Likewise.
16732 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
16733 (__pthread_cond_destroy): Likewise.
16734 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
16735 (__pthread_cond_init): Likewise.
16736 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
16737 (__pthread_cond_signal): Likewise.
16738 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
16739 (__pthread_cond_wait): Likewise.
16740 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
16741 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16742 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
16743 Likewise.
16744 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
16745 Likewise.
16746 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
16747 Likewise.
16748 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
16749 Likewise.
16750 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
16751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
16752 (__ftruncate64): Likewise.
16753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
16754 (truncate64): Likewise.
16755 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
16756 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
16757 (pthread_getcpuclockid): Likewise.
16758 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16759 Likewise.
16760 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16761 Likewise.
16762 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
16763 Likewise.
16764 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
16765 Likewise.
16766 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
16767 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
16768 (__libc_sigaction): Likewise.
16769 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
16770 Likewise.
16771 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
16772 (__sigprocmask): Likewise.
16773 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
16774 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
16775 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
16776 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16777 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16778 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
16779 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16780 Likewise.
16781 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
16782 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
16783 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16784 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
16785 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
16786 Likewise.
16787 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
16788 (__sigprocmask): Likewise.
16789 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
16790 (cfgetispeed): Likewise.
16791 (cfsetospeed): Likewise.
16792 (cfsetispeed): Likewise.
16793 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
16794 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
16795 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16796 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16797 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
16798 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
16799 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
16800 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
16801 Likewise.
16802 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
16803 Likewise.
16804 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
16805 Likewise.
16806 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
16807 Likewise.
16808 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16809
16810 2015-10-17 Florian Weimer <fweimer@redhat.com>
16811
16812 sunrpc: Rewrite with explicit TLS access using __thread.
16813 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
16814 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
16815 directly.
16816 (__rpc_thread_variables): Access thread_rpc_vars directly.
16817 Eliminate redundant assignment of the tvp variable.
16818
16819 2015-10-17 Florian Weimer <fweimer@redhat.com>
16820
16821 malloc: Rewrite with explicit TLS access using __thread.
16822 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
16823 (tsd_setspecific, tsd_getspecific): Remove.
16824 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
16825 (tsd_setspecific, tsd_getspecific): Likewise.
16826 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
16827 (tsd_setspecific, tsd_getspecific): Likewise.
16828 * malloc/arena.c (thread_arena): New TLS variable.
16829 (arena_key): Remove variable.
16830 (arena_get): Use thread_arena.
16831 (arena_lookup): Remove macro.
16832 (malloc_atfork, free_atfork, ptmalloc_lock_all)
16833 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
16834 (_int_new_arena, get_free_list, reused_arena)
16835 (arena_thread_freeres): Use thread_arena.
16836 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
16837 tsd_getspecific, tsd_setspecific from safety annotations.
16838 (Allocating Cleared Space): Remove arena_lookup from safety
16839 annotations.
16840
16841 2015-10-17 Florian Weimer <fweimer@redhat.com>
16842
16843 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
16844 struct scratch_buffer instead of extend_alloca.
16845
16846 2015-10-17 Florian Weimer <fweimer@redhat.com>
16847
16848 * sysdeps/unix/sysv/linux/kernel-features.h
16849 (__ASSUME_SOCK_CLOEXEC): Remove.
16850 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
16851 (__have_paccept): Remove unused macro.
16852 * include/unistd.h (__have_sock_cloexec): Remove declaration.
16853 * misc/syslog.c (openlog_internal): Remove fallback code for
16854 !__ASSUME_SOCK_CLOEXEC.
16855 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
16856 missing SOCK_CLOEXEC.
16857 * nscd/connections.c (have_sock_cloexec): Remove definition.
16858 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
16859 * nscd/nscd_helper.c (open_socket): Remove fallback code for
16860 !__ASSUME_SOCK_CLOEXEC.
16861 * resolv/res_send.c (__have_o_nonblock): Remove definition.
16862 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
16863 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
16864 definition.
16865 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
16866 code for !__ASSUME_SOCK_CLOEXEC.
16867
16868 2015-10-17 Florian Weimer <fweimer@redhat.com>
16869
16870 [BZ #18982]
16871 * manual/stdio.texi (Variable Arguments Output): Add portability
16872 note, explaining that vfprintf clobbers the va_list pointer.
16873
16874 2015-10-16 Joseph Myers <joseph@codesourcery.com>
16875
16876 * math/libm-test.inc (fabs_test_data): Add more tests.
16877 (fdim_test_data): Likewise.
16878 (fma_test_data): Likewise.
16879 (fmax_test_data): Likewise.
16880 (fmin_test_data): Likewise.
16881 (fmod_test_data): Likewise.
16882
16883 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
16884
16885 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
16886 data.
16887
16888 2015-10-16 Joseph Myers <joseph@codesourcery.com>
16889
16890 * math/libm-test.inc (ceil_test_data): Add more tests and more
16891 expectations for "inexact".
16892 (floor_test_data): Add more tests.
16893 (round_test_data): Likewise.
16894 (trunc_test_data): Likewise.
16895
16896 * crypt/cert.c (good_bye): Convert to prototype-style function
16897 definition.
16898 (get8): Likewise.
16899 (put8): Likewise.
16900 * crypt/crypt-entry.c (crypt): Likewise.
16901 (__fcrypt): Likewise.
16902 * crypt/crypt_util.c (_ufc_prbits): Likewise.
16903 (_ufc_set_bits): Likewise.
16904 (_ufc_clearmem): Likewise.
16905 (__init_des_r): Likewise.
16906 (shuffle_sb): Likewise.
16907 (shuffle_sb): Likewise.
16908 (_ufc_setup_salt_r): Likewise.
16909 (_ufc_mk_keytab_r): Likewise.
16910 (_ufc_dofinalperm_r): Likewise.
16911 (encrypt): Likewise.
16912 (__setkey_r): Likewise.
16913 (setkey): Likewise.
16914 * crypt/md5.c (md5_init_ctx): Likewise.
16915 (md5_read_ctx): Likewise.
16916 (md5_finish_ctx): Likewise.
16917 (md5_stream): Likewise.
16918 (md5_buffer): Likewise.
16919 (md5_process_bytes): Likewise.
16920 * crypt/sha256.c (__sha256_init_ctx): Likewise.
16921 (__sha256_finish_ctx): Likewise.
16922 (__sha256_process_bytes): Likewise.
16923 * crypt/sha512.c (__sha512_init_ctx): Likewise.
16924 (__sha512_finish_ctx): Likewise.
16925 (__sha512_process_bytes): Likewise.
16926 * ctype/isctype.c (__isctype): Likewise.
16927 * debug/backtrace.c (__backtrace): Likewise.
16928 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
16929 * debug/fgets_chk.c (__fgets_chk): Likewise.
16930 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
16931 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
16932 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16933 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16934 * debug/memset_chk.c (__memset_chk): Likewise.
16935 * debug/strcat_chk.c (__strcat_chk): Likewise.
16936 * debug/strncat_chk.c (__strncat_chk): Likewise.
16937 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
16938 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
16939 * dirent/dirfd.c (dirfd): Likewise.
16940 * dirent/getdents.c (__getdirentries): Likewise.
16941 * dirent/getdents64.c (getdirentries64): Likewise.
16942 * dirent/rewinddir.c (__rewinddir): Likewise.
16943 * dirent/seekdir.c (seekdir): Likewise.
16944 * dirent/telldir.c (telldir): Likewise.
16945 * elf/sln.c (makesymlinks): Likewise.
16946 (makesymlink): Likewise.
16947 * gmon/gmon.c (__moncontrol): Likewise.
16948 (__monstartup): Likewise.
16949 (write_hist): Likewise.
16950 (write_call_graph): Likewise.
16951 (write_bb_counts): Likewise.
16952 * grp/setgroups.c (setgroups): Likewise.
16953 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16954 * inet/inet_net.c (inet_network): Likewise.
16955 * inet/inet_netof.c (inet_netof): Likewise.
16956 * inet/rcmd.c (rresvport_af): Likewise.
16957 (rresvport): Likewise.
16958 * io/access.c (__access): Likewise.
16959 * io/chdir.c (__chdir): Likewise.
16960 * io/chmod.c (__chmod): Likewise.
16961 * io/chown.c (__chown): Likewise.
16962 * io/close.c (__close): Likewise.
16963 * io/creat.c (creat): Likewise.
16964 * io/creat64.c (creat64): Likewise.
16965 * io/dup.c (__dup): Likewise.
16966 * io/dup2.c (__dup2): Likewise.
16967 * io/dup3.c (__dup3): Likewise.
16968 * io/euidaccess.c (__euidaccess): Likewise.
16969 * io/faccessat.c (faccessat): Likewise.
16970 * io/fchmod.c (__fchmod): Likewise.
16971 * io/fchmodat.c (fchmodat): Likewise.
16972 * io/fchown.c (__fchown): Likewise.
16973 * io/fchownat.c (fchownat): Likewise.
16974 * io/fcntl.c (__fcntl): Likewise.
16975 * io/flock.c (__flock): Likewise.
16976 * io/fts.c (fts_load): Likewise.
16977 (fts_close): Likewise.
16978 (fts_read): Likewise.
16979 (fts_set): Likewise.
16980 (fts_children): Likewise.
16981 (fts_build): Likewise.
16982 (fts_stat): Likewise.
16983 (fts_sort): Likewise.
16984 (fts_alloc): Likewise.
16985 (fts_lfree): Likewise.
16986 (fts_palloc): Likewise.
16987 (fts_padjust): Likewise.
16988 (fts_maxarglen): Likewise.
16989 (fts_safe_changedir): Likewise.
16990 * io/getwd.c (getwd): Likewise.
16991 * io/isatty.c (__isatty): Likewise.
16992 * io/lchown.c (__lchown): Likewise.
16993 * io/link.c (__link): Likewise.
16994 * io/linkat.c (linkat): Likewise.
16995 * io/lseek.c (__libc_lseek): Likewise.
16996 * io/mkdir.c (__mkdir): Likewise.
16997 * io/mkdirat.c (mkdirat): Likewise.
16998 * io/mkfifo.c (mkfifo): Likewise.
16999 * io/mkfifoat.c (mkfifoat): Likewise.
17000 * io/open.c (__libc_open): Likewise.
17001 * io/open64.c (__libc_open64): Likewise.
17002 * io/readlink.c (__readlink): Likewise.
17003 * io/readlinkat.c (readlinkat): Likewise.
17004 * io/rmdir.c (__rmdir): Likewise.
17005 * io/symlink.c (__symlink): Likewise.
17006 * io/symlinkat.c (symlinkat): Likewise.
17007 * io/ttyname.c (ttyname): Likewise.
17008 * io/ttyname_r.c (__ttyname_r): Likewise.
17009 * io/umask.c (__umask): Likewise.
17010 * io/unlink.c (__unlink): Likewise.
17011 * io/unlinkat.c (unlinkat): Likewise.
17012 * io/utime.c (utime): Likewise.
17013 * libio/clearerr.c (clearerr): Likewise.
17014 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17015 * libio/feof.c (_IO_feof): Likewise.
17016 * libio/feof_u.c (feof_unlocked): Likewise.
17017 * libio/ferror.c (_IO_ferror): Likewise.
17018 * libio/ferror_u.c (ferror_unlocked): Likewise.
17019 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17020 * libio/fileno.c (__fileno): Likewise.
17021 * libio/fputc.c (fputc): Likewise.
17022 * libio/fputc_u.c (fputc_unlocked): Likewise.
17023 * libio/fputwc.c (fputwc): Likewise.
17024 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17025 * libio/freopen.c (freopen): Likewise.
17026 * libio/freopen64.c (freopen64): Likewise.
17027 * libio/fseek.c (fseek): Likewise.
17028 * libio/fseeko.c (fseeko): Likewise.
17029 * libio/fseeko64.c (fseeko64): Likewise.
17030 * libio/ftello.c (__ftello): Likewise.
17031 * libio/ftello64.c (ftello64): Likewise.
17032 * libio/fwide.c (fwide): Likewise.
17033 * libio/genops.c (_IO_un_link): Likewise.
17034 (_IO_link_in): Likewise.
17035 (_IO_least_marker): Likewise.
17036 (_IO_switch_to_main_get_area): Likewise.
17037 (_IO_switch_to_backup_area): Likewise.
17038 (_IO_switch_to_get_mode): Likewise.
17039 (_IO_free_backup_area): Likewise.
17040 (_IO_switch_to_put_mode): Likewise.
17041 (__overflow): Likewise.
17042 (__underflow): Likewise.
17043 (__uflow): Likewise.
17044 (_IO_setb): Likewise.
17045 (_IO_doallocbuf): Likewise.
17046 (_IO_default_underflow): Likewise.
17047 (_IO_default_uflow): Likewise.
17048 (_IO_default_xsputn): Likewise.
17049 (_IO_sgetn): Likewise.
17050 (_IO_default_xsgetn): Likewise.
17051 (_IO_sync): Likewise.
17052 (_IO_default_setbuf): Likewise.
17053 (_IO_default_seekpos): Likewise.
17054 (_IO_default_doallocate): Likewise.
17055 (_IO_init): Likewise.
17056 (_IO_old_init): Likewise.
17057 (_IO_default_sync): Likewise.
17058 (_IO_default_finish): Likewise.
17059 (_IO_default_seekoff): Likewise.
17060 (_IO_sputbackc): Likewise.
17061 (_IO_sungetc): Likewise.
17062 (_IO_set_column): Likewise.
17063 (_IO_set_column): Likewise.
17064 (_IO_adjust_column): Likewise.
17065 (_IO_get_column): Likewise.
17066 (_IO_init_marker): Likewise.
17067 (_IO_remove_marker): Likewise.
17068 (_IO_marker_difference): Likewise.
17069 (_IO_marker_delta): Likewise.
17070 (_IO_seekmark): Likewise.
17071 (_IO_unsave_markers): Likewise.
17072 (_IO_nobackup_pbackfail): Likewise.
17073 (_IO_default_pbackfail): Likewise.
17074 (_IO_default_seek): Likewise.
17075 (_IO_default_stat): Likewise.
17076 (_IO_default_read): Likewise.
17077 (_IO_default_write): Likewise.
17078 (_IO_default_showmanyc): Likewise.
17079 (_IO_default_imbue): Likewise.
17080 (_IO_iter_next): Likewise.
17081 (_IO_iter_file): Likewise.
17082 * libio/getc.c (_IO_getc): Likewise.
17083 * libio/getwc.c (_IO_getwc): Likewise.
17084 * libio/iofclose.c (_IO_new_fclose): Likewise.
17085 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17086 * libio/iofflush.c (_IO_fflush): Likewise.
17087 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17088 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17089 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17090 * libio/iofgets.c (_IO_fgets): Likewise.
17091 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17092 * libio/iofgetws.c (fgetws): Likewise.
17093 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17094 * libio/iofopen64.c (_IO_fopen64): Likewise.
17095 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17096 (_IO_cookie_write): Likewise.
17097 (_IO_cookie_seek): Likewise.
17098 (_IO_cookie_close): Likewise.
17099 (_IO_cookie_seekoff): Likewise.
17100 (_IO_old_cookie_seek): Likewise.
17101 * libio/iofputs.c (_IO_fputs): Likewise.
17102 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17103 * libio/iofputws.c (fputws): Likewise.
17104 * libio/iofputws_u.c (fputws_unlocked): Likewise.
17105 * libio/iofread.c (_IO_fread): Likewise.
17106 * libio/iofread_u.c (__fread_unlocked): Likewise.
17107 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17108 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17109 * libio/ioftell.c (_IO_ftell): Likewise.
17110 * libio/iofwrite.c (_IO_fwrite): Likewise.
17111 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17112 * libio/iogets.c (_IO_gets): Likewise.
17113 * libio/iopadn.c (_IO_padn): Likewise.
17114 * libio/iopopen.c (_IO_new_proc_open): Likewise.
17115 (_IO_new_popen): Likewise.
17116 (_IO_new_proc_close): Likewise.
17117 * libio/ioputs.c (_IO_puts): Likewise.
17118 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17119 (_IO_seekoff): Likewise.
17120 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17121 (_IO_seekpos): Likewise.
17122 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17123 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17124 * libio/ioungetc.c (_IO_ungetc): Likewise.
17125 * libio/ioungetwc.c (ungetwc): Likewise.
17126 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17127 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17128 * libio/iowpadn.c (_IO_wpadn): Likewise.
17129 * libio/libc_fatal.c (__libc_fatal): Likewise.
17130 * libio/memstream.c (__open_memstream): Likewise.
17131 (_IO_mem_sync): Likewise.
17132 (_IO_mem_finish): Likewise.
17133 * libio/oldfileops.c (_IO_old_file_init): Likewise.
17134 (_IO_old_file_close_it): Likewise.
17135 (_IO_old_file_finish): Likewise.
17136 (_IO_old_file_fopen): Likewise.
17137 (_IO_old_file_attach): Likewise.
17138 (_IO_old_file_setbuf): Likewise.
17139 (_IO_old_do_write): Likewise.
17140 (old_do_write): Likewise.
17141 (_IO_old_file_underflow): Likewise.
17142 (_IO_old_file_overflow): Likewise.
17143 (_IO_old_file_sync): Likewise.
17144 (_IO_old_file_seekoff): Likewise.
17145 (_IO_old_file_write): Likewise.
17146 (_IO_old_file_xsputn): Likewise.
17147 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17148 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17149 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17150 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17151 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17152 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17153 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17154 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17155 (_IO_old_popen): Likewise.
17156 (_IO_old_proc_close): Likewise.
17157 * libio/oldpclose.c (__old_pclose): Likewise.
17158 * libio/pclose.c (__new_pclose): Likewise.
17159 * libio/peekc.c (_IO_peekc_locked): Likewise.
17160 * libio/putc.c (_IO_putc): Likewise.
17161 * libio/putc_u.c (putc_unlocked): Likewise.
17162 * libio/putchar.c (putchar): Likewise.
17163 * libio/putchar_u.c (putchar_unlocked): Likewise.
17164 * libio/putwc.c (putwc): Likewise.
17165 * libio/putwc_u.c (putwc_unlocked): Likewise.
17166 * libio/putwchar.c (putwchar): Likewise.
17167 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17168 * libio/rewind.c (rewind): Likewise.
17169 * libio/setbuf.c (setbuf): Likewise.
17170 * libio/setlinebuf.c (setlinebuf): Likewise.
17171 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17172 * libio/vscanf.c (_IO_vscanf): Likewise.
17173 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17174 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17175 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17176 * libio/wgenops.c (_IO_least_wmarker): Likewise.
17177 (_IO_switch_to_main_wget_area): Likewise.
17178 (_IO_switch_to_wbackup_area): Likewise.
17179 (_IO_wsetb): Likewise.
17180 (_IO_wdefault_pbackfail): Likewise.
17181 (_IO_wdefault_finish): Likewise.
17182 (_IO_wdefault_uflow): Likewise.
17183 (__woverflow): Likewise.
17184 (__wuflow): Likewise.
17185 (__wunderflow): Likewise.
17186 (_IO_wdefault_xsputn): Likewise.
17187 (_IO_wdefault_xsgetn): Likewise.
17188 (_IO_wdoallocbuf): Likewise.
17189 (_IO_wdefault_doallocate): Likewise.
17190 (_IO_switch_to_wget_mode): Likewise.
17191 (_IO_free_wbackup_area): Likewise.
17192 (_IO_switch_to_wput_mode): Likewise.
17193 (_IO_sputbackwc): Likewise.
17194 (_IO_sungetwc): Likewise.
17195 (_IO_adjust_wcolumn): Likewise.
17196 (_IO_init_wmarker): Likewise.
17197 (_IO_wmarker_delta): Likewise.
17198 (_IO_seekwmark): Likewise.
17199 (_IO_unsave_wmarkers): Likewise.
17200 * libio/wmemstream.c (open_wmemstream): Likewise.
17201 (_IO_wmem_sync): Likewise.
17202 (_IO_wmem_finish): Likewise.
17203 * locale/nl_langinfo.c (nl_langinfo): Likewise.
17204 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
17205 * locale/programs/simple-hash.c (init_hash): Likewise.
17206 (delete_hash): Likewise.
17207 (insert_entry): Likewise.
17208 (set_entry): Likewise.
17209 (next_prime): Likewise.
17210 (is_prime): Likewise.
17211 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
17212 (xmalloc): Likewise.
17213 (xrealloc): Likewise.
17214 * locale/programs/xstrdup.c (xstrdup): Likewise.
17215 * localedata/collate-test.c (xstrcoll): Likewise.
17216 * localedata/xfrm-test.c (xstrcmp): Likewise.
17217 * login/getlogin_r.c (__getlogin_r): Likewise.
17218 * login/getpt.c (__posix_openpt): Likewise.
17219 * login/login_tty.c (login_tty): Likewise.
17220 * login/setlogin.c (setlogin): Likewise.
17221 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
17222 (mach_msg_destroy_port): Likewise.
17223 (mach_msg_destroy_memory): Likewise.
17224 * malloc/mcheck.c (flood): Likewise.
17225 * misc/acct.c (acct): Likewise.
17226 * misc/brk.c (__brk): Likewise.
17227 * misc/chflags.c (chflags): Likewise.
17228 * misc/chroot.c (chroot): Likewise.
17229 * misc/fchflags.c (fchflags): Likewise.
17230 * misc/fstab.c (getfsspec): Likewise.
17231 (getfsfile): Likewise.
17232 * misc/fsync.c (fsync): Likewise.
17233 * misc/ftruncate.c (__ftruncate): Likewise.
17234 * misc/ftruncate64.c (__ftruncate64): Likewise.
17235 * misc/getdomain.c (getdomainname): Likewise.
17236 (getdomainname): Likewise.
17237 * misc/gethostname.c (__gethostname): Likewise.
17238 * misc/getpass.c (getpass): Likewise.
17239 * misc/getttyent.c (skip): Likewise.
17240 (value): Likewise.
17241 * misc/gtty.c (gtty): Likewise.
17242 * misc/hsearch.c (hsearch): Likewise.
17243 (hcreate): Likewise.
17244 * misc/hsearch_r.c (__hcreate_r): Likewise.
17245 (__hdestroy_r): Likewise.
17246 * misc/ioctl.c (__ioctl): Likewise.
17247 * misc/mkdtemp.c (mkdtemp): Likewise.
17248 * misc/mkostemp.c (mkostemp): Likewise.
17249 * misc/mkostemp64.c (mkostemp64): Likewise.
17250 * misc/mkostemps.c (mkostemps): Likewise.
17251 * misc/mkostemps64.c (mkostemps64): Likewise.
17252 * misc/mkstemp.c (mkstemp): Likewise.
17253 * misc/mkstemp64.c (mkstemp64): Likewise.
17254 * misc/mkstemps.c (mkstemps): Likewise.
17255 * misc/mkstemps64.c (mkstemps64): Likewise.
17256 * misc/mktemp.c (__mktemp): Likewise.
17257 * misc/preadv.c (preadv): Likewise.
17258 * misc/preadv64.c (preadv64): Likewise.
17259 * misc/pwritev.c (pwritev): Likewise.
17260 * misc/pwritev64.c (pwritev64): Likewise.
17261 * misc/readv.c (__readv): Likewise.
17262 * misc/revoke.c (revoke): Likewise.
17263 * misc/setdomain.c (setdomainname): Likewise.
17264 * misc/setegid.c (setegid): Likewise.
17265 * misc/seteuid.c (seteuid): Likewise.
17266 * misc/sethostid.c (sethostid): Likewise.
17267 * misc/sethostname.c (sethostname): Likewise.
17268 * misc/setregid.c (__setregid): Likewise.
17269 * misc/setreuid.c (__setreuid): Likewise.
17270 * misc/sstk.c (sstk): Likewise.
17271 * misc/stty.c (stty): Likewise.
17272 * misc/syscall.c (syscall): Likewise.
17273 * misc/syslog.c (setlogmask): Likewise.
17274 * misc/truncate.c (__truncate): Likewise.
17275 * misc/truncate64.c (truncate64): Likewise.
17276 * misc/ualarm.c (ualarm): Likewise.
17277 * misc/usleep.c (usleep): Likewise.
17278 * misc/ustat.c (ustat): Likewise.
17279 * misc/writev.c (__writev): Likewise.
17280 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
17281 * nptl/old_pthread_cond_broadcast.c
17282 (__pthread_cond_broadcast_2_0): Likewise.
17283 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
17284 Likewise.
17285 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
17286 Likewise.
17287 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
17288 Likewise.
17289 * nptl/pt-raise.c (raise): Likewise.
17290 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
17291 Likewise.
17292 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
17293 * nptl/pthread_barrierattr_destroy.c
17294 (pthread_barrierattr_destroy): Likewise.
17295 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
17296 Likewise.
17297 * nptl/pthread_barrierattr_setpshared.c
17298 (pthread_barrierattr_setpshared): Likewise.
17299 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17300 Likewise.
17301 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
17302 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
17303 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
17304 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
17305 Likewise.
17306 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
17307 Likewise.
17308 * nptl/pthread_condattr_getpshared.c
17309 (pthread_condattr_getpshared): Likewise.
17310 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
17311 Likewise.
17312 * nptl/pthread_condattr_setpshared.c
17313 (pthread_condattr_setpshared): Likewise.
17314 * nptl/pthread_detach.c (pthread_detach): Likewise.
17315 * nptl/pthread_equal.c (__pthread_equal): Likewise.
17316 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
17317 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
17318 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
17319 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
17320 Likewise.
17321 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
17322 Likewise.
17323 * nptl/pthread_mutex_getprioceiling.c
17324 (pthread_mutex_getprioceiling): Likewise.
17325 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
17326 Likewise.
17327 * nptl/pthread_mutexattr_getprotocol.c
17328 (pthread_mutexattr_getprotocol): Likewise.
17329 * nptl/pthread_mutexattr_getpshared.c
17330 (pthread_mutexattr_getpshared): Likewise.
17331 * nptl/pthread_mutexattr_getrobust.c
17332 (pthread_mutexattr_getrobust): Likewise.
17333 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17334 Likewise.
17335 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
17336 Likewise.
17337 * nptl/pthread_mutexattr_setprioceiling.c
17338 (pthread_mutexattr_setprioceiling): Likewise.
17339 * nptl/pthread_mutexattr_setprotocol.c
17340 (pthread_mutexattr_setprotocol): Likewise.
17341 * nptl/pthread_mutexattr_setpshared.c
17342 (pthread_mutexattr_setpshared): Likewise.
17343 * nptl/pthread_mutexattr_setrobust.c
17344 (pthread_mutexattr_setrobust): Likewise.
17345 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
17346 Likewise.
17347 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
17348 Likewise.
17349 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
17350 Likewise.
17351 * nptl/pthread_rwlockattr_getkind_np.c
17352 (pthread_rwlockattr_getkind_np): Likewise.
17353 * nptl/pthread_rwlockattr_getpshared.c
17354 (pthread_rwlockattr_getpshared): Likewise.
17355 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
17356 Likewise.
17357 * nptl/pthread_rwlockattr_setkind_np.c
17358 (pthread_rwlockattr_setkind_np): Likewise.
17359 * nptl/pthread_rwlockattr_setpshared.c
17360 (pthread_rwlockattr_setpshared): Likewise.
17361 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
17362 Likewise.
17363 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
17364 Likewise.
17365 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
17366 Likewise.
17367 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
17368 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
17369 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
17370 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
17371 * nptl/sem_close.c (sem_close): Likewise.
17372 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
17373 * nptl/sem_init.c (__old_sem_init): Likewise.
17374 * nptl/sigaction.c (__sigaction): Likewise.
17375 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17376 * posix/_exit.c (_exit): Likewise.
17377 * posix/alarm.c (alarm): Likewise.
17378 * posix/confstr.c (confstr): Likewise.
17379 * posix/fpathconf.c (__fpathconf): Likewise.
17380 * posix/getgroups.c (__getgroups): Likewise.
17381 * posix/getpgid.c (__getpgid): Likewise.
17382 * posix/group_member.c (__group_member): Likewise.
17383 * posix/pathconf.c (__pathconf): Likewise.
17384 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
17385 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
17386 * posix/setgid.c (__setgid): Likewise.
17387 * posix/setpgid.c (__setpgid): Likewise.
17388 * posix/setuid.c (__setuid): Likewise.
17389 * posix/sleep.c (__sleep): Likewise.
17390 * posix/sysconf.c (__sysconf): Likewise.
17391 * posix/times.c (__times): Likewise.
17392 * posix/uname.c (__uname): Likewise.
17393 * posix/waitid.c (__waitid): Likewise.
17394 * pwd/getpw.c (__getpw): Likewise.
17395 * resolv/base64.c (b64_pton): Likewise.
17396 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
17397 * resolv/gethnamaddr.c (Dprintf): Likewise.
17398 (gethostbyname): Likewise.
17399 (gethostbyname2): Likewise.
17400 (gethostbyaddr): Likewise.
17401 (_sethtent): Likewise.
17402 (_gethtbyname): Likewise.
17403 (_gethtbyname2): Likewise.
17404 (_gethtbyaddr): Likewise.
17405 (map_v4v6_address): Likewise.
17406 (map_v4v6_hostent): Likewise.
17407 (addrsort): Likewise.
17408 (ht_sethostent): Likewise.
17409 (ht_gethostbyname): Likewise.
17410 (ht_gethostbyaddr): Likewise.
17411 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
17412 (inet_net_ntop_ipv4): Likewise.
17413 * resolv/inet_neta.c (inet_neta): Likewise.
17414 * resolv/inet_ntop.c (inet_ntop): Likewise.
17415 (inet_ntop4): Likewise.
17416 (inet_ntop6): Likewise.
17417 * resolv/inet_pton.c (__inet_pton): Likewise.
17418 (inet_pton4): Likewise.
17419 (inet_pton6): Likewise.
17420 * resolv/res_debug.c (loc_aton): Likewise.
17421 (loc_ntoa): Likewise.
17422 * resource/getpriority.c (__getpriority): Likewise.
17423 * resource/getrusage.c (__getrusage): Likewise.
17424 * resource/nice.c (nice): Likewise.
17425 * resource/setpriority.c (__setpriority): Likewise.
17426 * resource/setrlimit64.c (setrlimit64): Likewise.
17427 * resource/vlimit.c (vlimit): Likewise.
17428 * resource/vtimes.c (vtimes): Likewise.
17429 * rt/aio_error.c (aio_error): Likewise.
17430 * rt/aio_return.c (aio_return): Likewise.
17431 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
17432 * signal/kill.c (__kill): Likewise.
17433 * signal/killpg.c (killpg): Likewise.
17434 * signal/raise.c (raise): Likewise.
17435 * signal/sigaction.c (__sigaction): Likewise.
17436 * signal/sigaddset.c (sigaddset): Likewise.
17437 * signal/sigaltstack.c (sigaltstack): Likewise.
17438 * signal/sigandset.c (sigandset): Likewise.
17439 * signal/sigblock.c (__sigblock): Likewise.
17440 * signal/sigdelset.c (sigdelset): Likewise.
17441 * signal/sigempty.c (sigemptyset): Likewise.
17442 * signal/sigfillset.c (sigfillset): Likewise.
17443 * signal/sighold.c (sighold): Likewise.
17444 * signal/sigignore.c (sigignore): Likewise.
17445 * signal/sigintr.c (siginterrupt): Likewise.
17446 * signal/sigisempty.c (sigisemptyset): Likewise.
17447 * signal/sigismem.c (sigismember): Likewise.
17448 * signal/signal.c (signal): Likewise.
17449 * signal/sigorset.c (sigorset): Likewise.
17450 * signal/sigpause.c (__sigpause): Likewise.
17451 * signal/sigpending.c (sigpending): Likewise.
17452 * signal/sigprocmask.c (__sigprocmask): Likewise.
17453 * signal/sigrelse.c (sigrelse): Likewise.
17454 * signal/sigreturn.c (__sigreturn): Likewise.
17455 * signal/sigset.c (sigset): Likewise.
17456 * signal/sigsetmask.c (__sigsetmask): Likewise.
17457 * signal/sigstack.c (sigstack): Likewise.
17458 * signal/sigsuspend.c (__sigsuspend): Likewise.
17459 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
17460 * signal/sysv_signal.c (__sysv_signal): Likewise.
17461 * socket/accept.c (accept): Likewise.
17462 * socket/accept4.c (__libc_accept4): Likewise.
17463 * socket/bind.c (__bind): Likewise.
17464 * socket/connect.c (__connect): Likewise.
17465 * socket/getpeername.c (getpeername): Likewise.
17466 * socket/getsockname.c (__getsockname): Likewise.
17467 * socket/getsockopt.c (getsockopt): Likewise.
17468 * socket/listen.c (__listen): Likewise.
17469 * socket/recv.c (__recv): Likewise.
17470 * socket/recvmsg.c (__recvmsg): Likewise.
17471 * socket/send.c (__send): Likewise.
17472 * socket/sendmsg.c (__sendmsg): Likewise.
17473 * socket/shutdown.c (shutdown): Likewise.
17474 * socket/sockatmark.c (sockatmark): Likewise.
17475 * socket/socket.c (__socket): Likewise.
17476 * stdio-common/ctermid.c (ctermid): Likewise.
17477 * stdio-common/cuserid.c (cuserid): Likewise.
17478 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
17479 * stdio-common/remove.c (remove): Likewise.
17480 * stdio-common/rename.c (rename): Likewise.
17481 * stdio-common/renameat.c (renameat): Likewise.
17482 * stdio-common/tempname.c (__gen_tempname): Likewise.
17483 * stdio-common/xbug.c (InitBuffer): Likewise.
17484 (AppendToBuffer): Likewise.
17485 (ReadFile): Likewise.
17486 * stdlib/a64l.c (a64l): Likewise.
17487 * stdlib/drand48_r.c (drand48_r): Likewise.
17488 * stdlib/getcontext.c (getcontext): Likewise.
17489 * stdlib/getenv.c (getenv): Likewise.
17490 * stdlib/l64a.c (l64a): Likewise.
17491 * stdlib/llabs.c (llabs): Likewise.
17492 * stdlib/lldiv.c (lldiv): Likewise.
17493 * stdlib/lrand48_r.c (lrand48_r): Likewise.
17494 * stdlib/mrand48_r.c (mrand48_r): Likewise.
17495 * stdlib/putenv.c (putenv): Likewise.
17496 * stdlib/random.c (__srandom): Likewise.
17497 (__initstate): Likewise.
17498 (__setstate): Likewise.
17499 * stdlib/random_r.c (__srandom_r): Likewise.
17500 (__setstate_r): Likewise.
17501 (__random_r): Likewise.
17502 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
17503 * stdlib/setcontext.c (setcontext): Likewise.
17504 * stdlib/setenv.c (setenv): Likewise.
17505 (unsetenv): Likewise.
17506 * stdlib/srand48.c (srand48): Likewise.
17507 * stdlib/srand48_r.c (__srand48_r): Likewise.
17508 * stdlib/swapcontext.c (swapcontext): Likewise.
17509 * stdlib/system.c (__libc_system): Likewise.
17510 * stdlib/tst-strtod.c (expand): Likewise.
17511 * stdlib/tst-strtol.c (expand): Likewise.
17512 * stdlib/tst-strtoll.c (expand): Likewise.
17513 * streams/fattach.c (fattach): Likewise.
17514 * streams/fdetach.c (fdetach): Likewise.
17515 * streams/getmsg.c (getmsg): Likewise.
17516 * streams/isastream.c (isastream): Likewise.
17517 * string/ffs.c (__ffs): Likewise.
17518 * string/ffsll.c (ffsll): Likewise.
17519 * string/memcmp.c (memcmp_common_alignment): Likewise.
17520 (memcmp_not_common_alignment): Likewise.
17521 (MEMCMP): Likewise.
17522 * string/memcpy.c (memcpy): Likewise.
17523 * string/memmove.c (MEMMOVE): Likewise.
17524 * string/memset.c (memset): Likewise.
17525 * string/rawmemchr.c (RAWMEMCHR): Likewise.
17526 * string/strchrnul.c (STRCHRNUL): Likewise.
17527 * string/strerror.c (strerror): Likewise.
17528 * string/strndup.c (__strndup): Likewise.
17529 * string/strverscmp.c (__strverscmp): Likewise.
17530 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
17531 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
17532 (clnttcp_freeres): Likewise.
17533 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
17534 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
17535 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
17536 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
17537 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
17538 (xdr_callhdr): Likewise.
17539 * sunrpc/rpcinfo.c (udpping): Likewise.
17540 (tcpping): Likewise.
17541 (pstatus): Likewise.
17542 (pmapdump): Likewise.
17543 (brdcst): Likewise.
17544 (deletereg): Likewise.
17545 (getprognum): Likewise.
17546 (getvers): Likewise.
17547 (get_inet_address): Likewise.
17548 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
17549 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17550 (svcudp_stat): Likewise.
17551 (svcudp_recv): Likewise.
17552 (svcudp_reply): Likewise.
17553 (svcudp_getargs): Likewise.
17554 (svcudp_freeargs): Likewise.
17555 (svcudp_destroy): Likewise.
17556 * sunrpc/xdr.c (xdr_bytes): Likewise.
17557 (xdr_netobj): Likewise.
17558 (xdr_string): Likewise.
17559 (xdr_wrapstring): Likewise.
17560 * sunrpc/xdr_float.c (xdr_float): Likewise.
17561 (xdr_double): Likewise.
17562 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
17563 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
17564 * sysvipc/ftok.c (ftok): Likewise.
17565 * sysvipc/msgctl.c (msgctl): Likewise.
17566 * sysvipc/msgget.c (msgget): Likewise.
17567 * sysvipc/msgrcv.c (msgrcv): Likewise.
17568 * sysvipc/msgsnd.c (msgsnd): Likewise.
17569 * sysvipc/semget.c (semget): Likewise.
17570 * sysvipc/semop.c (semop): Likewise.
17571 * sysvipc/shmat.c (shmat): Likewise.
17572 * sysvipc/shmctl.c (shmctl): Likewise.
17573 * sysvipc/shmdt.c (shmdt): Likewise.
17574 * sysvipc/shmget.c (shmget): Likewise.
17575 * termios/cfmakeraw.c (cfmakeraw): Likewise.
17576 * termios/speed.c (cfgetospeed): Likewise.
17577 (cfgetispeed): Likewise.
17578 (cfsetospeed): Likewise.
17579 (cfsetispeed): Likewise.
17580 * termios/tcflow.c (tcflow): Likewise.
17581 * termios/tcflush.c (tcflush): Likewise.
17582 * termios/tcgetattr.c (__tcgetattr): Likewise.
17583 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
17584 * termios/tcgetsid.c (tcgetsid): Likewise.
17585 * termios/tcsendbrk.c (tcsendbreak): Likewise.
17586 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
17587 * time/adjtime.c (__adjtime): Likewise.
17588 * time/dysize.c (dysize): Likewise.
17589 * time/ftime.c (ftime): Likewise.
17590 * time/getitimer.c (__getitimer): Likewise.
17591 * time/gettimeofday.c (__gettimeofday): Likewise.
17592 * time/gmtime.c (__gmtime_r): Likewise.
17593 (gmtime): Likewise.
17594 * time/localtime.c (__localtime_r): Likewise.
17595 (localtime): Likewise.
17596 * time/offtime.c (__offtime): Likewise.
17597 * time/settimeofday.c (__settimeofday): Likewise.
17598 * time/stime.c (stime): Likewise.
17599 * time/strftime_l.c (tm_diff): Likewise.
17600 (iso_week_days): Likewise.
17601 * time/strptime.c (strptime): Likewise.
17602 * time/time.c (time): Likewise.
17603 * time/timespec_get.c (timespec_get): Likewise.
17604 * time/tzset.c (tzset_internal): Likewise.
17605 (compute_change): Likewise.
17606 (__tz_compute): Likewise.
17607 * wcsmbs/btowc.c (__btowc): Likewise.
17608 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
17609 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
17610 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
17611 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
17612 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
17613 * wcsmbs/wcscat.c (__wcscat): Likewise.
17614 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17615 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
17616 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
17617 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17618 * wcsmbs/wcsdup.c (wcsdup): Likewise.
17619 * wcsmbs/wcslen.c (__wcslen): Likewise.
17620 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
17621 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
17622 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
17623 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
17624 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17625 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
17626 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17627 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17628 * wcsmbs/wcstok.c (wcstok): Likewise.
17629 * wcsmbs/wctob.c (wctob): Likewise.
17630 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
17631 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17632 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
17633 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
17634 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
17635 * wcsmbs/wmemset.c (__wmemset): Likewise.
17636 * wctype/wcfuncs.c (__towlower): Likewise.
17637 (__towupper): Likewise.
17638
17639 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
17640 (lll_unlock_elision): Add adapt_count parameter.
17641
17642 2015-10-15 Joseph Myers <joseph@codesourcery.com>
17643
17644 * sysdeps/nptl/configure.ac: Do not give errors based on the
17645 results of top-level configure tests.
17646 * sysdeps/nptl/configure: Regenerated.
17647
17648 * configure.ac (libc_cv_Bgroup): Remove configure test.
17649 * configure: Regenerated.
17650 * config.make.in (have-Bgroup): Remove variable.
17651
17652 * configure.ac (sizeof_long_double): Remove configure test.
17653 * configure: Regenerated.
17654 * config.make.in (sizeof-long-double): Remove variable.
17655
17656 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
17657 * configure: Regenerated.
17658 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
17659 variable.
17660 (exceptions): Likewise.
17661 * sysdeps/arm/configure: Regenerated.
17662 * config.make.in (exceptions): Remove variable.
17663 * Makeconfig (uses-callbacks): Use -fexceptions instead of
17664 $(exceptions).
17665 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
17666 (CFLAGS-vdprintf_chk.c): Likewise.
17667 (CFLAGS-printf_chk.c): Likewise.
17668 (CFLAGS-fprintf_chk.c): Likewise.
17669 (CFLAGS-vprintf_chk.c): Likewise.
17670 (CFLAGS-vfprintf_chk.c): Likewise.
17671 (CFLAGS-gets_chk.c): Likewise.
17672 (CFLAGS-fgets_chk.c): Likewise.
17673 (CFLAGS-fgets_u_chk.c): Likewise.
17674 (CFLAGS-fread_chk.c): Likewise.
17675 (CFLAGS-fread_u_chk.c): Likewise.
17676 (CFLAGS-wprintf_chk.c): Likewise.
17677 (CFLAGS-fwprintf_chk.c): Likewise.
17678 (CFLAGS-vwprintf_chk.c): Likewise.
17679 (CFLAGS-vfwprintf_chk.c): Likewise.
17680 (CFLAGS-fgetws_chk.c): Likewise.
17681 (CFLAGS-fgetws_u_chk.c): Likewise.
17682 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17683 (CFLAGS-fputc.c): Likewise.
17684 (CFLAGS-fputwc.c): Likewise.
17685 (CFLAGS-freopen64.c): Likewise.
17686 (CFLAGS-freopen.c): Likewise.
17687 (CFLAGS-fseek.c): Likewise.
17688 (CFLAGS-fseeko64.c): Likewise.
17689 (CFLAGS-fseeko.c): Likewise.
17690 (CFLAGS-ftello64.c): Likewise.
17691 (CFLAGS-ftello.c): Likewise.
17692 (CFLAGS-fwide.c): Likewise.
17693 (CFLAGS-genops.c): Likewise.
17694 (CFLAGS-getc.c): Likewise.
17695 (CFLAGS-getchar.c): Likewise.
17696 (CFLAGS-getwc.c): Likewise.
17697 (CFLAGS-getwchar.c): Likewise.
17698 (CFLAGS-iofclose.c): Likewise.
17699 (CFLAGS-iofflush.c): Likewise.
17700 (CFLAGS-iofgetpos64.c): Likewise.
17701 (CFLAGS-iofgetpos.c): Likewise.
17702 (CFLAGS-iofgets.c): Likewise.
17703 (CFLAGS-iofgetws.c): Likewise.
17704 (CFLAGS-iofputs.c): Likewise.
17705 (CFLAGS-iofputws.c): Likewise.
17706 (CFLAGS-iofread.c): Likewise.
17707 (CFLAGS-iofsetpos64.c): Likewise.
17708 (CFLAGS-iofsetpos.c): Likewise.
17709 (CFLAGS-ioftell.c): Likewise.
17710 (CFLAGS-iofwrite.c): Likewise.
17711 (CFLAGS-iogetdelim.c): Likewise.
17712 (CFLAGS-iogetline.c): Likewise.
17713 (CFLAGS-iogets.c): Likewise.
17714 (CFLAGS-iogetwline.c): Likewise.
17715 (CFLAGS-ioputs.c): Likewise.
17716 (CFLAGS-ioseekoff.c): Likewise.
17717 (CFLAGS-ioseekpos.c): Likewise.
17718 (CFLAGS-iosetbuffer.c): Likewise.
17719 (CFLAGS-iosetvbuf.c): Likewise.
17720 (CFLAGS-ioungetc.c): Likewise.
17721 (CFLAGS-ioungetwc.c): Likewise.
17722 (CFLAGS-oldfileops.c): Likewise.
17723 (CFLAGS-oldiofclose.c): Likewise.
17724 (CFLAGS-oldiofgetpos64.c): Likewise.
17725 (CFLAGS-oldiofgetpos.c): Likewise.
17726 (CFLAGS-oldiofsetpos64.c): Likewise.
17727 (CFLAGS-oldiofsetpos.c): Likewise.
17728 (CFLAGS-peekc.c): Likewise.
17729 (CFLAGS-putc.c): Likewise.
17730 (CFLAGS-putchar.c): Likewise.
17731 (CFLAGS-putwc.c): Likewise.
17732 (CFLAGS-putwchar.c): Likewise.
17733 (CFLAGS-rewind.c): Likewise.
17734 (CFLAGS-wfileops.c): Likewise.
17735 (CFLAGS-wgenops.c): Likewise.
17736 (CFLAGS-oldiofopen.c): Likewise.
17737 (CFLAGS-iofopen.c): Likewise.
17738 (CFLAGS-iofopen64.c): Likewise.
17739 (CFLAGS-oldtmpfile.c): Likewise.
17740 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17741 (CFLAGS-fprintf.c): Likewise.
17742 (CFLAGS-printf.c): Likewise.
17743 (CFLAGS-vfwprintf.c): Likewise.
17744 (CFLAGS-vfscanf.c): Likewise.
17745 (CFLAGS-vfwscanf.c): Likewise.
17746 (CFLAGS-fscanf.c): Likewise.
17747 (CFLAGS-scanf.c): Likewise.
17748 (CFLAGS-isoc99_vfscanf.c): Likewise.
17749 (CFLAGS-isoc99_vscanf.c): Likewise.
17750 (CFLAGS-isoc99_fscanf.c): Likewise.
17751 (CFLAGS-isoc99_scanf.c): Likewise.
17752 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
17753 (CFLAGS-isoc99_fwscanf.c): Likewise.
17754 (CFLAGS-isoc99_vwscanf.c): Likewise.
17755 (CFLAGS-isoc99_vfwscanf.c): Likewise.
17756
17757 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
17758 after mkstemp64.
17759 * login/tst-utmp.c (do_prepare): Likewise.
17760 * rt/tst-aio.c (do_prepare): Likewise.
17761 * rt/tst-aio64.c (do_prepare): Likewise.
17762
17763 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17764
17765 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17766 (__lll_lock_elision): Remove adapt_count decrement...
17767 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17768 (__lll_trylock_elision): Likewise.
17769 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17770 (__lll_unlock_elision): ... to here. And utilize
17771 new adapt_count parameter.
17772 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17773 (__lll_unlock_elision): Update to include adapt_count
17774 parameter.
17775 (lll_unlock_elision): Pass pointer to adapt_count
17776 variable.
17777
17778 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17779
17780 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
17781 Add elision adapt_count parameter to list of arguments.
17782 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17783 (lll_unlock_elision): Update with new parameter list
17784 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
17785 (lll_unlock_elision): Likewise.
17786 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
17787 (lll_unlock_elision): Likewise.
17788
17789 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
17790
17791 [BZ #19122]
17792 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
17793 attribute_hidden.
17794
17795 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
17796 attribute_hidden.
17797 [IS_IN (rtld)] (__strdup): Likewise.
17798 [IS_IN (rtld)] (__strerror_r): Likewise.
17799 [IS_IN (rtld)] (__strsep_g): Likewise.
17800 [IS_IN (rtld)] (memchr): Likewise.
17801 [IS_IN (rtld)] (memcmp): Likewise.
17802 [IS_IN (rtld)] (memcpy): Likewise.
17803 [IS_IN (rtld)] (memmove): Likewise.
17804 [IS_IN (rtld)] (memset): Likewise.
17805 [IS_IN (rtld)] (rawmemchr): Likewise.
17806 [IS_IN (rtld)] (stpcpy): Likewise.
17807 [IS_IN (rtld)] (strchr): Likewise.
17808 [IS_IN (rtld)] (strcmp): Likewise.
17809 [IS_IN (rtld)] (strlen): Likewise.
17810 [IS_IN (rtld)] (strnlen): Likewise.
17811 [IS_IN (rtld)] (strsep): Likewise.
17812
17813 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
17814 attribute_hidden.
17815 [IS_IN (rtld)] (__strtoul_internal): Likewise.
17816
17817 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
17818 attribute_hidden.
17819 [IS_IN (rtld)] (__libc_sigaction): Likewise.
17820
17821 * include/setjmp.h (__longjmp): Add attribute_hidden.
17822 [IS_IN (rtld)] (__sigsetjmp): Likewise.
17823
17824 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
17825 Add attribute_hidden.
17826
17827 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
17828 [IS_IN (rtld)] (__open): Likewise.
17829 [IS_IN (rtld)] (__fcntl): Likewise.
17830
17831 * include/dirent.h (__opendirat): Add attribute_hidden.
17832 (__getdents): Likewise.
17833 (__getdents64): Likewise.
17834 (__alloc_dir): Likewise.
17835 [IS_IN (rtld)] (__closedir): Likewise.
17836 [IS_IN (rtld)] (__fdopendir): Likewise.
17837 [IS_IN (rtld)] (__readdir): Likewise.
17838 [IS_IN (rtld)] (__readdir64): Likewise.
17839 [IS_IN (rtld)] (__rewinddir): Likewise.
17840
17841 * include/dlfcn.h (_dl_catch_error): Moved to ...
17842 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
17843 attribute_hidden.
17844
17845 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
17846 (_itoa_word): Likewise.
17847
17848 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
17849 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
17850 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
17851 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
17852 (_dl_higher_prime_number): Likewise.
17853 (_dl_debug_printf_c): Likewise.
17854 (_dl_signal_cerror): Likewise.
17855 (_dl_receive_error): Likewise.
17856 (_dl_reloc_bad_type): Likewise.
17857 (_dl_resolve_conflicts): Likewise.
17858 (_dl_check_all_versions): Likewise.
17859 (_dl_check_map_versions): Likewise.
17860 (_dl_sort_fini): Likewise.
17861 (_dl_debug_initialize): Likewise.
17862 (_dl_init_paths): Likewise.
17863 (_dl_show_auxv): Likewise.
17864 (_dl_next_ld_env_entry): Likewise.
17865 (_dl_important_hwcaps): Likewise.
17866 (_dl_load_cache_lookup): Likewise.
17867 (_dl_update_slotinfo): Likewise.
17868 (_dl_show_scope): Likewise.
17869
17870 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
17871 attribute_hidden.
17872 (_wordcopy_fwd_dest_aligned): Likewise.
17873 (_wordcopy_bwd_aligned): Likewise.
17874 (_wordcopy_bwd_dest_aligned): Likewise.
17875
17876 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17877 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
17878 Likewise.
17879 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
17880 Likewise.
17881 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
17882
17883 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
17884
17885 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
17886 GCC 5 requirement.
17887
17888 2015-10-15 Joseph Myers <joseph@codesourcery.com>
17889
17890 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
17891 test.
17892 * sysdeps/i386/configure: Regenerated.
17893 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
17894 code unconditional.
17895
17896 * configure.ac (libc_cv_asm_previous_directive): Remove configure
17897 test.
17898 (libc_cv_asm_popsection_directive): Likewise.
17899 * configure: Regenerated.
17900 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
17901 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
17902 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
17903 (__make_section_unallocated): Make definition unconditional.
17904 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
17905 Remove conditional definition.
17906 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
17907 (__make_section_unallocated): Likewise.
17908
17909 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
17910 * configure: Regenerated.
17911 * config.make.in (static-libgcc): Remove variable.
17912 * Makerules (build-shlib-helper): Use -static-libgcc instead of
17913 $(static-libgcc).
17914 (build-module-helper): Likewise.
17915
17916 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
17917 * configure: Regenerated.
17918
17919 2015-10-15 Florian Weimer <fweimer@redhat.com>
17920
17921 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
17922 (struct char_buffer): New type.
17923 (char_buffer_start, char_buffer_size, char_buffer_error)
17924 (char_buffer_rewind, char_buffer_add): New functions.
17925 (ADDW): Remove macro, replaced by the char_buffer_add function.
17926 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
17927 of extend_alloca. Make control flow more explicit.
17928
17929 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
17930
17931 [BZ #19137]
17932 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
17933 Add -fomit-frame-pointer.
17934 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
17935
17936 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
17937
17938 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
17939 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
17940 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
17941 only if !__GNUC_PREREQ (5,0).
17942 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
17943 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
17944 (INTERNAL_SYSCALL_NCS): Likewise.
17945 (LOADREGS_0): New macro for GCC 5.
17946 (ASMARGS_0): Likewise.
17947 (LOADREGS_1): Likewise.
17948 (ASMARGS_1): Likewise.
17949 (LOADREGS_2): Likewise.
17950 (ASMARGS_2): Likewise.
17951 (LOADREGS_3): Likewise.
17952 (ASMARGS_3): Likewise.
17953 (LOADREGS_4): Likewise.
17954 (ASMARGS_4): Likewise.
17955 (LOADREGS_5): Likewise.
17956 (ASMARGS_5): Likewise.
17957 (LOADREGS_6): Likewise.
17958 (ASMARGS_6): Likewise.
17959
17960 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
17961
17962 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
17963 -fomit-frame-pointer.
17964 (CFLAGS-mmap64.c): Likewise.
17965 (CFLAGS-semtimedop.c): Likewise.
17966 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
17967 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
17968 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17969 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17970
17971 2015-10-15 Florian Weimer <fweimer@redhat.com>
17972
17973 [BZ #18928]
17974 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
17975 _dl_pointer_guard member.
17976 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
17977 initializer.
17978 (security_init): Always set up pointer guard.
17979 (process_envvars): Do not process LD_POINTER_GUARD.
17980
17981 2015-10-14 Joseph Myers <joseph@codesourcery.com>
17982
17983 [BZ #19134]
17984 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
17985 (.LC2): Likewise.
17986 (.LC3): Likewise.
17987 (__lround): Do not add 0.5 to integer or out-of-range arguments.
17988
17989 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
17990
17991 [BZ #19129]
17992 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
17993 r0 and r1.
17994
17995 2015-10-14 Namhyung Kim <namhyung@gmail.com>
17996
17997 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
17998
17999 2015-10-14 Carlos O'Donell <carlos@redhat.com>
18000
18001 * include/stap-probe.h: Fix macro definition formatting.
18002
18003 2015-10-14 Florian Weimer <fweimer@redhat.com>
18004
18005 [BZ #19074]
18006 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18007 load and store num_ifs.
18008
18009 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18010
18011 [BZ #18822]
18012 * sysdeps/unix/sysv/linux/sched_getaffinity.c
18013 (__sched_getaffinity_new): Add libc_hidden_proto and
18014 libc_hidden_def.
18015
18016 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18017
18018 [BZ #19007]
18019 * scripts/localplt.awk: Also allow GOT references.
18020 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18021 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18022 with "+ REL R_386_GLOB_DAT".
18023 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18024 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18025
18026 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18027
18028 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18029 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18030 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18031 Likewise.
18032 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18033 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18034 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18035 INTERNAL_SYSCALLINTERNAL_SYSCALL and
18036 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18037 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18038 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18039 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18040 Likewise.
18041 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18042
18043 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18044
18045 [BZ #19125]
18046 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18047 <math_private.h> and <stdint.h>.
18048 (__llround): Avoid conversions to and from long long int, and
18049 subtractions, where those might raise spurious exceptions.
18050 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18051 <math_private.h> and <stdint.h>.
18052 (__llroundf): Avoid conversions to and from long long int, and
18053 subtractions, where those might raise spurious exceptions.
18054
18055 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18056
18057 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18058 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18059 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18060 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18061 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18062 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18063 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18064 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18065 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18066 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18067 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18068 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18069 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18070 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18071 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18072 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18073 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18074 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18075 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18076 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18077 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18078 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18079 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18080 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18081 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18082 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18083 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18084 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18085 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18086 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18087 (__xstat64_conv): Likewise.
18088 (__xstat32_conv): Likewise.
18089
18090 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18091
18092 * sysdeps/unix/sysv/linux/sysdep.h: New file.
18093 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18094 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18095 <sysdeps/unix/sysv/linux/sysdep.h>.
18096 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18097 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18098 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18099 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18100 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18101 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18102 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18103 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18104 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18107 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18108 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18109 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18110 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18111 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18112 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18113 (sysdep-dl-routines): Add sysdep.
18114 [$(subdir) == nptl] (libpthread-routines): Likewise.
18115 [$(subdir) == rt] (librt-routines): Likewise.
18116 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18117 PIC when branching to SYSCALL_ERROR_LABEL.
18118 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18119 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18120 <sysdeps/unix/sysv/linux/sysdep.h>.
18121 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18122 (SYSCALL_ERROR_ERRNO): Removed.
18123 (SYSCALL_ERROR_HANDLER): Changed to empty.
18124 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18125 (__syscall_error): New prototype.
18126 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18127 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18128
18129 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18130
18131 [BZ #19124]
18132 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18133 (_dl_runtime_resolve_avx512): Make it a hidden alias of
18134 _dl_runtime_resolve_avx.
18135 (_dl_runtime_profile_avx512): Make it a hidden alias of
18136 _dl_runtime_profile_avx.
18137
18138 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18139
18140 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18141 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18142 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18143 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18144
18145 [BZ #16422]
18146 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18147 New configure test.
18148 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18149 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18150 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18151 <math_private.h> and <stdint.h>.
18152 (__llrint): Avoid conversions to long long int where those might
18153 raise spurious exceptions.
18154 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18155 <math_private.h> and <stdint.h>.
18156 (__llrintf): Avoid conversions to long long int where those might
18157 raise spurious exceptions.
18158
18159 2015-10-12 Andreas Schwab <schwab@suse.de>
18160
18161 [BZ #18969]
18162 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
18163 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18164 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
18165 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18166 $(gen-locales).
18167 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
18168 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18169 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18170 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18171 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18172 $(gen-locales).
18173 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
18174 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18175 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18176 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18177 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18178 ($(objpfx)tst-ftell-active-handler.out)
18179 ($(objpfx)tst-ftell-append.out)
18180 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18181 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18182 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18183 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18184 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
18185 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18186 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18187 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18188 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
18189 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
18190 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
18191 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
18192 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
18193 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
18194 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
18195 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
18196 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
18197 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
18198 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
18199 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
18200 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
18201 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
18202 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
18203 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
18204 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
18205 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
18206 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
18207 $(gen-locales).
18208 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
18209 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
18210 $(gen-locales).
18211 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
18212 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
18213 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
18214 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
18215 $(gen-locales).
18216 * libio/tst_wprintf2.c (main): Use explicit locale.
18217 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
18218
18219 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18220
18221 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
18222 __msg_sig_post.
18223 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
18224
18225 2015-10-09 Joseph Myers <joseph@codesourcery.com>
18226
18227 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18228 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18229
18230 * sysdeps/arm/libm-test-ulps: Regenerated.
18231
18232 [BZ #15470]
18233 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
18234
18235 [BZ #16399]
18236 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
18237 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
18238 and <fix-fp-int-convert-overflow.h>.
18239 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18240 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18241 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
18242 and <fix-fp-int-convert-overflow.h>.
18243 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
18244 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18245 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
18246 <fix-fp-int-convert-overflow.h>.
18247 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18248 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18249 * sysdeps/ieee754/dbl-64/s_lround.c: Include
18250 <fix-fp-int-convert-overflow.h>.
18251 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
18252 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18253 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
18254 and <fix-fp-int-convert-overflow.h>.
18255 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18256 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18257 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
18258 <limits.h> and <fix-fp-int-convert-overflow.h>.
18259 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18260 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18261 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
18262 and <fix-fp-int-convert-overflow.h>.
18263 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18264 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18265 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
18266 and <fix-fp-int-convert-overflow.h>.
18267 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18268 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18269 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
18270
18271 2015-10-09 Carlos O'Donell <carlos@redhat.com>
18272
18273 [BZ #18589]
18274 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
18275 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
18276 $(gen-locales).
18277
18278 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18279 Phil Blundell <pb@pbcl.net>
18280
18281 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
18282 * nptl/tst-cancel26.c: New file.
18283 * nptl/tst-cancel27.c: Likewise.
18284
18285 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
18286
18287 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
18288 __ILP32__ isn't defined.
18289 (lrint): Likewise.
18290 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
18291 (lrintf): Likewise.
18292 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
18293 (lrintl): Likewise.
18294 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
18295 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
18296 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
18297
18298 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18299
18300 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18301 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18302
18303 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
18304 file.
18305 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
18306 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18307
18308 2015-10-09 Joseph Myers <joseph@codesourcery.com>
18309
18310 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
18311 configure test.
18312 * sysdeps/i386/configure: Regenerated.
18313 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
18314 configure test.
18315 * sysdeps/x86_64/configure: Regenerated.
18316 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
18317 Make code unconditional.
18318
18319 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
18320 test.
18321 * sysdeps/i386/configure: Regenerated.
18322 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
18323 test.
18324 * sysdeps/x86_64/configure: Regenerated.
18325 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
18326 Make code unconditional.
18327 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18328 Likewise.
18329 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
18330 Likewise.
18331 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18332 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
18333 code unconditional.
18334 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18335 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
18336 code unconditional.
18337 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18338 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
18339 code unconditional.
18340 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
18341 code unconditional.
18342 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18343 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
18344 code unconditional.
18345 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18346 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
18347 code unconditional.
18348 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18349 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
18350 code unconditional.
18351 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18352 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
18353 code unconditional.
18354 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18355 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
18356
18357 [BZ #19095]
18358 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
18359 mantissa to long int before shifting left.
18360
18361 2015-10-08 Joseph Myers <joseph@codesourcery.com>
18362
18363 [BZ #19094]
18364 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
18365 <limits.h>.
18366 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18367 when result overflows but exception would not result from cast.
18368 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
18369 <limits.h>.
18370 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18371 when result overflows but exception would not result from cast.
18372 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
18373 <limits.h>.
18374 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18375 when result overflows but exception would not result from cast.
18376 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
18377 <limits.h>.
18378 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18379 when result overflows but exception would not result from cast.
18380 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
18381 <limits.h>.
18382 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18383 when result overflows but exception would not result from cast.
18384 * math/libm-test.inc (lrint_test_data): Add more tests.
18385 (llrint_test_data): Likewise.
18386
18387 2015-10-08 Roland McGrath <roland@hack.frob.com>
18388
18389 [BZ #18872]
18390 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
18391 Move out from under [$(run-built-tests) = yes] conditional.
18392 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
18393 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
18394
18395 2015-10-08 Carlos O'Donell <carlos@redhat.com>
18396
18397 [BZ #18589]
18398 * string/Makefile (tests): Add bug-strcoll2.
18399 (LOCALES): Add cs_CZ.UTF-8.
18400 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
18401
18402 [BZ #18589]
18403 * string/bug-strcoll2.c: New file.
18404 * locale/categories.def: Revert commit
18405 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
18406 * locale/langinfo.h: Likewise.
18407 * locale/localeinfo.h: Likewise.
18408 * locale/C-collate.c: Likewise.
18409 * locale/programs/ld-collate.c (collate_output): Likewise.
18410 * string/strcoll_l.c (STRDIFF): Likewise.
18411 (STRCOLL): Likewise.
18412 * wcsmbs/wcscoll_l.c: Likewise.
18413
18414 2015-10-08 Joseph Myers <joseph@codesourcery.com>
18415
18416 * math/libm-test.inc (lround_test_data): Do not expect the absence
18417 of "inexact" for some tests with non-integer arguments.
18418 (llround_test_data): Likewise.
18419
18420 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
18421 test.
18422 (libc_cv_cc_sse2avx): Likewise.
18423 * sysdeps/i386/configure: Regenerated.
18424 * sysdeps/i386/i686/multiarch/Makefile
18425 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
18426 [$(subdir) = math].
18427 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
18428 code unconditional.
18429 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18430 Likewise.
18431 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
18432 Likewise.
18433 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18434 Likewise.
18435 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
18436 test.
18437 (libc_cv_cc_sse2avx): Likewise.
18438 * sysdeps/x86_64/configure: Regenerated.
18439 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
18440 unconditional.
18441 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
18442 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
18443 unconditional.
18444 (_dl_runtime_profile)
18445 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
18446 conditional code.
18447 * sysdeps/x86_64/fpu/multiarch/Makefile
18448 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
18449 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18450 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18451 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18452 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18453 * sysdeps/x86_64/fpu/multiarch/e_log.c
18454 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18455 * sysdeps/x86_64/fpu/multiarch/s_atan.c
18456 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18457 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18458 Likewise.
18459 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18460 Likewise.
18461 * sysdeps/x86_64/fpu/multiarch/s_sin.c
18462 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18463 * sysdeps/x86_64/fpu/multiarch/s_tan.c
18464 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18465 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
18466 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
18467 (HAVE_SSE2AVX_SUPPORT): Likewise.
18468
18469 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
18470
18471 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
18472 instead of #pragma optimize.
18473
18474 2015-10-07 Carlos O'Donell <carlos@redhat.com>
18475
18476 [BZ #17195]
18477 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
18478 as is similarly done in systrim and _int_free already.
18479
18480 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
18481
18482 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
18483
18484 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18485
18486 [BZ #19088]
18487 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
18488 <limits.h>.
18489 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18490 overflows but exception would not result from cast.
18491 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
18492 and <limits.h>.
18493 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18494 overflows but exception would not result from cast.
18495 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
18496 <limits.h>.
18497 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18498 overflows but exception would not result from cast.
18499 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
18500 <limits.h>.
18501 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18502 overflows but exception would not result from cast.
18503 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
18504 <limits.h>.
18505 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18506 overflows but exception would not result from cast.
18507 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
18508 <limits.h>.
18509 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18510 overflows but exception would not result from cast.
18511 * math/libm-test.inc (lround_test_data): Add more tests.
18512 (llround_test_data): Likewise.
18513
18514 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
18515
18516 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
18517 (CFLAGS-ialloc.c): Ditto.
18518 (CFLAGS-scheck.c): Ditto.
18519
18520 2015-10-07 Carlos O'Donell <carlos@redhat.com>
18521
18522 [BZ #19086]
18523 * manual/filesys.texi (Storage Allocation): Fix argument order for
18524 posix_fallocate64.
18525
18526 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18527
18528 [BZ #19085]
18529 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
18530 exponent below 48 inside case for non-overflowing exponent.
18531 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
18532
18533 2015-10-07 Florian Weimer <fweimer@redhat.com>
18534
18535 * iconvdata/cp737.h (from_idx): Add const.
18536 * iconvdata/cp775.h (from_idx): Likewise.
18537
18538 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18539
18540 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
18541 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
18542 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
18543
18544 [BZ #19079]
18545 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
18546 file, conditioned on [!_LP64].
18547 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
18548 [!_LP64] (__lround): Do not define as function or alias.
18549 [!_LP64] (lround): Likewise.
18550 [!_LP64] (__lroundl): Likewise.
18551 [!_LP64] (lroundl): Likewise.
18552 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
18553 macro.
18554 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18555 Likewise.
18556
18557 2015-10-06 Joseph Myers <joseph@codesourcery.com>
18558
18559 * math/libm-test.inc (lrint_test_data): Add more tests.
18560 (llrint_test_data): Likewise.
18561 (lround_test_data): Likewise.
18562 (llround_test_data): Likewise.
18563
18564 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
18565 (llrint_test_data): Add tests used for lrint.
18566
18567 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
18568 test.
18569 * sysdeps/i386/configure: Regenerated.
18570 * sysdeps/i386/i686/multiarch/Makefile
18571 [$(config-cflags-sse4) = yes]: Make code unconditional.
18572 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18573 Likewise.
18574 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
18575 Likewise.
18576 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
18577 test.
18578 * sysdeps/x86_64/configure: Regenerated.
18579 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
18580 Make code unconditional.
18581 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18582 Likewise.
18583 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
18584 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
18585
18586 * scripts/rpm2dynsym.sh: Remove file.
18587
18588 2015-10-06 Florian Weimer <fweimer@redhat.com>
18589
18590 * configure.ac (libc_cv_cxx_thread_local): Define.
18591 * configure: Regenerate.
18592 * config.make.in (have-cxx-thread_local): Define.
18593 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
18594 (LDLIBS-tst-thread_local1): Define.
18595 (tests): Add tst-thread_local1.
18596 [have-cxx-thread_local != yes] (tests-unsupported): Add
18597 tst-thread_local1.
18598 * nptl/tst-thread_local1.cc: New file.
18599
18600 2015-10-06 Joseph Myers <joseph@codesourcery.com>
18601
18602 [BZ #19078]
18603 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
18604 (u_thres): Likewise.
18605 (__expl): Determine whether to call __kernel_standard_l based on
18606 value of result, not argument.
18607
18608 * math/libm-test.inc (scalb_test_data): Add more expectations for
18609 the "inexact" exception.
18610
18611 [BZ #19077]
18612 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
18613 0.0L for argument 1.0L.
18614
18615 [BZ #19076]
18616 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
18617 constant 0.0L when computing infinite result.
18618
18619 2015-10-06 Florian Weimer <fweimer@redhat.com>
18620
18621 [BZ #10432]
18622 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
18623 malloc_usable_size.
18624
18625 2015-10-06 Florian Weimer <fweimer@redhat.com>
18626
18627 [BZ #19018]
18628 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18629 Mangle function pointer before storing it.
18630 (__call_tls_dtors): Demangle function pointer before calling it.
18631
18632 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18633
18634 [BZ #19012]
18635 * iconv/gconv_db.c (gen_steps): Check for additional errors.
18636 Clean up on failure.
18637
18638 2015-10-05 Joseph Myers <joseph@codesourcery.com>
18639
18640 [BZ #19071]
18641 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
18642 long int variable to store possibly incremented high part of
18643 mantissa.
18644 * math/libm-test.inc (lround_test_data): Add tests used for
18645 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
18646 for tests requiring 64-bit long. Do not condition tests on
18647 [TEST_FLOAT] unnecessarily.
18648 (llround_test_data): Add tests used for lround. Add another
18649 expectation for the "inexact" exception. Do not condition tests
18650 on [TEST_FLOAT] unnecessarily.
18651
18652 [BZ #887]
18653 [BZ #19049]
18654 [BZ #19050]
18655 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
18656 * sysdeps/ieee754/dbl-64/e_log10.c: Include
18657 <fix-int-fp-convert-zero.h>.
18658 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18659 * sysdeps/ieee754/dbl-64/e_log2.c: Include
18660 <fix-int-fp-convert-zero.h>.
18661 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18662 * sysdeps/ieee754/dbl-64/s_erf.c: Include
18663 <fix-int-fp-convert-zero.h>.
18664 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18665 * sysdeps/ieee754/dbl-64/s_logb.c: Include
18666 <fix-int-fp-convert-zero.h>.
18667 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18668 * sysdeps/ieee754/flt-32/e_log10f.c: Include
18669 <fix-int-fp-convert-zero.h>.
18670 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18671 * sysdeps/ieee754/flt-32/e_log2f.c: Include
18672 <fix-int-fp-convert-zero.h>.
18673 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18674 * sysdeps/ieee754/flt-32/s_erff.c: Include
18675 <fix-int-fp-convert-zero.h>.
18676 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18677 * sysdeps/ieee754/flt-32/s_logbf.c: Include
18678 <fix-int-fp-convert-zero.h>.
18679 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18680 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
18681 <fix-int-fp-convert-zero.h>.
18682 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18683 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
18684 <fix-int-fp-convert-zero.h>.
18685 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18686 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
18687 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
18688 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
18689 file.
18690 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
18691
18692 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
18693
18694 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18695
18696 2015-10-02 Joseph Myers <joseph@codesourcery.com>
18697
18698 [BZ #19059]
18699 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
18700 overflowing computation.
18701 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18702 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18703 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18704 Likewise.
18705 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18706 Likewise.
18707 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18708 Likewise.
18709 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18710 Likewise.
18711 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18712 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18713 Likewise.
18714 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18715 Likewise.
18716 * math/libm-test.inc (nexttoward_test_data): Add more tests.
18717
18718 * nss/rewrite_field.c (__nss_rewrite_field): Use
18719 internal_function.
18720 * nss/valid_field.c (__nss_valid_field): Likewise.
18721 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
18722
18723 2015-10-02 Florian Weimer <fweimer@redhat.com>
18724
18725 [BZ #18724]
18726 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
18727 (__nss_invalid_field_characters, __nss_valid_field)
18728 (__nss_valid_list_field, __nss_rewrite_field): Declare.
18729 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
18730 tst-field.c: New file.
18731 * nss/Makefile (routines): Add valid_field, rewrite_field.
18732 (tests-static): Define unconditionally.
18733 (tests): Include tests-static.
18734 [build-static-nss] (tests-static): Use append.
18735 [build-static-nss] (tests): Remove modification.
18736 * nss/getent.c (print_group): Call putgrent. Report error.
18737 (print_gshadow): Call putsgent. Report error.
18738 (print_passwd): Call putpwent. Report error.
18739 (print_shadow): Call putspent. Report error.
18740 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
18741 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
18742 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
18743 name, password, directory, shell fields for valid syntax. Rewrite
18744 GECOS field to match syntax.
18745 * pwd/Makefile (tests): Add tst-putpwent.
18746 * pwd/tst-putpwent.c: New file.
18747 * grp/putgrent.c (putgrent): Convert to ISO function definition.
18748 Check grName, grpasswd, gr_mem fields for valid syntax.
18749 Change loop variable i to size_t.
18750 * grp/Makefile (tests): Add tst-putgrent.
18751 * grp/tst-putgrent.c: New file.
18752 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
18753 valid syntax.
18754 * shadow/Makefile (tests): Add tst-putspent.
18755 * shadow/tst-putspent.c: New file.
18756 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
18757 sg_mem fields for valid syntax.
18758 * gshadow/Makefile (tests): Add tst-putsgent.
18759 * gshadow/tst-putsgent.c: New file.
18760
18761 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18762
18763 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
18764 assembly instructions.
18765
18766 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18767
18768 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
18769 prefix from operands.
18770
18771 2015-10-01 Joseph Myers <joseph@codesourcery.com>
18772
18773 [BZ #16347]
18774 [BZ #19046]
18775 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
18776 <libc-internal.h>.
18777 (MAXLGM): Do not use diagnostic control macros.
18778 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
18779 threshold for ldbl-128ibm.
18780 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
18781 instead of multiplying by log then subtracting.
18782 * math/auto-libm-test-in: Add more tests of lgamma.
18783 * math/auto-libm-test-out: Regenerated.
18784
18785 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
18786 (TYPE_HEX_DIG): Likewise.
18787 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
18788 precisions when printing floating-point numbers.
18789 (check_float_internal): Likewise.
18790
18791 2015-09-30 Joseph Myers <joseph@codesourcery.com>
18792
18793 [BZ #16620]
18794 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
18795 of log (10) rounded downward to 48 bits.
18796 (log10_low): Use corresponding low part of log (10).
18797
18798 [BZ #19032]
18799 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
18800 compute result as (x - x) / (x - x) not as 0 / 0.
18801 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18802 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
18803
18804 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18805 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
18806 and expm1.
18807 * math/auto-libm-test-out: Regenerated.
18808 * math/libm-test.inc (acos_test_data): Add more tests.
18809 (asin_test_data): Likewise.
18810 (asinh_test_data): Likewise.
18811 (atan_test_data): Likewise.
18812 (atanh_test_data): Likewise.
18813 (atan2_test_data): Likewise.
18814 (cbrt_test_data): Likewise.
18815 (ceil_test_data): Likewise.
18816 (copysign_test_data): Likewise.
18817 (cos_test_data): Likewise.
18818 (cosh_test_data): Likewise.
18819 (erf_test_data): Likewise.
18820 (erfc_test_data): Likewise.
18821 (exp_test_data): Likewise.
18822 (exp10_test_data): Likewise.
18823 (exp2_test_data): Likewise.
18824 (expm1_test_data): Likewise.
18825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18826
18827 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
18828
18829 [BZ #19006]
18830 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
18831 to ...
18832 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
18833 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
18834 to ...
18835 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
18836 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
18837 to ...
18838 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
18839 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
18840 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
18841 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
18842 to ...
18843 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
18844 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18845 Moved to ...
18846 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
18847 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18848 Moved to ...
18849 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
18850 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
18851 to ...
18852 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
18853 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18854 Moved to ...
18855 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
18856 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
18857 to ...
18858 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
18859 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
18860 Removed.
18861 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
18862 Likewise.
18863 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
18864 Likewise.
18865 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
18866 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
18867 Likewise.
18868 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18869 Likewise.
18870 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18871 Likewise.
18872 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18873 Likewise.
18874 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18875 Likewise.
18876 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
18877 Likewise.
18878 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
18879 Likewise.
18880 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
18881 Likewise.
18882 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
18883 Likewise.
18884 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
18885 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
18886 Likewise.
18887 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18888 Likewise.
18889 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18890 Likewise.
18891 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18892 Likewise.
18893 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
18894 Likewise.
18895 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18896 Replace ../i486/pthread_cond_timedwait.S with
18897 ../pthread_cond_timedwait.S.
18898
18899 2015-09-30 Joseph Myers <joseph@codesourcery.com>
18900
18901 * math/libm-test.inc (acos_test_data): Refine expectations for
18902 errno and "inexact" exceptions.
18903 (acosh_test_data): Likewise.
18904 (asin_test_data): Likewise.
18905 (asinh_test_data): Likewise.
18906 (atan_test_data): Likewise.
18907 (atanh_test_data): Likewise.
18908 (atan2_test_data): Likewise.
18909 (cbrt_test_data): Likewise.
18910 (ceil_test_data): Likewise.
18911 (copysign_test_data): Likewise.
18912 (cosh_test_data): Likewise.
18913 (erf_test_data): Likewise.
18914 (erfc_test_data): Likewise.
18915 (exp_test_data): Likewise.
18916 (exp10_test_data): Likewise.
18917 (exp2_test_data): Likewise.
18918 (expm1_test_data): Likewise.
18919 (fabs_test_data): Likewise.
18920 (floor_test_data): Likewise.
18921 (fma_test_data): Likewise.
18922 (fmax_test_data): Likewise.
18923 (fmin_test_data): Likewise.
18924 (fmod_test_data): Likewise.
18925 (fpclassify_test_data): Likewise.
18926 (frexp_test_data): Likewise.
18927 (hypot_test_data): Likewise.
18928 (ilogb_test_data): Likewise.
18929 (isgreater_test_data): Likewise.
18930 (isgreaterequal_test_data): Likewise.
18931 (isinf_test_data): Likewise.
18932 (isless_test_data): Likewise.
18933 (islessequal_test_data): Likewise.
18934 (islessgreater_test_data): Likewise.
18935 (isnan_test_data): Likewise.
18936 (isnormal_test_data): Likewise.
18937 (issignaling_test_data): Likewise.
18938 (isunordered_test_data): Likewise.
18939 (j0_test_data): Likewise.
18940 (j1_test_data): Likewise.
18941 (jn_test_data): Likewise.
18942 (lgamma_test_data): Likewise.
18943 (lrint_test_data): Likewise.
18944 (llrint_test_data): Likewise.
18945 (log_test_data): Likewise.
18946 (log10_test_data): Likewise.
18947 (log1p_test_data): Likewise.
18948 (log2_test_data): Likewise.
18949 (logb_test_data): Likewise.
18950 (lround_test_data): Likewise.
18951 (llround_test_data): Likewise.
18952 (modf_test_data): Likewise.
18953 (nearbyint_test_data): Likewise.
18954 (nextafter_test_data): Likewise.
18955 (nexttoward_test_data): Likewise.
18956 (pow_test_data): Likewise.
18957 (remainder_test_data): Likewise.
18958 (remquo_test_data): Likewise.
18959 (rint_test_data): Likewise.
18960 (round_test_data): Likewise.
18961 (signbit_test_data): Likewise.
18962 (sinh_test_data): Likewise.
18963 (sqrt_test_data): Likewise.
18964 (tanh_test_data): Likewise.
18965 (tgamma_test_data): Likewise.
18966 (trunc_test_data): Likewise.
18967 (y0_test_data): Likewise.
18968 (y1_test_data): Likewise.
18969 (yn_test_data): Likewise.
18970 (significand_test_data): Likewise.
18971
18972 2015-09-29 Carlos O'Donell <carlos@redhat.com>
18973
18974 * manual/filesys.texi (Storage Allocation): Document that
18975 posix_fallocate emulation fails when fd is open with O_WRONLY.
18976
18977 2015-09-28 Joseph Myers <joseph@codesourcery.com>
18978
18979 [BZ #19016]
18980 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
18981 allow more cases with X^2 + Y^2 >= 0.5.
18982 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
18983 normal element in sum instead of special-casing based on values of
18984 arguments.
18985 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
18986 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
18987 -1 as normal element in sum instead of special-casing based on
18988 values of arguments.
18989 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
18990 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
18991 (__x2y2m1): Update comment.
18992 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
18993 as normal element in sum instead of special-casing based on values
18994 of arguments.
18995 * math/s_clog.c (__clog): Handle more cases using log1p without
18996 hypot.
18997 * math/s_clog10.c (__clog10): Likewise.
18998 * math/s_clog10f.c (__clog10f): Likewise.
18999 * math/s_clog10l.c (__clog10l): Likewise.
19000 * math/s_clogf.c (__clogf): Likewise.
19001 * math/s_clogl.c (__clogl): Likewise.
19002 * math/auto-libm-test-in: Add more tests of clog and clog10.
19003 * math/auto-libm-test-out: Regenerated.
19004 * sysdeps/i386/fpu/libm-test-ulps: Update.
19005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19006
19007 2015-09-28 Martin Sebor <msebor@redhat.com>
19008
19009 [BZ #18969]
19010 * string/Makefile (LOCALES): Define.
19011 (gen-locales.mk): Include.
19012 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19013 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19014 * string/tst-strxfrm2.c (do_test): Print the name of the locale
19015 on setlocale failure.
19016
19017 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19018
19019 [BZ #18985]
19020 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19021 (__strftime_internal): Likewise.
19022 * time/tst-strftime.c (do_bz18985): New test.
19023 (do_test): Call it.
19024
19025 2015-09-26 Joseph Myers <joseph@codesourcery.com>
19026
19027 [BZ #18956]
19028 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19029 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
19030 extracting high part.
19031 * math/auto-libm-test-in: Add another test of pow.
19032 * math/auto-libm-test-out: Regenerated.
19033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19034
19035 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19036
19037 [BZ #18825]
19038 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19039 New macro.
19040 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19041 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19042 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19043 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19044 DBL_NARROW_EVAL, reloading the PIC register as needed.
19045 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19046 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19047 FLT_NARROW_EVAL. Use separate return path for case when first
19048 argument is NaN.
19049 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
19050 DEFINE_LDBL_MIN.
19051 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19052 PIC register.
19053 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19054 math_check_force_underflow_nonneg.
19055 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19056 underflow for subnormal result.
19057 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19058 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19059 math_check_force_underflow_nonneg.
19060 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19061 math_check_force_underflow.
19062 * sysdeps/x86_64/fpu/x86_64-math-asm.h
19063 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19064 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
19065 DEFINE_LDBL_MIN.
19066 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19067 * math/auto-libm-test-in: Add more tests of pow.
19068 * math/auto-libm-test-out: Regenerated.
19069
19070 2015-09-25 Florian Weimer <fweimer@redhat.com>
19071
19072 * nss/bug17079.c (init_test_items): Add diagnostic for
19073 inconsistent entries.
19074 (test_buffer_size): Skip inconsistent entries.
19075
19076 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19077
19078 [BZ #13304]
19079 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19080 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19081 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19082
19083 [BZ #13304]
19084 * sysdeps/microblaze/s_fma.c: New file.
19085 * sysdeps/microblaze/s_fmaf.c: Likewise.
19086 * sysdeps/microblaze/sfp-machine.h: Likewise.
19087
19088 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
19089
19090 [BZ #17250]
19091 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19092 member.
19093
19094 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19095
19096 [BZ #18803]
19097 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19098 (MO): New macro.
19099 (__ieee754_hypot) [PIC]: Load PIC register.
19100 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19101 DBL_NARROW_EVAL.
19102 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19103 math_check_force_underflow_nonneg in case where result might be
19104 tiny.
19105 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19106 Likewise.
19107 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19108 Likewise.
19109 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19110 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19111 * math/auto-libm-test-in: Add more tests of hypot.
19112 * math/auto-libm-test-out: Regenerated.
19113
19114 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
19115
19116 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19117
19118 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19119
19120 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19121 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19122 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19123 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19124 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19125 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19126 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19127
19128 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19129 LOAD_PIC_REG.
19130
19131 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19132 (FLT_CHECK_FORCE_UFLOW): Likewise.
19133 (DBL_CHECK_FORCE_UFLOW): Likewise.
19134 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19135 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19136 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19137 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19138 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19139 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19140 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19141 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19142 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19143 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19144 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19145 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19146 (flt_min): Replace with use of DEFINE_FLT_MIN.
19147 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19148 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19149 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19150 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19151 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19152 (flt_min): Replace with use of DEFINE_FLT_MIN.
19153 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19154 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19155 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19156 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19157 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19158 (flt_min): Replace with use of DEFINE_FLT_MIN.
19159 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19160 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19161 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19162 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19163 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19164 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19165 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19166 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19167 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19168 (__atan): Use DBL_CHECK_FORCE_UFLOW.
19169 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19170 (flt_min): Replace with use of DEFINE_FLT_MIN.
19171 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19172 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19173 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19174 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
19175 main computation.
19176 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19177 (flt_min): Replace with use of DEFINE_FLT_MIN.
19178 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
19179 main computation.
19180 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19181 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19182 (MO): New macro.
19183 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19184 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19185 (flt_min): Replace with use of DEFINE_FLT_MIN.
19186 (MO): New macro.
19187 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19188 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
19189 (__log1pl): Use MO.
19190
19191 [BZ #19003]
19192 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
19193 $(config-cflags-nofma).
19194
19195 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19196
19197 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19198
19199 2015-09-23 Joseph Myers <joseph@codesourcery.com>
19200
19201 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
19202 (TWO127): Likewise.
19203
19204 * sysdeps/generic/math_private.h (fabs_tg): New macro.
19205 (min_of_type): Likewise.
19206 (math_check_force_underflow): Likewise.
19207 (math_check_force_underflow_nonneg): Likewise.
19208 (math_check_force_underflow_complex): Likewise.
19209 * math/e_exp2l.c (__ieee754_exp2l): Use
19210 math_check_force_underflow_nonneg.
19211 * math/k_casinh.c (__kernel_casinh): Likewise.
19212 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19213 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19214 * math/s_catan.c (__catan): Use
19215 math_check_force_underflow_complex.
19216 * math/s_catanf.c (__catanf): Likewise.
19217 * math/s_catanh.c (__catanh): Likewise.
19218 * math/s_catanhf.c (__catanhf): Likewise.
19219 * math/s_catanhl.c (__catanhl): Likewise.
19220 * math/s_catanl.c (__catanl): Likewise.
19221 * math/s_ccosh.c (__ccosh): Likewise.
19222 * math/s_ccoshf.c (__ccoshf): Likewise.
19223 * math/s_ccoshl.c (__ccoshl): Likewise.
19224 * math/s_cexp.c (__cexp): Likewise.
19225 * math/s_cexpf.c (__cexpf): Likewise.
19226 * math/s_cexpl.c (__cexpl): Likewise.
19227 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
19228 * math/s_clog10.c (__clog10): Likewise.
19229 * math/s_clog10f.c (__clog10f): Likewise.
19230 * math/s_clog10l.c (__clog10l): Likewise.
19231 * math/s_clogf.c (__clogf): Likewise.
19232 * math/s_clogl.c (__clogl): Likewise.
19233 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
19234 * math/s_csinf.c (__csinf): Likewise.
19235 * math/s_csinh.c (__csinh): Likewise.
19236 * math/s_csinhf.c (__csinhf): Likewise.
19237 * math/s_csinhl.c (__csinhl): Likewise.
19238 * math/s_csinl.c (__csinl): Likewise.
19239 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
19240 * math/s_csqrtf.c (__csqrtf): Likewise.
19241 * math/s_csqrtl.c (__csqrtl): Likewise.
19242 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
19243 * math/s_ctanf.c (__ctanf): Likewise.
19244 * math/s_ctanh.c (__ctanh): Likewise.
19245 * math/s_ctanhf.c (__ctanhf): Likewise.
19246 * math/s_ctanhl.c (__ctanhl): Likewise.
19247 * math/s_ctanl.c (__ctanl): Likewise.
19248 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
19249 instead of volatile.
19250 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
19251 math_check_force_underflow.
19252 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19253 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
19254 volatile when forcing underflow.
19255 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19256 math_check_force_underflow_nonneg.
19257 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19258 Likewise.
19259 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
19260 math_check_force_underflow.
19261 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19262 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19263 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19264 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
19265 math_check_force_underflow_nonneg.
19266 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
19267 math_check_force_underflow.
19268 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
19270 instead of volatile.
19271 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
19272 math_check_force_underflow.
19273 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19274 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19275 math_check_force_underflow_nonneg.
19276 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
19277 math_check_force_underflow.
19278 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19279 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19280 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
19281 math_check_force_underflow_nonneg.
19282 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19283 Likewise.
19284 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
19285 math_check_force_underflow.
19286 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19287 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19288 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
19289 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
19290 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19291 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
19292 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
19293 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
19294 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19295 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
19296 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19297 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
19298 Likewise.
19299 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
19300 math_check_force_underflow_nonneg.
19301 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19302 Likewise.
19303 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
19304 math_check_force_underflow.
19305 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19306 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
19307 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19308 Likewise.
19309 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
19310 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
19311 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
19312 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
19313 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
19314 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
19315 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
19316 instead of volatile.
19317 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
19318 math_check_force_underflow.
19319 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
19320 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
19321 math_check_force_underflow.
19322 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
19323 Likewise.
19324 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19325 Use math_check_force_underflow_nonneg.
19326 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
19327 math_check_force_underflow.
19328 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19329 Likewise.
19330 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19331 Likewise.
19332 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19333 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19334 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19335 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19336 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
19337 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19338 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19339 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
19340 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
19341 math_check_force_underflow_nonneg.
19342 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
19343 math_check_force_underflow.
19344 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19345 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
19346 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
19347 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
19348 math_check_force_underflow_nonneg.
19349 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
19350 math_check_force_underflow.
19351 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
19352 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
19353 instead of volatile.
19354 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
19355 math_check_force_underflow.
19356
19357 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
19358 * stdlib/strtod_l.c: Include <math_private.h>.
19359 (overflow_value): Use math_narrow_eval.
19360 (underflow_value): Likewise.
19361 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19362 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19363 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19364 (__ieee754_gamma_r): Likewise.
19365 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
19366 Likewise.
19367 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
19368 Likewise.
19369 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
19370 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
19371 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
19372 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
19373 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19374 (__ieee754_gammaf_r): Likewise.
19375 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19376 Likewise.
19377 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
19378 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
19379 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
19380 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
19381 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
19382 volatile.
19383 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
19384 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
19385 math_narrow_eval.
19386 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19387 Likewise.
19388 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19389 Likewise.
19390 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
19391 Likewise.
19392 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
19393 volatile.
19394 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
19395 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
19396 math_narrow_eval.
19397 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19398 Likewise.
19399 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19400 Likewise.
19401
19402 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
19403
19404 * nptl/Versions: Remove ignored symbols.
19405
19406 2015-09-22 Florian Weimer <fweimer@redhat.com>
19407
19408 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
19409 * nss/Makefile (tests): Update.
19410
19411 2015-09-22 Florian Weimer <fweimer@redhat.com>
19412
19413 * nss/bug18287.c: New file.
19414 * nss/Makefile (tests): Add bug18287.
19415
19416 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19417
19418 * mach/Versions (__mach_host_self_): Add symbol.
19419
19420 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19421
19422 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
19423 vm_page_size.
19424
19425 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19426
19427 Really fix sysdeps/i386/fpu/s_scalbn.S build
19428
19429 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
19430 (libc: GLIBC_2_22): Remove unused version set.
19431
19432 2015-09-18 Mike Frysinger <vapier@gentoo.org>
19433
19434 * config.make.in (enable-timezone-tools): New variable.
19435 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
19436 (enable_timezone_tools): Export to generated files.
19437 * configure: Regenerate.
19438 * INSTALL: Regenerate.
19439 * manual/install.texi (--disable-timezone-tools): Document new flag.
19440 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
19441 ifeq ($(enable-timezone-tools),yes) check.
19442
19443 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19444
19445 * timezone/Makefile: Revert previous change.
19446
19447 [BZ #18980]
19448 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
19449 (DEFINE_DBL_MIN): Likewise.
19450 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19451 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19452 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19453 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19454 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
19455 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19456 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19457 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
19458 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
19459 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19460 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19461 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
19462 (flt_min): Replace with use of DEFINE_FLT_MIN.
19463 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19464 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
19465 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19466 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19467 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
19468 (flt_min): Replace with use of DEFINE_FLT_MIN.
19469 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19470 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
19471 (flt_min): Replace with use of DEFINE_FLT_MIN.
19472 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19473 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
19474 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
19475 (__ieee754_hypot): Use DBL_NARROW_EVAL.
19476 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
19477 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
19478 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
19479 (__ieee754_pow): Use DBL_NARROW_EVAL.
19480 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
19481 (__ieee754_powf): Use FLT_NARROW_EVAL.
19482 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
19483 (__ieee754_expf_sse2): Convert double-precision result to single
19484 precision.
19485 * sysdeps/i386/fpu/libm-test-ulps: Update.
19486
19487 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19488
19489 * timezone/Makefile: Ignore unused variable errors due to private.h
19490 (time_t_min) and (time_t_max).
19491 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
19492 Likewise.
19493
19494 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19495
19496 [BZ #18981]
19497 * sysdeps/i386/fpu/i386-math-asm.h: New file.
19498 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
19499 (__ieee754_scalb): Use DBL_NARROW_EVAL.
19500 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
19501 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
19502 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
19503 (__scalbn): Use DBL_NARROW_EVAL.
19504 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
19505 (__scalbnf): Use FLT_NARROW_EVAL.
19506
19507 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19508
19509 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
19510 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
19511 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
19512 * stdio-common/printf_fp.c (___printf_fp):
19513 Use signbit to get the sign. Use isinf macro to allow inlining.
19514 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
19515 * stdio-common/printf_size.c (__printf_size): Likewise.
19516
19517 2015-09-18 Mike Frysinger <vapier@gentoo.org>
19518
19519 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
19520
19521 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19522
19523 [BZ #18980]
19524 * sysdeps/generic/math_private.h: Include <float.h>.
19525 (math_narrow_eval): New macro.
19526 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
19527 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
19528 math_narrow_eval on overflowing return value.
19529 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
19530 Likewise.
19531 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19532 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
19533 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
19534 Likewise.
19535 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19536
19537 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19538
19539 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
19540 * math/Makefile: Remove isinf_ns.c.
19541 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
19542 * math/multc3.c (__multc3): Likewise.
19543 * math/s_casin.c (__casin): Likewise.
19544 * math/s_casinf.c (__casinf): Likewise.
19545 * math/s_casinl.c (__casinl): Likewise.
19546 * math/s_cproj.c (__cproj): Likewise.
19547 * math/s_cprojf.c (__cprojf): Likewise.
19548 * math/s_cprojl.c (__cprofl): Likewise.
19549 * math/s_ctan.c (__ctan): Likewise.
19550 * math/s_ctanf.c (__ctanf): Likewise.
19551 * math/s_ctanh.c (__ctanh): Likewise.
19552 * math/s_ctanhf.c (__ctanhf): Likewise.
19553 * math/s_ctanhl.c (__ctanhl): Likewise.
19554 * math/s_ctanl.c (__ctanl): Likewise.
19555 * math/w_fmod.c (__fmod): Likewise.
19556 * math/w_fmodf.c (__fmodf): Likewise.
19557 * math/w_fmodl.c (_fmodl): Likewise.
19558 * math/w_remainder.c (__remainder): Likewise.
19559 * math/w_remainderf.c (__remainderf): Likewise.
19560 * math/w_remainderl.c (__remainderl): Likewise.
19561 * math/w_scalb.c (__scalb): Likewise.
19562 * math/w_scalbf.c (__scalbf): Likewise.
19563 * math/w_scalbl.c (__scalbl): Likewise.
19564 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
19565 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
19566 with isinf.
19567 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
19568 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
19569 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
19570 __isinf_nsf with isinf.
19571 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
19572 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
19573 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
19574 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
19575 with isinf.
19576 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
19577 __isinf_nsl with isinf.
19578 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
19579 with isinf.
19580 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
19581 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
19582 __isinf_nsl with isinf.
19583 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
19584 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
19585 with isinf.
19586
19587 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19588
19589 * resolv/base64.c (rcsid): Remove unused static.
19590 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
19591 static. (tqpi1): Likewise.
19592 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
19593 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
19594 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
19595 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
19596 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
19597 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
19598 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
19599 * timezone/private.h (time_t_min): Likewise. (time_t_max):
19600 Likewise.
19601
19602 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
19603
19604 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
19605 <nptl/pthreadP.h>.
19606 (_longjmp_unwind): Use __libc_ptf_call.
19607 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
19608
19609 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
19610
19611 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
19612 * sysdeps/arm/__longjmp.S: Likewise.
19613
19614 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19615
19616 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
19617 Use __builtin_signbit.
19618 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
19619 Use __builtin_signbitf.
19620 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
19621 Use __builtin_signbitl.
19622 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19623 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
19624
19625 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19626
19627 [BZ #15367]
19628 [BZ #17441]
19629
19630 * math/Makefile: Build test-snan.c with -fsignaling-nans.
19631 * math/math.h (fpclassify): Use __builtin_fpclassify when
19632 available. (signbit): Use __builtin_signbit(f/l).
19633 (isfinite): Use__builtin_isfinite. (isnormal): Use
19634 __builtin_isnormal. (isnan): Use __builtin_isnan.
19635 (isinf): Use __builtin_isinf_sign.
19636
19637 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19638
19639 * benchtests/Makefile: Add bench-math-inlines, link with libm.
19640 * benchtests/bench-math-inlines.c: New benchmark.
19641 * benchtests/bench-util.h: New file.
19642 * benchtests/bench-util.c: New file.
19643 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
19644
19645 2015-09-18 Carlos O'Donell <carlos@redhat.com>
19646
19647 * elf/tst-dlmopen1.c: Define TEST_SO.
19648 (do_test): Use TEST_SO.
19649
19650 * elf/dl-load.c: Include libc-internal.h.
19651 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
19652
19653 2015-09-18 Vincent Bernat <vincent@bernat.im>
19654
19655 [BZ #17887]
19656 * time/strptime_l.c (__strptime_internal): Make %z accept
19657 [+-]HH:MM time zones.
19658
19659 2015-09-18 Vincent Bernat <vincent@bernat.im>
19660
19661 [BZ #17886]
19662 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
19663 valid time zone.
19664
19665 2015-09-17 Mike Frysinger <vapier@gentoo.org>
19666
19667 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
19668 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
19669 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19670 (__ASSUME_FDATASYNC): Delete.
19671
19672 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19673
19674 * conform/linknamespace.pl: Require weak undefined symbols to be
19675 in the standard namespace.
19676 (%strong_syms): Rename to %seen_syms.
19677 (%strong_seen): Rename to %seen_where.
19678
19679 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
19680
19681 [BZ #18970]
19682 * misc/error.c (error): Replace pthread_setcancelstate with
19683 __pthread_setcancelstate.
19684 (error_at_line): Likewise.
19685 * posix/wordexp.c (parse_comm): Likewise.
19686 * stdlib/fmtmsg.c (fmtmsg): Likewise.
19687 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
19688 (__pthread_setcancelstate): This.
19689 (pthread_setcancelstate): Add an alias.
19690 * nptl/nptl-init.c (pthread_functions): Replace
19691 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
19692 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
19693 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
19694 hidden_proto.
19695 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
19696 it with hidden_def.
19697 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
19698 (pthread_setcancelstate): Renamed to ...
19699 (__pthread_setcancelstate): This.
19700 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
19701 __libc_ptf_call with __pthread_setcancelstate.
19702
19703 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19704 Andreas Schwab <schwab@suse.de>
19705
19706 [BZ #17118]
19707 * math/s_ctan.c (__ctan): Determine sign of zero real part of
19708 result when imaginary part of argument is infinite using sine and
19709 cosine.
19710 * math/s_ctanf.c (__ctanf): Likewise.
19711 * math/s_ctanl.c (__ctanl): Likewise.
19712 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
19713 of result when real part of argument is infinite using sine and
19714 cosine.
19715 * math/s_ctanhf.c (__ctanhf): Likewise.
19716 * math/s_ctanhl.c (__ctanhl): Likewise.
19717 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
19718 (ctanh_test_data): Add more tests of ctanh.
19719
19720 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19721
19722 [BZ #15384]
19723 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
19724 bit-mask as in subtraction.
19725 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
19726 Likewise.
19727 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19728 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19729 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
19730
19731 [BZ #18951]
19732 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
19733 underflow exception for small results.
19734 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19735 Likewise.
19736 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19737 Likewise.
19738 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19739 Likewise.
19740 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19741 Likewise.
19742 * math/auto-libm-test-in: Add more tests of tgamma.
19743 * math/auto-libm-test-out: Regenerated.
19744
19745 2015-09-17 Andreas Schwab <schwab@suse.de>
19746
19747 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
19748
19749 2015-09-16 Joseph Myers <joseph@codesourcery.com>
19750
19751 [BZ #18977]
19752 * math/bits/mathcalls.h
19753 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
19754 not declare.
19755 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
19756 Likewise.
19757 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
19758 Likewise.
19759 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
19760 Likewise.
19761 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
19762 Likewise.
19763 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
19764 Likewise.
19765 * conform/data/math.h-data
19766 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
19767 function.
19768 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
19769 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
19770 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
19771 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
19772 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
19773 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
19774 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
19775 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
19776 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
19777 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
19778 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
19779
19780 [BZ #6803]
19781 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
19782 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
19783 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
19784 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
19785 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
19786 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
19787 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
19788 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
19789 [NO_LONG_DOUBLE] (scalbnl): Likewise.
19790 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
19791 Likewise.
19792 [NO_LONG_DOUBLE] (scalbnl): Likewise.
19793 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
19794 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
19795 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
19796 long_double_symbol calls.
19797 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
19798 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
19799 strong alias of __ldexpl.
19800 (scalbnl): Define using long_double_symbol.
19801 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
19802 Remove alias.
19803 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
19804 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
19805 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
19806 (scalbln_test_data): Add more errno expectations.
19807
19808 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
19809
19810 Cache the host port like we cache the task port. This way we do not
19811 need to call the kernel just to get the port. Furthermore, we no
19812 longer increase the reference count on every invocation of
19813 `mach_host_self'.
19814
19815 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
19816 Protect declarations against the macro expansion.
19817 * mach/mach_init.c (__mach_host_self_): New variable.
19818 (mach_init): Initialize `__mach_host_self_'.
19819 * mach/mach_init.h (__mach_host_self_): New declaration.
19820 (__mach_host_self, mach_host_self): New macros.
19821 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
19822 Release reference.
19823
19824 2015-09-16 Joseph Myers <joseph@codesourcery.com>
19825
19826 [BZ #4404]
19827 * po/de.po: Update from Translation Project.
19828
19829 [BZ #16415]
19830 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
19831 (__expm1l): Remove code to handle positive infinity and overflow.
19832 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
19833 variable.
19834 (__expm1l): Remove code to handle positive infinity and overflow.
19835
19836 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
19837 Paul Pluzhnikov <ppluzhnikov@google.com>
19838
19839 [BZ #18872]
19840 * stdio-common/Makefile (tst-printf-bz18872): New test.
19841 (tst-printf-bz18872-mem.out): Likewise.
19842 * stdio-common/tst-printf-bz18872.sh: Generate new test.
19843 * stdio-common/vfprintf.c: Fix memory leaks.
19844
19845 2015-09-16 Andreas Schwab <schwab@suse.de>
19846
19847 [BZ #17244]
19848 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
19849 Remove extra va_start/va_end calls.
19850
19851 [BZ #17243]
19852 * posix/execl.c (execl): Add missing va_end.
19853 * posix/execle.c (execle): Likewise.
19854 * posix/execlp.c (execlp): Likewise.
19855
19856 2015-09-15 Roland McGrath <roland@hack.frob.com>
19857
19858 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
19859 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
19860
19861 2015-09-15 Joseph Myers <joseph@codesourcery.com>
19862
19863 [BZ #18967]
19864 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
19865 undefine around includes of <bits/mathcalls.h>.
19866 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
19867 not declare function.
19868 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
19869 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
19870 (scalb): Likewise.
19871 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
19872 not define macro.
19873 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
19874 variable.
19875 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19876 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19877 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19878
19879 [BZ #18857]
19880 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
19881 return non-finite argument without doing ordered comparisons on
19882 it.
19883
19884 [BZ #16296]
19885 * math/fenv.h (fegetround): Use __attribute_pure__.
19886 * include/fenv.h (__fegetround): Likewise.
19887
19888 [BZ #18595]
19889 * math/s_ctan.c (__ctan): Force underflow exception for results
19890 whose real or imaginary part has small absolute value.
19891 * math/s_ctanf.c (__ctanf): Likewise.
19892 * math/s_ctanh.c (__ctanh): Likewise.
19893 * math/s_ctanhf.c (__ctanhf): Likewise.
19894 * math/s_ctanhl.c (__ctanhl): Likewise.
19895 * math/s_ctanl.c (__ctanl): Likewise.
19896 * math/auto-libm-test-in: Do not allow missing underflow for ctan
19897 and ctanh. Add more tests of ctan and ctanh.
19898
19899 [BZ #15918]
19900 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
19901 handling of cases where one argument is an infinity.
19902
19903 [BZ #18875]
19904 [BZ #18966]
19905 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
19906 (MO): New macro.
19907 (__ieee754_exp10): For small results, force underflow exception
19908 and remove excess range and precision from return value.
19909 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
19910 (MO): New macro.
19911 (__ieee754_exp10f): For small results, force underflow exception
19912 and remove excess range and precision from return value.
19913 * math/auto-libm-test-in: Add more tests of exp10.
19914 * math/auto-libm-test-out: Regenerated.
19915
19916 2015-09-14 Joseph Myers <joseph@codesourcery.com>
19917
19918 [BZ #18875]
19919 [BZ #18961]
19920 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
19921 (MO): New macro.
19922 (__ieee754_exp): For small results, force underflow exception and
19923 remove excess range and precision from return value.
19924 (__exp_finite): Likewise.
19925 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
19926 (MO): New macro.
19927 (__ieee754_expf): For small results, force underflow exception and
19928 remove excess range and precision from return value.
19929 (__expf_finite): Likewise.
19930 * math/auto-libm-test-in: Add more tests of exp.
19931 * math/auto-libm-test-out: Regenerated.
19932
19933 [BZ #16521]
19934 [BZ #18875]
19935 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
19936 small results.
19937 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
19938 (MO): New macro.
19939 (__ieee754_exp2): For small results, force underflow exception and
19940 remove excess range and precision from return value.
19941 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
19942 (MO): New macro.
19943 (__ieee754_exp2f): For small results, force underflow exception
19944 and remove excess range and precision from return value.
19945 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
19946 (MO): New macro.
19947 (__ieee754_exp2l): Force underflow exception for small results.
19948 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19949 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19950 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
19951 (MO): New macro.
19952 (__ieee754_exp2l): Force underflow exception for small results.
19953 * math/auto-libm-test-in: Add more tests or exp2.
19954 * math/auto-libm-test-out: Regenerated.
19955
19956 2015-09-14 Carlos O'Donell <carlos@redhat.com>
19957
19958 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
19959
19960 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
19961 /dev/null.
19962
19963 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
19964
19965 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
19966 io fs process)): Drop spurious backslash.
19967
19968 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
19969
19970 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
19971 Use sysinfo system call instead of parsing /proc/meminfo.
19972 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
19973 Likewise.
19974
19975 2015-09-11 Mike Frysinger <vapier@gentoo.org>
19976
19977 [BZ #16985]
19978 * programs/localedef.c (main): Display argv[remaining] when
19979 output_path is NULL.
19980
19981 2015-09-11 Joseph Myers <joseph@codesourcery.com>
19982
19983 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19984 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
19985 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
19986 tanh.
19987 * math/auto-libm-test-out: Regenerated.
19988 * sysdeps/i386/fpu/libm-test-ulps: Update.
19989 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19990 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19992
19993 2015-09-11 Roland McGrath <roland@hack.frob.com>
19994
19995 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
19996 Use 'override' keyword to freeze the value here, preventing
19997 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
19998
19999 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20000
20001 [BZ #14912]
20002 * sysdeps/aarch64/bits/atomic.h: Move to ...
20003 * sysdeps/aarch64/atomic-machine.h: ...here.
20004 (_AARCH64_BITS_ATOMIC_H): Rename macro to
20005 _AARCH64_ATOMIC_MACHINE_H.
20006 * sysdeps/alpha/bits/atomic.h: Move to ...
20007 * sysdeps/alpha/atomic-machine.h: ...here.
20008 * sysdeps/arm/bits/atomic.h: Move to ...
20009 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
20010 * bits/atomic.h: Move to ...
20011 * sysdeps/generic/atomic-machine.h: ...here.
20012 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20013 * sysdeps/i386/bits/atomic.h: Move to ...
20014 * sysdeps/i386/atomic-machine.h: ...here.
20015 * sysdeps/ia64/bits/atomic.h: Move to ...
20016 * sysdeps/ia64/atomic-machine.h: ...here.
20017 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20018 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20019 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20020 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20021 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20022 * sysdeps/microblaze/bits/atomic.h: Move to ...
20023 * sysdeps/microblaze/atomic-machine.h: ...here.
20024 * sysdeps/mips/bits/atomic.h: Move to ...
20025 * sysdeps/mips/atomic-machine.h: ...here.
20026 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20027 * sysdeps/powerpc/bits/atomic.h: Move to ...
20028 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
20029 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20030 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
20031 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
20032 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20033 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
20034 <atomic-machine.h> instead of <bits/atomic.h>.
20035 * sysdeps/s390/bits/atomic.h: Move to ...
20036 * sysdeps/s390/atomic-machine.h: ...here.
20037 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20038 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20039 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20040 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20041 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20042 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20043 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20044 * sysdeps/tile/bits/atomic.h: Move to ...
20045 * sysdeps/tile/atomic-machine.h: ...here.
20046 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20047 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
20048 <sysdeps/tile/atomic-machine.h> instead of
20049 <sysdeps/tile/bits/atomic.h>.
20050 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20051 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20052 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
20053 <sysdeps/tile/atomic-machine.h> instead of
20054 <sysdeps/tile/bits/atomic.h>.
20055 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20056 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20057 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
20058 <sysdeps/arm/atomic-machine.h> instead of
20059 <sysdeps/arm/bits/atomic.h>.
20060 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20061 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20062 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20063 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20064 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20065 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20066 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20067 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20068 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20069 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20070 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20071 * sysdeps/x86_64/bits/atomic.h: Move to ...
20072 * sysdeps/x86_64/atomic-machine.h: ...here.
20073 * include/atomic.h: Include <atomic-machine.h> instead of
20074 <bits/atomic.h>.
20075
20076 * sysdeps/mips/mips32/libm-test-ulps: Update.
20077 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20078
20079 [BZ #18952]
20080 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20081 not convert non-integer negative arguments to int to determine the
20082 value of signgam.
20083 * math/auto-libm-test-in: Add more tests of lgamma.
20084 * math/auto-libm-test-out: Regenerated.
20085
20086 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20087 cosh, csqrt, erfc, expm1 and lgamma.
20088 * math/auto-libm-test-out: Regenerated.
20089 * sysdeps/i386/fpu/libm-test-ulps: Update.
20090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20091
20092 2015-09-10 Joseph Myers <joseph@codesourcery.com>
20093
20094 [BZ #2542]
20095 [BZ #2543]
20096 [BZ #2558]
20097 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20098 __lgamma_neg for arguments from -28.0 to -2.0.
20099 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20100 __lgamma_negf for arguments from -15.0 to -2.0.
20101 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20102 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20103 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20104 Call __lgamma_negl for arguments from -33.0 to -2.0.
20105 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20106 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20107 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20108 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20109 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20110 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20111 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20112 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20113 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20114 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20115 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20116 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20117 (__lgamma_neg): Likewise.
20118 (__lgamma_negl): Likewise.
20119 (__lgamma_product): Likewise.
20120 (__lgamma_productl): Likewise.
20121 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20122 * math/auto-libm-test-in: Add more tests of lgamma.
20123 * math/auto-libm-test-out: Regenerated.
20124 * sysdeps/i386/fpu/libm-test-ulps: Update.
20125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20126
20127 2015-09-09 Justin Maggard <jmaggard@netgear.com>
20128
20129 [BZ #18675]
20130 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20131
20132 2015-09-08 Joseph Myers <joseph@codesourcery.com>
20133
20134 [BZ #14912]
20135 * bits/libc-lock.h: Move to ...
20136 * sysdeps/generic/libc-lock.h: ...here.
20137 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20138 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20139 * sysdeps/mach/hurd/libc-lock.h: ...here.
20140 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20141 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20142 * sysdeps/mach/bits/libc-lock.h: Move to ...
20143 * sysdeps/mach/libc-lock.h: ...here.
20144 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20145 * sysdeps/nptl/bits/libc-lock.h: Move to ...
20146 * sysdeps/nptl/libc-lock.h: ...here.
20147 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20148 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20149 * sysdeps/nptl/libc-lockP.h: ...here.
20150 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20151 * crypt/crypt_util.c: Include <libc-lock.h> instead of
20152 <bits/libc-lock.h>.
20153 * dirent/scandir-tail.c: Likewise.
20154 * dlfcn/dlerror.c: Likewise.
20155 * elf/dl-close.c: Likewise.
20156 * elf/dl-iteratephdr.c: Likewise.
20157 * elf/dl-lookup.c: Likewise.
20158 * elf/dl-open.c: Likewise.
20159 * elf/dl-support.c: Likewise.
20160 * elf/dl-writev.h: Likewise.
20161 * elf/rtld.c: Likewise.
20162 * grp/fgetgrent.c: Likewise.
20163 * gshadow/fgetsgent.c: Likewise.
20164 * gshadow/sgetsgent.c: Likewise.
20165 * iconv/gconv_conf.c: Likewise.
20166 * iconv/gconv_db.c: Likewise.
20167 * iconv/gconv_dl.c: Likewise.
20168 * iconv/gconv_int.h: Likewise.
20169 * iconv/gconv_trans.c: Likewise.
20170 * include/link.h: Likewise.
20171 * inet/getnameinfo.c: Likewise.
20172 * inet/getnetgrent.c: Likewise.
20173 * inet/getnetgrent_r.c: Likewise.
20174 * intl/bindtextdom.c: Likewise.
20175 * intl/dcigettext.c: Likewise.
20176 * intl/finddomain.c: Likewise.
20177 * intl/gettextP.h: Likewise.
20178 * intl/loadmsgcat.c: Likewise.
20179 * intl/localealias.c: Likewise.
20180 * intl/textdomain.c: Likewise.
20181 * libidn/idn-stub.c: Likewise.
20182 * libio/libioP.h: Likewise.
20183 * locale/duplocale.c: Likewise.
20184 * locale/freelocale.c: Likewise.
20185 * locale/newlocale.c: Likewise.
20186 * locale/setlocale.c: Likewise.
20187 * login/getutent_r.c: Likewise.
20188 * login/getutid_r.c: Likewise.
20189 * login/getutline_r.c: Likewise.
20190 * login/utmp-private.h: Likewise.
20191 * login/utmpname.c: Likewise.
20192 * malloc/mtrace.c: Likewise.
20193 * misc/efgcvt.c: Likewise.
20194 * misc/error.c: Likewise.
20195 * misc/fstab.c: Likewise.
20196 * misc/getpass.c: Likewise.
20197 * misc/mntent.c: Likewise.
20198 * misc/syslog.c: Likewise.
20199 * nis/nis_call.c: Likewise.
20200 * nis/nis_callback.c: Likewise.
20201 * nis/nss-default.c: Likewise.
20202 * nis/nss_compat/compat-grp.c: Likewise.
20203 * nis/nss_compat/compat-initgroups.c: Likewise.
20204 * nis/nss_compat/compat-pwd.c: Likewise.
20205 * nis/nss_compat/compat-spwd.c: Likewise.
20206 * nis/nss_nis/nis-alias.c: Likewise.
20207 * nis/nss_nis/nis-ethers.c: Likewise.
20208 * nis/nss_nis/nis-grp.c: Likewise.
20209 * nis/nss_nis/nis-hosts.c: Likewise.
20210 * nis/nss_nis/nis-network.c: Likewise.
20211 * nis/nss_nis/nis-proto.c: Likewise.
20212 * nis/nss_nis/nis-pwd.c: Likewise.
20213 * nis/nss_nis/nis-rpc.c: Likewise.
20214 * nis/nss_nis/nis-service.c: Likewise.
20215 * nis/nss_nis/nis-spwd.c: Likewise.
20216 * nis/nss_nisplus/nisplus-alias.c: Likewise.
20217 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
20218 * nis/nss_nisplus/nisplus-grp.c: Likewise.
20219 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
20220 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
20221 * nis/nss_nisplus/nisplus-network.c: Likewise.
20222 * nis/nss_nisplus/nisplus-proto.c: Likewise.
20223 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
20224 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
20225 * nis/nss_nisplus/nisplus-service.c: Likewise.
20226 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
20227 * nis/ypclnt.c: Likewise.
20228 * nptl/libc_pthread_init.c: Likewise.
20229 * nss/getXXbyYY.c: Likewise.
20230 * nss/getXXent.c: Likewise.
20231 * nss/getXXent_r.c: Likewise.
20232 * nss/nss_db/db-XXX.c: Likewise.
20233 * nss/nss_db/db-netgrp.c: Likewise.
20234 * nss/nss_db/nss_db.h: Likewise.
20235 * nss/nss_files/files-XXX.c: Likewise.
20236 * nss/nss_files/files-alias.c: Likewise.
20237 * nss/nsswitch.c: Likewise.
20238 * posix/regex_internal.h: Likewise.
20239 * posix/wordexp.c: Likewise.
20240 * pwd/fgetpwent.c: Likewise.
20241 * resolv/res_hconf.c: Likewise.
20242 * resolv/res_libc.c: Likewise.
20243 * shadow/fgetspent.c: Likewise.
20244 * shadow/lckpwdf.c: Likewise.
20245 * shadow/sgetspent.c: Likewise.
20246 * socket/opensock.c: Likewise.
20247 * stdio-common/reg-modifier.c: Likewise.
20248 * stdio-common/reg-printf.c: Likewise.
20249 * stdio-common/reg-type.c: Likewise.
20250 * stdio-common/vfprintf.c: Likewise.
20251 * stdio-common/vfscanf.c: Likewise.
20252 * stdlib/abort.c: Likewise.
20253 * stdlib/cxa_atexit.c: Likewise.
20254 * stdlib/fmtmsg.c: Likewise.
20255 * stdlib/random.c: Likewise.
20256 * stdlib/setenv.c: Likewise.
20257 * string/strsignal.c: Likewise.
20258 * sunrpc/auth_none.c: Likewise.
20259 * sunrpc/bindrsvprt.c: Likewise.
20260 * sunrpc/create_xid.c: Likewise.
20261 * sunrpc/key_call.c: Likewise.
20262 * sunrpc/rpc_thread.c: Likewise.
20263 * sysdeps/arm/backtrace.c: Likewise.
20264 * sysdeps/generic/ldsodefs.h: Likewise.
20265 * sysdeps/generic/stdio-lock.h: Likewise.
20266 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
20267 * sysdeps/i386/backtrace.c: Likewise.
20268 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20269 * sysdeps/m68k/backtrace.c: Likewise.
20270 * sysdeps/mach/hurd/cthreads.c: Likewise.
20271 * sysdeps/mach/hurd/dirstream.h: Likewise.
20272 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20273 * sysdeps/nptl/malloc-machine.h: Likewise.
20274 * sysdeps/nptl/stdio-lock.h: Likewise.
20275 * sysdeps/posix/dirstream.h: Likewise.
20276 * sysdeps/posix/getaddrinfo.c: Likewise.
20277 * sysdeps/posix/system.c: Likewise.
20278 * sysdeps/pthread/aio_suspend.c: Likewise.
20279 * sysdeps/s390/s390-32/backtrace.c: Likewise.
20280 * sysdeps/s390/s390-64/backtrace.c: Likewise.
20281 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20282 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20283 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
20284 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
20285 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
20286 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20287 * sysdeps/unix/sysv/linux/system.c: Likewise.
20288 * sysdeps/x86_64/backtrace.c: Likewise.
20289 * time/alt_digit.c: Likewise.
20290 * time/era.c: Likewise.
20291 * time/tzset.c: Likewise.
20292 * wcsmbs/wcsmbsload.c: Likewise.
20293 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
20294 instead of <bits/libc-lock.h> in comment.
20295
20296 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
20297
20298 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
20299 Only use .set mips2 if the current ISA is below mips2.
20300 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
20301 Likewise.
20302 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
20303 mips32r2 if the current ISA is below mips32r2.
20304 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
20305 (TLS_IE): Updated to use the TLD_RDHWR macro.
20306 (TLS_LE): Likewise.
20307 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
20308 __ASSEMBLER__ condition.
20309
20310 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
20311
20312 Fix parallel build of before-compile targets.
20313
20314 * sysdeps/mach/Makefile ($(patsubst
20315 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
20316 mach-before-compile target.
20317 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20318 io fs process)): Move rule to dedicated hurd-before-compile target.
20319
20320 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20321
20322 Fix rules generating headers in hurd/ and mach/ when initial make call
20323 has subdir= explicitly set.
20324
20325 * sysdeps/mach/Makefile ($(patsubst
20326 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
20327 calling $(MAKE).
20328 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20329 io fs process)): Force subdir to hurd when calling $(MAKE).
20330 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
20331 subdir to mach when calling $(MAKE).
20332
20333 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
20334
20335 Check sysheaders when looking for Mach and Hurd headers
20336
20337 * sysdeps/mach/configure.ac: Add sysheaders check.
20338 * sysdeps/mach/configure: Regenerate.
20339 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
20340 * sysdeps/mach/hurd/configure: Regenerate.
20341
20342 2015-09-04 Roland McGrath <roland@hack.frob.com>
20343
20344 [BZ #18921]
20345 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
20346 Fix inverted sense of test of 'o_directory_works' value.
20347 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
20348 Bernhard Voelker <mail@bernhard-voelker.de>.
20349
20350 2015-09-04 Joseph Myers <joseph@codesourcery.com>
20351
20352 [BZ #14912]
20353 * bits/linkmap.h: Move to ...
20354 * sysdeps/generic/linkmap.h: ...here.
20355 * sysdeps/aarch64/bits/linkmap.h: Move to ...
20356 * sysdeps/aarch64/linkmap.h: ...here.
20357 * sysdeps/arm/bits/linkmap.h: Move to ...
20358 * sysdeps/arm/linkmap.h: ...here.
20359 * sysdeps/hppa/bits/linkmap.h: Move to ...
20360 * sysdeps/hppa/linkmap.h: ...here.
20361 * sysdeps/ia64/bits/linkmap.h: Move to ...
20362 * sysdeps/ia64/linkmap.h: ...here.
20363 * sysdeps/mips/bits/linkmap.h: Move to ...
20364 * sysdeps/mips/linkmap.h: ...here.
20365 * sysdeps/s390/bits/linkmap.h: Move to ...
20366 * sysdeps/s390/linkmap.h: ...here.
20367 * sysdeps/sh/bits/linkmap.h: Move to ...
20368 * sysdeps/sh/linkmap.h: ...here.
20369 * sysdeps/x86/bits/linkmap.h: Move to ...
20370 * sysdeps/x86/linkmap.h: ...here.
20371 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
20372
20373 2015-09-04 Andreas Schwab <schwab@suse.de>
20374
20375 [BZ #18635]
20376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
20377 (__makecontext): Terminate FDE before return label.
20378 (__novec_makecontext): Likewise.
20379
20380 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20381
20382 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
20383 first member of struct sv in syscall macro.
20384
20385 2015-09-04 Joseph Myers <joseph@codesourcery.com>
20386
20387 [BZ #14912]
20388 * bits/stdio-lock.h: Move to ...
20389 * sysdeps/generic/stdio-lock.h: ...here.
20390 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20391 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
20392 * sysdeps/nptl/stdio-lock.h: ...here.
20393 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20394 * include/libio.h: Include <stdio-lock.h> instead of
20395 <bits/stdio-lock.h>.
20396 * sysdeps/nptl/fork.c: Likewise.
20397 * sysdeps/pthread/flockfile.c: Likewise.
20398 * sysdeps/pthread/ftrylockfile.c: Likewise.
20399 * sysdeps/pthread/funlockfile.c: Likewise.
20400
20401 [BZ #14912]
20402 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
20403 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
20404 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
20405 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
20406 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
20407 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20408 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
20409
20410 2015-09-03 Roland McGrath <roland@hack.frob.com>
20411
20412 * elf/Makefile (test-xfail-tst-protected1a): New variable.
20413 (test-xfail-tst-protected1b): New variable.
20414
20415 2015-09-03 Joseph Myers <joseph@codesourcery.com>
20416
20417 [BZ #14912]
20418 * bits/libc-tsd.h: Move to ...
20419 * sysdeps/generic/libc-tsd.h: ...here.
20420 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
20421 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
20422 * sysdeps/mach/hurd/libc-tsd.h: ...here.
20423 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
20424 * include/ctype.h: Include <libc-tsd.h> instead of
20425 <bits/libc-tsd.h>.
20426 * include/rpc/rpc.h: Likewise.
20427 * locale/localeinfo.h: Likewise.
20428 * sunrpc/rpc_thread.c: Likewise.
20429 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20430 * sysdeps/nptl/malloc-machine.h: Likewise.
20431
20432 * Makefile (headers): Remove bits/libc-lock.h.
20433 * libio/Makefile (headers): Remove bits/stdio-lock.h.
20434
20435 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
20436 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
20437 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
20438 <bits/stdio-lock.h>.
20439 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
20440 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
20441
20442 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
20443
20444 [BZ #18757]
20445 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
20446 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
20447 BZ #18757.
20448
20449 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
20450
20451 * malloc/mtrace.pl: Filter out NULL entries.
20452
20453 2015-09-01 Joseph Myers <joseph@codesourcery.com>
20454
20455 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
20456 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
20457 macro.
20458
20459 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
20460 (TCP_CC_INFO): Likewise.
20461 (TCP_SAVE_SYN): Likewise.
20462 (TCP_SAVED_SYN): Likewise.
20463
20464 2015-08-31 Brett Neumeier <brett@neumeier.us>
20465
20466 [BZ #18870]
20467 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
20468
20469 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
20470
20471 [BZ #18873]
20472 Fix broken overflow check in posix_fallocate
20473 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
20474 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20475 Fix parenthesization typo.
20476
20477 2015-08-28 Mike Frysinger <vapier@gentoo.org>
20478
20479 [BZ #18887]
20480 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
20481 tst-mntent-blank-passno.
20482 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
20483 * misc/tst-mntent-blank-corrupt.c: New test.
20484 * misc/tst-mntent-blank-passno.c: New test ripped from ...
20485 * misc/tst-mntent.c (do_test): ... here.
20486
20487 2015-08-29 Mike Frysinger <vapier@gentoo.org>
20488
20489 [BZ #4404]
20490 * po/de.po: Fix SIGALRM typo.
20491
20492 2015-08-28 James Perkins <james@loowit.net>
20493
20494 * time/tst-strptime2.c (tests): Replace short list of test
20495 strings for strptime %z specifier with code which exhaustively
20496 tests every combination of sign and 0 to 5 digits. Tests for
20497 rejection of invalid strings.
20498
20499 2015-08-28 James Perkins <james@loowit.net>
20500
20501 [BZ #16141]
20502 * time/strptime_l.c (__strptime_internal): Fix %z minutes
20503 calculation, removing incorrect decimal time rounding, so that
20504 all minute values result in a valid seconds value.
20505 * time/strptime_l.c (__strptime_internal): Extend %z time zone
20506 offset range limits to UTC-99:59 through UTC+99:59 to parse
20507 current and historical use cases.
20508 * time/tst-strptime2.c (tests): Modify and add tests for the
20509 strptime %z input field descriptor, specifically conversion of
20510 minutes to seconds and validating an offset range of -9959 to
20511 +9959.
20512
20513 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20514 Dmitry V. Levin <ldv@altlinux.org>
20515
20516 [BZ #18877]
20517 * posix/Makefile (tests): Add tst-mmap-offset.
20518 * posix/tst-mmap.c: New file.
20519 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
20520 offset calculation for negative values.
20521
20522 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20523
20524 * sysdeps/i386/init-arch.h: New file.
20525 * sysdeps/i386/i586/init-arch.h: Likewise.
20526 * sysdeps/i386/i686/init-arch.h: Likewise.
20527 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
20528 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
20529 * sysdeps/x86/cpu-features.h (bit_I586): New.
20530 (bit_I686): Likewise.
20531 (bit_CX8): Likewise.
20532 (bit_CMOV): Likewise.
20533 (index_CX8): Likewise.
20534 (index_CMOV): Likewise.
20535 (index_I586): Likewise.
20536 (index_I686): Likewise.
20537 (reg_CX8): Likewise.
20538 (reg_CMOV): Likewise.
20539 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
20540 available at compile-time.
20541 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
20542 available at compile-time.
20543 * sysdeps/x86/init-arch.h (USE_I586): New macro.
20544 (USE_I686): Likewise.
20545
20546 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20547
20548 * sysdeps/i386/bcopy.S: New file.
20549 * sysdeps/i386/bzero.S: Likewise.
20550 * sysdeps/i386/memcpy.S: Likewise.
20551 * sysdeps/i386/memmove.S: Likewise.
20552 * sysdeps/i386/mempcpy.S: Likewise.
20553 * sysdeps/i386/memset.S: Likewise.
20554 * sysdeps/i386/bzero.c: Removed.
20555 * sysdeps/i386/memset.c: Likewise.
20556 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
20557 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
20558 * sysdeps/i386/i586/memset_chk.S: Likewise.
20559 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
20560 * sysdeps/i386/memcpy_chk.S: Here.
20561 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
20562 * sysdeps/i386/memmove_chk.S: Here.
20563 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
20564 * sysdeps/i386/mempcpy_chk.S: Likewise.
20565 * sysdeps/i386/i686/memset_chk.S: Moved to ...
20566 * sysdeps/i386/memset_chk.S: Likewise.
20567
20568 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
20569
20570 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
20571 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
20572 file, move DIAG_POP_NEEDS_COMMENT to end of file.
20573 * soft-fp/fmadf4.c: Ditto.
20574 * soft-fp/fmatf4.c: Ditto.
20575
20576 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20577
20578 * sysdeps/i386/i586/Implies: Removed.
20579 * sysdeps/i386/i686/Implies: Likewise.
20580
20581 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20582
20583 * sysdeps/i386/i486/strlen.S: Moved to ...
20584 * sysdeps/i386/strlen.S: Here.
20585
20586 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20587
20588 * sysdeps/i386/i486/strcat.S: Moved to ...
20589 * sysdeps/i386/strcat.S: Here.
20590
20591 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20592
20593 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
20594 * sysdeps/i386/pthread_spin_trylock.S: Here.
20595 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
20596 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
20597
20598 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20599
20600 * sysdeps/i386/i486/string-inlines.c: Moved to ...
20601 * sysdeps/i386/string-inlines.c: Here.
20602
20603 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20604
20605 * sysdeps/i386/i486/htonl.S: Moved ...
20606 * sysdeps/i386/htonl.S: here.
20607
20608 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20609
20610 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
20611 * sysdeps/i386/bits/atomic.h: Here.
20612
20613 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20614
20615 * sysdeps/i386/i486/Versions: Removed.
20616
20617 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
20618
20619 [BZ #2898]
20620 * misc/mktemp.c: Add mkdtemp to the link_warning message.
20621 Based on patch by Aurelien Jarno.
20622
20623 2015-08-26 Stan Shebs <stanshebs@google.com>
20624
20625 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
20626 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20627
20628 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20629
20630 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
20631 * sysdeps/powerpc/dl-procinfo.c:
20632 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
20633 feature so it shows when LD_SHOW_AUXV=1.
20634
20635 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20636
20637 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20638 (__arch_compare_and_exchange_val_32_acq): Remove and use common
20639 definition. ISA 2.07B no longer requires full sync.
20640
20641 2015-08-26 Mike Frysinger <vapier@gentoo.org>
20642
20643 [BZ #18863]
20644 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
20645 (si_call_addr): Define.
20646 (si_syscall): Define.
20647 (si_arch): Define.
20648
20649 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
20650
20651 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
20652 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
20653 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
20654 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20655 (__memset_zero_constant_len_parameter): New.
20656 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
20657 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20658 (__memset_zero_constant_len_parameter): Don't define if
20659 __memset_chk or USE_AS_BZERO are defined.
20660
20661 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
20662 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
20663 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
20664
20665 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
20666 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
20667 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
20668 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
20669 comments.
20670 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
20671 -mno-mmx for $(all-rtld-routines).
20672 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
20673 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
20674 i386.
20675
20676 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20677
20678 * sysdeps/generic/unwind.h
20679 (_Unwind_Word): Use __mode__(__unwind_word__)
20680 instead of __mode__(__word__).
20681 (_Unwind_Sword): Likewise.
20682
20683 * sysdeps/s390/s390-64/utf8-utf16-z9.c
20684 (MAX_NEEDED_INPUT): New define.
20685 (MAX_NEEDED_OUTPUT): New define.
20686
20687 * NEWS: New item for IBM z13 string optimizations.
20688
20689 * sysdeps/s390/multiarch/memrchr-c.c: New File.
20690 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
20691 * sysdeps/s390/multiarch/memrchr.c: Likewise.
20692 * sysdeps/s390/multiarch/Makefile
20693 (sysdep_routines): Add memrchr functions.
20694 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20695 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
20696
20697 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
20698 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
20699 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
20700 * sysdeps/s390/multiarch/Makefile
20701 (sysdep_routines): Add wmemcmp functions.
20702 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20703 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
20704 * benchtests/bench-wmemcmp.c: New File.
20705 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
20706
20707 * sysdeps/s390/multiarch/wmemset-c.c: New File.
20708 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
20709 * sysdeps/s390/multiarch/wmemset.c: Likewise.
20710 * sysdeps/s390/multiarch/Makefile
20711 (sysdep_routines): Add wmemset functions.
20712 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20713 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
20714 * wcsmbs/wmemset.c: Use WMEMSET if defined.
20715 * string/test-memset.c: Add wmemset support.
20716 * wcsmbs/test-wmemset.c: New File.
20717 * wcsmbs/Makefile (strop-tests): Add wmemset.
20718 * benchtests/bench-memset.c: Add wmemset support.
20719 * benchtests/bench-wmemset.c: New File.
20720 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
20721
20722 * sysdeps/s390/multiarch/memccpy-c.c: New File.
20723 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
20724 * sysdeps/s390/multiarch/memccpy.c: Likewise.
20725 * sysdeps/s390/multiarch/Makefile
20726 (sysdep_routines): Add memccpy functions.
20727 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20728 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
20729 * string/memccpy.c: Use MEMCCPY if defined.
20730
20731 * sysdeps/s390/multiarch/memchr-vx.S: New File.
20732 * sysdeps/s390/multiarch/memchr.c: Likewise.
20733 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
20734 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
20735 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
20736 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
20737 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
20738 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
20739 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
20740 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
20741 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
20742 and rawmemchr functions.
20743 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20744 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
20745 and wmemchr.
20746 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
20747 * string/test-memchr.c: Add wmemchr support.
20748 * wcsmbs/test-wmemchr.c: New File.
20749 * wcsmbs/Makefile (strop-tests): Add wmemchr.
20750 * benchtests/bench-memchr.c: Add wmemchr support.
20751 * benchtests/bench-wmemchr.c: New File.
20752 * benchtests/Makefile (wcsmbs-bench): wmemchr.
20753
20754 * sysdeps/s390/multiarch/strcspn-c.c: New File.
20755 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
20756 * sysdeps/s390/multiarch/strcspn.c: Likewise.
20757 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
20758 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
20759 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
20760 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
20761 wcscspn functions.
20762 * sysdeps/s390/multiarch/ifunc-impl-list.c
20763 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
20764 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
20765 * string/test-strcspn.c: Add wcscspn support.
20766 * wcsmbs/test-wcscspn.c: New File.
20767 * wcsmbs/Makefile (strop-tests): Add wcscspn.
20768 * benchtests/bench-strcspn.c: Add wcscspn support.
20769 * benchtests/bench-wcscspn.c: New File.
20770 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
20771
20772 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
20773 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
20774 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
20775 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
20776 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
20777 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
20778 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
20779 wcspbrk functions.
20780 * sysdeps/s390/multiarch/ifunc-impl-list.c
20781 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
20782 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
20783 * string/test-strpbrk.c: Add wcspbrk support.
20784 * wcsmbs/test-wcspbrk.c: New File.
20785 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
20786 * benchtests/bench-strpbrk.c: Add wcspbrk support.
20787 * benchtests/bench-wcspbrk.c: New File.
20788 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
20789
20790 * sysdeps/s390/multiarch/strspn-c.c: New File.
20791 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
20792 * sysdeps/s390/multiarch/strspn.c: Likewise.
20793 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
20794 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
20795 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
20796 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
20797 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
20798 wcsspn functions.
20799 * sysdeps/s390/multiarch/ifunc-impl-list.c
20800 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
20801 * string/test-strspn.c: Add wcsspn support.
20802 * wcsmbs/test-wcsspn.c: New File.
20803 * wcsmbs/Makefile (strop-tests): Add wcsspn.
20804 * benchtests/bench-strspn.c: Add wcsspn support.
20805 * benchtests/bench-wcsspn.c: New File.
20806 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
20807
20808 * sysdeps/s390/multiarch/strrchr-c.c: New File.
20809 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
20810 * sysdeps/s390/multiarch/strrchr.c: Likewise.
20811 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
20812 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
20813 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
20814 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
20815 wcsrchr functions.
20816 * sysdeps/s390/multiarch/ifunc-impl-list.c
20817 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
20818 * benchtests/bench-wcsrchr.c: New File.
20819 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
20820
20821 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
20822 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
20823 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
20824 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
20825 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
20826 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
20827 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
20828 wcschrnul functions.
20829 * sysdeps/s390/multiarch/ifunc-impl-list.c
20830 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
20831 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
20832 * string/test-strchr.c: Add wcschrnul support.
20833 * wcsmbs/test-wcschrnul.c: New File.
20834 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
20835 * benchtests/bench-strchr.c: Add wcschrnul support.
20836 * benchtests/bench-wcschrnul.c: New File.
20837 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
20838
20839 * sysdeps/s390/multiarch/strchr-c.c: New File.
20840 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
20841 * sysdeps/s390/multiarch/strchr.c: Likewise.
20842 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
20843 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
20844 * sysdeps/s390/multiarch/wcschr.c: Likewise.
20845 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
20846 wcschr functions.
20847 * sysdeps/s390/multiarch/ifunc-impl-list.c
20848 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
20849 * string/strchr.c (STRCHR): Define and use macro.
20850 * benchtests/bench-wcschr.c: New File.
20851 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
20852
20853 * sysdeps/s390/multiarch/strncmp-c.c: New File.
20854 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
20855 * sysdeps/s390/multiarch/strncmp.c: Likewise.
20856 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
20857 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
20858 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
20859 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
20860 wcsncmp functions.
20861 * sysdeps/s390/multiarch/ifunc-impl-list.c
20862 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
20863 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
20864 * benchtests/bench-strncmp.c: Add wcsncmp support.
20865 * benchtests/bench-wcsncmp.c: New File.
20866 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
20867
20868 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
20869 * sysdeps/s390/multiarch/strcmp.c: Likewise.
20870 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
20871 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
20872 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
20873 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
20874 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
20875 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
20876 wcscmp functions.
20877 * sysdeps/s390/multiarch/ifunc-impl-list.c
20878 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
20879 * string/strcmp.c (STRCMP): Define and use macro.
20880 * benchtests/bench-wcscmp.c: New File.
20881 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
20882 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
20883 instead of _HAVE_STRING_ARCH_memchr.
20884
20885 * sysdeps/s390/multiarch/strncat-c.c: New File.
20886 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
20887 * sysdeps/s390/multiarch/strncat.c: Likewise.
20888 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
20889 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
20890 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
20891 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
20892 wcsncat functions.
20893 * sysdeps/s390/multiarch/ifunc-impl-list.c
20894 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
20895 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
20896 * string/test-strncat.c: Add wcsncat support.
20897 * wcsmbs/test-wcsncat.c: New File.
20898 * wcsmbs/Makefile (strop-tests): Add wcsncat.
20899 * benchtests/bench-strncat.c: Add wcsncat support.
20900 * benchtests/bench-wcsncat.c: New File.
20901 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
20902
20903 * sysdeps/s390/multiarch/strcat-c.c: New File.
20904 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
20905 * sysdeps/s390/multiarch/strcat.c: Likewise.
20906 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
20907 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
20908 * sysdeps/s390/multiarch/wcscat.c: Likewise.
20909 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
20910 wcscat functions.
20911 * sysdeps/s390/multiarch/ifunc-impl-list.c
20912 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
20913 * string/strcat.c (STRCAT): Define and use macro.
20914 * wcsmbs/wcscat.c: Use WCSCAT if defined.
20915 * string/test-strcat.c: Add wcscat support.
20916 * wcsmbs/test-wcscat.c: New File.
20917 * wcsmbs/Makefile (strop-tests): Add wcscat.
20918 * benchtests/bench-strcat.c: Add wcscat support.
20919 * benchtests/bench-wcscat.c: New File.
20920 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
20921
20922 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
20923 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
20924 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
20925 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
20926 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
20927 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
20928 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
20929 wcpncpy functions.
20930 * sysdeps/s390/multiarch/ifunc-impl-list.c
20931 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
20932 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
20933 * string/test-stpncpy.c: Add wcpncpy support.
20934 * wcsmbs/test-wcpncpy.c: New File.
20935 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
20936 * benchtests/bench-stpncpy.c: Add wcpncpy support.
20937 * benchtests/bench-wcpncpy.c: New File.
20938 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
20939
20940 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
20941 * sysdeps/s390/multiarch/strncpy.c: Likewise.
20942 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
20943 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
20944 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
20945 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
20946 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
20947 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
20948 wcsncpy functions.
20949 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
20950 * sysdeps/s390/multiarch/ifunc-impl-list.c
20951 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
20952 * string/test-strncpy.c: Add wcsncpy support.
20953 * wcsmbs/test-wcsncpy.c: New File.
20954 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
20955 * benchtests/bench-strncpy.c: Add wcsncpy support.
20956 * benchtests/bench-wcsncpy.c: New File.
20957 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
20958
20959 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
20960 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
20961 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
20962 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
20963 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
20964 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
20965 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
20966 wcpcpy functions.
20967 * string/stpcpy.c: Use STPCPY if defined.
20968 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
20969 * sysdeps/s390/multiarch/ifunc-impl-list.c
20970 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
20971 * string/test-stpcpy.c: Add wcpcpy support.
20972 * wcsmbs/test-wcpcpy.c: New File.
20973 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
20974 * benchtests/bench-stpcpy.c: Add wcpcpy support.
20975 * benchtests/bench-wcpcpy.c: New File.
20976 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
20977
20978 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
20979 * sysdeps/s390/multiarch/strcpy.c: Likewise.
20980 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
20981 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
20982 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
20983 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
20984 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
20985 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
20986 wcscpy functions.
20987 * sysdeps/s390/multiarch/ifunc-impl-list.c
20988 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
20989 * benchtests/bench-wcscpy.c: New File.
20990 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
20991
20992 * sysdeps/s390/multiarch/strnlen-c.c: New File.
20993 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
20994 * sysdeps/s390/multiarch/strnlen.c: Likewise.
20995 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
20996 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
20997 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
20998 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
20999 wcsnlen functions.
21000 * sysdeps/s390/multiarch/ifunc-impl-list.c
21001 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21002 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21003 * string/test-strnlen.c: Add wcsnlen support.
21004 * wcsmbs/test-wcsnlen.c: New File.
21005 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21006 * benchtests/bench-strnlen.c: Add wcsnlen support.
21007 * benchtests/bench-wcsnlen.c: New File.
21008 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21009
21010 * sysdeps/s390/multiarch/Makefile: New File.
21011 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21012 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21013 * sysdeps/s390/multiarch/strlen.c: Likewise.
21014 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21015 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21016 * sysdeps/s390/multiarch/wcslen.c: Likewise.
21017 * string/strlen.c (STRLEN): Define and use macro.
21018 * sysdeps/s390/multiarch/ifunc-impl-list.c
21019 (IFUNC_VX_IMPL): New macro function.
21020 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21021 * benchtests/Makefile (wcsmbs-bench): New variable.
21022 (string-bench-all): Added wcsmbs-bench.
21023 * benchtests/bench-wcslen.c: New File.
21024
21025 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21026 s390_vx_libc_ifunc2): New macro function.
21027
21028 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21029 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21030 assembler support.
21031 * sysdeps/s390/configure: Regenerated.
21032
21033 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21034 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21035
21036 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21037 * sysdeps/s390/dl-procinfo.h: Add vector capability.
21038 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21039
21040 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21041 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21042 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21043 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21044 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21045 (memcmp, bcmp): Use __memcmp_default as alias source.
21046 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21047 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21048 Rename to __memcmp_default.
21049 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21050 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21051 (memcpy): Use __memcpy_default as alias source.
21052 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21053 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21054 Rename to __memcpy_default.
21055 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21056 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21057 (memset): Use __memset_default as alias source.
21058 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21059 * sysdeps/s390/s390-32/memset.S (__memset_g5):
21060 Rename to __memset_default.
21061 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21062 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21063 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21064 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21065 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21066 (memcmp, bcmp): Use __memcmp_default as alias source.
21067 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21068 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21069 Rename to __memcmp_default.
21070 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21071 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21072 (memcpy): Use __memcpy_default as alias source.
21073 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21074 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21075 Rename to __memcpy_default.
21076 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21077 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21078 (memset): Use __memset_default as alias source.
21079 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21080 * sysdeps/s390/s390-64/memset.S (__memset_z900):
21081 Rename to __memset_default.
21082 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21083 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21084
21085 [BZ #18610]
21086 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21087 __ieee_instruction_pointer to __unused.
21088 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21089 __ieee_instruction_pointer.
21090 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21091 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21092 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21093 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21094 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21095 Mark dxc-field as reserved.
21096
21097 2015-08-25 Roland McGrath <roland@hack.frob.com>
21098
21099 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21100 if the weak reference is not null.
21101
21102 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21103
21104 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21105
21106 [BZ #11214]
21107 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21108
21109 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21110
21111 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21112 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21113 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21114 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21115 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21116 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21117 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21118 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21119 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21120 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21121 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21122 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21123 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21124 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21125 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21126 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21127 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21128 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21129
21130 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21131
21132 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21133 register other than r0 for tabort, it has special meaning.
21134 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21135 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21136 transaction before starting syscall.
21137
21138 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21139
21140 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21141
21142 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21143
21144 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21145
21146 * sysdeps/x86_64/rtld-memcmp.c: Removed.
21147 * sysdeps/x86_64/rtld-memset.S: Likewise.
21148 * sysdeps/x86_64/rtld-strchr.S: Likewise.
21149 * sysdeps/x86_64/rtld-strlen.S: Likewise.
21150 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21151 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21152
21153 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21154
21155 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
21156
21157 * debug/strcpy_chk.c: Improve performance.
21158 * debug/stpcpy_chk.c: Likewise.
21159 * sysdeps/x86_64/strcpy_chk.S: Remove.
21160 * sysdeps/x86_64/stpcpy_chk.S: Remove.
21161
21162 [BZ #18240]
21163 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21164
21165 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21166
21167 [BZ #15128]
21168 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21169 ifuncmain8.
21170 (modules-names): Add ifuncmod8.
21171 ($(objpfx)ifuncmain8): New rule.
21172 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21173 <cpuid.h>.
21174 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21175 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21176 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21177 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21178 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21179 * sysdeps/x86_64/dl-trampoline.h: Likewise.
21180 * sysdeps/x86_64/ifuncmain8.c: New file.
21181 * sysdeps/x86_64/ifuncmod8.c: Likewise.
21182 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21183 Removed.
21184 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21185 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21186 Change rtld_savespace_sse to __glibc_unused2.
21187 (RTLD_CHECK_FOREIGN_CALL): Removed.
21188 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
21189 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
21190 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
21191
21192 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21193
21194 * sysdeps/aarch64/bzero.S (__bzero): Remove.
21195
21196 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21197
21198 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
21199 Unconditionally set __fpcr to avoid uninialized warning.
21200 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
21201
21202 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21203
21204 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
21205 is corrupt.
21206
21207 * malloc/arena.c (arena_get2): Drop unused argument.
21208 (arena_lock): Adjust.
21209 (arena_get_retry): Likewise.
21210
21211 2015-08-24 Andreas Schwab <schwab@suse.de>
21212
21213 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
21214 Don't define.
21215 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21216 (__ASSUME_IPC64): Don't undef.
21217 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
21218 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21219 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21220 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
21221 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
21222 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
21223 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
21224 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
21225 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
21226 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
21227 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
21228 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
21229 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
21230 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
21231 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
21232 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
21233 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
21234 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
21235 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
21236 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
21237 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
21238
21239 2015-08-21 Mike Frysinger <vapier@gentoo.org>
21240
21241 * manual/Makefile (install): Only build manual when perl is available.
21242
21243 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21244
21245 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
21246 '#undef memcpy' by '#undef memchr'.
21247
21248 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21249
21250 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
21251 memchr not point to the internal __GI_memchr implementation.
21252
21253 2015-08-20 Joseph Myers <joseph@codesourcery.com>
21254
21255 * timezone/Makefile (CFLAGS-zdump.c): Remove
21256 -Wno-strict-prototypes.
21257 (CFLAGS-zic.c): Likewise.
21258 (CFLAGS-ialloc.c): Likewise.
21259 (CFLAGS-scheck.c): Likewise.
21260
21261 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
21262 -Wno-error=undef.
21263
21264 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21265
21266 * i386/i686/multiarch/strcasestr-c.c: Removed.
21267 * x86_64/multiarch/strcasestr.c: Likewise.
21268 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21269 Remove strcasestr.
21270
21271 2015-08-20 Joseph Myers <joseph@codesourcery.com>
21272
21273 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
21274
21275 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
21276 variables for high and low parts before possibly modifying them.
21277
21278 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21279
21280 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
21281 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
21282 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
21283 of "multiarch/init-arch.h".
21284 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
21285 * sysdeps/x86/init-arch.h: This.
21286
21287 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21288
21289 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
21290 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
21291
21292 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
21293
21294 [BZ #17787]
21295 * manual/macros.texi: Add twoexp macro.
21296 * manual/filesys.texi: Fix exponents.
21297 * manual/llio.texi: Likewise.
21298 * manual/stdio.texi: Likewise.
21299
21300 2015-08-20 Florian Weimer <fweimer@redhat.com>
21301
21302 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
21303 incorrect use.
21304
21305 2015-08-19 Joseph Myers <joseph@codesourcery.com>
21306
21307 [BZ #18370]
21308 * math/s_csqrt.c (__csqrt): Force underflow exception for results
21309 whose real or imaginary part has small absolute value.
21310 * math/s_csqrtf.c (__csqrtf): Likewise.
21311 * math/s_csqrtl.c (__csqrtl): Likewise.
21312 * math/auto-libm-test-in: Add more tests of csqrt.
21313 * math/auto-libm-test-out: Regenerated.
21314 * sysdeps/i386/fpu/libm-test-ulps: Update.
21315
21316 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21317
21318 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
21319 __ppc_set_ppr_very_low): New functions.
21320 * manual/platform.texi: Add documentation about
21321 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
21322
21323 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
21324
21325 * string/stpncpy.c (stpncpy): Improve performance using
21326 __strnlen/memcpy/memset.
21327
21328 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
21329
21330 [BZ #18796]
21331 * scripts/test-installation.pl: Don't add -lmvec to build options if
21332 libmvec wasn't built.
21333
21334 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
21335
21336 [BZ #14341]
21337 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
21338 case when there is a gap between DT_REL and DT_JMPREL sections.
21339 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
21340 (LDFLAGS-tst-split-dynreloc): New.
21341 (tst-split-dynreloc-ENV): Likewise.
21342 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
21343 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
21344
21345 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21346
21347 [BZ #18822]
21348 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
21349 attribute_hidden.
21350 (__xstat64_conv): Likewise.
21351 (__xstat32_conv): Likewise.
21352
21353 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21354
21355 [BZ #18822]
21356 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21357 Don't load %ebx when calling __setcontext. Call __setcontext
21358 with HIDDEN_JUMPTARGET.
21359 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
21360 libc_hidden_def.
21361
21362 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21363
21364 * sysdeps/i386/i686/Makefile
21365 [$(subdir) == string] (sysdep_routines): Moved to ...
21366 * sysdeps/i386/Makefile: Here.
21367 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
21368 * sysdeps/i386/cacheinfo.c: Here.
21369 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
21370 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
21371 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
21372 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
21373
21374 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21375
21376 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
21377 __i586__ is defined.
21378 (HAS_I686): Defined to 1 if __i686__ is defined.
21379
21380 2015-08-19 Joseph Myers <joseph@codesourcery.com>
21381
21382 * elf/Makefile [$(have-z-execstack) = yes]
21383 (CPPFLAGS-tst-execstack.c): New variable.
21384
21385 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
21386 conditional to [defined UTMPX || _HAVE_UT_TYPE].
21387 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
21388 UTMPX || _HAVE_UT_TV].
21389 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
21390 UTMPX || _HAVE_UT_TV - 0].
21391
21392 2015-08-18 Joseph Myers <joseph@codesourcery.com>
21393
21394 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
21395 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
21396 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
21397
21398 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21399
21400 * sysdeps/powerpc/dl-procinfo.c:
21401 (_dl_powerpc_cap_flags): Added missing strings for some
21402 hwcap features.
21403 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
21404
21405 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
21406
21407 Port the 0x7efe...feff pattern to GCC 6.
21408 See Steve Ellcey's bug report in:
21409 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
21410 * string/memrchr.c (MEMRCHR):
21411 * string/rawmemchr.c (RAWMEMCHR):
21412 * string/strchr.c (strchr):
21413 * string/strchrnul.c (STRCHRNUL):
21414 Rewrite code to avoid issues with signed shift overflow.
21415
21416 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
21417
21418 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
21419 whether cpuid is available only if HAS_CPUID is 0.
21420 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
21421 (HAS_I586): Likewise.
21422 (HAS_I686): Likewise.
21423
21424 2015-08-18 Zack Weinberg <zackw@panix.com>
21425
21426 * misc/Versions (libc): Add GLIBC_2.23.
21427
21428 2015-08-18 Alan Modra <amodra@gmail.com>
21429
21430 [BZ #18421]
21431 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
21432 .Lp__global.
21433 (_start): Load %dp via .Lp__global.
21434 [!SHARED]: Use .section .rodata.
21435
21436 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21437
21438 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
21439 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
21440
21441 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21442
21443 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
21444 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
21445
21446 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21447
21448 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
21449 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
21450
21451 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21452
21453 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
21454 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
21455
21456 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21457
21458 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
21459 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
21460
21461 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21462
21463 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
21464 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
21465
21466 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21467
21468 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
21469
21470 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21471
21472 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
21473 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
21474 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21475 (__ASSUME_LWS_CAS): Delete.
21476
21477 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21478
21479 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
21480 * sysdeps/hppa/configure: Regenerated.
21481 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
21482 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
21483 * sysdeps/hppa/nptl/tls.h: Likewise.
21484
21485 2015-08-17 Joseph Myers <joseph@codesourcery.com>
21486
21487 [BZ #18823]
21488 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
21489 for scaling up small arguments.
21490 * math/s_csqrtf.c (__csqrtf): Likewise.
21491 * math/s_csqrtl.c (__csqrtl): Likewise.
21492 * math/auto-libm-test-in: Add more tests of csqrt.
21493 * math/auto-libm-test-out: Regenerated.
21494
21495 2015-08-17 Andreas Schwab <schwab@suse.de>
21496
21497 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
21498 version set GLIBC_2.19.
21499
21500 2015-08-16 Zack Weinberg <zackw@panix.com>
21501
21502 [BZ #18681]
21503 * misc/regexp.h: This interface is no longer supported.
21504 Remove all contents, leaving only an #error directive.
21505 * misc/regexp.c (loc1, loc2, locs, step, advance):
21506 Demote to compatibility symbols.
21507
21508 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
21509
21510 [BZ #18084]
21511 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
21512 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
21513 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21514 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
21515 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
21516 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
21517 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
21518 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
21519 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21520
21521 2015-08-15 Zack Weinberg <zackw@panix.com>
21522
21523 [BZ #18795]
21524 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
21525 buffer length is known to be too large, not if it's known to be
21526 small enough.
21527 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
21528 overflow at runtime, involving a length parameter, twice: once
21529 with a compile-time constant length parameter, once without.
21530
21531 2015-08-14 Joseph Myers <joseph@codesourcery.com>
21532
21533 [BZ #18824]
21534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
21535 scaling x * y up instead of down.
21536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21537 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21538 * math/auto-libm-test-in: Add more tests of fma.
21539 * math/auto-libm-test-out: Regenerated.
21540
21541 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
21542
21543 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21544
21545 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21546
21547 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
21548 unnecessary movq.
21549 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
21550 Likewise.
21551
21552 2015-08-13 Joseph Myers <joseph@codesourcery.com>
21553
21554 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21555 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
21556 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
21557 and tgamma.
21558 * math/auto-libm-test-out: Regenerated.
21559 * sysdeps/i386/fpu/libm-test-ulps: Update.
21560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21561
21562 [BZ #16520]
21563 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
21564 (__tanh): Force underflow exception for arguments with small
21565 absolute value.
21566 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
21567 (__tanhf): Force underflow exception for arguments with small
21568 absolute value.
21569 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
21570 (__tanhl): Force underflow exception for arguments with small
21571 absolute value.
21572 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
21573 (__tanhl): Force underflow exception for arguments with small
21574 absolute value.
21575 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
21576 (__tanhl): Force underflow exception for arguments with small
21577 absolute value.
21578 * math/auto-libm-test-in: Add more tests of tanh.
21579 * math/auto-libm-test-out: Regenerated.
21580 * sysdeps/i386/fpu/libm-test-ulps: Update.
21581
21582 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21583
21584 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
21585 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
21586
21587 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21588
21589 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
21590 <cpuid.h>.
21591
21592 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21593
21594 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
21595 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
21596
21597 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21598
21599 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
21600 Remove $(objpfx)init-arch.o.
21601 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
21602 init-arch.
21603 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
21604 (INIT_ARCH_EXT): Defined as empty.
21605 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
21606 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
21607 __init_cpu_features call. Replace HAS_XXX with
21608 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21609 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
21610 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
21611 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
21612 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
21613 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21614 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
21615 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
21616 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21617 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
21618 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
21619 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21620 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
21621 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
21622 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21623 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
21624 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
21625 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21626 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21627 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
21628 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
21629 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21630 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
21631 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
21632 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21633 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
21634 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
21635 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21636 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
21637 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
21638 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21639 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
21640 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
21641 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21642 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
21643 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
21644
21645 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21646
21647 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
21648 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21649 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21650 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21651 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
21652 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
21653 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
21654 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
21655 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
21656 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
21657 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
21658 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
21659 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21660 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21661 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21662 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21663 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21664 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21665 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21666 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21667 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21668 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21669 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21670 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21671 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21672 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21673 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21674 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21675 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21676 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21677 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21678 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21679 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21680 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21681 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21682 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21683 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21684 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21685 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21686 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21687 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21688 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21689 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21690
21691 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21692
21693 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
21694 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21695 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21696 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21697 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21698 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
21699 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21700 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
21701 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21702 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21703 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21704 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
21705 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
21706 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
21707 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
21708 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
21709 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
21710 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
21711 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
21712 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
21713 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
21714 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
21715 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
21716 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21717 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21718 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
21719 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
21720 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
21721 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21722 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21723 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21724 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21725 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21726 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21727 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21728 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21729 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21730 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21731 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21732 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21733 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21734 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21735 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21736
21737 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21738
21739 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
21740 (dl_platform_init): Call init_cpu_features.
21741 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
21742 * sysdeps/i386/i686/cacheinfo.c
21743 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
21744 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
21745 * sysdeps/i386/i686/multiarch/Versions: Removed.
21746 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
21747 Removed.
21748 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
21749 * sysdeps/unix/sysv/linux/x86/Makefile
21750 (libpthread-sysdep_routines): Remove init-arch.
21751 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
21752 <sysdeps/x86_64/dl-procinfo.c> instead of
21753 sysdeps/generic/dl-procinfo.c>.
21754 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
21755 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
21756 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
21757 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
21758 [$(subdir) == elf] (tests-static): Add
21759 tst-get-cpu-features-static.
21760 * sysdeps/x86/Versions: New file.
21761 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
21762 * sysdeps/x86/cpu-features.c: Likewise.
21763 * sysdeps/x86/cpu-features.h: Likewise.
21764 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
21765 * sysdeps/x86/libc-start.c: Likewise.
21766 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21767 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
21768 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
21769 * sysdeps/x86_64/dl-procinfo.c: Likewise.
21770 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
21771 Assume USE_MULTIARCH is defined and don't check it.
21772 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
21773 (is_amd): Likewise.
21774 (max_cpuid): Likewise.
21775 (intel_check_word): Likewise.
21776 (__cache_sysconf): Don't call __init_cpu_features.
21777 (__x86_preferred_memory_instruction): Removed.
21778 (init_cacheinfo): Don't call __init_cpu_features. Replace
21779 __cpu_features with GLRO(dl_x86_cpu_features).
21780 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
21781 (dl_platform_init): Call init_cpu_features.
21782 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
21783 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
21784 * sysdeps/x86_64/multiarch/Versions: Removed.
21785 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
21786 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
21787 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
21788 Removed.
21789 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
21790
21791 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
21792
21793 [BZ #18820]
21794 * libio/Makefile (test-fmemopen-mem): New test.
21795 * libio/test-fmemopen.c (do_bz18820): New test.
21796 * libio/fmemopen.c (__fmemopen): Fix memory leak.
21797 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
21798
21799 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
21800
21801 [BZ #16734]
21802 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
21803 (FREE_BUF): Delete.
21804 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
21805 * libio/genops.c (_IO_setb): Use malloc and free directly.
21806 (_IO_default_doallocate, _IO_default_finish): Likewise.
21807 ( _IO_unbuffer_all): Likewise.
21808 ( libc_freeres_fn): Likewise.
21809 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21810 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21811 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
21812 (_IO_wdefault_doallocate): Likewise.
21813
21814 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
21815
21816 [BZ #18086]
21817 * sysdeps/posix/nice.c (nice): Restore old errno.
21818 * posix/tst-nice.c (do_test): Add test for BZ #18086.
21819
21820 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
21821
21822 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
21823
21824 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21825
21826 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
21827 __bcopy and add a weak_alias to bcopy.
21828 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
21829 for static build.
21830
21831 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
21832 cleanup macro usage.
21833 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
21834 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
21835 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21836 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
21837 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
21838 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
21839 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
21840 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
21841 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21842 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
21843 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21844 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
21845 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21846 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
21847 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21848 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
21849 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
21850 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
21851 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
21852
21853 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
21854 libc_hidden_def.
21855 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
21856
21857 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
21858 (sysdep_routines): Add strstr-ppc64.
21859 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
21860
21861 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
21862
21863 [BZ #18778]
21864 * elf/Makefile (tests): Add Add tst-nodelete2.
21865 (modules-names): Add tst-nodelete2mod.
21866 (tst-nodelete2mod.so-no-z-defs): New.
21867 ($(objpfx)tst-nodelete2): Likewise.
21868 ($(objpfx)tst-nodelete2.out): Likewise.
21869 (LDFLAGS-tst-nodelete2): Likewise.
21870 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
21871 out of loop through all loaded libraries.
21872 * elf/tst-nodelete2.c: New file.
21873 * elf/tst-nodelete2mod.c: Likewise.
21874 * elf/tst-znodelete-zlib.cc: Delete.
21875
21876 2015-08-11 Andreas Schwab <schwab@suse.de>
21877
21878 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
21879 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
21880 (__openat64_nocancel): Likewise.
21881
21882 2015-08-11 Joseph Myers <joseph@codesourcery.com>
21883
21884 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
21885 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
21886 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
21887 * math/auto-libm-test-out: Regenerated.
21888 * sysdeps/i386/fpu/libm-test-ulps: Update.
21889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21890
21891 2015-08-10 Joseph Myers <joseph@codesourcery.com>
21892
21893 [BZ #18790]
21894 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
21895 threshold for returning +/- 1.
21896 * math/auto-libm-test-in: Add more tests of tanh.
21897 * math/auto-libm-test-out: Regenerated.
21898 * sysdeps/i386/fpu/libm-test-ulps: Update.
21899
21900 2015-08-10 Andreas Schwab <schwab@suse.de>
21901
21902 [BZ #18781]
21903 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
21904 MORE_OFLAGS to oflag.
21905 * io/test-lfs.c (do_test): Test openat64.
21906
21907 2015-08-10 Joseph Myers <joseph@codesourcery.com>
21908
21909 [BZ #18789]
21910 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
21911 smaller threshold for returning the argument.
21912 * math/auto-libm-test-in: Add more tests of sinh.
21913 * math/auto-libm-test-out: Regenerated.
21914 * sysdeps/i386/fpu/libm-test-ulps: Update.
21915
21916 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
21917
21918 [BZ #18674]
21919 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
21920 break.
21921
21922 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
21923
21924 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
21925 (generated): Don't add $(addprefix z.,$(tzfiles)).
21926
21927 2015-08-09 Mike Frysinger <vapier@gentoo.org>
21928
21929 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
21930 * scripts/sysd-rules.awk: Likewise.
21931
21932 2015-08-09 Mike Frysinger <vapier@gentoo.org>
21933
21934 * iconvdata/tst-tables.sh: Change echo -n to printf.
21935 * nss/db-Makefile: Likewise.
21936 * posix/tst-getconf.sh: Likewise.
21937 * stdio-common/tst-unbputc.sh: Likewise.
21938
21939 2015-08-09 Mike Frysinger <vapier@gentoo.org>
21940
21941 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
21942 MADV_*_PAGES defines behind this feature check.
21943
21944 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
21945
21946 [BZ #18480]
21947 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
21948 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
21949 Define.
21950 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
21951 LOAD_REGS_5, LOAD_REGS_6): Update.
21952 (INTERNAL_SYSCALL): Update using new LOAD defines.
21953 (INTERNAL_SYSCALL_NCS): Likewise.
21954 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
21955
21956 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21957
21958 [BZ #16734]
21959 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
21960
21961 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21962
21963 [BZ #17905]
21964 * catgets/Makefile (tst-catgets-mem): New test.
21965 * catgets/catgets.c (catopen): Don't use unbounded alloca.
21966 * catgets/open_catalog.c (__open_catalog): Likewise.
21967 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
21968
21969 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
21970
21971 [BZ #18787]
21972 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
21973 clobber registers.
21974 (atomic_compare_and_exchange_val_acq): Use register asms to assign
21975 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
21976 Cast return to __typeof (oldval).
21977
21978 2015-08-08 Mike Frysinger <vapier@gentoo.org>
21979
21980 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
21981 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
21982 and delete sys/syscall.h include.
21983
21984 2015-08-07 Joseph Myers <joseph@codesourcery.com>
21985
21986 [BZ #16517]
21987 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
21988 (tan): Force underflow exception for arguments with small absolute
21989 value.
21990 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
21991 (__kernel_tanf): Force underflow exception for arguments with
21992 small absolute value.
21993 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
21994 (__kernel_tanl): Force underflow exception for arguments with
21995 small absolute value.
21996 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
21997 (__kernel_tanl): Force underflow exception for arguments with
21998 small absolute value.
21999 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22000 (__kernel_tanl): Force underflow exception for arguments with
22001 small absolute value.
22002 * math/auto-libm-test-in: Add more tests of tan.
22003 * math/auto-libm-test-out: Regenerated.
22004
22005 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22006
22007 Fix sysdeps/i386/fpu/s_scalbn.S build
22008
22009 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22010
22011 2015-08-07 Mike Frysinger <vapier@gentoo.org>
22012
22013 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22014
22015 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22016
22017 Fix gcrt0.o compilation
22018
22019 When static-start-installed-name is different from
22020 start-installed-name, we must not use the shared objects.
22021
22022 * csu/Makefile
22023 (extra-objs): Add gmon-start.o when building shared library and
22024 $(static-start-installed-name) is different from
22025 $(start-installed-name).
22026 $(objpfx)g$(static-start-installed-name): When building shared
22027 library and $(static-start-installed-name) is different from
22028 $(static-start-installed-name), revert to non-shared rule,
22029 i.e. using $(objpfx)% and gmon-start.o.
22030
22031 2015-08-06 Joseph Myers <joseph@codesourcery.com>
22032
22033 [BZ #16519]
22034 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22035 (__ieee754_sinh): Force underflow exception for arguments with
22036 small absolute value.
22037 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22038 (__ieee754_sinhf): Force underflow exception for arguments with
22039 small absolute value.
22040 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22041 (__ieee754_sinhl): Force underflow exception for arguments with
22042 small absolute value.
22043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22044 (__ieee754_sinhl): Force underflow exception for arguments with
22045 small absolute value.
22046 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22047 (__ieee754_sinhl): Force underflow exception for arguments with
22048 small absolute value.
22049 * math/auto-libm-test-in: Add more tests of sinh.
22050 * math/auto-libm-test-out: Regenerated.
22051 * sysdeps/i386/fpu/libm-test-ulps: Update.
22052
22053 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22054
22055 * libio/oldfileops.c: Include unistd.h.
22056
22057 2015-08-06 Mike Frysinger <vapier@gentoo.org>
22058
22059 * stdlib/isomac.c: Include ctype.h.
22060
22061 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
22062
22063 * dirent/tst-seekdir.c (main): Converted to ...
22064 (do_test): ... this.
22065 (TEST_FUNCTION): New macro.
22066 Include test-skeleton.c.
22067 * elf/tst-dlmodcount.c (main): Converted to ...
22068 (do_test): ... this.
22069 (TEST_FUNCTION): New macro.
22070 Include test-skeleton.c.
22071 * elf/tst-order-main.c (main): Converted to ...
22072 (do_test): ... this.
22073 (TEST_FUNCTION): New macro.
22074 Include test-skeleton.c.
22075 * elf/tst-pie2.c (main): Converted to ...
22076 (do_test): ... this.
22077 (TEST_FUNCTION): New macro.
22078 Include test-skeleton.c.
22079 * inet/tst-ether_aton.c (main): Converted to ...
22080 (do_test): ... this.
22081 (TEST_FUNCTION): New macro.
22082 Include test-skeleton.c.
22083 * misc/tst-mntent.c (main): Converted to ...
22084 (do_test): ... this.
22085 (TEST_FUNCTION): New macro.
22086 Include test-skeleton.c.
22087 * misc/tst-tsearch.c (main): Converted to ...
22088 (do_test): ... this.
22089 (TEST_FUNCTION): New macro.
22090 Include test-skeleton.c.
22091 * posix/tst-regexloc.c (main): Converted to ...
22092 (do_test): ... this.
22093 (TEST_FUNCTION): New macro.
22094 Include test-skeleton.c.
22095 * resolv/tst-aton.c (main): Converted to ...
22096 (do_test): ... this.
22097 (TEST_FUNCTION): New macro.
22098 Include test-skeleton.c.
22099 * stdio-common/test-fwrite.c (main): Converted to ...
22100 (do_test): ... this.
22101 (TEST_FUNCTION): New macro.
22102 Include test-skeleton.c.
22103 * stdio-common/tst-ferror.c (main): Converted to ...
22104 (do_test): ... this.
22105 (TEST_FUNCTION): New macro.
22106 Include test-skeleton.c.
22107 * stdio-common/tst-printf.c (main): Converted to ...
22108 (do_test): ... this.
22109 (TEST_FUNCTION): New macro.
22110 Include test-skeleton.c.
22111 * stdio-common/tst-printfsz.c (main): Converted to ...
22112 (do_test): ... this.
22113 (TEST_FUNCTION): New macro.
22114 Include test-skeleton.c.
22115 * stdlib/tst-strtod.c (main): Converted to ...
22116 (do_test): ... this.
22117 (TEST_FUNCTION): New macro.
22118 Include test-skeleton.c.
22119 * string/tst-strlen.c (main): Converted to ...
22120 (do_test): ... this.
22121 (TEST_FUNCTION): New macro.
22122 Include test-skeleton.c.
22123 * string/tst-svc.c (main): Converted to ...
22124 (do_test): ... this.
22125 (TEST_FUNCTION): New macro.
22126 Include test-skeleton.c.
22127 * time/tst-strptime.c (main): Converted to ...
22128 (do_test): ... this.
22129 (TEST_FUNCTION): New macro.
22130 Include test-skeleton.c.
22131 * timezone/tst-timezone.c (main): Converted to ...
22132 (do_test): ... this.
22133 (TEST_FUNCTION): New macro.
22134 Include test-skeleton.c.
22135
22136 2015-08-05 Zack Weinberg <zackw@panix.com>
22137
22138 * misc/regexp.h: Update comments.
22139
22140 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
22141
22142 [BZ #18635]
22143 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22144 before return label.
22145
22146 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22147
22148 [BZ #18661]
22149 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22150 when calling __errno_location.
22151 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22152 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22153
22154 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22155
22156 [BZ #18661]
22157 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22158 (__lll_timedwait_tid): Align stack to 16 bytes when calling
22159 __gettimeofday.
22160
22161 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22162
22163 [BZ #18661]
22164 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22165 (__start_context): Don't use pop to restore %rdi so that stack
22166 is aligned to 16 bytes when calling __setcontext.
22167
22168 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22169
22170 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22171 only for libc.
22172 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22173
22174 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22175
22176 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22177 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
22178 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22179
22180 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22181
22182 * string/memccpy.c (memccpy):
22183 Improve performance by using memchr/memcpy/__mempcpy.
22184
22185 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22186
22187 * string/strncpy.c (strncpy):
22188 Improve performance by using __strnlen/memcpy.
22189
22190 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22191
22192 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22193 Optimize to avoid an unnecessary FPCR read.
22194
22195 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22196
22197 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22198 Optimize to reduce FPCR/FPSR accesses.
22199
22200 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22201
22202 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
22203 dead->data[category] != NULL.
22204
22205 2015-08-05 Joseph Myers <joseph@codesourcery.com>
22206
22207 [BZ #18647]
22208 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
22209 and |x| close to 1, use absolute value of x when computing log.
22210 * math/auto-libm-test-in: Add more tests of pow.
22211 * math/auto-libm-test-out: Regenerated.
22212
22213 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22214
22215 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
22216 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
22217 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
22218
22219 2015-08-05 Marko Myllynen <myllynen@redhat.com>
22220
22221 [BZ #18525]
22222 * locales/km_KH: Remove timezone definition.
22223 * locales/lo_LA: Likewise.
22224 * locales/my_MM: Likewise.
22225 * locales/nan_TW@latin: Likewise.
22226 * locales/th_TH: Likewise.
22227 * locales/uk_UA: Likewise.
22228
22229 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
22230
22231 [BZ #18265]
22232 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
22233 (wcsncat): Likewise.
22234 (wcscmp): Likewise.
22235 (wcsncmp): Likewise.
22236
22237 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22238
22239 * test-skeleton.c (usage): New function.
22240 (main): Call usage when opt is '?'.
22241
22242 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22243
22244 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
22245 before first use.
22246
22247 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22248
22249 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
22250 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
22251 in there too.
22252
22253 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
22254
22255 * version.h (RELEASE): Set to "development".
22256 (VERSION): Set to "2.22.90"
22257
22258 * version.h (RELEASE): Set to "stable".
22259 (VERSION): Set to "2.22"
22260 * include/features.h (__GLIBC_MINOR__): Set to 22.
22261
22262 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
22263
22264 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
22265 Restructure macro to avoid "value computed is not used" warning.
22266 (atomic_compare_and_exchange_val_acq): Likewise.
22267
22268 2015-08-04 Andreas Schwab <schwab@suse.de>
22269
22270 [BZ #18635]
22271 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
22272 ret.
22273 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
22274
22275 2015-08-01 Carlos O'Donell <carlos@redhat.com>
22276
22277 * po/pl.po: Updated translation.
22278 * po/uk.po: Likewise.
22279 * po/fi.po: Likewise.
22280 * po/ko.po: Likewise.
22281 * po/ru.po: Likewise.
22282 * po/vi.po: Likewise.
22283
22284 2015-07-31 Zack Weinberg <zackw@panix.com>
22285
22286 [BZ #18681]
22287 * regexp.h: Add unconditional #warning stating that this header
22288 will be removed soon. Revise banner comment to match.
22289 (compile): Consistently use ERROR instead of RETURN to report
22290 errors (partial fix for bz#18681).
22291 * regexp.c: Don't include regexp.h. Remove some unnecessary
22292 declarations.
22293
22294 2015-07-31 Carlos O'Donell <carlos@redhat.com>
22295
22296 * po/libc.pot: Regenerated.
22297
22298 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
22299
22300 [BZ #18740]
22301 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
22302 float-vlen4-arch-ext-cflags): Removed.
22303 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
22304 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
22305
22306 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22307
22308 [BZ #14113]
22309 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
22310 aligned to __aligned__.
22311 (pthread_cond_t, pthread_rwlock_t): Likewise.
22312
22313 2015-07-30 Torvald Riegel <triegel@redhat.com>
22314
22315 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
22316
22317 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22318
22319 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
22320 (struct sigaction): Change sa_flags from a long to an int, and add
22321 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
22322
22323 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22324
22325 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
22326 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
22327 sysdeps/generic/sysdep.h include.
22328 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
22329 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
22330 sysdeps/hppa/sysdep.h.
22331 (ENTRY, PSEUDO): Undefine before defining.
22332
22333 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22334
22335 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
22336 from scratch to use INTERNAL_SYSCALL.
22337
22338 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
22339
22340 [BZ #18078]
22341 * scripts/check-localplt.awk: Support alternate relocations.
22342 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
22343 sections.
22344 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
22345 malloc entries with + REL R_386_GLOB_DAT.
22346 * sysdeps/x86_64/localplt.data: New file.
22347
22348 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
22349
22350 [BZ #18731]
22351 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
22352 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22353 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22354
22355 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22356
22357 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
22358
22359 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22360
22361 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
22362 directly in terms of __sync_fetch_and_add and delete (int) cast.
22363
22364 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22365
22366 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
22367 the -D_ASM_IA64_CURRENT_H flag.
22368
22369 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22370
22371 [BZ #18641]
22372 * pwd/pwd.h (putpwent): Delete __nonnull markings.
22373
22374 2015-07-27 Andreas Schwab <schwab@suse.de>
22375
22376 * conform/conformtest.pl (checknamespace): Filter out string
22377 literals while tokenizing.
22378
22379 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
22380
22381 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22382 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
22383 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22384
22385 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
22386
22387 * nptl/tst-join7mod.c: Add #include <string.h>.
22388
22389 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
22390
22391 * sysdeps/nios2/libm-test-ulps: Update.
22392
22393 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
22394
22395 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
22396 Fix order of arguments to the rt_sigprocmask syscall.
22397 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
22398 Likewise.
22399
22400 2015-07-24 Roland McGrath <roland@hack.frob.com>
22401
22402 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
22403
22404 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22405
22406 [BZ #18457]
22407 * nptl/Makefile (tests): New test case tst-join7.
22408 (modules-names): New test case module tst-join7mod.
22409 * nptl/tst-join7.c: New file.
22410 * nptl/tst-join7mod.c: New file.
22411 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
22412 all translation units in libc.so, libpthread.so and rtld.
22413
22414 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22415
22416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22417
22418 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
22419
22420 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
22421 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22422 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22423 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22424 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22425 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22426 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22427 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22428 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22429 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22430 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22431 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22432 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
22433 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
22434 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
22435 implementation.
22436
22437 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22438
22439 [BZ #17711]
22440 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22441 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
22442 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22443 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22444 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
22445 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22446
22447 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22448
22449 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
22450 instead of just saying load lock in the comments.
22451
22452 2015-07-23 Roland McGrath <roland@hack.frob.com>
22453
22454 * sysdeps/unix/Subdirs: Moved ...
22455 * sysdeps/posix/Subdirs: ... here.
22456 * login/pty.h (struct termios, struct winsize): Add forward decls.
22457 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
22458 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
22459 * sysdeps/arm/nacl/libc.abilist: Updated.
22460 * sysdeps/nacl/libutil.abilist: New file.
22461
22462 * bits/signum.h: Update comments to mention 1003.1-2013 too.
22463 (SIGWINCH): New macro.
22464
22465 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
22466 * sysdeps/arm/nacl/libc.abilist: Add it.
22467
22468 2015-07-23 Mike Frysinger <vapier@gentoo.org>
22469
22470 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
22471
22472 2015-07-23 Mike Frysinger <vapier@gentoo.org>
22473
22474 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22475 Swap __glibc_reserved0 and sa_flags order.
22476
22477 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22478
22479 [BZ #18657]
22480 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
22481 are pending TLS destructor calls.
22482 * include/link.h (struct link_map): Add concurrency note for
22483 L_TLS_DTOR_COUNT.
22484 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22485 Don't touch the link map flag. Atomically increment
22486 l_tls_dtor_count.
22487 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
22488 Avoid taking the load lock and don't touch the link map flag.
22489 * stdlib/tst-tls-atexit-nodelete.c: New test case.
22490 * stdlib/Makefile (tests): Use it.
22491 * stdlib/tst-tls-atexit.c (do_test): dlopen
22492 tst-tls-atexit-lib.so again before dlclose. Add conditionals
22493 to allow tst-tls-atexit-nodelete test case to use it.
22494
22495 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22496
22497 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
22498 to bits/types.h.
22499 (msgqnum_t): New typedef.
22500 (msglen_t): Likewise.
22501 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
22502 and msg_qbytes type to msglen_t.
22503
22504 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22505
22506 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
22507 pad0 to __glibc_reserved0.
22508 (struct stat64): Likewise.
22509
22510 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22511
22512 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22513 Change sa_flags from a long to an int and add __glibc_reserved0 before
22514 it for padding.
22515
22516 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22517
22518 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
22519 anonymous by deleting "siginfo" name.
22520
22521 2015-07-21 Roland McGrath <roland@hack.frob.com>
22522
22523 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
22524 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
22525 rather than __nacl_irt_filename.
22526 * sysdeps/nacl/xstat.c (__xstat): Likewise.
22527
22528 * NEWS: New item for arm-nacl port.
22529 * sysdeps/arm/nacl/libc.abilist: New file.
22530 * sysdeps/nacl/ld.abilist: New file.
22531 * sysdeps/nacl/libBrokenLocale.abilist: New file.
22532 * sysdeps/nacl/libanl.abilist: New file.
22533 * sysdeps/nacl/libcrypt.abilist: New file.
22534 * sysdeps/nacl/libdl.abilist: New file.
22535 * sysdeps/nacl/libm.abilist: New file.
22536 * sysdeps/nacl/libpthread.abilist: New file.
22537 * sysdeps/nacl/libresolv.abilist: New file.
22538 * sysdeps/nacl/librt.abilist: New file.
22539
22540 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
22541
22542 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
22543 __startcontext to initialize the new context.
22544 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
22545 up CFI directive to forbid further backtracing.
22546
22547 2015-07-21 Marko Myllynen <myllynen@redhat.com>
22548
22549 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
22550 reference.
22551 * charmaps/ANSI_X3.4-1968: Likewise.
22552 * charmaps/BS_4730: Likewise.
22553 * charmaps/BS_VIEWDATA: Likewise.
22554 * charmaps/CP1250: Likewise.
22555 * charmaps/CP1251: Likewise.
22556 * charmaps/CP1252: Likewise.
22557 * charmaps/CP1253: Likewise.
22558 * charmaps/CP1254: Likewise.
22559 * charmaps/CP1255: Likewise.
22560 * charmaps/CP1256: Likewise.
22561 * charmaps/CSN_369103: Likewise.
22562 * charmaps/EBCDIC-DK-NO: Likewise.
22563 * charmaps/GB_1988-80: Likewise.
22564 * charmaps/GREEK-CCITT: Likewise.
22565 * charmaps/GREEK7: Likewise.
22566 * charmaps/INIS-8: Likewise.
22567 * charmaps/ISIRI-3342: Likewise.
22568 * charmaps/ISO_2033-1983: Likewise.
22569 * charmaps/ISO_5427-EXT: Likewise.
22570 * locales/POSIX: Likewise.
22571 * locales/ar_SA: Likewise.
22572 * locales/be_BY: Likewise.
22573 * locales/be_BY@latin: Likewise.
22574 * locales/ca_ES: Likewise.
22575 * locales/cs_CZ: Likewise.
22576 * locales/da_DK: Likewise.
22577 * locales/de_BE: Likewise.
22578 * locales/de_CH: Likewise.
22579 * locales/de_LU: Likewise.
22580 * locales/en_AU: Likewise.
22581 * locales/en_BW: Likewise.
22582 * locales/en_CA: Likewise.
22583 * locales/en_DK: Likewise.
22584 * locales/en_GB: Likewise.
22585 * locales/en_IE: Likewise.
22586 * locales/en_NZ: Likewise.
22587 * locales/en_ZA: Likewise.
22588 * locales/en_ZW: Likewise.
22589 * locales/es_AR: Likewise.
22590 * locales/es_BO: Likewise.
22591 * locales/es_CL: Likewise.
22592 * locales/es_CO: Likewise.
22593 * locales/es_DO: Likewise.
22594 * locales/es_EC: Likewise.
22595 * locales/es_ES: Likewise.
22596 * locales/es_HN: Likewise.
22597 * locales/es_MX: Likewise.
22598 * locales/es_PA: Likewise.
22599 * locales/es_PE: Likewise.
22600 * locales/es_PY: Likewise.
22601 * locales/es_SV: Likewise.
22602 * locales/es_US: Likewise.
22603 * locales/es_UY: Likewise.
22604 * locales/es_VE: Likewise.
22605 * locales/et_EE: Likewise.
22606 * locales/fa_IR: Likewise.
22607 * locales/fo_FO: Likewise.
22608 * locales/fr_CA: Likewise.
22609 * locales/fr_CH: Likewise.
22610 * locales/gv_GB: Likewise.
22611 * locales/he_IL: Likewise.
22612 * locales/hr_HR: Likewise.
22613 * locales/id_ID: Likewise.
22614 * locales/is_IS: Likewise.
22615 * locales/it_CH: Likewise.
22616 * locales/iw_IL: Likewise.
22617 * locales/kl_GL: Likewise.
22618 * locales/ko_KR: Likewise.
22619 * locales/kw_GB: Likewise.
22620 * locales/lg_UG: Likewise.
22621 * locales/lt_LT: Likewise.
22622 * locales/lv_LV: Likewise.
22623 * locales/mi_NZ: Likewise.
22624 * locales/nhn_MX: Likewise.
22625 * locales/nl_BE: Likewise.
22626 * locales/pl_PL: Likewise.
22627 * locales/sk_SK: Likewise.
22628 * locales/sl_SI: Likewise.
22629 * locales/sv_FI: Likewise.
22630 * locales/tl_PH: Likewise.
22631 * locales/tr_TR: Likewise.
22632 * locales/vi_VN: Likewise.
22633
22634 2015-07-21 Khem Raj <raj.khem@gmail.com>
22635
22636 [BZ #17475]
22637 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
22638 of tu_IN and bh_IN.
22639
22640 2015-07-21 Mike Frysinger <vapier@gentoo.org>
22641
22642 [BZ #18694]
22643 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
22644 bits/wordsize.h.
22645 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
22646
22647 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22648
22649 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
22650 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
22651 (spawn_thread): New function.
22652 (load): Rename to reg_dtor_and_close. Move dlopen to...
22653 (do_test): ... here. Use IS_LOADED to test for its
22654 availability.
22655
22656 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
22657
22658 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22659
22660 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
22661
22662 [BZ #18696]
22663 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
22664 si_addr_bnd.
22665 (si_lower): New.
22666 (si_upper): Likewise.
22667
22668 2015-07-16 David S. Miller <davem@davemloft.net>
22669
22670 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
22671
22672 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22673
22674 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
22675 buffer.
22676 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
22677 fail output information.
22678
22679 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22680
22681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
22682 and strstr-ppc64..
22683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22684 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
22685 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
22686 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
22687 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
22688
22689 2015-07-16 Mike Frysinger <vapier@gentoo.org>
22690
22691 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22692 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22693 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22694 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22695
22696 2015-07-16 Mike Frysinger <vapier@gentoo.org>
22697
22698 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22699 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
22700 rtld_hidden_proto.
22701 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
22702
22703 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22704
22705 * tst-nodelete-opened.c (do_test): Add comment to clarify how
22706 the test can fail.
22707
22708 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
22709
22710 [BZ #18676]
22711 * elf/tst-nodelete-opened.c: New test case.
22712 * elf/tst-nodelete-opened-lib.c: New test case module.
22713 * elf/Makefile (tests, modules-names): Use them.
22714 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
22715 early.
22716
22717 2015-07-15 David S. Miller <davem@davemloft.net>
22718
22719 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
22720 futex-intenal.h
22721 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
22722 * sysdeps/sparc/sparc64/Makefile: Likewise.
22723 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22724 Remove space from macro define.
22725 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
22726
22727 2015-07-15 Pravin Satpute <psatpute@redhat.com>
22728
22729 [BZ #17475]
22730 * locale/iso-639.def: Update Bhili and Tulu language codes as
22731 per iso639-3.
22732
22733 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
22734
22735 * elf/tst-leaks1.c (main): Converted to ...
22736 (do_test): ... this.
22737 (TEST_FUNCTION): New macro.
22738 Include test-skeleton.c.
22739 * localedata/tst-langinfo.c (main): Converted to ...
22740 (do_test): ... this.
22741 (TEST_FUNCTION): New macro.
22742 Include test-skeleton.c.
22743 * math/test-fpucw.c (main): Converted to ...
22744 (do_test): ... this.
22745 (TEST_FUNCTION): New macro.
22746 Include test-skeleton.c.
22747 * math/test-tgmath.c (main): Converted to ...
22748 (do_test): ... this.
22749 (TEST_FUNCTION): New macro.
22750 Include test-skeleton.c.
22751 * math/test-tgmath2.c (main): Converted to ...
22752 (do_test): ... this.
22753 (TEST_FUNCTION): New macro.
22754 Include test-skeleton.c.
22755 * setjmp/tst-setjmp.c (main): Converted to ...
22756 (do_test): ... this.
22757 (TEST_FUNCTION): New macro.
22758 Include test-skeleton.c.
22759 * stdio-common/tst-sscanf.c (main): Converted to ...
22760 (do_test): ... this.
22761 (TEST_FUNCTION): New macro.
22762 Include test-skeleton.c.
22763 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
22764 (do_test): ... this.
22765 (TEST_FUNCTION): New macro.
22766 Include test-skeleton.c.
22767
22768 * elf/tst-audit9.c (main): Converted to ...
22769 (do_test): ... this.
22770 (TEST_FUNCTION): New macro.
22771 Include test-skeleton.c.
22772
22773 2015-07-15 Mike Frysinger <vapier@gentoo.org>
22774
22775 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
22776
22777 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
22778
22779 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
22780 New variable.
22781
22782 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
22783
22784 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22785
22786 2015-07-14 Roland McGrath <roland@hack.frob.com>
22787
22788 * sysdeps/generic/dl-fileid.h: New file.
22789 * sysdeps/posix/dl-fileid.h: New file.
22790 * sysdeps/nacl/dl-fileid.h: New file.
22791 * include/link.h: Include <dl-fileid.h>.
22792 (struct link_map): Replace l_dev and l_ino with l_file_id.
22793 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
22794 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
22795 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
22796
22797 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22798
22799 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
22800
22801 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22802
22803 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
22804 Add iff $CXX is set.
22805 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
22806 Likewise.
22807 (tst-nodelete-zmodiff): Likewise.
22808 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
22809
22810 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22811
22812 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
22813
22814 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
22815
22816 * sysdeps/aarch64/fpu/math_private.h
22817 (define math_opt_barrier): Add AArch64 version.
22818 (math_force_eval): Likewise.
22819
22820 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
22821
22822 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
22823
22824 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
22825
22826 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
22827 %ld with %jd and cast to intmax_t.
22828 (do_test_length_zero): Likewise.
22829
22830 2015-07-10 Roland McGrath <roland@hack.frob.com>
22831
22832 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
22833
22834 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
22835
22836 * sysdeps/tile/libm-test-ulps: Regenerated.
22837
22838 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
22839 Comment out the whole function, not just its body.
22840
22841 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22842
22843 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
22844 locks.
22845
22846 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
22847
22848 2015-07-10 Torvald Riegel <triegel@redhat.com>
22849
22850 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
22851 (sem_assume_only_signals_cause_futex_EINTR): Remove.
22852
22853 2015-07-10 Torvald Riegel <triegel@redhat.com>
22854
22855 * sysdeps/nptl/futex-internal.h: New file.
22856 * sysdeps/nacl/futex-internal.h: New file.
22857 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
22858 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
22859 error checking.
22860 (setxid_unmark_thread): Likewise.
22861 (__nptl_setxid): Likewise.
22862 (__wait_lookup_done): Likewise.
22863 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
22864 * nptl/nptl-init.c (sighandler_setxid): Likewise.
22865 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22866 * nptl/pthread_once.c (clear_once_control): Likewise.
22867 (__pthread_once_slow): Likewise.
22868 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22869 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
22870 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
22871 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22872 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
22873 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
22874 Likewise.
22875 (__pthread_rwlock_rdlock): Likewise.
22876 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22877 Likewise.
22878 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22879 Likewise.
22880 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
22881 Likewise.
22882 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
22883 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
22884 Likewise.
22885 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
22886 __ASSUME_PRIVATE_FUTEX check.
22887 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
22888 Check that shared futexes are supported.
22889 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
22890 wrappers with error checking.
22891 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
22892 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
22893 * nptl/pthread_barrierattr_setpshared.c
22894 (pthread_barrierattr_setpshared): Check that shared futexes are
22895 supported.
22896 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
22897 Likewise.
22898 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
22899 Likewise.
22900 * nptl/sem_init.c (futex_private_if_supported): Remove.
22901 (__new_sem_init): Adapt and check that shared futexes are supported.
22902 * nptl/sem_open.c (sem_open): Likewise.
22903 * nptl/sem_post.c (futex_wake): Remove.
22904 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
22905 (do_futex_wait): Use futex wrappers with error checking.
22906 * nptl/sem_wait.c: Include lowlevellock.h.
22907 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
22908 Use futex_supports_pshared.
22909 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
22910 Use futex wrappers with error checking.
22911 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
22912 Likewise.
22913 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
22914 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
22915 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
22916 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
22917 (futex_wake): Likewise.
22918 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
22919 (do_futex_wait): Use futex wrappers with error checking.
22920 (__new_sem_wait_slow): Update EINTR handling.
22921 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
22922
22923 2015-07-09 Martin Sebor <msebor@redhat.com>
22924
22925 [BZ #18435]
22926 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
22927 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
22928 * nptl/Makefile (test-xfail-tst-once5): Define.
22929
22930 2015-07-09 Roland McGrath <roland@hack.frob.com>
22931
22932 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
22933 * elf/dl-minimal.c: For readability, reorder some definitions and
22934 introduce more page breaks. Include <stdio.h>.
22935 (__libc_fatal): New function.
22936
22937 * include/unistd.h: Add rtld_hidden_proto for _exit.
22938 * posix/_exit.c: Add rtld_hidden_def.
22939 * sysdeps/mach/hurd/_exit.c: Likewise.
22940 * sysdeps/nacl/_exit.c: Likewise.
22941 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
22942 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
22943
22944 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
22945
22946 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
22947 bndmov encoding with zero displacement.
22948
22949 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
22950 H.J. Lu <hongjiu.lu@intel.com>
22951
22952 [BZ #18134]
22953 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
22954 * sysdeps/i386/configure: Regenerated.
22955 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22956 (_dl_runtime_profile): Save and restore Intel MPX return bound
22957 registers when calling _dl_call_pltexit. Add
22958 PRESERVE_BND_REGS_PREFIX before return.
22959 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
22960 (LRV_BND1_OFFSET): Likewise.
22961 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
22962 lrv_bnd1.
22963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
22964 typo in bndmov encoding.
22965 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
22966 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
22967 branch instructions to preserve bounds.
22968
22969 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22970
22971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
22972 [GLIBC_2.22]: Add fmemopen.
22973
22974 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
22975
22976 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
22977 returns an error, also try to use host port from __mach_host_self for
22978 the __vm_wire call.
22979 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
22980
22981 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
22982
22983 [BZ #18400]
22984 [BZ #18648]
22985 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
22986 Fix pr_uid and pr_gid members.
22987 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
22988 definition to elf_greg_t.
22989
22990 2015-07-08 Roland McGrath <roland@hack.frob.com>
22991
22992 [BZ #18383]
22993 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
22994 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
22995 * sysdeps/arm/configure: Regenerated.
22996 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
22997 (test-xfail-tst-tlsalign-static): Variable removed.
22998
22999 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23000 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23001 rather than explicit 'ln -s'.
23002
23003 * resolv/rpc/netdb.h: New file.
23004 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23005
23006 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23007
23008 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23009 length buffers.
23010 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23011 test-skeleton.c.
23012
23013 [BZ #6544]
23014 [BZ #11216]
23015 [BZ #12836]
23016 [BZ #13151]
23017 [BZ #13152]
23018 [BZ #14292]
23019 * include/stdio.h (fmemopen): Remove hidden prototype.
23020 (__fmemopen): Add new hidden prototype.
23021 * libio/Makefile: Add oldfmemopen object.
23022 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23023 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23024 compliance.
23025 * libio/oldfmemopen.c: New file: old fmemopen implementation for
23026 symbol compatibility.
23027 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23028 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23029 fmemopen.
23030 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23031 on append and read mode.
23032 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23033 fmemopen.
23034 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23035 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23036 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23037 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23038 Likewise.
23039 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23040 [GLIBC_2.22]: Likewise.
23041 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23042 Likewise.
23043 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23044 Likewise.
23045 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23046 [GLIBC_2.22]: Likewise.
23047 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23048 [GLIBC_2.22]: Likewise.
23049 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23050 [GLIBC_2.22]: Likewise.
23051 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23052 [GLIBC_2.22]: Likewise.
23053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23054 [GLIBC_2.22]: Likewise.
23055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23056 [GLIBC_2.22]: Likewise.
23057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23058 [GLIBC_2.22]: Likewise.
23059 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23060 Likewise.
23061 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23062 Likewise.
23063 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23064 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23065 [GLIBC_2.22]: Likewise.
23066 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23067 [GLIBC_2.22]: Likewise.
23068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23069 [GLIBC_2.22]: Likewise.
23070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23071 [GLIBC_2.22]: Likewise.
23072 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23073 Likewise.
23074 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23075 Likewise.
23076 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23077 Likewise.
23078 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23079 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23080
23081 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23082
23083 [BZ #18643]
23084 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23085 IPV6_PATHMTU, and IPV6_DONTFRAG.
23086
23087 2015-07-08 Feng Gao <gfree.wind@gmail.com>
23088
23089 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23090 and _IO_UNBUFFERED.
23091 * libio/oldfileops.c: Likewise.
23092 * libio/wfileops.c: Likewise.
23093
23094 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23095
23096 * nscd/selinux.c: Delete selinux/flask.h include.
23097
23098 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23099
23100 [BZ #18641]
23101 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23102 (putpwent): Likewise.
23103 (getpwnam): Likewise.
23104 (getpwent_r): Likewise.
23105 (getpwuid_r): Likewise.
23106 (getpwnam_r): Likewise.
23107 (fgetpwent_r): Likewise.
23108
23109 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23110
23111 [BZ #18557]
23112 * inet/rcmd.c (__validuser2_sa): Check user first to
23113 short-circuit host check.
23114
23115 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
23116 Mikhail Ilin <m.ilin@samsung.com>
23117
23118 [BZ #17833]
23119 * elf/Makefile (tests): Add tst-nodelete.
23120 (modules-names): Add tst-nodelete-uniquemod.
23121 (tst-nodelete-uniquemod.so-no-z-defs): New.
23122 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23123 (tst-nodelete-zmod.so-no-z-defs): Likewise.
23124 ($(objpfx)tst-nodelete): Likewise.
23125 ($(objpfx)tst-nodelete.out): Likewise.
23126 (LDFLAGS-tst-nodelete): Likewise.
23127 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23128 * elf/dl-close.c (_dl_close_worker): Add a parameter to
23129 implement forced object deletion.
23130 (_dl_close): Pass false to _dl_close_worker.
23131 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23132 * elf/tst-nodelete.cc: New file.
23133 * elf/tst-nodeletelib.cc: Likewise.
23134 * elf/tst-znodeletelib.cc: Likewise.
23135 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23136
23137 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23138
23139 [BZ #18508]
23140 * stdlib/Makefile ($(objpfx)tst-makecontext3):
23141 Depend on $(libdl).
23142 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23143 is not called infinitely times.
23144 (backtrace_helper): New function.
23145 (trace_arg): New struct.
23146 (st1): Enlarge stack size.
23147 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23148 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23149 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23150 Likewise.
23151
23152 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23153
23154 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23155
23156 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23157
23158 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23159 Include sys/types.h instead of bits/types.h.
23160 Remove inclusion of bits/wordsize.h.
23161
23162 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23163
23164 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23165 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23166 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23167 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23168 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23169 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23170
23171 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23172
23173 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23174 link-defines.sym.
23175 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23176 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23177 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23178 and LR_SIZE.
23179 * sysdeps/i386/link-defines.sym: New file.
23180
23181 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23182
23183 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23184 (modules-names): Add tst-auditmod3a tst-auditmod3b.
23185 ($(objpfx)tst-audit3): New rule.
23186 ($(objpfx)tst-audit3.out): Likewise.
23187 * sysdeps/i386/tst-audit3.c: New file.
23188 * sysdeps/i386/tst-audit3.h: Likewise.
23189 * sysdeps/i386/tst-auditmod3a.c: Likewise.
23190 * sysdeps/i386/tst-auditmod3b.c: Likewise.
23191
23192 2015-07-07 Torvald Riegel <triegel@redhat.com>
23193
23194 [BZ #18633]
23195 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
23196 pointer in C code.
23197 (__strcat_c): Likewise.
23198 (__strcat_g): Likewise.
23199
23200 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
23201
23202 [BZ #18592]
23203 * misc/sbrk.c: Set errno to ENOMEM on overflow.
23204
23205 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23206
23207 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
23208 New function. (__ieee754_sqrtf): New function.
23209 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
23210 New function.
23211 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
23212 New function.
23213
23214 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23215
23216 * sysdeps/ieee754/support.c: Remove unused file.
23217
23218 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
23219
23220 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
23221 registers instead of d ones so the layout is kernel abi compatible.
23222 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
23223 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
23224 Likewise.
23225
23226 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23227
23228 * sysdeps/aarch64/libm-test-ulps: Regenerated.
23229
23230 2015-07-01 Joseph Myers <joseph@codesourcery.com>
23231
23232 [BZ #18619]
23233 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
23234 and return argument in case of subnormal argument.
23235
23236 2015-07-01 Martin Sebor <msebor@redhat.com>
23237
23238 [BZ #18435]
23239 * nptl/Makefile: Add tst-once5.cc.
23240 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23241 Remove macro redefinitions.
23242 * nptl/tst-once5.cc: New test.
23243
23244 2015-07-01 Joseph Myers <joseph@codesourcery.com>
23245
23246 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23247
23248 * sysdeps/arm/libm-test-ulps: Regenerated.
23249
23250 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23251 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23252
23253 2015-06-30 Torvald Riegel <triegel@redhat.com>
23254
23255 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
23256 lll_lock_wait_private and lll_futex_wake probes.
23257
23258 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23259 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
23260 Likewise.
23261 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
23262 atomic_spin_nop.
23263 * sysdeps/x86_64/bits/atomic.h: Likewise.
23264 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
23265 to atomic_spin_nop and move ...
23266 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23267 ... here and ...
23268 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
23269 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
23270 atomic_spin_nop instead of BUSY_WAIT_NOP.
23271 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
23272 Likewise.
23273 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
23274 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23275 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
23276 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
23277 instead of atomic_delay.
23278
23279 2015-06-29 Joseph Myers <joseph@codesourcery.com>
23280
23281 [BZ #18613]
23282 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
23283 X_ADJ not X when adjusting exponent.
23284 (__ieee754_gamma_r): Do intermediate computations in
23285 round-to-nearest then adjust overflowing and underflowing results
23286 as needed.
23287 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
23288 of X_ADJ not X when adjusting exponent.
23289 (__ieee754_gammaf_r): Do intermediate computations in
23290 round-to-nearest then adjust overflowing and underflowing results
23291 as needed.
23292 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
23293 log of X_ADJ not X when adjusting exponent.
23294 (__ieee754_gammal_r): Do intermediate computations in
23295 round-to-nearest then adjust overflowing and underflowing results
23296 as needed. Use 1.0L not 1.0f as numerator of division.
23297 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
23298 log of X_ADJ not X when adjusting exponent.
23299 (__ieee754_gammal_r): Do intermediate computations in
23300 round-to-nearest then adjust overflowing and underflowing results
23301 as needed. Use 1.0L not 1.0f as numerator of division.
23302 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
23303 of X_ADJ not X when adjusting exponent.
23304 (__ieee754_gammal_r): Do intermediate computations in
23305 round-to-nearest then adjust overflowing and underflowing results
23306 as needed. Use 1.0L not 1.0f as numerator of division.
23307 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
23308 to auto-libm-test-in.
23309 (tgamma_test): Use ALL_RM_TEST.
23310 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
23311 tests of tgamma with spurious-overflow.
23312 * math/auto-libm-test-out: Regenerated.
23313 * math/gen-libm-have-vector-test.sh: Do not check for START.
23314 * sysdeps/i386/fpu/libm-test-ulps: Update.
23315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23316
23317 [BZ #18612]
23318 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
23319 arguments, just return 0.5 times the argument, with underflow
23320 forced as needed.
23321 * math/auto-libm-test-in: Add more tests of j1.
23322 * math/auto-libm-test-out: Regenerated.
23323
23324 [BZ #16559]
23325 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
23326 (__ieee754_j1): Force underflow exception for small results.
23327 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23328 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
23329 (__ieee754_j1f): Force underflow exception for small results.
23330 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23331 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23333 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
23334 (__ieee754_j1l): Force underflow exception for small results.
23335 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23336 * math/auto-libm-test-in: Add more tests of j1 and jn.
23337 * math/auto-libm-test-out: Regenerated.
23338
23339 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
23340 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
23341 (PF_MPLS): Likewise.
23342 (AF_IB): Likewise.
23343 (AF_MPLS): Likewise.
23344 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
23345 value and macro.
23346 (MS_RMT_MASK): Include MS_LAZYTIME.
23347
23348 2015-06-26 Mel Gorman <mgorman@suse.de>
23349
23350 [BZ #18502]
23351 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
23352 already minimal.
23353
23354 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
23355
23356 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
23357 (DT_MIPS_NUM): Update.
23358 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
23359 DT_MIPS_RLD_MAP_REL.
23360
23361 2015-06-25 Joseph Myers <joseph@codesourcery.com>
23362
23363 [BZ #16559]
23364 [BZ #18602]
23365 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
23366 round-to-nearest internally then recompute results that
23367 underflowed to zero in the original rounding mode.
23368 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23369 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23370 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23371 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23372 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
23373 * sysdeps/i386/fpu/libm-test-ulps: Update.
23374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23375
23376 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
23377
23378 * NEWS: Fixed description of link with vector math library.
23379
23380 2015-06-25 Andreas Schwab <schwab@suse.de>
23381
23382 [BZ #18549]
23383 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
23384 * libio/test-fmemopen.c (do_test): Add test for it.
23385
23386 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
23387
23388 [BZ #17841]
23389 * Makeconfig (no-pie-ldflag): New.
23390 (+link): Set to $(+link-pie) if default to PIE.
23391 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
23392 * config.make.in (build-pie-default): New.
23393 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
23394 is default. AC_SUBST.
23395 * configure: Regenerated.
23396 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
23397
23398 2015-06-24 Roland McGrath <roland@hack.frob.com>
23399
23400 * nptl/descr.h (struct pthread): Change type of field setxid_futex
23401 to 'unsigned int'.
23402
23403 * resolv/gai_misc.h (struct waitlist): Change type of field
23404 counterp to 'volatile unsigned int *'.
23405 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
23406 FUTEXADDR and OLDVAL.
23407 * resolv/getaddrinfo_a.c (getaddrinfo_a):
23408 Give local variable TOTAL type 'volatile unsigned int'.
23409 (struct async_waitlist): Change type of field counter to 'unsigned int'.
23410 * resolv/gai_suspend.c (gai_suspend):
23411 Give local variable CNTR type 'unsigned int'.
23412
23413 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
23414 counterp to 'volatile unsigned int *'.
23415 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
23416 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
23417 (aio_suspend): Give local variable CNTR type 'unsigned int'.
23418 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
23419 Give local variable TOTAL type 'volatile unsigned int'.
23420 (struct async_waitlist): Change type of field counter to 'unsigned int'.
23421
23422 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
23423
23424 [BZ #18383]
23425 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
23426 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
23427 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
23428 comment for i386/x86-64.
23429 (test-xfail-tst-tlsalign-extern-static): Removed.
23430
23431 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23432
23433 * math/test-double.h: New file.
23434 * math/test-float.h: Likewise.
23435 * math/test-ldouble.h: Likewise.
23436 * math/test-math-inline.h: Likewise.
23437 * math/test-math-no-inline.h: Likewise.
23438 * math/test-math-scalar.h: Likewise.
23439 * math/test-math-vector.h: Likewise.
23440 * math/test-vec-loop.h: Remove file. Contents moved into
23441 test-math-vector.h.
23442 * math/libm-test.inc (MATHCONST): Do not document macro.
23443 * math/test-double.c: Include test-double.h, test-math-no-inline.h
23444 and test-math-scalar.h.
23445 (FUNC): Remove macro.
23446 (FUNC_TEST): Likewise.
23447 (FLOAT): Likewise.
23448 (MATHCONST): Likewise.
23449 (PRINTF_EXPR): Likewise.
23450 (PRINTF_XEXPR): Likewise.
23451 (PRINTF_NEXPR): Likewise.
23452 (TEST_DOUBLE): Likewise.
23453 (TEST_MATHVEC): Likewise.
23454 (__NO_MATH_INLINES): Likewise.
23455 * math/test-float.c: Include test-float.h, test-math-no-inline.h
23456 and test-math-scalar.h.
23457 (FUNC): Remove macro.
23458 (FUNC_TEST): Likewise.
23459 (FLOAT): Likewise.
23460 (MATHCONST): Likewise.
23461 (PRINTF_EXPR): Likewise.
23462 (PRINTF_XEXPR): Likewise.
23463 (PRINTF_NEXPR): Likewise.
23464 (TEST_FLOAT): Likewise.
23465 (TEST_MATHVEC): Likewise.
23466 (__NO_MATH_INLINES): Likewise.
23467 * math/test-idouble.c: Include test-double.h, test-math-inline.h
23468 and test-math-scalar.h.
23469 (FUNC): Remove macro.
23470 (FUNC_TEST): Likewise.
23471 (FLOAT): Likewise.
23472 (MATHCONST): Likewise.
23473 (PRINTF_EXPR): Likewise.
23474 (PRINTF_XEXPR): Likewise.
23475 (PRINTF_NEXPR): Likewise.
23476 (TEST_DOUBLE): Likewise.
23477 (TEST_MATHVEC): Likewise.
23478 (TEST_INLINE): Likewise.
23479 (__NO_MATH_INLINES): Likewise.
23480 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
23481 test-math-scalar.h.
23482 (FUNC): Remove macro.
23483 (FUNC_TEST): Likewise.
23484 (FLOAT): Likewise.
23485 (MATHCONST): Likewise.
23486 (PRINTF_EXPR): Likewise.
23487 (PRINTF_XEXPR): Likewise.
23488 (PRINTF_NEXPR): Likewise.
23489 (TEST_FLOAT): Likewise.
23490 (TEST_MATHVEC): Likewise.
23491 (TEST_INLINE): Likewise.
23492 (__NO_MATH_INLINES): Likewise.
23493 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
23494 and test-math-scalar.h.
23495 (FUNC): Remove macro.
23496 (FUNC_TEST): Likewise.
23497 (FLOAT): Likewise.
23498 (MATHCONST): Likewise.
23499 (PRINTF_EXPR): Likewise.
23500 (PRINTF_XEXPR): Likewise.
23501 (PRINTF_NEXPR): Likewise.
23502 (TEST_LDOUBLE): Likewise.
23503 (TEST_MATHVEC): Likewise.
23504 (TEST_INLINE): Likewise.
23505 (__NO_MATH_INLINES): Likewise.
23506 * math/test-ldouble.c: Include test-ldouble.h,
23507 test-math-no-inline.h and test-math-scalar.h.
23508 (FUNC): Remove macro.
23509 (FUNC_TEST): Likewise.
23510 (FLOAT): Likewise.
23511 (MATHCONST): Likewise.
23512 (PRINTF_EXPR): Likewise.
23513 (PRINTF_XEXPR): Likewise.
23514 (PRINTF_NEXPR): Likewise.
23515 (TEST_LDOUBLE): Likewise.
23516 (TEST_MATHVEC): Likewise.
23517 (__NO_MATH_INLINES): Likewise.
23518 * math/test-double-vlen2.h: Include test-double.h,
23519 test-math-no-inline.h and test-math-vector.h.
23520 (FLOAT): Remove macro.
23521 (FUNC): Likewise.
23522 (MATHCONST): Likewise.
23523 (PRINTF_EXPR): Likewise.
23524 (PRINTF_XEXPR): Likewise.
23525 (PRINTF_NEXPR): Likewise.
23526 (TEST_DOUBLE): Likewise.
23527 (TEST_MATHVEC): Likewise.
23528 (__NO_MATH_INLINES): Likewise.
23529 (CNCT): Likewise.
23530 (CONCAT): Likewise.
23531 (WRAPPER_NAME): Likewise.
23532 (WRAPPER_DECL): Likewise.
23533 (WRAPPER_DECL_ff): Likewise.
23534 (WRAPPER_DECL_fFF): Likewise.
23535 (VECTOR_WRAPPER): Likewise.
23536 (VECTOR_WRAPPER_ff): Likewise.
23537 (VECTOR_WRAPPER_fFF): Likewise.
23538 (VEC_LEN): New macro.
23539 * math/test-double-vlen4.h: Include test-double.h,
23540 test-math-no-inline.h and test-math-vector.h.
23541 (FLOAT): Remove macro.
23542 (FUNC): Likewise.
23543 (MATHCONST): Likewise.
23544 (PRINTF_EXPR): Likewise.
23545 (PRINTF_XEXPR): Likewise.
23546 (PRINTF_NEXPR): Likewise.
23547 (TEST_DOUBLE): Likewise.
23548 (TEST_MATHVEC): Likewise.
23549 (__NO_MATH_INLINES): Likewise.
23550 (CNCT): Likewise.
23551 (CONCAT): Likewise.
23552 (WRAPPER_NAME): Likewise.
23553 (WRAPPER_DECL): Likewise.
23554 (WRAPPER_DECL_ff): Likewise.
23555 (WRAPPER_DECL_fFF): Likewise.
23556 (VECTOR_WRAPPER): Likewise.
23557 (VECTOR_WRAPPER_ff): Likewise.
23558 (VECTOR_WRAPPER_fFF): Likewise.
23559 (VEC_LEN): New macro.
23560 * math/test-double-vlen8.h: Include test-double.h,
23561 test-math-no-inline.h and test-math-vector.h.
23562 (FLOAT): Remove macro.
23563 (FUNC): Likewise.
23564 (MATHCONST): Likewise.
23565 (PRINTF_EXPR): Likewise.
23566 (PRINTF_XEXPR): Likewise.
23567 (PRINTF_NEXPR): Likewise.
23568 (TEST_DOUBLE): Likewise.
23569 (TEST_MATHVEC): Likewise.
23570 (__NO_MATH_INLINES): Likewise.
23571 (CNCT): Likewise.
23572 (CONCAT): Likewise.
23573 (WRAPPER_NAME): Likewise.
23574 (WRAPPER_DECL): Likewise.
23575 (WRAPPER_DECL_ff): Likewise.
23576 (WRAPPER_DECL_fFF): Likewise.
23577 (VECTOR_WRAPPER): Likewise.
23578 (VECTOR_WRAPPER_ff): Likewise.
23579 (VECTOR_WRAPPER_fFF): Likewise.
23580 (VEC_LEN): New macro.
23581 * math/test-float-vlen4.h: Include test-float.h,
23582 test-math-no-inline.h and test-math-vector.h.
23583 (FLOAT): Remove macro.
23584 (FUNC): Likewise.
23585 (MATHCONST): Likewise.
23586 (PRINTF_EXPR): Likewise.
23587 (PRINTF_XEXPR): Likewise.
23588 (PRINTF_NEXPR): Likewise.
23589 (TEST_FLOAT): Likewise.
23590 (TEST_MATHVEC): Likewise.
23591 (__NO_MATH_INLINES): Likewise.
23592 (CNCT): Likewise.
23593 (CONCAT): Likewise.
23594 (WRAPPER_NAME): Likewise.
23595 (WRAPPER_DECL): Likewise.
23596 (WRAPPER_DECL_ff): Likewise.
23597 (WRAPPER_DECL_fFF): Likewise.
23598 (VECTOR_WRAPPER): Likewise.
23599 (VECTOR_WRAPPER_ff): Likewise.
23600 (VECTOR_WRAPPER_fFF): Likewise.
23601 (VEC_LEN): New macro.
23602 * math/test-float-vlen8.h: Include test-float.h,
23603 test-math-no-inline.h and test-math-vector.h.
23604 (FLOAT): Remove macro.
23605 (FUNC): Likewise.
23606 (MATHCONST): Likewise.
23607 (PRINTF_EXPR): Likewise.
23608 (PRINTF_XEXPR): Likewise.
23609 (PRINTF_NEXPR): Likewise.
23610 (TEST_FLOAT): Likewise.
23611 (TEST_MATHVEC): Likewise.
23612 (__NO_MATH_INLINES): Likewise.
23613 (CNCT): Likewise.
23614 (CONCAT): Likewise.
23615 (WRAPPER_NAME): Likewise.
23616 (WRAPPER_DECL): Likewise.
23617 (WRAPPER_DECL_ff): Likewise.
23618 (WRAPPER_DECL_fFF): Likewise.
23619 (VECTOR_WRAPPER): Likewise.
23620 (VECTOR_WRAPPER_ff): Likewise.
23621 (VECTOR_WRAPPER_fFF): Likewise.
23622 (VEC_LEN): New macro.
23623 * math/test-float-vlen16.h: Include test-float.h,
23624 test-math-no-inline.h and test-math-vector.h.
23625 (FLOAT): Remove macro.
23626 (FUNC): Likewise.
23627 (MATHCONST): Likewise.
23628 (PRINTF_EXPR): Likewise.
23629 (PRINTF_XEXPR): Likewise.
23630 (PRINTF_NEXPR): Likewise.
23631 (TEST_FLOAT): Likewise.
23632 (TEST_MATHVEC): Likewise.
23633 (__NO_MATH_INLINES): Likewise.
23634 (CNCT): Likewise.
23635 (CONCAT): Likewise.
23636 (WRAPPER_NAME): Likewise.
23637 (WRAPPER_DECL): Likewise.
23638 (WRAPPER_DECL_ff): Likewise.
23639 (WRAPPER_DECL_fFF): Likewise.
23640 (VECTOR_WRAPPER): Likewise.
23641 (VECTOR_WRAPPER_ff): Likewise.
23642 (VECTOR_WRAPPER_fFF): Likewise.
23643 (VEC_LEN): New macro.
23644 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
23645 test-vec-loop.h.
23646 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23647 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23648 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23649 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23650 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23651 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23652 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23653
23654 2015-06-24 Roland McGrath <roland@hack.frob.com>
23655
23656 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
23657 (__getlogin_r): ... this.
23658
23659 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23660
23661 [BZ #18594]
23662 * math/s_ccosh.c (__ccosh): Compare with least normal value
23663 instead of comparing class with FP_SUBNORMAL.
23664 * math/s_ccoshf.c (__ccoshf): Likewise.
23665 * math/s_ccoshl.c (__ccoshl): Likewise.
23666 * math/s_cexp.c (__cexp): Likewise.
23667 * math/s_cexpf.c (__cexpf): Likewise.
23668 * math/s_cexpl.c (__cexpl): Likewise.
23669 * math/s_csin.c (__csin): Likewise.
23670 * math/s_csinf.c (__csinf): Likewise.
23671 * math/s_csinh.c (__csinh): Likewise.
23672 * math/s_csinhf.c (__csinhf): Likewise.
23673 * math/s_csinhl.c (__csinhl): Likewise.
23674 * math/s_csinl.c (__csinl): Likewise.
23675 * math/s_ctan.c (__ctan): Likewise.
23676 * math/s_ctanf.c (__ctanf): Likewise.
23677 * math/s_ctanh.c (__ctanh): Likewise.
23678 * math/s_ctanhf.c (__ctanhf): Likewise.
23679 * math/s_ctanhl.c (__ctanhl): Likewise.
23680 * math/s_ctanl.c (__ctanl): Likewise.
23681 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
23682 csin, csinh, ctan and ctanh.
23683 * math/auto-libm-test-out: Regenerated.
23684 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
23685 * sysdeps/i386/fpu/libm-test-ulps: Update.
23686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23687
23688 2015-06-24 Roland McGrath <roland@hack.frob.com>
23689
23690 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
23691 return value is wrong, print the expected value too.
23692
23693 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
23694
23695 [BZ #18585]
23696 * elf/readlib.c (is_gdb_python_file): New.
23697 (process_file): Don't issue errors on filenames with -gdb.py
23698 suffix.
23699
23700 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23701
23702 * math/auto-libm-test-in: Add more tests of csin and csinh.
23703 * math/auto-libm-test-out: Regenerated.
23704 * math/libm-test.inc (csin_test_data): Remove tests moved to
23705 auto-libm-test-in.
23706 (csinh_test_data): Likewise.
23707
23708 [BZ #18593]
23709 * math/s_csin.c (__csin): Negate before rather than after possibly
23710 overflowing multiplication.
23711 * math/s_csinf.c (__csinf): Likewise.
23712 * math/s_csinh.c (__csinh): Likewise.
23713 * math/s_csinhf.c (__csinhf): Likewise.
23714 * math/s_csinhl.c (__csinhl): Likewise.
23715 * math/s_csinl.c (__csinl): Likewise.
23716 * math/auto-libm-test-in: Add some tests of csin and csinh.
23717 * math/auto-libm-test-out: Regenerated.
23718 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
23719 (csinh_test_data): Likewise.
23720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23721
23722 [BZ #18586]
23723 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
23724 underflow exception for small results.
23725
23726 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
23727
23728 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23729 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
23730 variable and included header.
23731 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
23732 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
23733 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
23734 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
23735 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
23736 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
23737 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
23738 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
23739 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
23740 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
23741 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
23742 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
23743 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
23744 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
23745 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
23746 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
23747
23748 2015-06-23 Joseph Myers <joseph@codesourcery.com>
23749
23750 [BZ #16526]
23751 [BZ #16538]
23752 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
23753 (__sin): Force underflow exception for arguments with small
23754 absolute value.
23755 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
23756 (__kernel_sinf): Force underflow exception for arguments with
23757 small absolute value.
23758 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
23759 (__kernel_sincosl): Force underflow exception for arguments with
23760 small absolute value.
23761 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
23762 (__kernel_sinl): Force underflow exception for arguments with
23763 small absolute value.
23764 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
23765 (__kernel_sincosl): Force underflow exception for arguments with
23766 small absolute value.
23767 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
23768 (__kernel_sinl): Force underflow exception for arguments with
23769 small absolute value.
23770 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
23771 (__kernel_sinl): Force underflow exception for arguments with
23772 small absolute value.
23773 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
23774 (__kernel_sinf): Force underflow exception for arguments with
23775 small absolute value.
23776 * math/auto-libm-test-in: Add more tests of sin and sincos.
23777 * math/auto-libm-test-out: Regenerated.
23778
23779 [BZ #18245]
23780 [BZ #18583]
23781 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
23782 (__kernel_standard_l): Use feholdexcept and fesetenv around
23783 conversion to double instead of special-casing overflow and
23784 underflow.
23785 * math/libm-test.inc (fmod_test_data): Add more tests.
23786 (remainder_test_data): Likewise.
23787 (sqrt_test_data): Likewise.
23788
23789 2015-06-23 Torvald Riegel <triegel@redhat.com>
23790
23791 [BZ #17403]
23792 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
23793 atomic_read_barrier, atomic_write_barrier): Define.
23794 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
23795 atomic_read_barrier, atomic_write_barrier): Define.
23796
23797 2015-06-23 Joseph Myers <joseph@codesourcery.com>
23798
23799 * math/Makefile [$(PERL) != no]
23800 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
23801 dependency on libm-test.stmp below the inclusion of Rules.
23802
23803 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
23804
23805 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23806 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
23807 and included header.
23808 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
23809 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
23810 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
23811 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
23812 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
23813 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
23814 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
23815 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
23816 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
23817 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
23818 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
23819 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
23820 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
23821 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
23822 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
23823 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
23824 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
23825 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
23826 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
23827
23828 2015-06-23 Joseph Myers <joseph@codesourcery.com>
23829
23830 [BZ #18371]
23831 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
23832 intermediate but not final result might underflow.
23833 * math/s_csqrtf.c (__csqrtf): Likewise.
23834 * math/s_csqrtl.c (__csqrtl): Likewise.
23835 * math/auto-libm-test-in: Add more tests of csqrt.
23836 * math/auto-libm-test-out: Regenerated.
23837 * sysdeps/i386/fpu/libm-test-ulps: Update.
23838
23839 [BZ #18219]
23840 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
23841 threshold on absolute value of exponent for which scaling is used.
23842 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23843 * math/auto-libm-test-in: Add more tests of exp2.
23844 * math/auto-libm-test-out: Regenerated.
23845
23846 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
23847
23848 [BZ #17977]
23849 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
23850 when initializing interface list, based on the bug analysis
23851 and the patch proposed by Eric Newton.
23852 * resolv/tst-res_hconf_reorder.c: New test.
23853 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
23854 tst-res_hconf_reorder.
23855 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
23856 and $(shared-thread-library).
23857 (tst-res_hconf_reorder-ENV): New variable.
23858
23859 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
23860 in comment.
23861
23862 2015-06-22 Joseph Myers <joseph@codesourcery.com>
23863
23864 [BZ #16353]
23865 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
23866 (__expm1): Force underflow exception for arguments with small
23867 absolute value.
23868 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
23869 (__expm1f): Force underflow exception for arguments with small
23870 absolute value.
23871 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
23872 (__expm1): Force underflow exception for arguments with small
23873 absolute value.
23874 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
23875 (__expm1f): Force underflow exception for arguments with small
23876 absolute value.
23877 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23878 Check for small arguments before calling __expm1.
23879 * math/auto-libm-test-in: Do not mark underflow exceptions as
23880 possibly missing for bug 16353.
23881 * math/auto-libm-test-out: Regenerated.
23882
23883 2015-06-22 Andreas Schwab <schwab@suse.de>
23884
23885 [BZ #18513]
23886 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
23887 PTR queries.
23888
23889 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
23890
23891 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
23892
23893 * string/strcoll_l.c: Remove unused struct element idxnow.
23894
23895 2015-06-21 Joseph Myers <joseph@codesourcery.com>
23896
23897 [BZ #18569]
23898 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
23899 underflow and return argument in case of subnormal argument.
23900 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23901 Likewise.
23902 * math/auto-libm-test-in: Add more tests of expm1.
23903 * math/auto-libm-test-out: Regenerated.
23904
23905 [BZ #16361]
23906 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
23907 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
23908 tiny results.
23909 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
23910 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
23911 tiny results.
23912 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
23913 mark underflow exceptions as possibly missing for bug 16361.
23914 * math/auto-libm-test-out: Regenerated.
23915
23916 2015-06-19 Joseph Myers <joseph@codesourcery.com>
23917
23918 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
23919 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
23920 Remove variable.
23921 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23922 (test-xfail-XOPEN2K8/utmpx.h/conform).
23923
23924 * conform/conformtest.pl ($xerrors): New variable.
23925 (note_error): New function.
23926 (compiletest): New argument $xfail. Use not_error.
23927 (runtest): Likewise.
23928 (top level): Handle xfail- lines. Update calls to compiletest and
23929 runtest. Handle xfail- and optional- in headers listed with
23930 allow-header.
23931 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
23932 (O_EXEC): Likewise.
23933 (O_SEARCH): Likewise.
23934 * conform/data/stropts.h-data (ioctl): Likewise.
23935 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
23936 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
23937 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
23938 (msghdr.msg_controllen): Likewise.
23939 (cmsghdr.cmsg_len): Likewise.
23940 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
23941 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
23942 variable.
23943 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23944 (test-xfail-XPG4/stropts.h/conform): Likewise.
23945 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23946 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23947 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23948 (test-xfail-UNIX98/stropts.h/conform): Likewise.
23949 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23950 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23951 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23952 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23953 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23954 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23955 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23956 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23957 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23958 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23959 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23960 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23961 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23962 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23963 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23964
23965 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
23966
23967 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
23968 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
23969 definitions for proper unfolding of __MATHDECL_VEC.
23970
23971 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
23972
23973 * benchtests/bench-strcoll.c:
23974 Include string.h.
23975 (main): Remove unused variable res.
23976
23977 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
23978
23979 * timezone/Makefile (%/UTC %/Universal):
23980 Generate test-result files for UTC and Universal.
23981
23982 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
23983
23984 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23985
23986 2015-06-18 Joseph Myers <joseph@codesourcery.com>
23987
23988 [BZ #16350]
23989 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
23990 for arguments with small absolute value.
23991 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
23992 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
23993 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
23994 (__asinh): Force underflow exception for arguments with small
23995 absolute value.
23996 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
23997 (__asinhf): Force underflow exception for arguments with small
23998 absolute value.
23999 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24000 (__asinhl): Force underflow exception for arguments with small
24001 absolute value.
24002 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24003 (__asinhl): Force underflow exception for arguments with small
24004 absolute value.
24005 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24006 (__asinhl): Force underflow exception for arguments with small
24007 absolute value.
24008 * math/auto-libm-test-in: Do not mark underflow exceptions as
24009 possibly missing for bug 16350.
24010 * math/auto-libm-test-out: Regenerated.
24011
24012 * include/bits/ipc.h: Remove file.
24013 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24014 variable.
24015 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24016 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24017 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24018 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24019 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24020 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24021 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24022 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24023 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24024
24025 * math/auto-libm-test-in: Remove spurious underflow allowance for
24026 tests of cexp.
24027 * math/auto-libm-test-out: Regenerated.
24028
24029 [BZ #18558]
24030 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24031 unconditional definition.
24032 (MCAST_BLOCK_SOURCE): Likewise.
24033 (MCAST_UNBLOCK_SOURCE): Likewise.
24034 (MCAST_LEAVE_GROUP): Likewise.
24035 (MCAST_JOIN_SOURCE_GROUP): Likewise.
24036 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24037 (MCAST_MSFILTER): Likewise.
24038 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24039 Remove variable.
24040 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24041 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24042 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24043 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24044 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24045
24046 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
24047
24048 * NEWS: Mention addition of x86_64 vector sincosf.
24049 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24050 * math/test-float-vlen4.h: Likewise.
24051 * math/test-float-vlen8.h: Likewise.
24052 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24053 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24054 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24055 * sysdeps/x86_64/fpu/Versions: New versions added.
24056 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24057 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24058 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24059 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24060 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24061 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24062 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24063 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24064 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24065 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24066 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24067 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24068 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24069 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24070 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24071 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24072 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24073 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24074 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24075 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24076 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24077 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24078 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24079 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24080
24081 * NEWS: Mention addition of x86_64 vector sincos.
24082 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24083 * math/math.h (__MATHDECL_VEC): New macro.
24084 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24085 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24086 declaration under condition.
24087 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24088 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24089 TEST_VEC_LOOP change.
24090 * math/test-double-vlen4.h: Likewise.
24091 * math/test-double-vlen8.h: Likewise.
24092 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24093 * math/test-float-vlen4.h: Likewise.
24094 * math/test-float-vlen8.h: Likewise.
24095 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24096 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24097 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24098 * sysdeps/x86_64/fpu/Versions: New versions added.
24099 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24100 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24101 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24102 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24103 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24104 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24105 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24106 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24107 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24108 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24109 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24110 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24111 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24112 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24113 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24114 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24115 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24116 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24117 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24118 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24119 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24120 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24121 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24122 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24123
24124 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24125 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24126 redirections for powf.
24127 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24128 * sysdeps/x86_64/fpu/Versions: New versions added.
24129 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24130 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24131 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24132 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24133 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24134 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24135 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24136 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24137 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24138 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24139 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24140 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24141 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24142 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24143 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24144 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24145 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24146 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24147 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24148 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24149 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24150 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24151 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24152 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24153 * math/test-float-vlen16.h: Fixed 2 argument macro.
24154 * math/test-float-vlen4.h: Likewise.
24155 * math/test-float-vlen8.h: Likewise.
24156 * NEWS: Mention addition of x86_64 vector powf.
24157
24158 2015-06-17 Joseph Myers <joseph@codesourcery.com>
24159
24160 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24161 and redefine.
24162 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24163 and redefine.
24164 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24165 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24166 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24167
24168 [BZ #18553]
24169 * resource/getpriority.c (getpriority): Rename to __getpriority
24170 and define as weak alias of __getpriority.
24171 * resource/setpriority.c (setpriority): Rename to __setpriority
24172 and define as weak alias of __setpriority.
24173 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24174 __getpriority and define as weak alias of __getpriority.
24175 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24176 __setpriority and define as weak alias of __setpriority.
24177 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24178 strong name.
24179 (setpriority): Use __setpriority as strong name.
24180 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24181 __getpriority and define as weak alias of __getpriority.
24182 * include/sys/resource.h (__getpriority): Declare. Use
24183 libc_hidden_proto.
24184 (__setpriority): Likewise.
24185 (getpriority): Don't use libc_hidden_proto.
24186 (setpriority): Likewise.
24187 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24188 getpriority. Call __setpriority instead of setpriority.
24189 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
24190 Remove variable.
24191
24192 [BZ #18547]
24193 * misc/getttyent.c (getttynam): Rename to __getttynam and define
24194 as weak alias of __getttynam. Use prototype function definition.
24195 Call __setttyent, __getttyent and __endttyent instead of
24196 setttyent, getttyent and endttyent.
24197 (getttyent): Rename to __getttyent and define as weak alias of
24198 __getttyent. Call __setttyent instead of setttyent. Call
24199 __fgets_unlocked instead of fgets_unlocked.
24200 (setttyent): Rename to __setttyent and define as weak alias of
24201 __setttyent.
24202 (endttyent): Rename to __endttyent and define as weak alias of
24203 __endttyent.
24204 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
24205 (__setttyent): Likewise.
24206 (__endttyent): Likewise.
24207 (getttyent): Don't use libc_hidden_proto.
24208 (setttyent): Likewise.
24209 (endttyent): Likewise.
24210 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
24211 __endttyent instead of setttyent, getttyent and endttyent.
24212 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
24213 Remove variable.
24214
24215 [BZ #18546]
24216 * socket/recv.c (__recv): Use libc_hidden_def.
24217 * socket/socket.c (__socket): Likewise.
24218 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24219 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24220 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
24221 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
24222 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
24223 libc_hidden_def.
24224 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
24225 libc_hidden_weak.
24226 * include/sys/socket.h (__socket): Do not use attribute_hidden.
24227 Use libc_hidden_proto.
24228 (__recv): Likewise.
24229 * socket/Versions (libc): Export __recv and __socket at version
24230 GLIBC_PRIVATE.
24231 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
24232 instead of recv.
24233 (init_mq_netlink): Call __socket instead of socket.
24234 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
24235 Remove variable.
24236
24237 [BZ #18545]
24238 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
24239 __mq_timedreceive and define as alias of __mq_timedreceive. Use
24240 hidden_weak.
24241 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
24242 define as alias of __mq_timedsend. Use hidden_weak.
24243 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
24244 __mq_timedsend as strong name.
24245 (mq_timedreceive): Use __mq_timedreceive as strong name.
24246 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
24247 (__mq_timedreceive): Likewise.
24248 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
24249 __mq_timedreceive instead of mq_timedreceive.
24250 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
24251 instead of mq_timedsend.
24252 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
24253 Remove variable.
24254
24255 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
24256 hidden_def and hidden_weak instead of libc_hidden_def and
24257 libc_hidden_weak.
24258 (top level): Refer to hidden_def in comment.
24259 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
24260 macro. Use it instead of libc_hidden_def.
24261 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
24262 specify __GI_* name explicitly.
24263 (mq_timedreceive): Likewise.
24264 (mq_setattr): Likewise.
24265
24266 [BZ #18544]
24267 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
24268 __pthread_barrier_init and define as weak alias of
24269 __pthread_barrier_init.
24270 * sysdeps/sparc/nptl/pthread_barrier_init.c
24271 (pthread_barrier_init): Likewise.
24272 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
24273 __pthread_barrier_wait and define as weak alias of
24274 __pthread_barrier_wait.
24275 * sysdeps/sparc/nptl/pthread_barrier_wait.c
24276 (pthread_barrier_wait): Likewise.
24277 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24278 (pthread_barrier_wait): Likewise.
24279 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
24280 (pthread_barrier_wait): Likewise.
24281 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
24282 (pthread_barrier_wait): Likewise.
24283 * nptl/Versions (libpthread): Export __pthread_barrier_init and
24284 __pthread_barrier_wait at version GLIBC_PRIVATE.
24285 * include/pthread.h (__pthread_barrier_init): Declare.
24286 (__pthread_barrier_wait): Likewise.
24287 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
24288 Call __pthread_barrier_wait instead of pthread_barrier_wait.
24289 (helper_thread): Likewise.
24290 (init_mq_netlink): Call __pthread_barrier_init instead of
24291 pthread_barrier_init.
24292
24293 [BZ #18542]
24294 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
24295 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
24296 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
24297 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
24298 vswscanf.
24299 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
24300 Remove variable.
24301
24302 [BZ #18540]
24303 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
24304 strong alias of _IO_fflush. Use libc_hidden_def.
24305 * libio/iofflush_u.c (fflush_unlocked): Rename to
24306 __fflush_unlocked and define as weak alias of __fflush_unlocked.
24307 Use libc_hidden_weak.
24308 * include/stdio.h (__fflush_unlocked): Declare. Use
24309 libc_hidden_proto.
24310 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
24311 fflush_unlocked.
24312 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
24313 Remove variable.
24314
24315 [BZ #18539]
24316 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
24317 define as weak alias of __addseverity.
24318 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
24319 Remove variable.
24320 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24321 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24322 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24323
24324 [BZ #18536]
24325 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
24326 (__tfind): Likewise.
24327 (__tdelete): Likewise.
24328 (__twalk): Likewise.
24329 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
24330 __twalk to GLIBC_PRIVATE.
24331 * include/search.h (__tsearch): Use libc_hidden_proto.
24332 (__tfind): Likewise.
24333 (__tdelete): Likewise.
24334 (__twalk): Likewise.
24335 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
24336 Call __tdelete instead of tdelete.
24337 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
24338 tfind. Call __tsearch instead of tsearch.
24339 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
24340 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
24341 Remove variable.
24342 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24343
24344 [BZ #18534]
24345 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
24346 (dprintf): Define as a weak alias of __dprintf, not a strong
24347 alias.
24348 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
24349 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
24350 dprintf.
24351 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
24352 Remove variable.
24353 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24354 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24355
24356 [BZ #18533]
24357 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
24358 not a strong alias.
24359 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
24360 Remove variable.
24361
24362 [BZ #18532]
24363 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
24364 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
24365 (in6addr_loopback): Rename to __in6addr_loopback and define as
24366 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
24367 * include/netinet/in.h (__in6addr_loopback): Declare. Use
24368 libc_hidden_proto.
24369 (__in6addr_any): Likewise.
24370 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
24371 in6addr_any.
24372 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
24373 variable.
24374 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24375
24376 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
24377
24378 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
24379 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
24380 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24381 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24382 redirections for pow.
24383 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24384 * sysdeps/x86_64/fpu/Versions: New versions added.
24385 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24386 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24387 build of SSE, AVX2 and AVX512 IFUNC versions.
24388 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
24389 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
24390 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
24391 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
24392 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
24393 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
24394 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
24395 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
24396 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
24397 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
24398 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
24399 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
24400 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
24401 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
24402 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24403 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24404 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24405 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24406 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24407 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24408 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24409 * NEWS: Mention addition of x86_64 vector pow.
24410
24411 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24412 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24413 redirections for expf.
24414 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24415 * sysdeps/x86_64/fpu/Versions: New versions added.
24416 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24417 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24418 build of SSE, AVX2 and AVX512 IFUNC versions.
24419 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
24420 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
24421 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
24422 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
24423 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
24424 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
24425 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
24426 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
24427 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
24428 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
24429 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
24430 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
24431 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
24432 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24433 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24434 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24435 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24436 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24437 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24438 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24439 * NEWS: Mention addition of x86_64 vector expf.
24440
24441 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
24442 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
24443 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24444 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24445 redirections for exp.
24446 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24447 * sysdeps/x86_64/fpu/Versions: New versions added.
24448 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24449 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24450 build of SSE, AVX2 and AVX512 IFUNC versions.
24451 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
24452 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
24453 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
24454 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
24455 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
24456 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
24457 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
24458 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
24459 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
24460 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
24461 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
24462 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
24463 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
24464 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24465 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24466 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24467 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24468 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24469 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24470 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24471 * NEWS: Mention addition of x86_64 vector exp.
24472
24473 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24474 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24475 redirections for logf.
24476 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24477 * sysdeps/x86_64/fpu/Versions: New versions added.
24478 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24479 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24480 build of SSE, AVX2 and AVX512 IFUNC versions.
24481 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
24482 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
24483 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
24484 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
24485 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
24486 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
24487 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
24488 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
24489 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
24490 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
24491 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
24492 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
24493 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
24494 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24495 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24496 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24497 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24498 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24499 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24500 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24501 * NEWS: Mention addition of x86_64 vector logf.
24502
24503 * bits/libm-simd-decl-stubs.h: Added stubs for log.
24504 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
24505 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24506 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24507 redirections for log.
24508 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24509 * sysdeps/x86_64/fpu/Versions: New versions added.
24510 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24511 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24512 build of SSE, AVX2 and AVX512 IFUNC versions.
24513 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
24514 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
24515 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
24516 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
24517 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
24518 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
24519 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
24520 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
24521 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
24522 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
24523 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
24524 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
24525 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
24526 test.
24527 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24528 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24529 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24530 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24531 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24532 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24533 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24534 * NEWS: Mention addition of x86_64 vector log.
24535
24536 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
24537
24538 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
24539 cfi_adjust_cfa_offset argument.
24540 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
24541 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
24542
24543 [BZ #18034]
24544 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
24545 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
24546 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
24547 ordering using ldar.
24548 (_dl_tlsdesc_dynamic): Likewise.
24549 (_dl_tlsdesc_return_lazy): Likewise.
24550 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
24551 relaxed atomics instead of volatile and synchronize with release store.
24552 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
24553 volatile.
24554 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24555
24556 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
24557
24558 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24559 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
24560 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24561 * sysdeps/x86_64/fpu/Versions: New versions added.
24562 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24563 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24564 build of SSE, AVX2 and AVX512 IFUNC versions.
24565 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
24566 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
24567 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
24568 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
24569 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
24570 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
24571 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
24572 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
24573 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
24574 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
24575 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
24576 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
24577 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
24578 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24579 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24580 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24581 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24582 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24583 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24584 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24585 * NEWS: Mention addition of x86_64 vector sinf.
24586
24587 2015-06-14 Joseph Myers <joseph@codesourcery.com>
24588
24589 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
24590 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
24591 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
24592 Remove variable.
24593 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24594 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24595
24596 2015-06-12 Joseph Myers <joseph@codesourcery.com>
24597
24598 [BZ #18530]
24599 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
24600 strong alias of _IO_fputs. Use libc_hidden_def.
24601 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
24602 and define as weak alias of __fputs_unlocked. Use
24603 libc_hidden_weak.
24604 * include/stdio.h (__fputs_unlocked): Declare. Use
24605 libc_hidden_proto.
24606 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
24607 fputs_unlocked.
24608
24609 [BZ #18529]
24610 * resolv/netdb.h [__USE_POSIX]: Change condition to
24611 [__USE_XOPEN2K].
24612 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
24613 not expect.
24614 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
24615 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
24616 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
24617 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
24618 [XPG4 || UNIX98] (AI_ALL): Likewise.
24619 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
24620 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
24621 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
24622 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
24623 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
24624 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
24625 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
24626 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
24627 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
24628 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
24629 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
24630 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
24631 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
24632 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
24633 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
24634 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24635 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24636 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
24637 [XPG4 || UNIX98] (gai_strerror): Likewise.
24638 [XPG4 || UNIX98] (getaddrinfo): Likewise.
24639 [XPG4 || UNIX98] (getnameinfo): Likewise.
24640
24641 [BZ #18528]
24642 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
24643 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
24644 __USE_XOPEN2K8].
24645 (getgrent): Likewise.
24646 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
24647 expect.
24648 [XPG3 || POSIX2008] (endgrent): Likewise.
24649 [XPG3] (setgrent): Likewise.
24650 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
24651 variable.
24652 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24653
24654 [BZ #18527]
24655 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
24656 define as weak alias of __getlogin_r. Use libc_hidden_weak.
24657 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
24658 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
24659 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
24660 * include/unistd.h (__getlogin_r): Declare. Use
24661 libc_hidden_proto.
24662 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
24663 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
24664 variable.
24665 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24666 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24667 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24668
24669 2015-06-12 Martin Sebor <msebor@redhat.com>
24670
24671 [BZ #18512]
24672 * Makerules (check-install-supported): New target.
24673 (install): Add check-install-supported as a dependency.
24674 * manual/install.texi (Installing the C Library): Document
24675 that overriding prefix and exec_prefix is not supported.
24676 Mention DESTDIR.
24677 * INSTALL: Regenerate from the above.
24678
24679 2015-06-12 Joseph Myers <joseph@codesourcery.com>
24680
24681 [BZ #18519]
24682 * posix/Versions (libc): Export __libc_pread at version
24683 GLIBC_PRIVATE.
24684 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
24685 instead of pread.
24686 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
24687 variable.
24688
24689 [BZ #18522]
24690 * misc/efgcvt_r.c
24691 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
24692 (cvt_symbol): Use weak_alias instead of strong_alias.
24693 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
24694 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
24695 Remove variable.
24696 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24697 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24698
24699 [BZ #18520]
24700 * inet/herrno.c (h_errno): Rename to __h_errno.
24701 (__libc_h_errno): Define as alias of __h_errno not h_errno.
24702 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
24703 to __h_errno instead of h_errno.
24704 * nptl/herrno.c (h_errno): Rename to __h_errno.
24705 (__h_errno_location): Refer to __h_errno not h_errno.
24706 * resolv/Versions (h_errno): Rename to __h_errno.
24707 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
24708 Remove variable.
24709 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24710
24711 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
24712
24713 * configure.ac: More strict check for AVX512 assembler support.
24714 * configure: Regenerated.
24715
24716 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
24717 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
24718 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24719 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
24720 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24721 * sysdeps/x86_64/fpu/Versions: New versions added.
24722 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24723 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24724 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24725 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
24726 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
24727 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
24728 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
24729 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
24730 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
24731 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
24732 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
24733 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
24734 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
24735 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
24736 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
24737 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
24738 test.
24739 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24740 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24741 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24742 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24743 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24744 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24745 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24746 * NEWS: Mention addition of x86_64 vector sin.
24747
24748 2015-06-11 Florian Weimer <fweimer@redhat.com>
24749
24750 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
24751 comment.
24752
24753 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
24754
24755 [BZ #18479]
24756 * nptl/pt-interp.c: New file.
24757 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
24758 Add pt-interp.
24759 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
24760 $(common-objpfx)runtime-linker.h.
24761
24762 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
24763
24764 * Makeconfig (+interp): Remove unused variable.
24765 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
24766 only. Depend on $(common-objpfx)runtime-linker.h instead of
24767 $(elf-objpfx)runtime-linker.h.
24768 ($(elf-objpfx)runtime-linker.h): Rename to
24769 $(common-objpfx)runtime-linker.h and move ...
24770 * Makerules [$(build-shared) = yes]: ... here.
24771 * elf/interp.c: Include <runtime-linker.h> instead of
24772 <elf/runtime-linker.h>.
24773
24774 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24775
24776 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
24777 (__gettimeofday_syscall): Remove vsyscall fallback.
24778 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
24779 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
24780 Add syscall fallback function.
24781 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
24782 if vDSO is not present.
24783 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
24784 fallback function.
24785 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
24786 present.
24787 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
24788 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24789
24790 2015-06-09 Joseph Myers <joseph@codesourcery.com>
24791
24792 [BZ #18497]
24793 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
24794 of wcscmp.
24795 (wcscmp): Define as weak alias of WCSCMP.
24796 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
24797 wcscoll.
24798 (USE_HIDDEN_DEF): Define.
24799 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
24800 __wcscoll. Don't use libc_hidden_weak.
24801 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
24802 wcscmp.
24803 * sysdeps/i386/i686/multiarch/wcscmp-c.c
24804 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
24805 __GI_wcscmp.
24806 (weak_alias): Undefine and redefine.
24807 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
24808 __wcscmp and define as weak alias of __wcscmp.
24809 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
24810 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
24811 (__wcscoll): Likewise.
24812 (wcscmp): Don't use libc_hidden_proto.
24813 (wcscoll): Likewise.
24814 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
24815 wcscoll.
24816 * posix/regexec.c (check_node_accept_bytes): Likewise.
24817 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
24818 variable.
24819 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24820 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24821
24822 [BZ #18507]
24823 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
24824 __fstatvfs and define as weak alias of __fstatvfs. Use
24825 libc_hidden_weak.
24826 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
24827 and define as weak alias of __statvfs. Use libc_hidden_weak.
24828 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
24829 Define as alias of __fstatvfs, not fstatvfs.
24830 (fstatvfs64): Likewise.
24831 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
24832 Define as alias of __statvfs, not statvfs.
24833 (statvfs64): Likewise.
24834 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
24835 Remove variable.
24836
24837 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24838
24839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24840 (HAVE_GETCPU_VSYSCALL): Define.
24841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24842 (HAVE_GETCPU_VSYSCALL): Likewise.
24843 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
24844 * sysdeps/unix/sysv/linux/sched_getcpu.c
24845 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
24846 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
24847 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
24848 prototype.
24849 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24850 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
24851 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
24852 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
24853 Define.
24854 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
24855 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24856 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
24857 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24858
24859 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
24860
24861 * sysdeps/x86_64/fpu/Makefile: New file.
24862 * sysdeps/x86_64/fpu/Versions: New file.
24863 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
24864 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
24865 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
24866 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
24867 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
24868 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
24869 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
24870 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
24871 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
24872 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
24873 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
24874 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
24875 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
24876 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24877 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24878 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
24879 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
24880 * sysdeps/x86_64/configure.ac: Options for libmvec build.
24881 * sysdeps/x86_64/configure: Regenerated.
24882 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
24883 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
24884 * manual/install.texi (Configuring and compiling): Document
24885 --disable-mathvec.
24886 * INSTALL: Regenerated.
24887 * NEWS: Mention addition of libmvec and x86_64 vector cos.
24888
24889 * math/Makefile: Added rules for vector tests.
24890 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
24891 declaration under condition.
24892 * math/test-double-vlen2.h: New file.
24893 * math/test-double-vlen4.h: New file.
24894 * math/test-double-vlen8.h: New file.
24895 * math/test-vec-loop.h: Added initialization macro.
24896 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
24897 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
24898 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
24899 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
24900 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
24901 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
24902 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
24903 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
24904 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
24905 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
24906 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
24907
24908 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24909 * sysdeps/x86_64/fpu/Versions: New versions added.
24910 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
24911 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
24912 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
24913 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
24914 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
24915 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
24916 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
24917 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
24918 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
24919 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
24920 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
24921 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
24922 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
24923 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24924 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24925 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24926 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
24927 * NEWS: Mention addition of x86_64 vector cosf.
24928
24929 * math/Makefile: Added CFLAGS for new tests.
24930 * math/test-float-vlen16.h: New file.
24931 * math/test-float-vlen4.h: New file.
24932 * math/test-float-vlen8.h: New file.
24933 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
24934 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
24935 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24936 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
24937 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
24938 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
24939 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
24940 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
24941 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
24942 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
24943 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
24944
24945 2015-06-09 Marko Myllynen <myllynen@redhat.com>
24946
24947 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
24948 * locale/programs/ld-ctype.c: Likewise.
24949
24950 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
24951
24952 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
24953 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
24954 bit_ZMM16_31_state): New macro.
24955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24956 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
24957
24958 2015-06-08 Joseph Myers <joseph@codesourcery.com>
24959
24960 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
24961
24962 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
24963
24964 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
24965
24966 2015-06-05 Joseph Myers <joseph@codesourcery.com>
24967
24968 [BZ #18498]
24969 * libio/memstream.c (open_memstream): Rename to __open_memstream
24970 and define as weak alias of __open_memstream.
24971 * include/stdio.h (__open_memstream): Declare. Use
24972 libc_hidden_proto.
24973 (open_memstream): Don't use libc_hidden_proto.
24974 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
24975 open_memstream.
24976 * posix/getopt.c (_getopt_internal_r): Likewise.
24977 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
24978 variable.
24979 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24980 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24981 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24982
24983 [BZ #18496]
24984 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
24985 instead of wcrtomb.
24986
24987 [BZ #18483]
24988 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
24989 [__USE_XOPEN2K8]. Remove redundant #endif.
24990 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
24991 Remove redundant #if.
24992 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
24993 Remove variable.
24994 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24995 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24996
24997 [BZ #18495]
24998 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
24999 (__iswlower): Likewise.
25000 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
25001 (__iswlower): Likewise.
25002 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25003 instead of towlower.
25004 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25005 instead of iswlower. Call __towupper instead of towupper.
25006 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25007 instead of iswalnum.
25008
25009 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25010
25011 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25012 errors to stderr.
25013
25014 2015-06-05 Florian Weimer <fweimer@redhat.com>
25015
25016 [BZ #15661]
25017 [BZ #17322]
25018 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25019 Check for overflow properly. Check for O_APPEND. Ignore large
25020 file system block sizes. Add comments about problems.
25021 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25022 * manual/filesys.texi (Storage Allocation): New node.
25023
25024 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25025
25026 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25027 cancellable syscalls.
25028 (SYS_ify): Add guard to no redefine it.
25029 (INLINE_SYSCALL): Likewise.
25030 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25031 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25032 SYSCALL_CANCEL instead.
25033 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25034 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25035 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25036 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25037 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25038 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25039 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25040 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25041 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25042 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25043 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25044 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25045 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25046 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25047 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25048 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25049 Likewise.
25050 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25051 (__libc_pread64): Likewise.
25052 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25053 (__libc_preadv): Likewise.
25054 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25055 (__libc_readv64): Likewise.
25056 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25057 (__libc_pwrite): Likewise.
25058 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25059 (__libc_pwrite64): Likewise.
25060 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25061 (__libc_pwritev): Likewise.
25062 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25063 (__libc_pwritev64): Likewise.
25064 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25065 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25066 (sync_file_range): Likewise.
25067 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25068 Likewise.
25069 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25070 Likewise.
25071 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25072 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25073 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25074 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25075 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25076 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25077 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25078 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25080 Likewise.
25081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25082 (__libc_read64): Likewise.
25083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25084 Likewise.
25085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25086 Likewise.
25087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25088 Likewise.
25089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25090 Likewise.
25091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25092 (__libc_pread64): Likewise.
25093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25094 Likewise.
25095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25096 (__libc_pwrite64): Likewise.
25097 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25098 (sync_file_range): Likewise.
25099 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25100 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25101 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25102 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25103 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25104 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25105 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25106 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25107 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25108 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25109 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25110 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25111 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25112 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25113 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25114 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25115 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25116 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25117 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25118 Likewise.
25119 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25120 Likewise.
25121 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25122 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25123 Likewise.
25124 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25125 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25126 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25127 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25128 Likewise.
25129 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25130 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25131 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25132 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25133 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25134
25135 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
25136
25137 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25138 Include dl-vdso.
25139 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25140 Use VDSO routines for gettimeofday, clock_gettime if
25141 available.
25142 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25143 Declare VDSO symbols.
25144 * sysdeps/unix/sysv/linux/arm/sysdep.h:
25145 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25146 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25147 * sysdeps/unix/sysv/linux/arm/Versions: Add
25148 __vdso_clock_gettime.
25149
25150 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25151
25152 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25153 be an inline implementation regardless of library is built within.
25154 (open_not_cancel_2): Likewise.
25155 (__read_nocancel): Likewise.
25156 (__write_nocancel): Likewise.
25157 (openat_not_cancel): Likewise.
25158 (openat_not_cancel_3): Likewise.
25159 (openat64_not_cancel): Likewise.
25160 (openat64_not_cancel_3): Likewise.
25161 (__close_nocancel): Likewise.
25162 (pause_not_cancel): Likewise.
25163 (nanosleep_not_cancel): Likewise.
25164 (sigsuspend_not_cancel): Likewise.
25165
25166 2015-06-04 Torvald Riegel <triegel@redhat.com>
25167
25168 [BZ #14958]
25169 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25170 wake-up.
25171 (__pthread_rwlock_rdlock_slow): Likewise.
25172 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25173 Likewise.
25174 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25175 Likewise.
25176 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25177 * nptl/tst-rwlock16.c: New file.
25178 * nptl/Makefile (tests): Add new test.
25179
25180 2015-06-04 Torvald Riegel <triegel@redhat.com>
25181
25182 [BZ #18324]
25183 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25184 missing wake-up of readers.
25185 * nptl/tst-rwlock15.c: New file.
25186 * nptl/Makefile (tests): Add new test.
25187
25188 2015-06-03 Roland McGrath <roland@hack.frob.com>
25189
25190 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
25191 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
25192 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
25193 and __nacl_supply_interface_rtld.
25194 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
25195 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
25196 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
25197 Add __nacl_supply_interface_rtld.
25198 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
25199
25200 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25201
25202 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
25203 isfinite.
25204 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25205 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
25206
25207 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25208
25209 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
25210 __signbit* with standard C99 macros.
25211 * math/e_exp10l.c: Likewise.
25212 * math/e_exp2l.c: Likewise.
25213 * math/e_scalb.c: Likewise.
25214 * math/e_scalbf.c: Likewise.
25215 * math/e_scalbl.c: Likewise.
25216 * math/s_ldexp.c: Likewise.
25217 * math/s_ldexpf.c: Likewise.
25218 * math/s_ldexpl.c: Likewise.
25219 * math/w_atan2.c: Likewise.
25220 * math/w_atan2f.c: Likewise.
25221 * math/w_atan2l.c: Likewise.
25222 * math/w_cosh.c: Likewise.
25223 * math/w_coshf.c: Likewise.
25224 * math/w_coshl.c: Likewise.
25225 * math/w_exp10.c: Likewise.
25226 * math/w_exp10f.c: Likewise.
25227 * math/w_exp10l.c: Likewise.
25228 * math/w_exp2.c: Likewise.
25229 * math/w_exp2f.c: Likewise.
25230 * math/w_exp2l.c: Likewise.
25231 * math/w_fmod.c: Likewise.
25232 * math/w_fmodf.c: Likewise.
25233 * math/w_fmodl.c: Likewise.
25234 * math/w_hypot.c: Likewise.
25235 * math/w_hypotf.c: Likewise.
25236 * math/w_hypotl.c: Likewise.
25237 * math/w_jnl.c: Likewise.
25238 * math/w_lgamma.c: Likewise.
25239 * math/w_lgamma_r.c: Likewise.
25240 * math/w_lgammaf.c: Likewise.
25241 * math/w_lgammaf_r.c: Likewise.
25242 * math/w_lgammal.c: Likewise.
25243 * math/w_lgammal_r.c: Likewise.
25244 * math/w_pow.c: Likewise.
25245 * math/w_powf.c: Likewise.
25246 * math/w_powl.c: Likewise.
25247 * math/w_remainder.c: Likewise.
25248 * math/w_remainderf.c: Likewise.
25249 * math/w_remainderl.c: Likewise.
25250 * math/w_scalb.c: Likewise.
25251 * math/w_scalbf.c: Likewise.
25252 * math/w_scalbl.c: Likewise.
25253 * math/w_scalbln.c: Likewise.
25254 * math/w_scalblnf.c: Likewise.
25255 * math/w_scalblnl.c: Likewise.
25256 * math/w_sinh.c: Likewise.
25257 * math/w_sinhf.c: Likewise.
25258 * math/w_sinhl.c: Likewise.
25259 * math/w_tgamma.c: Likewise.
25260 * math/w_tgammaf.c: Likewise.
25261 * math/w_tgammal.c: Likewise.
25262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25263 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
25264 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25265 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25266 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25268 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25269 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25270 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25271 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25272 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25273 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25274 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25275 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25276 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25277 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25278 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25279 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25280 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25281 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25282 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25283 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25284 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25285 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25286 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25287 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25288 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
25289 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25290 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25291 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25292 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
25293 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
25294 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
25295 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
25296 * stdio-common/printf_fp.c: Likewise.
25297 * stdio-common/printf_fphex.c: Likewise.
25298 * stdio-common/printf_size.c: Likewise.
25299
25300 2015-06-03 Joseph Myers <joseph@codesourcery.com>
25301
25302 [BZ #18470]
25303 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
25304 strnlen.
25305 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
25306 Remove variable.
25307 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25308 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25309 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25310 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25311 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25312 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25313 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25314 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25315 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25316 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25317
25318 [BZ #18468]
25319 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
25320 weak alias of __wmemchr. Use libc_hidden_weak.
25321 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
25322 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
25323 instead of wmemchr.
25324
25325 2015-06-02 Roland McGrath <roland@hack.frob.com>
25326
25327 [BZ #18383]
25328 * elf/tst-tlsalign-extern.c: New file.
25329 * elf/tst-tlsalign-extern-static.c: New file.
25330 * elf/tst-tlsalign-vars.c: New file.
25331 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
25332 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
25333 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
25334 ($(objpfx)tst-tlsalign-extern-static): Likewise.
25335 (test-xfail-tst-tlsalign-extern-static): New variable.
25336
25337 2015-06-02 Joseph Myers <joseph@codesourcery.com>
25338
25339 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
25340 Use variable name _sc_err instead of err.
25341 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
25342 instead of ret.
25343 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
25344 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
25345 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
25346 (INLINE_SYSCALL): Likewise.
25347
25348 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
25349 * include/string.h (__strnlen): Use libc_hidden_proto.
25350 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
25351 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
25352 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
25353 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
25354 (libc_hidden_def): Undefine and redefine.
25355 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
25356 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
25357 __GI_strnlen.
25358 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
25359 libc_hidden_def.
25360 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
25361
25362 [BZ #18469]
25363 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
25364 weak alias of __towlower. Use libc_hidden_weak.
25365 (towupper): Rename to __towupper and define as weak alias of
25366 __towupper. Use libc_hidden_weak.
25367 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
25368 (__towupper): Likewise.
25369 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
25370 __towlower instead of towlower.
25371
25372 2015-06-02 Roland McGrath <roland@hack.frob.com>
25373
25374 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
25375 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
25376
25377 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25378
25379 * sysdeps/aarch64/libm-test-ulps: Update.
25380
25381 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25382
25383 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
25384 Define.
25385 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25387 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25388 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25389 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
25390 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
25391 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
25392
25393 2015-06-01 Martin Sebor <msebor@redhat.com>
25394
25395 [BZ #18116]
25396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25397 (__setcontext): Use extended four-operand version of mtsf whenever
25398 possible.
25399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25400 (__novec_swapcontext): Likewise.
25401
25402 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25403
25404 * benchtests/scripts/compare_bench.py: New file.
25405 * benchtests/scripts/import_bench.py (mean): New function.
25406 (split_list): Likewise.
25407 (do_for_all_timings): Likewise.
25408 (compress_timings): Likewise.
25409
25410 * benchtests/scripts/import_bench.py: New file.
25411 * benchtests/scripts/validate_benchout.py: Import import_bench
25412 instead of jsonschema.
25413 (validate_bench): Remove function.
25414 (main): Use import_bench.
25415
25416 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
25417
25418 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
25419 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
25420
25421 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25422
25423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25424
25425 2015-05-28 Roland McGrath <roland@hack.frob.com>
25426
25427 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
25428 set THREAD_SELF->tid to a magic value and futex-wake it.
25429 Pass its address to the thread_exit system call.
25430 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
25431 bit is clear.
25432 * sysdeps/nacl/lowlevellock.h: New file.
25433 * sysdeps/nacl/lll_timedwait_tid.c: New file.
25434
25435 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
25436 Add TIMEOUT to current time, don't subtract it.
25437
25438 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
25439
25440 [BZ #2981]
25441 [BZ #18422]
25442 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
25443 ($(objpfx)tst-audit2.out): Also depend on
25444 $(objpfx)tst-auditmod9b.so.
25445 * elf/tst-audit2.c: Include <dlfcn.h>.
25446 (calloc_called): New.
25447 (calloc): Allow to be called more than once.
25448 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
25449
25450 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
25451
25452 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
25453 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
25454
25455 2015-05-27 Marko Myllynen <myllynen@redhat.com>
25456
25457 * stdlib/monetary.h: Fix comment.
25458
25459 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
25460
25461 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
25462 Avoid using variables in #defines that might cause shadowing.
25463 (INTERNAL_VSYSCALL_CALL): Likewise.
25464
25465 2015-05-26 Roland McGrath <roland@hack.frob.com>
25466
25467 * sysdeps/nacl/lll_timedlock_wait.c: New file.
25468
25469 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
25470 * nptl/lll_timedlock_wait.c: ... to this new file.
25471 * nptl/Makefile (libpthread-routines): Add it.
25472 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
25473 * nptl/lll_timedwait_tid.c: ... to this new file.
25474 * nptl/Makefile (libpthread-routines): Add it.
25475 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
25476 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
25477 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
25478 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
25479 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
25480 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
25481 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
25482 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
25483 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
25484 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
25485
25486 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25487
25488 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
25489 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25490 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25491 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
25492 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
25493 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25494 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25495 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25496 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25497 * sysdeps/unix/sysv/linux/tile/sysdep.h
25498 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25499 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
25500 using vDSO syscall macro.
25501
25502 2015-05-26 Andriy Rysin <arysin@gmail.com>
25503
25504 [BZ #17293]
25505 * uk_UA: Fix sorting order for Ukrainian locale
25506
25507 2015-05-26 Marko Myllynen <myllynen@redhat.com>
25508
25509 * stdlib/monetary.h: Fix comment.
25510
25511 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
25512
25513 [BZ #18234]
25514 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
25515 st_mtim and st_ctim members.
25516 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
25517 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
25518 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
25519 (struct stat64): Likewise.
25520 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
25521 (struct stat64): Likewise.
25522 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
25523 (struct stat64): Likewise.
25524
25525 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25526
25527 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
25528 Define and include sysdep-vdso.h.
25529 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
25530 Likewise.
25531 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
25532 Likewise.
25533 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
25534 Define with VDSO_SYMBOL and use PTR_MANGLE.
25535 (__vdso_clock_gettime): Likewise.
25536 (__vdso_clock_getres): Likewise.
25537 (_libc_vdso_platform_setup): Likewise.
25538 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25539 Likewise.
25540 (_libc_vdso_platform_setup): Likewise.
25541 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
25542 Likewise.
25543 (__vdso_clock_gettime): Likewise.
25544 (__vdso_clock_getres): Likewise.
25545 (__vdso_get_tbfreq): Likewise.
25546 (__vdso_getcpu): Likewise.
25547 (__vdso_time): Likewise.
25548 (__vdso_sigtramp_rt64): Likewise.
25549 (__vdso_signtramp32): Likewise.
25550 (__vdso_sigtramp_rt32): Likewise.
25551 (_libc_vdso_platform_setup): Likewise.
25552 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
25553 Likewise.
25554 (__vdso_clock_gettime): Likewise.
25555 (__vdso_clock_getres): Likewise.
25556 (_libc_vdso_platform_setup): Likewise.
25557 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
25558 Likewise.
25559 (__vdso_clock_gettime): Likewise.
25560 (_libc_vdso_platform_setup): Likewise.
25561 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25562 Likewise.
25563 (__vdso_getcpu): Likewise.
25564 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
25565 Use VDSO_SYMBOL macro to define.
25566 (__vdso_clock_gettime): Likewise.
25567 (__vdso_clock_getres): Likewise.
25568 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
25569 Likewise.
25570 (__vdso_clock_gettime): Likewise.
25571 (__vdso_clock_getres): Likewise.
25572 (__vdso_get_tbfreq): Likewise.
25573 (__vdso_getcpu): Likewise.
25574 (__vdso_time): Likewise.
25575 (__vdso_sigtramp_rt64): Likewise.
25576 (__vdso_signtramp32): Likewise.
25577 (__vdso_sigtramp_rt32): Likewise.
25578 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
25579 Likewise.
25580 (__vdso_clock_gettime): Likewise.
25581 (__vdso_clock_getres): Likewise.
25582 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
25583 Likewise.
25584 (__vdso_clock_gettime): Likewise.
25585 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25586 Likewise.
25587 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
25588 macro.
25589 (INTERNAL_VSYSCALL): Likewise.
25590 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
25591 Remove macro.
25592 (INTERNAL_VSYSCALL): Likewise.
25593 (INTERNAL_VSYSCALL_NCS): Likewise.
25594 (INTERNAL_VSYSCALL_CALL): New macro.
25595 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25596 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
25597 Likewise.
25598 (INTERNAL_VSYSCALL): Likewise.
25599 (INTERNAL_VSYSCALL_NCS): Likewise.
25600 (INTERNAL_VSYSCALL_CALL): New macro.
25601 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25603 (INLINE_VSYSCALL): Remove macro.
25604 (INTERNAL_VSYSCALL): Remove macro.
25605 (INTERNAL_VSYSCALL_NCS): Remove macro.
25606 (INTERNAL_VSYSCALL_CALL): New macro.
25607 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
25608 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
25609 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25610 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
25611 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25613 (INLINE_VSYSCALL): Remove macro.
25614 (INTERNAL_VSYSCALL): Likewise.
25615 (INTERNAL_VSYSCALL_NCS): Likewise.
25616 (INTERNAL_VSYSCALL_CALL): New macro.
25617 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
25618 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
25619 PTR_DEMANGLE on vDSO pointer.
25620 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25621 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
25622 macro.
25623 (INTERNAL_SYSCALL): Likewise.
25624 (INTERNAL_VSYSCALL_NCS): Remove macro.
25625 (INTERNAL_VSYSCALL_CALL): New macro.
25626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
25627 Remove macro.
25628 (INTERNAL_VSYSCALL): Likewise.
25629 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
25630 sysdep-vdso.h instead of libc-vdso.h.
25631 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
25632 definition.
25633 (INLINE_VSYSCALL): Likewise.
25634 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
25635 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
25636 definition.
25637 (INLINE_VSYSCALL): Likewise.
25638 (INTERNAL_VSYSCALL): Likewise.
25639 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25640 * sysdeps/unix/sysv/linux/timespec_get.c
25641 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25642 (timespec_get): Use ANSI prototype.
25643 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
25644 and definition for Linux.
25645
25646 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
25647
25648 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
25649 * include/libc-symbols.h: libmvec_hidden_* macro series added.
25650
25651 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
25652
25653 [BZ #2981]
25654 [BZ #18410]
25655 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
25656 for missing DT_PLTRELSZ.
25657
25658 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
25659
25660 Remove obsolete aliases that broke 'locale -a'
25661 [BZ #18412]
25662 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
25663 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
25664 breaking some applications that use 'locale -a' output.
25665 Change the encoding of this file from Latin-1 to ASCII to avoid
25666 other potential problems with people grepping this file.
25667
25668 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25669
25670 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
25671 -fasynchronous-unwind-tables.
25672 (CFLAGS-sendto.c): Likewise.
25673 (CFLAGS-sendmsg.c): Likewise.
25674 (CFLAGS-connect.c): Likewise.
25675 (CFLAGS-recvmsg.c): Likewise.
25676 (CFLAGS-recvfrom.c): Likewise.
25677 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
25678 (SOCKETCALL): New macro: non-cancellable socketcall.
25679 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
25680 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
25681 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
25682 * sysdeps/unix/sysv/linux/accept.c: New file.
25683 * sysdeps/unix/sysv/linux/bind.c: Likewise.
25684 * sysdeps/unix/sysv/linux/connect.c: Likewise.
25685 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
25686 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
25687 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
25688 * sysdeps/unix/sysv/linux/listen.c: Likewise.
25689 * sysdeps/unix/sysv/linux/recv.c: Likewise.
25690 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
25691 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
25692 * sysdeps/unix/sysv/linux/send.c: Likewise.
25693 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
25694 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
25695 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
25696 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
25697 * sysdeps/unix/sysv/linux/socket.c: Likewise.
25698 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
25699 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
25700 prototype.
25701 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
25702 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25703 instead of __internal_xxx function.
25704 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
25705 prototype.
25706 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
25707 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25708 instead of __internal_xxx function.
25709 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
25710 prototype.
25711 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
25712 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25713 instead of __internal_xxx function.
25714 * sysdeps/unix/sysv/linux/accept.S: Remove file.
25715 * sysdeps/unix/sysv/linux/bind.S: Likewise.
25716 * sysdeps/unix/sysv/linux/connect.S: Likewise.
25717 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
25718 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
25719 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
25720 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
25721 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
25722 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
25723 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
25724 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
25725 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25726 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
25727 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
25728 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
25729 * sysdeps/unix/sysv/linux/listen.S: Likewise.
25730 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
25731 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
25732 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
25733 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
25734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
25735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
25736 * sysdeps/unix/sysv/linux/recv.S: Likewise.
25737 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
25738 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
25739 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
25740 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25741 * sysdeps/unix/sysv/linux/send.S: Likewise.
25742 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
25743 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
25744 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
25745 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
25746 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
25747 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
25748 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
25749 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
25750 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
25751 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
25752 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
25753 socketcall is implemented in GLIBC.
25754
25755 2015-05-22 Joseph Myers <joseph@codesourcery.com>
25756
25757 * soft-fp/fmadf4.c: Include <libc-internal.h>.
25758 (__fma): Ignore uninitialized warnings around packing.
25759 * soft-fp/fmasf4.c: Include <libc-internal.h>.
25760 (__fmaf): Ignore uninitialized warnings around packing.
25761 * soft-fp/fmatf4.c: Include <libc-internal.h>.
25762 (__fmal): Ignore uninitialized warnings around packing.
25763
25764 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
25765 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25766 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
25767 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25768
25769 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
25770 switch statement into default case.
25771 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
25772
25773 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
25774 a conditional in forcing "inexact".
25775 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25776 Likewise.
25777
25778 2015-05-22 Roland McGrath <roland@hack.frob.com>
25779
25780 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25781 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
25782 for each INTERNAL_SYSCALL use.
25783
25784 2015-05-22 Joseph Myers <joseph@codesourcery.com>
25785
25786 [BZ #438]
25787 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
25788 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
25789 variable.
25790
25791 [BZ #18444]
25792 * string/basename.c (basename): Rename to __basename and define as
25793 weak alias of __basename. Use libc_hidden_weak.
25794 * include/string.h (__basename): Declare. Use libc_hidden_proto.
25795 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
25796 __basename instead of basename.
25797 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
25798 Remove variable.
25799 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25800
25801 2015-05-18 Florian Weimer <fweimer@redhat.com>
25802
25803 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
25804 (_IO_JUMPS_FILE_plus): New.
25805 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
25806 _IO_CAST_FIELD_ACCESS.
25807 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
25808 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
25809 * libio/freopen.c (freopen): Likewise.
25810 * libio/freopen64.c (freopen64): Likewise.
25811 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
25812 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
25813 * libio/iofwide.c (_IO_fwide): Likewise.
25814 * libio/memstream.c (open_memstream): Likewise.
25815 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25816 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25817 * libio/oldiopopen.c (_IO_old_popen): Likewise.
25818
25819 2015-05-21 Joseph Myers <joseph@codesourcery.com>
25820
25821 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
25822 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
25823 NADJ.
25824 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
25825 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
25826 NADJ.
25827 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
25828 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
25829 NADJ.
25830
25831 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
25832 (p == 4) case.
25833
25834 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
25835 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
25836 Remove variable.
25837 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25838 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25839 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25840
25841 2015-05-21 Florian Weimer <fweimer@redhat.com>
25842
25843 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
25844 Adjust jump table label generation macros.
25845
25846 2015-05-21 Florian Weimer <fweimer@redhat.com>
25847
25848 * stdio-common/vfprintf.c (vfprintf): Move local variables
25849 args_malloced, specs, specs_malloced, and the code after
25850 do_positional to the printf_positional function.
25851 (printf_positional): New function.
25852
25853 2015-05-21 Florian Weimer <fweimer@redhat.com>
25854
25855 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
25856 function.
25857 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
25858 STEP4_TABLE, process_arg): Move macro definitions
25859 out of the vfprintf function. (Cosmetic change only.)
25860
25861 2015-05-21 Carlos O'Donell <carlos@redhat.com>
25862
25863 * benchtests/Makefile (stdio-common-bench): Define.
25864 (benchset): Add stdio-common-bench.
25865 * sprintf-inputs: New file.
25866 * sprintf-source.c: New file.
25867
25868 2015-05-21 Andreas Schwab <schwab@suse.de>
25869
25870 [BZ #13028]
25871 [BZ #17053]
25872 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
25873 of struct __res_state.
25874 * resolv/res_send.c (__libc_res_nsend): Likewise.
25875 (get_nsaddr): New function.
25876 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
25877 statp directly.
25878
25879 2015-05-20 Joseph Myers <joseph@codesourcery.com>
25880
25881 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
25882 -D_POSIX_C_SOURCE=199506L.
25883
25884 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
25885
25886 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
25887 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
25888 Do not mention otherwise.
25889 [POSIX] (_XOPEN_VERSION): Do not expect.
25890 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
25891 [POSIX] (_POSIX2_C_BIND): Likewise.
25892 [POSIX] (_POSIX2_VERSION): Likewise.
25893 [POSIX] (_XOPEN_XPG2): Likewise.
25894 [POSIX] (_XOPEN_XPG3): Likewise.
25895 [POSIX] (_XOPEN_XPG4): Likewise.
25896 [POSIX] (_XOPEN_UNIX): Likewise.
25897 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
25898 [POSIX] (_POSIX_BARRIERS): Likewise.
25899 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
25900 [POSIX] (_POSIX_CPUTIME): Likewise.
25901 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
25902 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
25903 [POSIX] (_POSIX_SHELL): Likewise.
25904 [POSIX] (_POSIX_SPAWN): Likewise.
25905 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
25906 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
25907 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
25908 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
25909 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
25910 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
25911 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
25912 [POSIX] (_XBS5_LP64_OFF64): Likewise.
25913 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
25914 [POSIX] (_POSIX_TIMEOUTS): Likewise.
25915 [POSIX] (_POSIX2_PBS): Likewise.
25916 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
25917 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
25918 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
25919 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
25920 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
25921 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
25922 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
25923 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
25924 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
25925 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
25926 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
25927 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
25928 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
25929 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
25930 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
25931 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
25932 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
25933 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
25934 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
25935 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
25936 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
25937 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
25938 [POSIX] (_SC_2_C_BIND): Likewise.
25939 [POSIX] (_SC_2_C_VERSION): Likewise.
25940 [POSIX] (_SC_2_PBS): Likewise.
25941 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
25942 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
25943 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
25944 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
25945 [POSIX] (_SC_2_PBS_TRACK): Likewise.
25946 [POSIX] (_SC_ATEXIT_MAX): Likewise.
25947 [POSIX] (_SC_BARRIERS): Likewise.
25948 [POSIX] (_SC_BASE): Likewise.
25949 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
25950 [POSIX] (_SC_DEVICE_IO): Likewise.
25951 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
25952 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
25953 [POSIX] (_SC_FD_MGMT): Likewise.
25954 [POSIX] (_SC_FIFO): Likewise.
25955 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
25956 [POSIX] (_SC_FILE_LOCKING): Likewise.
25957 [POSIX] (_SC_FILE_SYSTEM): Likewise.
25958 [POSIX] (_SC_IOV_MAX): Likewise.
25959 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
25960 [POSIX] (_SC_NETWORKING): Likewise.
25961 [POSIX] (_SC_PAGE_SIZE): Likewise.
25962 [POSIX] (_SC_PASS_MAX): Likewise.
25963 [POSIX] (_SC_PIPE): Likewise.
25964 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
25965 [POSIX] (_SC_REGEXP): Likewise.
25966 [POSIX] (_SC_SHELL): Likewise.
25967 [POSIX] (_SC_SIGNALS): Likewise.
25968 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
25969 [POSIX] (_SC_SPIN_LOCKS): Likewise.
25970 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
25971 [POSIX] (_SC_USER_GROUPS): Likewise.
25972 [POSIX] (_SC_USER_GROUPS_R): Likewise.
25973 [POSIX] (_SC_STREAMS): Likewise.
25974 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
25975 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
25976 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
25977 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
25978 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
25979 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
25980 [POSIX] (_PC_FILESIZEBITS): Likewise.
25981 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
25982 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
25983 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
25984 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
25985 [POSIX] (uid_t): Likewise.
25986 [POSIX] (gid_t): Likewise.
25987 [POSIX] (off_t): Likewise.
25988 [POSIX] (pid_t): Likewise.
25989 [POSIX] (cuserid): Allow.
25990 (_SC_2_CHAR_TERM): Require constant.
25991 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
25992 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
25993 variable.
25994
25995 2015-05-20 Roland McGrath <roland@hack.frob.com>
25996
25997 * sysdeps/nacl/pthread-pids.h: New file.
25998 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
25999 (create_thread): Use __nacl_get_tid to initialize PD->tid.
26000
26001 * nptl/pthread-pids.h: New file.
26002 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26003 * nptl/nptl-init.c: Include <pthread-pids.h>.
26004 (__pthread_initialize_minimal_internal):
26005 Call __pthread_initialize_pids instead of set_tid_address syscall.
26006
26007 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26008 * sysdeps/posix/usleep.c: ... here.
26009
26010 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26011
26012 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26013 call_pselect6 object.
26014 [$(subdir) = io]: Remove call_sync_file_range object.
26015 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26016 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26017 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26018 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26019
26020 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
26021
26022 * math/s_cproj.c: Add include "math_private.h".
26023 * math/s_cprojf.c: Likewise.
26024 * math/s_cprojl.c: Likewise.
26025
26026 2015-05-19 Joseph Myers <joseph@codesourcery.com>
26027
26028 [BZ #18244]
26029 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26030 high mantissa bit when testing whether P is a NaN.
26031 * math/libm-test.inc (remainder_test_data): Add more tests.
26032 (remquo_test_data): Likewise.
26033
26034 [BZ #18049]
26035 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26036 below -32, return the argument, with underflow if subnormal.
26037 * math/auto-libm-test-in: Add more tests of atanh.
26038 * math/auto-libm-test-out: Regenerated.
26039
26040 2015-05-19 Roland McGrath <roland@hack.frob.com>
26041
26042 [BZ #18434]
26043 * nptl/tst-sem15.c: New file.
26044 * nptl/Makefile (tests): Add it.
26045 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26046 s/<</>>/ to fix typo in EOVERFLOW check.
26047 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26048
26049 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26050
26051 * manual/strings.texi (envz_remove): Fix typo in safety
26052 annotations.
26053
26054 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
26055 Steve Ellcey <sellcey@imgtec.com>
26056
26057 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26058 in order to avoid strict alias warnings.
26059 (iruserok_af): Ditto for ra.
26060
26061 2015-05-19 James Lemke <jwlemke@codesourcery.com>
26062
26063 [BZ #17581]
26064 * malloc/hooks.c
26065 (magicbyte): Convert to a function and avoid returning 0x01.
26066 (mem2mem_check): Avoid using a length byte equal to the magic byte.
26067 (mem2chunk_check): Fix unsigned comparisons to zero.
26068 Hoist defs of sz and magic.
26069
26070 2015-05-19 Richard Henderson <rth@redhat.com>
26071
26072 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26073
26074 * sysdeps/alpha/fpu/libm-test-ulps: Update.
26075
26076 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26077
26078 [BZ #16159]
26079 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26080 * malloc/arena.c (arena_lock): Check if arena is corrupt.
26081 (reused_arena): Find a non-corrupt arena.
26082 (heap_trim): Pass arena to unlink.
26083 * malloc/hooks.c (malloc_check_get_size): Pass arena to
26084 malloc_printerr.
26085 (top_check): Likewise.
26086 (free_check): Likewise.
26087 (realloc_check): Likewise.
26088 * malloc/malloc.c (malloc_printerr): Add arena argument.
26089 (unlink): Likewise.
26090 (munmap_chunk): Adjust.
26091 (ARENA_CORRUPTION_BIT): New macro.
26092 (arena_is_corrupt): Likewise.
26093 (set_arena_corrupt): Likewise.
26094 (sysmalloc): Use mmap if there are no usable arenas.
26095 (_int_malloc): Likewise.
26096 (__libc_malloc): Don't fail if arena_get returns NULL.
26097 (_mid_memalign): Likewise.
26098 (__libc_calloc): Likewise.
26099 (__libc_realloc): Adjust for additional argument to
26100 malloc_printerr.
26101 (_int_free): Likewise.
26102 (malloc_consolidate): Likewise.
26103 (_int_realloc): Likewise.
26104 (_int_memalign): Don't touch corrupt arenas.
26105 * malloc/tst-malloc-backtrace.c: New test case.
26106
26107 * Makefile (summarize-tests): Fix return value on success.
26108
26109 * manual/string.texi (Envz Functions): Add envz_remove.
26110
26111 2015-05-18 Roland McGrath <roland@hack.frob.com>
26112
26113 * sysdeps/posix/opendir.c: Include <stdbool.h>.
26114 (invalid_name): New function, broken out of ...
26115 (__opendirat): ... here. Call it.
26116 (need_isdir_precheck): New function, broken out of ...
26117 (__opendirat): ... here. Call it.
26118 Use __fxstatat64, not __xstatat64.
26119 (opendir_oflags): New function, broken out of ...
26120 (__opendirat): ... here. Call it.
26121 (opendir_tail): New function, broken out of ...
26122 (__opendirat): ... here. Call it.
26123 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26124 opendir_tail, rather than punting to __opendirat.
26125 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26126
26127 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26128
26129 * .gitignore: Ignore generated *.pyc.
26130
26131 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
26132
26133 * include/stdio.h: Define __need_wint_t.
26134 * test-skeleton.c: Avoid `for' loop initial declaration.
26135 * nptl/tst-initializers1.c: Use test-skeleton.c.
26136
26137 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26138
26139 [BZ #18418]
26140 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26141
26142 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26143
26144 [BZ #16352]
26145 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26146 (__ieee754_atanh): Force underflow exception for results with
26147 small absolute value.
26148 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26149 (__ieee754_atanhf): Force underflow exception for results with
26150 small absolute value.
26151 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26152 (__ieee754_atanh): Force underflow exception for results with
26153 small absolute value.
26154 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26155 (__ieee754_atanhf): Force underflow exception for results with
26156 small absolute value.
26157 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26158 (__ieee754_atanhl): Force underflow exception for results with
26159 small absolute value.
26160 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26161 (__ieee754_atanhl): Force underflow exception for results with
26162 small absolute value.
26163 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26164 (__ieee754_atanhl): Force underflow exception for results with
26165 small absolute value.
26166 * math/auto-libm-test-in: Do not allow missing underflow
26167 exceptions from atanh.
26168 * math/auto-libm-test-out: Regenerated.
26169
26170 [BZ #18221]
26171 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26172 2**-28 as threshold for returning x or +/- 1/x.
26173 * math/auto-libm-test-in: Add more tests of tan.
26174 * math/auto-libm-test-out: Regenerated.
26175
26176 [BZ #18220]
26177 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26178 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26179 * math/auto-libm-test-in: Add another test of lgamma.
26180 * math/auto-libm-test-out: Regenerated.
26181
26182 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
26183
26184 * stdio-common/printf_fp.c (___printf_fp): Use abs.
26185 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
26186 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26187 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26188 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
26189 (ADD2A): Use fabs. (SUB2A): Use fabs.
26190 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
26191 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
26192 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
26193 (log1): Use fabs. (my_log2): Use fabs.
26194 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
26195 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
26196 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
26197 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
26198 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
26199 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
26200 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
26201 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
26202 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
26203 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
26204 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
26205
26206 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26207
26208 [BZ #18217]
26209 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
26210 as threshold for returning 1 - x.
26211 * math/auto-libm-test-in: Add more tests of erfc.
26212 * math/auto-libm-test-out: Regenerated.
26213
26214 2015-05-14 Joseph Myers <joseph@codesourcery.com>
26215
26216 [BZ #18196]
26217 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
26218 threshold for large arguments.
26219 * math/auto-libm-test-in: Add another test of atan.
26220 * math/auto-libm-test-out: Regenerated.
26221
26222 [BZ #16339]
26223 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
26224 (__log1p): Force underflow exception for results with small
26225 absolute value.
26226 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
26227 (__log1pf): Force underflow exception for results with small
26228 absolute value.
26229 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
26230 (__log1p): Force underflow exception for results with small
26231 absolute value.
26232 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
26233 (__log1pf): Force underflow exception for results with small
26234 absolute value.
26235 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
26236 (__log1pl): Force underflow exception for results with small
26237 absolute value.
26238 * math/auto-libm-test-in: Do not allow missing underflow
26239 exceptions from log1p.
26240 * math/auto-libm-test-out: Regenerated.
26241
26242 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
26243 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26244
26245 [BZ #16704]
26246 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
26247
26248 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
26249
26250 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
26251 (libmvec): New variable.
26252 * configure.ac: Added option for mathvec build.
26253 * configure: Regenerated.
26254 * mathvec/Depend: New file.
26255 * mathvec/Makefile: New file.
26256 * shlib-versions: Added libmvec.
26257 * math/Makefile: Added rule for libm.so installation.
26258
26259 * bits/math-vector.h: New file.
26260 * bits/libm-simd-decl-stubs.h: New header.
26261 * math/Makefile (headers): Added new header
26262 libm-simd-decl-stubs.h.
26263 * math/math.h (__MATHCALL_VEC): New macro.
26264
26265 * math/gen-libm-have-vector-test.sh: Script generates series of macros
26266 for conditions in testing functions.
26267 * math/Makefile: Added call of libm-have-vector-test.sh.
26268 * math/libm-test.inc (HAVE_VECTOR): New macros.
26269
26270 * math/libm-test.inc: START refactored.
26271 * math/test-double.c (TEST_MATHVEC): Add define.
26272 * math/test-float.c: Likewise.
26273 * math/test-idouble.c: Likewise.
26274 * math/test-ifloat.c: Likewise.
26275 * math/test-ildoubl.c: Likewise.
26276 * math/test-ldouble.c: Likewise.
26277 * sysdeps/generic/math-tests-arch.h
26278 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
26279 architecture check.
26280
26281 * math/test-double.c (FUNC_TEST): New macro.
26282 * math/test-float.c: Likewise.
26283 * math/test-idouble.c: Likewise.
26284 * math/test-ifloat.c: Likewise.
26285 * math/test-ildoubl.c: Likewise.
26286 * math/test-ldouble.c: Likewise.
26287 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
26288
26289 2015-05-13 Roland McGrath <roland@hack.frob.com>
26290
26291 * sysdeps/nacl/fdopendir.c: New file.
26292
26293 * dirent/scandir-tail.c: New file.
26294 * dirent/scandir64-tail.c: New file.
26295 * dirent/Makefile (routines): Add them.
26296 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
26297 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
26298 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
26299 [!SCANDIR] (SCANDIR_TAIL): New macro.
26300 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
26301 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
26302 (SCANDIRAT): Macro removed.
26303 (SCANDIR_TAIL): New macro.
26304 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
26305 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
26306 (SCANDIRAT): Just call __opendirat and __scandir_tail.
26307 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
26308 (READDIR): Macro removed.
26309 (SCANDIR_TAIL): New macro.
26310 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
26311 (SCANDIR_TAIL): New macro.
26312
26313 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
26314 * dirent/scandir-cancel.c: ... to this new file.
26315 * dirent/Makefile (routines): Add it.
26316 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
26317 * sysdeps/unix/sysv/linux/i386/scandir64.c
26318 (SKIP_SCANDIR_CANCEL): Macro removed.
26319 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
26320
26321 * dirent/tst-scandir.c: New file.
26322 * dirent/tst-scandir64.c: New file.
26323 * dirent/Makefile (tests): Add them.
26324
26325 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
26326
26327 [BZ #18409]
26328 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
26329
26330 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26331
26332 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
26333 list.
26334
26335 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
26336
26337 * benchtests/bench-strcoll.c: New benchmark.
26338 * benchtests/Makefile: Generate locales and run benchmark.
26339 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
26340 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
26341 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
26342 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
26343 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
26344 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
26345 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
26346 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
26347 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
26348 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
26349 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
26350 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
26351 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
26352 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
26353 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
26354 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
26355 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
26356 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
26357 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
26358 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
26359 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
26360 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
26361 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
26362 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
26363
26364 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
26365
26366 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
26367 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26368
26369 2015-05-12 Roland McGrath <roland@hack.frob.com>
26370
26371 * posix/uname-values.h: New file.
26372 * posix/uname.c: Include that instead of <config-name.h>.
26373 * sysdeps/nacl/uname-values.h: New file.
26374 * sysdeps/arm/nacl/uname-values.h: New file.
26375
26376 2015-05-12 Joseph Myers <joseph@codesourcery.com>
26377
26378 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
26379 splitting into fields.
26380
26381 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
26382
26383 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
26384 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
26385 * locale/localeinfo.h: Add enum collation_encoding_type.
26386 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
26387 * programs/ld-collate.c (collate_output): Add encoding type info.
26388 * string/strcoll_l.c (STRDIFF): New function.
26389 * (STRCOLL): Use STRDIFF to skip over equal prefix.
26390 * wcsmbs/wcscoll_l.c: Define STRDIFF.
26391
26392 2015-05-11 Joseph Myers <joseph@codesourcery.com>
26393
26394 [BZ #18397]
26395 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
26396 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
26397 <fpu_control.h> instead of <math/fpu_control.c>.
26398 * sysdeps/mips/mips32/fpu/Makefile: New file.
26399
26400 2015-05-11 Andreas Schwab <schwab@suse.de>
26401
26402 [BZ #18007]
26403 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
26404 nss_endgrent.
26405 (_nss_compat_endgrent): Call nss_endgrent.
26406 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
26407 nss_endpwent.
26408 (_nss_compat_endpwent): Call nss_endpwent.
26409 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
26410 needent, call nss_setspent only if non-zero.
26411 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
26412 (internal_endspent): Don't call nss_endspent.
26413 (_nss_compat_endspent): Call nss_endspent.
26414 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
26415 Remove. All uses removed.
26416 (internal_setent): Remove parameter stayopen, add parameter
26417 stream. Use it instead of global variable.
26418 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
26419 (internal_endent, internal_getent): Add parameter stream. Use it
26420 instead of global variable.
26421 (CONCAT(_nss_files_end,ENTNAME))
26422 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
26423 (_nss_files_get##name##_r): Pass local stream. Remove locking.
26424 * nss/nss_files/files-alias.c (position, last_use): Remove. All
26425 uses removed.
26426 (internal_setent, internal_endent): Add parameter stream. Use it
26427 instead of global variable.
26428 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
26429 stream.
26430 (get_next_alias): Add parameter stream.
26431 (_nss_files_getaliasent_r): Pass global stream.
26432 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
26433 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
26434 (_nss_files_gethostbyname4_r): Pass local stream to
26435 internal_setent, internal_getent and internal_endent. Remove
26436 locking.
26437
26438 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26439
26440 * tst-strfmon1.c (tests): Update expected currency symbol.
26441
26442 2015-05-08 Roland McGrath <roland@hack.frob.com>
26443
26444 * sysdeps/nacl/gethostname.c: New file.
26445
26446 2015-05-08 Joseph Myers <joseph@codesourcery.com>
26447
26448 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
26449 and sinh.
26450 * math/auto-libm-test-out: Regenerated.
26451 * sysdeps/i386/fpu/libm-test-ulps: Update.
26452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26453
26454 2015-05-08 Carlos O'Donell <carlos@redhat.com>
26455
26456 [BZ #18125]
26457 * stdlib/tst-setcontext3.c: New file.
26458 * stdlib/tst-setcontext3.sh: New file.
26459 * stdlib/Makefile (tests): Add tst-setcontext3.
26460 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
26461 to verify test program created output file.
26462 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
26463 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
26464 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
26465 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
26466
26467 2015-05-06 Roland McGrath <roland@hack.frob.com>
26468
26469 [BZ #18383]
26470 * elf/tst-tlsalign.c: New file.
26471 * elf/tst-tlsalign-static.c: New file.
26472 * elf/tst-tlsalign-lib.c: New file.
26473 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
26474 (tests-static): Add tst-tlsalign-static.
26475 (modules-names): Add tst-tlsalign-lib.
26476 (test-xfail-tst-tlsalign): New variable.
26477 (test-xfail-tst-tlsalign-static): New variable.
26478
26479 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
26480 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
26481
26482 2015-05-06 Joseph Myers <joseph@codesourcery.com>
26483
26484 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
26485 csqrt, erfc, sin and sincos.
26486 * math/auto-libm-test-out: Regenerated.
26487 * sysdeps/i386/fpu/libm-test-ulps: Update.
26488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26489
26490 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
26491
26492 * sysdeps/aarch64/libm-test-ulps: Update.
26493
26494 2015-05-05 Joseph Myers <joseph@codesourcery.com>
26495
26496 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
26497 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
26498 * math/auto-libm-test-out: Regenerated.
26499 * sysdeps/i386/fpu/libm-test-ulps: Update.
26500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26501
26502 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
26503
26504 [BZ #18265]
26505 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
26506 (wcsncpy): Likewise.
26507
26508 2015-05-05 Florian Weimer <fweimer@redhat.com>
26509
26510 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26511 Assume __ASSUME_FALLOCATE is always true.
26512 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26513 (__posix_fallocate64_l64): Likewise.
26514 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
26515 (posix_fallocate): Likewise.
26516 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
26517 (__posix_fallocate64_l64): Likewise.
26518 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26519 [!__ASSUME_FALLOCATE]: Add comment.
26520
26521 2015-05-05 Florian Weimer <fweimer@redhat.com>
26522
26523 * sysdeps/unix/sysv/linux/i386/Makefile
26524 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
26525 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
26526 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
26527 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26528 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26529 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
26530 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
26531
26532 2015-05-02 Joseph Myers <joseph@codesourcery.com>
26533
26534 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
26535 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
26536 tgamma.
26537 * math/auto-libm-test-out: Regenerated.
26538 * sysdeps/i386/fpu/libm-test-ulps: Update.
26539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26540
26541 2015-05-01 Joseph Myers <joseph@codesourcery.com>
26542
26543 * math/auto-libm-test-in: Add more tests of tgamma.
26544 * math/auto-libm-test-out: Regenerated.
26545 * sysdeps/i386/fpu/libm-test-ulps: Update.
26546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26547
26548 * math/auto-libm-test-in: Add more tests of tanh.
26549 * math/auto-libm-test-out: Regenerated.
26550 * sysdeps/i386/fpu/libm-test-ulps: Update.
26551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26552
26553 * math/auto-libm-test-in: Add more tests of tan.
26554 * math/auto-libm-test-out: Regenerated.
26555 * sysdeps/i386/fpu/libm-test-ulps: Update.
26556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26557
26558 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
26559 * math/auto-libm-test-out: Regenerated.
26560 * sysdeps/i386/fpu/libm-test-ulps: Update.
26561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26562
26563 * math/auto-libm-test-in: Add another test of pow.
26564 * math/auto-libm-test-out: Regenerated.
26565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26566
26567 * math/auto-libm-test-in: Add more tests of lgamma.
26568 * math/auto-libm-test-out: Regenerated.
26569 * sysdeps/i386/fpu/libm-test-ulps: Update.
26570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26571
26572 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
26573 log1p.
26574 * math/auto-libm-test-out: Regenerated.
26575 * sysdeps/i386/fpu/libm-test-ulps: Update.
26576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26577
26578 2015-05-01 Mark Wielaard <mjw@redhat.com>
26579
26580 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
26581 Elf64_Chdr structs and ELFCOMPRESS constants.
26582
26583 2015-05-01 Joseph Myers <joseph@codesourcery.com>
26584
26585 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
26586 expm1.
26587 * math/auto-libm-test-out: Regenerated.
26588 * sysdeps/i386/fpu/libm-test-ulps: Update.
26589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26590
26591 * math/auto-libm-test-in: Add more tests of erf and erfc.
26592 * math/auto-libm-test-out: Regenerated.
26593 * sysdeps/i386/fpu/libm-test-ulps: Update.
26594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26595
26596 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
26597
26598 * config.h.in (HAVE_AARCH64_BE): Add.
26599
26600 2015-04-30 Joseph Myers <joseph@codesourcery.com>
26601
26602 * math/auto-libm-test-in: Add more tests of csqrt.
26603 * math/auto-libm-test-out: Regenerated.
26604 * sysdeps/i386/fpu/libm-test-ulps: Update.
26605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26606
26607 * math/auto-libm-test-in: Add more tests of cosh and sinh.
26608 * math/auto-libm-test-out: Regenerated.
26609 * sysdeps/i386/fpu/libm-test-ulps: Update.
26610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26611
26612 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
26613
26614 2015-04-29 Roland McGrath <roland@hack.frob.com>
26615
26616 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
26617 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
26618
26619 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
26620 (euidaccess, eaccess): Define as weak aliases.
26621
26622 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
26623 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
26624 but __suseconds_t is often 'long int' so some sources assume that
26625 type is being used (e.g. they use %ld to print tv_usec).
26626
26627 2015-04-29 Florian Weimer <fweimer@redhat.com>
26628
26629 [BZ #18007]
26630 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
26631 (CVE-2014-8121)
26632 * nss/tst-nss-getpwent.c: New file.
26633 * nss/Makefile (tests): Add new test.
26634
26635 2015-04-28 Joseph Myers <joseph@codesourcery.com>
26636
26637 [BZ #18346]
26638 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
26639 exponents less than 48 as cases where high part of mantissa needs
26640 examining to determine whether argument is integral.
26641 * math/libm-test.inc (round_test_data): Add more tests.
26642
26643 2015-04-28 Mark Wielaard <mjw@redhat.com>
26644
26645 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
26646
26647 2015-04-27 David S. Miller <davem@davemloft.net>
26648
26649 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
26650 __tls_get_addr.
26651 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26652
26653 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
26654
26655 [BZ#18333]
26656 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
26657
26658 2015-04-27 Florian Weimer <fweimer@redhat.com>
26659
26660 [BZ#18333]
26661 * time/tzset.c (parse_tzname): Return error on memory allocation
26662 failure.
26663 * test-skeleton.c (struct temp_name_list): Change type of name
26664 member to non-const.
26665 (add_temp_file): Create a copy of the file name.
26666 (delete_temp_files): Deallocate memory.
26667 (create_temp_file): Add comment.
26668
26669 2015-04-24 Florian Weimer <fweimer@redhat.com>
26670
26671 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
26672 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
26673
26674 2015-04-24 Roland McGrath <roland@hack.frob.com>
26675
26676 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
26677 * sysdeps/arm/configure: Regenerated.
26678
26679 2015-04-24 Florian Weimer <fweimer@redhat.com>
26680
26681 [BZ #17715]
26682 * time/tzfile.c (__tzfile_read): Check for large values of
26683 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
26684 * time/tzset.c (__tzstring_len): New function, based on the old
26685 __tzstring function.
26686 (__tzstring): Call __tzstring_len.
26687 (parse_tzname): New helper function extracted from
26688 __tzset_parse_tz. Call __tzstring_len, without making a copy of
26689 the input string.
26690 (parse_offset): New helper function extracted from
26691 __tzset_parse_tz. Replace switch with fallthrough with
26692 initialization before sscanf.
26693 (parse_rule): Likewise.
26694 (__tzset_parse_tz): Rewrite using the new helper functions. Use
26695 new-style function definition.
26696 * timezone/Makefile (tests): Add tst-tzset.
26697 (tst-tzset.out): Dependencies on time zone files.
26698 (tst-tzset-ENV): Set TZDIR.
26699 (testdata/XT%): Copy crafted time zone files.
26700 * timezone/README: Mention crafted time zone files.
26701 * timezone/testdata/XT1, timezone/testdata/XT2,
26702 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
26703 files.
26704 * timezone/tst-tzset.c: New test.
26705
26706 2015-04-24 Florian Weimer <fweimer@redhat.com>
26707
26708 * Makeconfig (+gccwarn): Remove -Winline.
26709
26710 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26711
26712 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
26713
26714 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26715
26716 * NEWS: Mention sysconf() cache information support for s390.
26717 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
26718
26719 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
26720
26721 * math/k_casinh.c (__kernel_casinh): Use __copysign.
26722 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
26723 (__nearbyint): Likewise.
26724 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
26725 (copysignl): Likewise.
26726
26727 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
26728
26729 [BZ #18287]
26730 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
26731 based on padding. (CVE-2015-1781)
26732
26733 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26734
26735 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
26736 libc-vdso.h.
26737 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
26738 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
26739 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
26740 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26741 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26742 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
26743 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
26744 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26745 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26746 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
26747 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26748 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26749 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26750 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
26751 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26752 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
26753 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
26754 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
26755 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
26756 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
26757 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
26758 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
26759 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
26760
26761 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
26762
26763 * stdlib/setenv.c (__add_to_environ):
26764 Dump core quickly if setenv (..., NULL, ...) is called.
26765 This time, do it the right way, and pacify GCC with a pragma.
26766
26767 2015-04-17 Roland McGrath <roland@hack.frob.com>
26768
26769 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
26770 IMAP->l_prev cannot be null, and #if out the code for the contrary
26771 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
26772 believe that NS (&_dl_ns[NSID]) could point outside the array.
26773
26774 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
26775 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
26776 before using NSID as an index.
26777
26778 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
26779
26780 [BZ #17825]
26781 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
26782 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
26783 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26784
26785 2015-04-17 Roland McGrath <roland@hack.frob.com>
26786
26787 Add preliminary port to Google Native Client on ARM.
26788 * abi-tags (.*-.*-nacl.*): New entry.
26789 * sysdeps/arm/nacl: New directory.
26790 * sysdeps/nacl: New directory.
26791
26792 2015-04-16 David S. Miller <davem@davemloft.net>
26793
26794 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
26795 lowlevellock-futex.h
26796
26797 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
26798
26799 * sysdeps/tile/configure.ac: New file.
26800 * sysdeps/tile/configure: Regenerated.
26801
26802 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26803
26804 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
26805 conditionals for weak_alias and libc_hidden_weak.
26806 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
26807 libc_hidden_weak and weak_alias.
26808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
26809 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
26810 and weak_alias for static one.
26811
26812 2015-04-15 David S. Miller <davem@davemloft.net>
26813
26814 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26815
26816 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
26817
26818 [BZ #18206]
26819 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
26820 Use signed comparision instead of substraction to avoid
26821 overflow bug.
26822 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
26823 Take the sign of ret.
26824 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
26825 Do not expect precise return values. Only the sign matters.
26826 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
26827 * wcsmbs/test-wcsncmp.c: New File.
26828 * string/test-strncmp.c: Add wcsncmp support.
26829
26830 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
26831
26832 [BZ #6792]
26833 * math/w_log1p.c: New file.
26834 * math/w_log1pf.c: Likewise.
26835 * math/w_log1pl.c: Likewise.
26836 * math/Makefile (libm-calls): Add w_log1p.
26837 * math/s_log1pl.c (log1pl): Remove weak_alias.
26838 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
26839 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
26840 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
26841 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
26842 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
26843 [NO_LONG_DOUBLE] (log1pl): Likewise.
26844 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
26845 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
26846 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
26847 (log1p): Remove long_double_symbol.
26848 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
26849 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
26850 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
26851 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
26852 remove weak_alias for corresponding log1p function.
26853 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
26854 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
26855 * sysdeps/ia64/fpu/w_log1p.c: New file.
26856 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
26857 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
26858 * math/libm-test.inc (log1p_test_data): Add errno expectations.
26859
26860 2015-04-10 Joseph Myers <joseph@codesourcery.com>
26861
26862 [BZ #18247]
26863 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
26864 decimal exponent by 1.
26865 * stdlib/tst-strtod-round-data: Add more tests.
26866 * stdlib/tst-strtod-round.c (tests): Regenerated.
26867
26868 2015-04-09 Joseph Myers <joseph@codesourcery.com>
26869
26870 * math/auto-libm-test-in: Add more tests of clog and clog10.
26871 * math/auto-libm-test-out: Regenerated.
26872 * sysdeps/i386/fpu/libm-test-ulps: Update.
26873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26874
26875 2015-04-09 Roland McGrath <roland@hack.frob.com>
26876
26877 * Makeconfig (module-cppflags): Exclude all .v.i files.
26878 (skip-module-cppflags): Variable removed.
26879
26880 * configure.ac (libc_config_ok): Initialize before reading
26881 preconfigure scripts, not after.
26882 * configure: Regenerated.
26883
26884 * test-skeleton.c (TIMEOUT): Move #define to top level.
26885 (main): Grok environment variable TEST_DIRECT. If set, print
26886 test expectation details into that file and then behave as if
26887 given --direct.
26888
26889 2015-04-09 Florian Weimer <fweimer@redhat.com>
26890
26891 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
26892 warning on 32-bit.
26893
26894 2015-04-08 David S. Miller <davem@davemloft.net>
26895
26896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26897
26898 2015-04-08 Joseph Myers <joseph@codesourcery.com>
26899
26900 * math/auto-libm-test-in: Add more tests of atanh.
26901 * math/auto-libm-test-out: Regenerated.
26902 * sysdeps/i386/fpu/libm-test-ulps: Update.
26903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26904
26905 * math/auto-libm-test-in: Add more tests of atan.
26906 * math/auto-libm-test-out: Regenerated.
26907 * sysdeps/i386/fpu/libm-test-ulps: Update.
26908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26909
26910 2015-04-08 Florian Weimer <fweimer@redhat.com>
26911
26912 * elf/pldd.c (main): Rewrite to use struct
26913 scratch_buffer instead of extend_alloca.
26914 * elf/pldd-xx.c (find_maps): Likewise.
26915 * grp/initgroups.c: Include <scratch_buffer.h> instead of
26916 <alloca.h>.
26917 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
26918 scratch_buffer instead of extend_alloca.
26919 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
26920 grp/compat-initgroups.c.
26921 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
26922 Rewrite to use struct scratch_buffer instead of extend_alloca.
26923 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
26924 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26925
26926 2015-04-08 Joseph Myers <joseph@codesourcery.com>
26927
26928 * math/auto-libm-test-in: Add more tests of cbrt.
26929 * math/auto-libm-test-out: Regenerated.
26930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26931
26932 * math/auto-libm-test-in: Add more tests of cabs.
26933 * math/auto-libm-test-out: Regenerated.
26934 * sysdeps/i386/fpu/libm-test-ulps: Update.
26935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26936
26937 [BZ #18210]
26938 [BZ #18211]
26939 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
26940 (__ieee754_atan2): Set FE_TONEAREST mode for internal
26941 computations.
26942 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
26943 clog10.
26944 * math/auto-libm-test-out: Regenerated.
26945 * sysdeps/i386/fpu/libm-test-ulps: Update.
26946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26947
26948 [BZ #18197]
26949 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
26950 (atan): Set FE_TONEAREST mode for internal computations.
26951 * math/auto-libm-test-in: Add more tests of atan.
26952 * math/auto-libm-test-out: Regenerated.
26953
26954 2015-04-07 James Cowgill <james410@cowgill.org.uk>
26955
26956 [BZ #17930]
26957 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
26958
26959 2015-04-07 Florian Weimer <fweimer@redhat.com>
26960
26961 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
26962
26963 2015-04-07 Florian Weimer <fweimer@redhat.com>
26964
26965 * include/scratch_buffer.h: New file.
26966 * malloc/scratch_buffer_grow.c: Likewise.
26967 * malloc/scratch_buffer_grow_preserve.c: Likewise.
26968 * malloc/scratch_buffer_set_array_size.c: Likewise.
26969 * malloc/tst-scratch_buffer.c: Likewise.
26970 * malloc/Makefile (routines): Add scratch_buffer_grow.
26971 (tests): Add test case.
26972 * malloc/Versions (GLIBC_PRIVATE): Export
26973 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
26974 __libc_scratch_buffer_set_array_size.
26975
26976 2015-04-06 Richard Henderson <rth@redhat.com>
26977
26978 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
26979 * sysdeps/alpha/fpu/libm-test-ulps: Update.
26980
26981 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
26982 unsigned int before printing.
26983
26984 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26985
26986 [BZ #17596]
26987 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
26988 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26989
26990 2015-04-02 Florian Weimer <fweimer@redhat.com>
26991
26992 * include/libc-internal.h (libc_max_align_t): Define.
26993
26994 2015-04-02 Andreas Schwab <schwab@suse.de>
26995
26996 [BZ #16850]
26997 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
26998
26999 2015-04-02 Mel Gorman <mgorman@suse.de>
27000
27001 [BZ #17195]
27002 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27003 as well as the main arena.
27004
27005 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27006
27007 [BZ #18185]
27008 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27009 sharing L2 cache to 2 for Silvermont/Knights Landing.
27010
27011 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27012
27013 [BZ #17711]
27014 * config.make.in (have-protected-data): New.
27015 * configure.ac: Check linker support for protected data symbol.
27016 * configure: Regenerated.
27017 * elf/Makefile (modules-names): Add tst-protected1moda and
27018 tst-protected1modb if $(have-protected-data) is yes.
27019 (tests): Add tst-protected1a and tst-protected1b if
27020 $(have-protected-data) is yes.
27021 ($(objpfx)tst-protected1a): New.
27022 ($(objpfx)tst-protected1b): Likewise.
27023 (tst-protected1modb.so-no-z-defs): Likewise.
27024 * elf/tst-protected1a.c: New file.
27025 * elf/tst-protected1b.c: Likewise.
27026 * elf/tst-protected1mod.h: Likewise.
27027 * elf/tst-protected1moda.c: Likewise.
27028 * elf/tst-protected1modb.c: Likewise.
27029
27030 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27031
27032 [BZ #17711]
27033 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27034 indicates it is called from do_lookup_x on relocation against
27035 protected data, skip the data definion in the executable from
27036 copy reloc.
27037 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27038 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27039 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27040 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27041 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27042 otherwise to 0.
27043 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27044 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27045 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27046 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27047 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27048 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27049
27050 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
27051
27052 * sysdeps/nptl/pthread.h: Remove duplicate definition of
27053 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27054
27055 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
27056
27057 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27058 THREAD_SETMEM_NC.
27059 * sysdeps/x86_64/nptl/tls.h: Ditto.
27060
27061 2015-03-27 Roland McGrath <roland@hack.frob.com>
27062
27063 * dlfcn/tststatic.c (main): Converted to ...
27064 (do_test): ... this.
27065 (TEST_FUNCTION): New macro.
27066 Include test-skeleton.c.
27067
27068 2015-03-26 Alan Modra <amodra@gmail.com>
27069
27070 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27071 Don't segfault if ifunc resolver returns a NULL. Do set plt to
27072 zero for undefined weak.
27073 (elf_machine_plt_conflict): Similarly.
27074
27075 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27076
27077 * math/auto-libm-test-in: Add more tests of acosh, asinh and
27078 atanh.
27079 * math/auto-libm-test-out: Regenerated.
27080 * sysdeps/i386/fpu/libm-test-ulps: Update.
27081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27082
27083 * math/auto-libm-test-in: Add another test of asin.
27084 * math/auto-libm-test-out: Regenerated.
27085 * sysdeps/i386/fpu/libm-test-ulps: Update.
27086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27087
27088 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27089 Remove macro.
27090 (LLL_EBX_REG): Likewise.
27091 (LLL_ENTER_KERNEL): Likewise.
27092
27093 * math/auto-libm-test-in: Add more tests of asin.
27094 * math/auto-libm-test-out: Regenerated.
27095 * sysdeps/i386/fpu/libm-test-ulps: Update.
27096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27097
27098 [BZ #18138]
27099 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27100 libc_do_syscall_args): New structure.
27101 (INTERNAL_SYSCALL_MAIN_0): New macro.
27102 (INTERNAL_SYSCALL_MAIN_1): Likewise.
27103 (INTERNAL_SYSCALL_MAIN_2): Likewise.
27104 (INTERNAL_SYSCALL_MAIN_3): Likewise.
27105 (INTERNAL_SYSCALL_MAIN_4): Likewise.
27106 (INTERNAL_SYSCALL_MAIN_5): Likewise.
27107 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
27108 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27109 Replace conditional definitions by conditional definitions of ....
27110 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
27111 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27112 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27113 (libpthread-sysdep_routines): Add libc-do-syscall.
27114 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27115 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27116 to __NR_futex not 240.
27117
27118 2015-03-25 Alan Modra <amodra@gmail.com>
27119
27120 * NEWS: Advertise TLS optimization.
27121 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27122 (DT_PPC_NUM): Increment.
27123 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27124 (CHECK_STATIC_TLS): Use here.
27125 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27126 TLS descriptors.
27127 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27128 * sysdeps/powerpc/dl-tls.c: New file.
27129 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27130 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27131 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27132 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27136
27137 2015-03-25 Alan Modra <amodra@gmail.com>
27138
27139 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27140 for overlapping .opd entries" to "support...".
27141 * sysdeps/powerpc/powerpc64/configure: Regenerate
27142
27143 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27144
27145 * math/auto-libm-test-in: Add more tests of acos.
27146 * math/auto-libm-test-out: Regenerated.
27147 * sysdeps/i386/fpu/libm-test-ulps: Update.
27148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27149
27150 * math/auto-libm-test-in: Add more tests of expm1.
27151 * math/auto-libm-test-out: Regenerated.
27152 * sysdeps/i386/fpu/libm-test-ulps: Update.
27153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27154
27155 2015-03-24 Joseph Myers <joseph@codesourcery.com>
27156
27157 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27158 * math/auto-libm-test-out: Regenerated.
27159 * sysdeps/i386/fpu/libm-test-ulps: Update.
27160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27161
27162 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27164
27165 * math/auto-libm-test-in: Add more tests of log2.
27166 * math/auto-libm-test-out: Regenerated.
27167 * sysdeps/i386/fpu/libm-test-ulps: Update.
27168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27169
27170 2015-03-23 Roland McGrath <roland@hack.frob.com>
27171
27172 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27173 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
27174 _IO_IS_APPENDING bit in READ_WRITE instead.
27175
27176 2015-03-23 Florian Weimer <fweimer@redhat.com>
27177
27178 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27179 (__determine_cpumask_size): Replace extend_alloca with a
27180 variable-length array. Do not treat res == 0 as an error.
27181
27182 2015-03-23 Florian Weimer <fweimer@redhat.com>
27183
27184 [BZ #18100]
27185 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27186 and integer overflow.
27187 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27188 (main): Add integer overflow tests.
27189 * manual/pattern.texi (Calling Wordexp): Document additional use
27190 for WRDE_SYNTAX.
27191
27192 2015-03-23 Alan Modra <amodra@gmail.com>
27193
27194 * config.h.in: Remove HAVE_ASM_PPC_REL16.
27195 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
27196 and false branch of conditional.
27197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27198 Likewise.
27199
27200 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
27201
27202 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
27203 libc-modules.h
27204 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
27205 unused declaration of _hurd_intr_rpc_msg_in_trap.
27206 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
27207 defined instead of whether it is non-zero.
27208 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
27209 input constraint instead of both input and output constraint. Use ecx
27210 clobber instead of %ecx.
27211 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
27212 mutex_unlock): Use a statement expression instead of an expression list.
27213 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
27214 type to vm_size_t instead of vm_address_t.
27215 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
27216 defined instead of whether it is non-zero.
27217 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
27218 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
27219 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
27220 comparisons with mapaddr.
27221 * nscd/nscd-client.h: Include <time.h>.
27222 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
27223 9th parameter to __vm_region instead of int.
27224 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
27225 * scripts/check-local-headers.sh (exclude): Add device/,
27226 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
27227 cthreads.h.
27228
27229 2015-03-19 Roland McGrath <roland@hack.frob.com>
27230
27231 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
27232 to account for alignment padding.
27233 * sysdeps/arm/memmove.S: Likewise.
27234
27235 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
27236
27237 * sysdeps/unix/sysv/linux/generic/README: New file.
27238
27239 2015-03-18 Joseph Myers <joseph@codesourcery.com>
27240
27241 [BZ #18138]
27242 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
27243 (futex_abstimed_wait)
27244 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
27245 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
27246 of lll_futex_timed_wait.
27247
27248 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
27249
27250 [BZ #17542]
27251 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
27252
27253 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
27254
27255 [BZ #17090]
27256 [BZ #17620]
27257 [BZ #17621]
27258 [BZ #17628]
27259 * NEWS: Update.
27260 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
27261 entries with Static TLS too. Skip entries past the end of the
27262 allocated DTV, from Alan Modra.
27263 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
27264 Static TLS DTV entry set up from...
27265 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
27266 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
27267 * nptl/allocatestack.c (init_one_static_tls): ... and here...
27268 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
27269 for Static TLS.
27270 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
27271 that the slot we find is associated with the given map before
27272 using its generation count.
27273 * nptl_db/db_info.c: Include ldsodefs.h.
27274 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
27275 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
27276 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
27277 (link_map::l_tls_offset): New struct field.
27278 (dtv_t::counter): Likewise.
27279 (rtld_global): New struct.
27280 (_rtld_global): New rtld variable.
27281 (dl_tls_dtv_slotinfo_list): New rtld global field.
27282 (dtv_slotinfo_list): New struct.
27283 (dtv_slotinfo): Likewise.
27284 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
27285 (td_lookup): Rename to...
27286 (td_mod_lookup): ... this. Use new mod parameter instead of
27287 LIBPTHREAD_SO.
27288 * nptl_db/td_thr_tlsbase.c: Include link.h.
27289 (dtv_slotinfo_list, dtv_slotinfo): New functions.
27290 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
27291 addresses even if the DTV is out of date or missing them.
27292 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
27293 index zero-length arrays.
27294 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
27295 (td_lookup): Make it a macro implemented in terms of...
27296 (td_mod_lookup): ... this declaration.
27297 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
27298 (DB_MAIN_VARIABLE): Likewise.
27299
27300 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
27301
27302 [BZ #18134]
27303 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27304
27305 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
27306
27307 * stdlib/setenv.c (__add_to_environ): Revert previous change.
27308
27309 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
27310
27311 [BZ #18128]
27312 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
27313 (atomic_add, atomic_increment_and_test)
27314 (atomic_decrement_and_test): Fix 64-bit arithmetic.
27315
27316 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
27317
27318 * stdlib/setenv.c (__add_to_environ):
27319 Dump core quickly if setenv (..., NULL, ...) is called.
27320
27321 2015-03-13 Roland McGrath <roland@hack.frob.com>
27322
27323 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
27324 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
27325 all the necessary asm magic in one place.
27326 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
27327 using those.
27328
27329 2015-03-13 Carlos O'Donell <carlos@redhat.com>
27330
27331 [BZ #14906]
27332 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
27333 traced file mtime. Use consistent log message.
27334 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
27335 (register_traced_file): Call install_watches. Always set mtime.
27336 (invalidate_cache): Iterate over all trace files. Call install_watches.
27337 (inotify_check_files): Don't inline. Handle watching parent
27338 directories and configuration file movement in and out.
27339 (handle_inotify_events): New function.
27340 (main_loop_poll): Call handle_inotify_events.
27341 (main_loop_epoll): Likewise.
27342 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
27343 (struct traced_file): Use array of inotify fds. Add parent directory,
27344 and basename.
27345 (struct database_dyn): Remove unused file_mtime.
27346 (init_traced_file): New inline function.
27347 (define_traced_file): New macro.
27348 * nss/nss_db/db-init.c: Use define_traced_file.
27349 (_nss_db_init): Use init_traced_file.
27350 * nss/nss_files/files-init.c: Use define_traced_file.
27351 (_nss_files_init): Use init_traced_file.
27352
27353 2015-03-12 Joseph Myers <joseph@codesourcery.com>
27354
27355 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
27356 [_LIBC]: Do not include <stdlib.h>.
27357 [!_LIBC] (abort): Remove declaration.
27358 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
27359 _FP_STATIC_ASSERT instead of conditionally calling abort.
27360 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
27361 (_FP_EXTEND_CNAN): Likewise.
27362 (FP_TRUNC): Likewise.
27363 (__FP_CLZ): Likewise.
27364 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
27365
27366 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
27367
27368 * manual/string.texi (XPG basename): Fix prototype.
27369
27370 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27371
27372 [BZ #18080]
27373 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
27374 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27375 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
27376 (__setcontext): Likewise.
27377 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
27378 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27379 Call rt_sigprocmask syscall one time to set new signal mask
27380 and retrieve the current signal mask instead of two calls.
27381 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
27382 (__swapcontext): Likewise.
27383 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
27384 * stdlib/tst-setcontext2.c: New file.
27385
27386 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27387
27388 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27389
27390 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
27391
27392 [BZ #18093]
27393 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
27394 the wrong size.
27395
27396 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
27397
27398 [BZ #18043]
27399 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
27400
27401 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27402
27403 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
27404 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
27405 Remove define.
27406 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
27407 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
27408 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
27409 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
27410 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
27411 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
27412 define.
27413 * nptl_db/td_symbol_list.c (td_lookup): Remove
27414 HAVE_ASM_GLOBAL_DOT_NAME code.
27415 * sysdeps/powerpc/powerpc64/configure.ac: Remove
27416 HAVE_ASM_GLOBAL_DOT_NAME check.
27417 * sysdeps/powerpc/powerpc64/configure: Regenerate.
27418 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
27419 (DOT_LABEL): Remove define.
27420 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
27421 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
27422 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
27423 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
27424 (__TLS_GET_ADDR): Likewise.
27425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
27426 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
27427
27428 2015-03-11 Carlos O'Donell <carlos@redhat.com>
27429
27430 [BZ #18111]
27431 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
27432 (_FPU_SETCW): Initialize cw from fpsr before storing.
27433 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
27434 (fesetexceptflag): Rewrite using fpu_control.h.
27435 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
27436
27437 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
27438
27439 [BZ #18110]
27440 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
27441 asms.
27442 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27443
27444 2015-03-11 Joseph Myers <joseph@codesourcery.com>
27445
27446 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
27447 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
27448 abort.
27449 (_FP_FMA): Likewise.
27450 (_FP_DIV): Likewise.
27451
27452 2015-03-10 Roland McGrath <roland@hack.frob.com>
27453
27454 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
27455 with 0 in that case.
27456 * Makefile (summarize-tests): New canned sequence, factored out of
27457 commands for targets tests and xtests. Display summary lines that
27458 don't start with PASS: or XFAIL: rather than ones that do start with
27459 ERROR: or FAIL:. Make the commands fail if any summary lines fail
27460 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
27461 do start with ERROR: or FAIL:.
27462 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
27463 (except for [$(build-shared) = yes]).
27464 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
27465 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
27466 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
27467 * nptl/Makefile: Revert 2015-03-04 changes.
27468 [$(CXX) empty] (tests-unsupported): New variable.
27469 * debug/Makefile: Likewise.
27470
27471 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
27472 gnulib file. Replace __attribute with __attribute__ throughout.
27473
27474 2015-03-10 Carlos O'Donell <carlos@redhat.com>
27475
27476 * sysdeps/hppa/fpu/libm-test-ulps: Update.
27477
27478 2015-03-10 Joseph Myers <joseph@codesourcery.com>
27479
27480 [BZ #18104]
27481 * math/auto-libm-test-in: Add another test of pow.
27482 * math/auto-libm-test-out: Regenerated.
27483
27484 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27485
27486 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
27487 $(config-cflags-nofma).
27488
27489 2015-03-10 Joseph Myers <joseph@codesourcery.com>
27490
27491 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
27492 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
27493 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
27494 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
27495 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
27496 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
27497 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
27498 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
27499 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
27500 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
27501 Add comment on closing #endif.
27502
27503 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27504
27505 * posix/wordexp.c (CHAR_IN_SET): New macro.
27506 (parse_param): Use it.
27507
27508 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27509
27510 * sysdeps/powerpc/fpu/libm-test-ulps: update.
27511
27512 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27513
27514 [BZ #18043]
27515 * posix/wordexp.c (parse_param): Fix buffer overflow.
27516 * posix/wordexp-test.c (test_case): Add test case.
27517
27518 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27519
27520 [BZ #18042]
27521 * posix/wordexp.c (parse_backtick): Fix off-by-one.
27522 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
27523
27524 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27525
27526 [BZ #18043]
27527 * posix/wordexp-test.c (test_case): Add test for BZ #18043
27528 (do_bz18043): Delete.
27529 (at_page_end): New.
27530 (testit): Refactor to have words at the edge of unreadable page.
27531
27532 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27533
27534 [BZ #16734]
27535 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
27536 Cleanup read-only streams as well.
27537 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
27538
27539 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
27540
27541 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
27542 <bits/libc-lockP.h>
27543
27544 2015-03-07 Joseph Myers <joseph@codesourcery.com>
27545
27546 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
27547 on [__KERNEL__].
27548 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
27549 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
27550 * soft-fp/op-common.h (_FP_DECL): Likewise.
27551
27552 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
27553
27554 * elf/ifuncdep2.c (global): Replace
27555 __attribute__((visibility("protected"))) with
27556 asm (".protected global").
27557 * elf/ifuncmod1.c (global): Likewise.
27558 * elf/ifuncmod5.c (global): Likewise.
27559
27560 2015-03-06 Joseph Myers <joseph@codesourcery.com>
27561
27562 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
27563 <asm/sfp-machine.h> instead of <sfp-machine.h>.
27564
27565 2015-03-06 Roland McGrath <roland@hack.frob.com>
27566
27567 * manual/install.texi (Configuring and compiling):
27568 Document test-wrapper-env-only.
27569 * INSTALL: Regenerated.
27570
27571 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27572
27573 [BZ #18043]
27574 * posix/wordexp.c (parse_param): Fix buffer overflow.
27575 * posix/wordexp-test.c (do_bz18043): Add test case.
27576
27577 2015-03-06 Vincent Bernat <vincent@bernat.im>
27578
27579 * time/tst-strptime2.c (do_test): Ensure failing tests are
27580 reported correctly.
27581 * time/tst-strptime3.c (do_test): Likewise.
27582
27583 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
27584
27585 Fix aio_error thread-safety.
27586 * sysdeps/pthread/aio_error.c: New file
27587 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
27588 synchronization.
27589
27590 2015-03-06 Florian Weimer <fweimer@redhat.com>
27591
27592 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
27593 (group_number, vfprintf): Use it.
27594 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
27595 (JUMP, REF): Use it.
27596 (WORK_BUFFER_SIZE): New enum constant.
27597 (process_arg, vfprintf): Use it.
27598
27599 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
27600
27601 * manual/errno.texi (Error Messages): Complete example function
27602 by adding missing #define.
27603 (program_invocation_name): Add statement indicating GNU
27604 extension and reference which header file declares the variable.
27605 (program_invocation_short_name): Likewise.
27606
27607 2015-03-06 Mike Frysinger <vapier@gentoo.org>
27608
27609 * manual/errno.texi (Error Messages): Delete strerror ISO C89
27610 compatibility note.
27611
27612 2015-03-05 Roland McGrath <roland@hack.frob.com>
27613
27614 * Makeconfig (test-wrapper-env-only): New variable.
27615 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
27616 then use that with $(test-wrapper-env-only) rather than using
27617 $(test-wrapper-env) $(run-program-env) $($*-ENV).
27618
27619 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
27620
27621 [BZ #18082]
27622 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
27623 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
27624 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
27625 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
27626 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
27627 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
27628 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
27629 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
27630 Likewise.
27631 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
27632 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
27633 Likewise.
27634 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
27635 Likewise.
27636 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
27637 Likewise.
27638 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
27639 Likewise.
27640 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
27641 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
27642 Likewise.
27643 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
27644 Likewise.
27645 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
27646 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
27647
27648 2015-03-04 Roland McGrath <roland@hack.frob.com>
27649
27650 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
27651 (ETH_ALEN): New macro.
27652 (struct ether_addr): Use it for length of ether_addr_octet.
27653
27654 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
27655 (setdb): Don't call __nss_configure_lookup for "rpc".
27656 (do_test): Don't call test_rpc.
27657 (output_rpcent, test_rpc): Functions moved ...
27658 * sunrpc/test-rpcent.c: ... to this new file.
27659 * sunrpc/Makefile (tests): Add it.
27660
27661 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
27662 __xpg_sigpause.
27663 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
27664 * nptl/tst-signal6.c: Likewise.
27665 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
27666 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
27667
27668 * configure.ac (libc_cv_cxx_link_ok): New check.
27669 Reset CXX to empty if it fails to link.
27670 * configure: Regenerated.
27671 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
27672 bug-atexit3-lib only if $(CXX) is nonempty.
27673 * nptl/Makefile (tests): Likewise for tst-cancel24.
27674 (tests, tests-static): Likewise for tst-cancel24-static.
27675 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
27676 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
27677 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
27678 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
27679
27680 2015-03-04 Andreas Schwab <schwab@suse.de>
27681
27682 [BZ #17631]
27683 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
27684 for non-GCC compilers.
27685 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27686 Likewise.
27687
27688 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27689
27690 [BZ #17776]
27691 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
27692 integer before bitwise and assembly operations.
27693 (feclearexcept): Likewise.
27694 * math/test-fenvinline.c: New file.
27695 * math/Makefile: Add test-fenvinline test.
27696
27697 2015-03-03 Alan Modra <amodra@gmail.com>
27698
27699 [BZ #16512]
27700 * scripts/localplt.awk: Strip off symbol version.
27701 * NEWS: Mention bug fix.
27702
27703 2015-03-02 Roland McGrath <roland@hack.frob.com>
27704
27705 * sysdeps/pthread/timer_routines.c
27706 (timer_free_list, thread_free_list, thread_active_list): Make static.
27707
27708 2015-03-02 Joseph Myers <joseph@codesourcery.com>
27709
27710 [BZ #17779]
27711 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27712 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27713 Undefine.
27714 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27715 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27716 Likewise.
27717 * sysdeps/unix/sysv/linux/sh/kernel-features.h
27718 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27719 Likewise.
27720
27721 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27722
27723 [BZ #18036]
27724 * posix/fnmatch_loop.c (END): Detect invalid pattern.
27725 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
27726
27727 2015-03-02 Andreas Schwab <schwab@suse.de>
27728
27729 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
27730 variable name.
27731
27732 2015-03-02 Florian Weimer <fweimer@redhat.com>
27733
27734 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
27735 Return error status.
27736
27737 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
27738
27739 [BZ #15969]
27740 * locale/findlocale.c (_nl_find_locale): Introduce const
27741 version of loc_name and drop unsafe type casts.
27742
27743 2015-02-27 Roland McGrath <roland@hack.frob.com>
27744
27745 * dlfcn/tststatic2.c (main): Converted to ...
27746 (do_test): ... this.
27747 (TEST_FUNCTION): New macro.
27748 Include test-skeleton.c.
27749
27750 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
27751
27752 [BZ #17711]
27753 * elf/Makefile (tests): Add vismain only if PIE is enabled.
27754 (tests-pie): Add vismain.
27755 (CFLAGS-vismain.c): New.
27756 * elf/vismain.c: Add comments for PIE requirement.
27757
27758 2015-02-27 Joseph Myers <joseph@codesourcery.com>
27759
27760 [BZ #18046]
27761 [BZ #18047]
27762 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
27763 0x1p-56L as threshold for just returning the argument.
27764 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
27765 0x1p-32L as threshold for just returning the argument.
27766 * math/auto-libm-test-in: Add more tests of atanh.
27767 * math/auto-libm-test-out: Regenerated.
27768 * sysdeps/i386/fpu/libm-test-ulps: Update.
27769 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
27770
27771 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
27772
27773 * string/bcopy.c (bcopy): Call memmove for performance.
27774
27775 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
27776
27777 * string/bzero.c (__bzero): Call memset for performance.
27778
27779 2015-02-27 John David Anglin <dave.anglin@bell.net>
27780
27781 [BZ #18068]
27782 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
27783 to 00100000.
27784
27785 2015-02-27 Joseph Myers <joseph@codesourcery.com>
27786
27787 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
27788
27789 2015-02-26 Joseph Myers <joseph@codesourcery.com>
27790
27791 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
27792 (__kernel_standard): Use CSTR macro when setting exc.name.
27793 * sysdeps/ieee754/Makefile [$(subdir) = math]
27794 (CFLAGS-k_standard.c): Remove variable.
27795
27796 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
27797 setting p and q from "else if" to "else".
27798 (qzero): Likewise.
27799 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
27800 (qone): Likewise.
27801 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
27802 (qzerof): Likewise.
27803 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
27804 (qonef): Likewise.
27805 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
27806 (qzero): Likewise.
27807 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
27808 (qone): Likewise.
27809
27810 [BZ #18038]
27811 [BZ #18039]
27812 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
27813 return pi/2 for arguments below 0x1p-113L.
27814 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
27815 return pi/2 for arguments below 0x1p-106L.
27816 * math/auto-libm-test-in: Add more tests of acos.
27817 * math/auto-libm-test-out: Regenerated.
27818
27819 [BZ #16351]
27820 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
27821 (MO): New macro.
27822 (__ieee754_asin): Force underflow exception for results with small
27823 absolute value.
27824 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
27825 (MO): New macro.
27826 (__ieee754_asinf): Force underflow exception for results with
27827 small absolute value.
27828 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
27829 (__ieee754_asin): Force underflow exception for results with small
27830 absolute value.
27831 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
27832 (__ieee754_asinf): Force underflow exception for results with
27833 small absolute value.
27834 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
27835 (__ieee754_asinl): Force underflow exception for results with
27836 small absolute value.
27837 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
27838 (__ieee754_asinl): Force underflow exception for results with
27839 small absolute value.
27840 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
27841 (__ieee754_asinl): Force underflow exception for results with
27842 small absolute value.
27843 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
27844 Include <math.h>.
27845 * math/auto-libm-test-in: Do not mark underflow exceptions as
27846 possibly missing for bug 16351.
27847 * math/auto-libm-test-out: Regenerated.
27848
27849 [BZ #18030]
27850 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
27851 of power of 2 down when low part has opposite sign.
27852 * math/libm-test.inc (logb_test_data): Add more tests.
27853
27854 2015-02-26 Andreas Schwab <schwab@suse.de>
27855
27856 [BZ #18032]
27857 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
27858 over collating symbol inside a bracket expression. Minor cleanup.
27859 * posix/tst-fnmatch3.c (do_test): Add test case.
27860
27861 2015-02-26 Joseph Myers <joseph@codesourcery.com>
27862
27863 [BZ #18029]
27864 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
27865 Adjust exponent of power of 2 down when low part has opposite
27866 sign.
27867 * math/libm-test.inc (ilogb_test_data): Add more tests.
27868
27869 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
27870
27871 [BZ #15969]
27872 * locale/findlocale.c (_nl_find_locale): Fix constness error in
27873 the previous change.
27874
27875 [BZ #15969]
27876 * locale/findlocale.c (_nl_find_locale): Retry archive search
27877 after alias expansion.
27878
27879 2015-02-25 Roland McGrath <roland@hack.frob.com>
27880
27881 * iconv/tst-iconv3.c (main): Converted to ...
27882 (do_test): ... this.
27883 (TEST_FUNCTION): New macro.
27884 Include test-skeleton.c.
27885
27886 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
27887 (convert): Make function static.
27888 (test_unalign): Likewise. Add const to argument pointee types.
27889 (main): Replace with static function do_test.
27890 Print "Succeeded." only if RET is zero.
27891 (TEST_FUNCTION): New macro.
27892 Include test-skeleton.c.
27893
27894 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
27895 returns a null pointer.
27896
27897 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27898
27899 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
27900 to __memcpy_ppc only for static builds.
27901
27902 2015-02-25 Joseph Myers <joseph@codesourcery.com>
27903
27904 [BZ #18020]
27905 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
27906 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
27907 * math/auto-libm-test-in: Add more tests of asinh.
27908 * math/auto-libm-test-out: Regenerated.
27909 * sysdeps/i386/fpu/libm-test-ulps: Update.
27910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27911
27912 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
27913
27914 [BZ #15850]
27915 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
27916 and ip6_mtuinfo definitions here.
27917 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
27918 in this define too. Update comment.
27919
27920 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
27921
27922 * elf/sprof.c (load_shobj): Tweak error message to match others.
27923
27924 2015-02-24 Kevin Easton <kevin@guarana.org>
27925
27926 [BZ #16145] (partial fix)
27927 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
27928 to reduce lock contention.
27929
27930 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
27931
27932 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
27933 (struct timex): Update time comment.
27934 (ADJ_SETOFFSET): Define.
27935
27936 2015-02-24 Joseph Myers <joseph@codesourcery.com>
27937
27938 [BZ #18019]
27939 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27940 2**56 not 2**28 as threshold for log (2x) formula.
27941 * math/auto-libm-test-in: Add more tests of acosh.
27942 * math/auto-libm-test-out: Regenerated.
27943 * sysdeps/i386/fpu/libm-test-ulps: Update.
27944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27945
27946 2015-02-24 Mike Frysinger <vapier@gentoo.org>
27947
27948 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
27949 parenthesis around the buf assignment.
27950 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
27951
27952 2015-02-24 Joseph Myers <joseph@codesourcery.com>
27953
27954 [BZ #16783]
27955 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
27956 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
27957 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
27958 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
27959 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
27960 * math/libm-test.inc (scalb_test_data): Add more tests.
27961
27962 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
27963
27964 [BZ #17916]
27965 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
27966 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
27967
27968 2015-02-24 Eric Rannaud <e@nanocritical.com>
27969
27970 [BZ #17523]
27971 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
27972 * io/bits/fcntl2.h (open): Use it.
27973 (openat): Likewise.
27974 * io/open.c (__libc_open): Likewise.
27975 * io/open64.c (__libc_open64): Likewise.
27976 * io/open64_2.c (__open64_2): Likewise.
27977 * io/open_2.c (__open_2): Likewise.
27978 * io/openat.c (__openat): Likewise.
27979 * io/openat64.c (__openat64): Likewise.
27980 * io/openat64_2.c (__openat64_2): Likewise.
27981 * io/openat_2.c (__openat_2): Likewise.
27982 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
27983 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27984 * sysdeps/posix/open64.c (__libc_open64): Likewise.
27985 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27986 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
27987 (__open_nocancel): Likewise.
27988 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
27989 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
27990 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
27991
27992 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27993
27994 [BZ #14841]
27995 * resolv/gethnamaddr.c (getanswer): Skip logging if
27996 RES_USE_DNSSEC is set.
27997 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27998
27999 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28000
28001 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28002
28003 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
28004
28005 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28006 201304L, for Unicode 7.
28007
28008 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
28009
28010 [BZ #17836]
28011 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28012 shared library. Add gmon-start.os otherwise.
28013 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28014 $(objpfx)gmon-start.os if builing shared library.
28015 ($(objpfx)g$(static-start-installed-name)): Likewise.
28016
28017 2015-02-23 Andreas Schwab <schwab@suse.de>
28018
28019 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28020
28021 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28022
28023 [BZ #17269]
28024 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28025 (enlarge_userbuf): Likewise.
28026
28027 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
28028
28029 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28030 * math/atest-exp.c (TIMEOUT): Adjust to 200.
28031 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28032 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28033
28034 2015-02-20 Joseph Myers <joseph@codesourcery.com>
28035
28036 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28037 expression inside statement expression.
28038
28039 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
28040
28041 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28042 <sysdeps/nptl/lowlevellock.h> and remove macros and
28043 functions that are now defined there.
28044 (SYS_futex): Remove.
28045 (lll_compare_and_swap): Remove.
28046 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28047
28048 2015-02-19 Joseph Myers <joseph@codesourcery.com>
28049
28050 [BZ #17999]
28051 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28052 instead of scandirat.
28053 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28054 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28055 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28056 __scandirat.
28057 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28058 (__scandirat): Declare. Use libc_hidden_proto.
28059 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28060 Remove variable.
28061 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28062
28063 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28064
28065 [BZ #15319]
28066 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28067 (MO): New macro.
28068 (__ieee754_atan2): For results with small absolute value, force
28069 underflow exception and remove excess range and precision from
28070 return value.
28071 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28072 (MO): New macro.
28073 (__ieee754_atan2f): For results with small absolute value, force
28074 underflow exception and remove excess range and precision from
28075 return value.
28076 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28077 (MO): New macro.
28078 (__atan): For results with small absolute value, force underflow
28079 exception and remove excess range and precision from return value.
28080 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28081 (MO): New macro.
28082 (__atanf): For results with small absolute value, force underflow
28083 exception and remove excess range and precision from return value.
28084 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28085 <math.h>.
28086 (__ieee754_atan2): Force underflow exception for results with
28087 small absolute value.
28088 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28089 <math_private.h>.
28090 (atan): Force underflow exception for results with small absolute
28091 value.
28092 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28093 (__atanf): Force underflow exception for results with small
28094 absolute value.
28095 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28096 <math.h>.
28097 (__atanl): Force underflow exception for results with small
28098 absolute value.
28099 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28100 (__atanl): Force underflow exception for results with small
28101 absolute value.
28102 * sysdeps/x86/fpu/bits/mathinline.h
28103 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28104 (__ieee754_atan2): Only define inline for long double.
28105 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28106 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28107 * math/auto-libm-test-in: Do not mark underflow exceptions as
28108 possibly missing for bug 15319. Add more tests of atan2.
28109 * math/auto-libm-test-out: Regenerated.
28110 * math/libm-test.inc (casin_test_data): Do not mark underflow
28111 exceptions as possibly missing for bug 15319.
28112 (casinh_test_data): Likewise.
28113 * sysdeps/i386/fpu/libm-test-ulps: Update.
28114
28115 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
28116
28117 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28118 * sysdeps/mips/bits/endian.h: Fix comments.
28119
28120 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28121
28122 [BZ #17996]
28123 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28124 (hdestroy_r): Likewise.
28125 (hsearch_r): Likewise.
28126 (__hcreate_r): Declare and use libc_hidden_proto.
28127 (__hdestroy_r): Likewise.
28128 (__hsearch_r): Likewise.
28129 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28130 (hcreate): Call __hcreate_r instead of hcreate_r.
28131 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28132 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28133 as weak alias of __hcreate_r.
28134 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28135 __hdestroy_r.
28136 (hsearch_r): Rename to __hsearch_r and define as weak alias of
28137 __hsearch_r.
28138 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28139 Remove variable.
28140 (test-xfail-XPG4/search.h/linknamespace): Likewise.
28141 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28142 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28143 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28144
28145 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28146
28147 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28148 arena_lock into a single arena_get.
28149
28150 2015-02-17 Carlos O'Donell <carlos@redhat.com>
28151
28152 * dl-reloc.c: Inlucde libc-internal.h.
28153 (_dl_try_allocate_static_tls): Call ALIGN_UP.
28154 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28155 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28156 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28157 (grow_heap): Likewise.
28158 * malloc/malloc.c: Include libc-internal.h.
28159 (do_check_malloc): Call powerof2.
28160 (sysmalloc): Use pagesize. Call ALIGN_UP.
28161 (systrim): Use pagesize.
28162 (mremap_chunk): Use pagesize. Call ALIGN_UP.
28163 (__libc_valloc): Use pagesize.
28164 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28165
28166 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28167
28168 [BZ #17991]
28169 * include/sys/resource.h (__getrlimit64): Declare. Use
28170 libc_hidden_proto.
28171 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28172 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
28173 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28174 getrlimit64.
28175 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28176 __getrlimit64.
28177 [!getrlimit64] (getrlimit64): Define as weak alias of
28178 __getrlimit64. Use libc_hidden_weak.
28179 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28180 using __getrlimit64 not __new_getrlimit64.
28181 (__GI_getrlimit64): Likewise.
28182 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28183 Likewise.
28184 (__GI_getrlimit64): Likewise.
28185 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28187 (getrlimit): Add __getrlimit64 alias.
28188 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
28189 Likewise.
28190 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
28191 Remove variable.
28192 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28193 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28194
28195 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
28196
28197 * libio/fileops.c: Add missing sys/mman.h
28198 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
28199
28200 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28201
28202 * manual/math.texi (Errors in Math Functions): Clarify goals
28203 regarding inexact and underflow exceptions.
28204
28205 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28206
28207 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
28208 * sysdeps/mips/memset.S: Ditto.
28209
28210 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28211
28212 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
28213
28214 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
28215
28216 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
28217 (__v1longjmp): Remove versioned symbol.
28218 (__v1siglongjmp): Remove alias and versioned symbol.
28219 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
28220 (__v2siglongjmp): Likewise.
28221
28222 2015-02-16 Torvald Riegel <triegel@redhat.com>
28223
28224 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
28225
28226 2015-02-16 Mike Frysinger <vapier@gentoo.org>
28227
28228 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
28229
28230 2015-02-16 Joseph Myers <joseph@codesourcery.com>
28231
28232 [BZ #17987]
28233 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
28234 zero result does not depend on the sign resulting from
28235 subtraction.
28236 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28237 Likewise.
28238 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28239 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28240 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28241 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28242 * math/libm-test.inc (remquo_test_data): Add more tests.
28243
28244 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
28245
28246 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
28247 Problem reported by J William Piggott.
28248
28249 2015-02-16 Joseph Myers <joseph@codesourcery.com>
28250
28251 [BZ #17978]
28252 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
28253 products 4 * y and 2 * y where those would overflow.
28254 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28255 Likewise.
28256 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28257 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28258 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28259 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28260 * math/libm-test.inc (remquo_test_data): Add more tests.
28261
28262 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
28263
28264 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
28265 [defined _COMPILING_NEWLIB].
28266 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
28267 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
28268
28269 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
28270 [!defined __mips_isa_rev || __mips_isa_rev < 6].
28271
28272 2015-02-16 Torvald Riegel <triegel@redhat.com>
28273
28274 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
28275 acquired.
28276
28277 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
28278
28279 [BZ #17792]
28280 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
28281 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
28282 HOST_STACK_END_ADDR): Likewise.
28283
28284 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
28285
28286 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
28287 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
28288 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
28289
28290 2015-02-13 Roland McGrath <roland@hack.frob.com>
28291
28292 * sysdeps/generic/c++-types.data: New file.
28293 * sysdeps/generic/ld.abilist: New file.
28294 * sysdeps/generic/libBrokenLocale.abilist: New file.
28295 * sysdeps/generic/libanl.abilist: New file.
28296 * sysdeps/generic/libc.abilist: New file.
28297 * sysdeps/generic/libcrypt.abilist: New file.
28298 * sysdeps/generic/libdl.abilist: New file.
28299 * sysdeps/generic/libm.abilist: New file.
28300 * sysdeps/generic/libpthread.abilist: New file.
28301 * sysdeps/generic/libresolv.abilist: New file.
28302 * sysdeps/generic/librt.abilist: New file.
28303
28304 2015-02-13 Joseph Myers <joseph@codesourcery.com>
28305
28306 [BZ #17569]
28307 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28308 Compute absolute value of x as modified by fmod, not original
28309 value of x.
28310 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
28311 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
28312 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
28313 RUN_TEST_ffI_f1_mod8.
28314 (remquo_test_data): Add more tests.
28315
28316 2015-02-13 Roland McGrath <roland@hack.frob.com>
28317
28318 * sysdeps/init_array/pt-crti.S: New file.
28319
28320 2015-02-13 Joseph Myers <joseph@codesourcery.com>
28321
28322 [BZ #17967]
28323 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
28324 __builtin_fmaf instead of relying on contraction of a * b + c.
28325
28326 2015-02-12 J William Piggott <elseifthen@gmx.com>
28327
28328 [BZ #17969]
28329 * manual/time.texi: correct the zoneinfo path in the TZ Variable
28330 node.
28331
28332 2015-02-12 Joseph Myers <joseph@codesourcery.com>
28333
28334 [BZ #17964]
28335 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
28336 __builtin_fma instead of relying on contraction of a * b + c.
28337
28338 2015-02-12 Roland McGrath <roland@hack.frob.com>
28339
28340 * Makeconfig (ASFLAGS): Add -Werror=undef.
28341 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
28342 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
28343 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
28344
28345 * Makeconfig (after-link): New variable.
28346 (+link-pie, +link-pie-tests): Use it.
28347 (+link-static, +link-static-tests): Likewise.
28348 (+link, +link-tests): Likewise.
28349 * Makerules (build-module, build-module-asneeded): Likewise.
28350 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
28351 Likewise.
28352 * elf/Makefile ($(objpfx)ld.so): Likewise.
28353
28354 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
28355
28356 [BZ #17965]
28357 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
28358 both struct timeval and struct timespec.
28359
28360 2015-02-12 Joseph Myers <joseph@codesourcery.com>
28361
28362 [BZ #16560]
28363 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28364 and redefine.
28365 (__ieee754_exp2l): Do not multiply small fractional parts by
28366 M_LN2l.
28367 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
28368 small argument.
28369 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28370 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28371 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
28372 * math/auto-libm-test-in: Add more tests of exp2.
28373 * math/auto-libm-test-out: Regenerated.
28374
28375 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28376
28377 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
28378 unaligned path.
28379
28380 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28381
28382 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
28383 little endian.
28384
28385 2015-02-12 Andreas Schwab <schwab@suse.de>
28386
28387 [BZ #15790]
28388 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28389 Filter out elision flags from value returned in kind.
28390 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
28391 * nptl/tst-pthread-mutexattr.c: New file.
28392
28393 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
28394
28395 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
28396 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
28397 into gnu-gnu, and update comment to refer to abi-tags.
28398
28399 2015-02-11 Joseph Myers <joseph@codesourcery.com>
28400
28401 [BZ #15467]
28402 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
28403 (__sincos): Set errno to EDOM for infinite argument.
28404 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
28405 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
28406 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
28407 (__sincosl): Set errno to EDOM for infinite argument.
28408 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
28409 (__sincosl): Set errno to EDOM for infinite argument.
28410 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
28411 (__sincosl): Set errno to EDOM for infinite argument.
28412 * math/libm-test.inc (sincos_test_data): Test errno setting.
28413
28414 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
28415
28416 * string/strxfrm_l.c: Remove #define STRCMP.
28417 * string/strcoll_l.c: Remove #define STRLEN.
28418 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
28419 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
28420
28421 2015-02-10 Joseph Myers <joseph@codesourcery.com>
28422
28423 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
28424 * sysdeps/mips/mips32/sfp-machine.h: ... here.
28425 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
28426 * sysdeps/mips/mips64/Makefile: ... here.
28427 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
28428 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
28429 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
28430 * sysdeps/mips/mips64/sfp-machine.h: ... here.
28431 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
28432 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
28433 * sysdeps/mips/mips64/n64/Implies: Likewise.
28434
28435 2015-02-10 Roland McGrath <roland@hack.frob.com>
28436
28437 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
28438 <sys/time.h>, <string.h>, and <errno.h>.
28439 (dest_offset, dest_address, value, zero): Remove unused variables.
28440 (ldouble): Remove typedef.
28441 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
28442 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
28443 1). Fix code style.
28444 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
28445 (check): Function removed.
28446 (CHECK): New macro.
28447 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
28448 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
28449 Don't call set_sigaction_FP and remove_sigaction_FP here.
28450 (ldouble_test): Just use 'long double' as macro argument, no need for
28451 the 'ldouble' typedef.
28452 (do_test): Set up SIGFPE handler at start, using plain signal rather
28453 than sigaction. Fix code style.
28454
28455 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
28456
28457 [BZ #17949]
28458 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
28459 jump label.
28460
28461 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28462
28463 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
28464 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28465
28466 * sysdeps/powerpc/configure.ac: Remove file.
28467 * sysdeps/powerpc/configure: Likewise.
28468
28469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28470 [sysdep_routines]: Remove wordcopy-power6 object.
28471 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28472 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
28473 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
28474 (__memmove_ppc32): Likewise.
28475 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
28476 file.
28477 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
28478 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
28479 Remove preprocessor.
28480
28481 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28482 [sysdep_routines]: Remove wide chars objects.
28483 [wcsmbs]: New rule for wide char objects.
28484
28485 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28486 Remove wordcopy-power6 obejct.
28487 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
28488 Use local call for wordcopy and memcpy symbols.
28489 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
28490 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
28491 implementation for loader.
28492 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
28493
28494 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28495 Remove wordcopy-power7 object.
28496 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
28497 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
28498 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
28499 (_wordcopy_fwd_dest_aligned): Likewise.
28500 (_wordcopy_bwd_aligned): Likewise.
28501 (_wordcopy_bwd_dest_aligned): Likewise.
28502
28503 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
28504 Rewrite to call __memmove_ppc instead of include default
28505 implementation.
28506
28507 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28508 Remove wide chars objects.
28509 [wcsmbs]: New rule for wide char objects.
28510
28511 2015-02-09 Andreas Schwab <schwab@suse.de>
28512
28513 [BZ #17912]
28514 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28515 in terms of __O_DIRECTORY.
28516
28517 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28518
28519 * time/getdate.c: Include <stdbool.h>.
28520 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
28521 call PTR_MANGLE.
28522 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
28523 PTR_DEMANGLE.
28524
28525 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
28526
28527 Add ersatz _Static_assert on older C hosts
28528 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
28529 pre-C11 C platform that is not known to support _Static_assert.
28530
28531 2015-02-07 Richard Braun <rbraun@sceen.net>
28532
28533 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
28534 sigstate.
28535 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
28536
28537 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28538
28539 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
28540 priority against unexistent AIO_PRIO_DELTA_MAX.
28541 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
28542 instead of int.
28543 * misc/fchflags.c (fchflags): Likewise.
28544 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
28545 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
28546 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
28547 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
28548 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
28549 Declare macros.
28550 [__USE_MISC] (chflags, fchflags): Declare functions.
28551 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
28552 EINVAL when nfds is greater than FD_SETSIZE.
28553 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
28554 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
28555 45.
28556 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
28557 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
28558 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
28559 MACH_RCV_TIMED_OUT.
28560 * hurd/hurd/signal.h (_hurd_self_sigstate,
28561 _hurd_critical_section_lock, _hurd_critical_section_unlock):
28562 Explicit casts from void *.
28563 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
28564 * abi-tags: Rename gnu-gnu os into gnu.
28565
28566 [BZ #4719]
28567 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
28568 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
28569 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
28570 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
28571 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
28572 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
28573
28574 [BZ #17944]
28575 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
28576 duplicates ADDR->sun_path with sockaddr LEN limitation.
28577 * sysdeps/mach/hurd/connect.c: Include <string.h>
28578 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
28579 * sysdeps/mach/hurd/sendmsg.c: Likewise.
28580 * sysdeps/mach/hurd/sendto.c: Likewise.
28581 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
28582 implementing it by hand.
28583
28584 2015-02-06 Roland McGrath <roland@hack.frob.com>
28585
28586 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
28587 Use sfi_breg on ldr.
28588 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
28589 Likewise.
28590
28591 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
28592 it's defined.
28593 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
28594 Test SIGSETXID only if it's defined.
28595
28596 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
28597
28598 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
28599 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
28600
28601 * nptl/tst-align2.c: Moved ...
28602 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
28603 * nptl/Makefile (tests): Remove tst-align2.
28604 * sysdeps/unix/sysv/linux/Makefile
28605 [$(subdir) = nptl] (tests): Add tst-align-clone.
28606 * nptl/tst-getpid1.c: Moved ...
28607 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
28608 * nptl/tst-getpid2.c: Moved ...
28609 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
28610 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
28611 * sysdeps/unix/sysv/linux/Makefile
28612 [$(subdir) = nptl] (tests): ... here.
28613 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
28614 * sysdeps/unix/sysv/linux/Makefile
28615 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
28616
28617 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
28618 Drop trailing \n from perror argument. Use return rather than exit.
28619
28620 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
28621 on [SA_SIGINFO].
28622 * nptl/tst-cancel21.c (do_test): Likewise.
28623 * debug/tst-backtrace6.c: Include <signal.h> first thing.
28624 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
28625 [!SA_SIGINFO]: Make it a stub test.
28626
28627 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
28628 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
28629
28630 * posix/tst-getlogin.c: Move to ...
28631 * login/tst-getlogin.c: ... here.
28632 * posix/Makefile (tests): Move tst-getlogin to ...
28633 * login/Makefile (tests): ... here.
28634
28635 * libio/tst-atime.c (do_test): Move local variables SV and E
28636 inside [ST_NOATIME] conditional.
28637
28638 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
28639
28640 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
28641
28642 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
28643 (wait_code): New function replaces macro.
28644 Call nanosleep rather than syscall.
28645
28646 * nptl/pt-system.c: Rewritten. Put everything under
28647 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28648 Use IFUNC to redirect when possible.
28649
28650 * nptl/pt-longjmp.c: Rewritten. Put everything under
28651 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28652 Use IFUNC to redirect when possible.
28653
28654 * nptl/pt-fork.c: Rewritten. Put everything under
28655 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28656 Use IFUNC to redirect when possible.
28657 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
28658
28659 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
28660 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
28661 unconditionally nowadays. This included the only reference to
28662 __vdso_clock_gettime that appears outside libc proper.
28663 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
28664 Remove version set (containing only __vdso_clock_gettime).
28665 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28666 Add attribute_hidden.
28667 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28668 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
28669 libc_hidden_data_def.
28670 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28671 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28672
28673 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
28674 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
28675 setrpcent, and getrpcport to ...
28676 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
28677 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
28678 getrpcbynumber_r, and getrpcent_r to ...
28679 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
28680 * inet/getrpcbyname.c: Moved ...
28681 * sunrpc/getrpcbyname.c: ... here.
28682 * inet/getrpcbyname_r.c: Moved ...
28683 * sunrpc/getrpcbyname_r.c: ... here.
28684 * inet/getrpcbynumber.c: Moved ...
28685 * sunrpc/getrpcbynumber.c: ... here.
28686 * inet/getrpcbynumber_r.c: Moved ...
28687 * sunrpc/getrpcbynumber_r.c: ... here.
28688 * inet/getrpcent.c: Moved ...
28689 * sunrpc/getrpcent.c: ... here.
28690 * inet/getrpcent_r.c: Moved ...
28691 * sunrpc/getrpcent_r.c: ... here.
28692 * inet/Makefile (routines): Move those to ...
28693 * sunrpc/Makefile (routines): ... here.
28694 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
28695 the $(subdirs) list.
28696 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
28697 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
28698 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
28699 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
28700
28701 * elf/Makefile (routines): Include $(all-dl-routines), not just
28702 $(dl-routines).
28703 (rtld-routines): Likewise. Use = rather than :=.
28704 * sysdeps/aarch64/Makefile [$(subdir) = elf]
28705 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
28706 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
28707 * sysdeps/arm/Makefile: Likewise.
28708 * sysdeps/i386/Makefile: Likewise.
28709 * sysdeps/x86_64/Makefile: Likewise.
28710 * sysdeps/hppa/Makefile [$(subdir) = elf]
28711 (sysdep_routines, sysdep-rtld-routines): Don't add
28712 $(sysdep-dl-routines) to these.
28713 * sysdeps/ia64/Makefile: Likewise.
28714 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
28715 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
28716 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
28717 Don't add dl-static to these; sysdep-dl-routines alone is enough.
28718 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
28719 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
28720 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
28721 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
28722 * sysdeps/powerpc/Makefile [$(subdir) = elf]
28723 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
28724 these; sysdep-dl-routines alone is enough.
28725
28726 2015-02-06 Joseph Myers <joseph@codesourcery.com>
28727
28728 [BZ #17932]
28729 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
28730 where multiplication results in zero and third argument is finite
28731 and nonzero.
28732 * math/auto-libm-test-in: Add more tests of fma.
28733 * math/auto-libm-test-out: Regenerated.
28734
28735 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
28736 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
28737 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
28738 (_FP_CMP_EQ): Likewise.
28739 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
28740
28741 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
28742 extra argument CHECK_NAN. Redefine as wrapper around
28743 _FP_EXTEND_CNAN.
28744
28745 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
28746
28747 * version.h (RELEASE): Set to "stable".
28748 (VERSION): Set to "2.21"
28749 * include/features.h (__GLIBC_MINOR__): Set to 21.
28750
28751 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
28752
28753 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28754 Paul Eggert <eggert@cs.ucla.edu>
28755
28756 [BZ #16618]
28757 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
28758 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
28759 size in bytes. Store needed elements in wpmax. Use needed size
28760 in bytes for extend_alloca.
28761
28762 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
28763
28764 * manual/install.texi: Latest tested versions are GCC 4.9.2,
28765 binutls 2.25, and texinfo 5.2.
28766 * INSTALL: Regenerate.
28767 * sysdeps/nios2/configure: Regenerate.
28768 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
28769 * manual/contrib.texi: Update.
28770 * po/be.po: Update.
28771 * po/bg.po: Update.
28772 * po/ca.po: Update.
28773 * po/cs.po: Update.
28774 * po/da.po: Update.
28775 * po/de.po: Update.
28776 * po/el.po: Update.
28777 * po/eo.po: Update.
28778 * po/es.po: Update.
28779 * po/fi.po: Update.
28780 * po/fr.po: Update.
28781 * po/gl.po: Update.
28782 * po/hr.po: Update.
28783 * po/hu.po: Update.
28784 * po/ia.po: Update.
28785 * po/id.po: Update.
28786 * po/it.po: Update.
28787 * po/ja.po: Update.
28788 * po/ko.po: Update.
28789 * po/lt.po: Update.
28790 * po/nb.po: Update.
28791 * po/nl.po: Update.
28792 * po/pl.po: Update.
28793 * po/pt_BR.po: Update.
28794 * po/ru.po: Update.
28795 * po/rw.po: Update.
28796 * po/sk.po: Update.
28797 * po/sl.po: Update.
28798 * po/sv.po: Update.
28799 * po/tr.po: Update.
28800 * po/uk.po: Update.
28801 * po/vi.po: Update.
28802 * po/zh_CN.po: Update.
28803 * po/zh_TW.po: Update.
28804
28805 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
28806 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
28807 * sysdeps/hppa/dl-irel.h: Remove #warning.
28808 * sysdeps/hppa/entry.h: Provide prototype for
28809 __canonicalize_funcptr_for_compare and cast argument.
28810 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
28811 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
28812 * sysdeps/hppa/sotruss-lib.c: New file.
28813 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
28814 (atomic_compare_and_exchange_val_acq): Use __typeof__.
28815 (atomic_compare_and_exchange_bool_acq): Likewise.
28816 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
28817 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
28818
28819 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
28820 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
28821 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
28822
28823 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
28824
28825 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
28826 called function in non-PIC case.
28827
28828 2015-01-31 David S. Miller <davem@davemloft.net>
28829
28830 * sysdeps/sparc/sparc32/bits/atomic.h
28831 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
28832 unlock not after it.
28833 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
28834 volatile register usage warnings from the compiler.
28835
28836 * sysdeps/sparc/nptl/sem_init.c: Delete.
28837 * sysdeps/sparc/nptl/sem_post.c: Delete.
28838 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
28839 * sysdeps/sparc/nptl/sem_wait.c: Delete.
28840 * sysdeps/sparc/sparc32/sem_init.c: New file.
28841 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
28842 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
28843 padding explicitly initialized.
28844 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
28845 padding for in-semaphore spinlock.
28846 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
28847 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
28848 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
28849 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
28850 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
28851 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
28852 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
28853 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
28854 version.
28855 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
28856 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
28857
28858 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
28859
28860 [BZ #17801]
28861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28862 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
28863 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
28864 New.
28865 (index_AVX_Fast_Unaligned_Load): Likewise.
28866 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
28867 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
28868 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
28869 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
28870 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
28871 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
28872 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
28873 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
28874 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
28875
28876 2015-01-29 Andreas Schwab <schwab@suse.de>
28877
28878 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
28879
28880 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28881
28882 [BZ #17892]
28883 * nscd/nscd_stat.c (send_stats): Initialize DATA.
28884
28885 2015-01-28 Martin Sebor <msebor@redhat.com>
28886
28887 * math/README.libm-test: Clarify. Add "How to read the test output."
28888
28889 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
28890
28891 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
28892 Define to 0.
28893
28894 2015-01-28 Joseph Myers <joseph@codesourcery.com>
28895
28896 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
28897 (__HAVE_64B_ATOMICS): Define to 0.
28898
28899 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28900
28901 [BZ #17885]
28902 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
28903 value to set as new flag.
28904
28905 [BZ #16576]
28906 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
28907 and use _ARCH_PPCSQ instead.
28908 (__ieee754_sqrt): Likewise.
28909 (__ieee754_sqrtf): Likewise.
28910 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
28911 _ARCH_PPCSQ is defined.
28912 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
28913 fsqrt instruction.
28914 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
28915 _ARCH_PPCSQ is defined.
28916 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
28917 fsqrts instruction.
28918 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
28919
28920 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28921
28922 * iconv/loop.c: Suppress array out of bound warning caused by GCC
28923 bug (GCC BZ #64739).
28924
28925 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
28926
28927 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
28928 Mark _retval as used.
28929 (lll_futex_wake_unlock): Likewise.
28930 (lll_futex_timed_wait_requeue_pi): Likewise.
28931
28932 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28933 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
28934 register variables.
28935
28936 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
28937 libm_hidden_def.
28938
28939 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
28940 (__bswap_64): Mark as __always_inline.
28941
28942 2015-01-25 Bram <bug_rh@spam.wizbit.be>
28943
28944 [BZ #15378]
28945 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
28946 when none of the search directories exist.
28947
28948 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28949
28950 [BZ #17869]
28951 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
28952 power8 in .machine directive.
28953
28954 [BZ #17868]
28955 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
28956 set dependency from opd value.
28957
28958 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
28959
28960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28961 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
28962 architecture.
28963
28964 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
28965
28966 [BZ #17870]
28967 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
28968 with uint64_t.
28969 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
28970 (uint64_t) 1.
28971 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
28972 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
28973 Replace 1UL with (uint64_t) 1.
28974 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
28975 int with uint64_t.
28976
28977 2015-01-23 Roland McGrath <roland@hack.frob.com>
28978
28979 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
28980 (if_freenameindex): Likewise.
28981
28982 * resource/getrlimit64.c: Add missing libc_hidden_def.
28983
28984 2015-01-22 Joseph Myers <joseph@codesourcery.com>
28985
28986 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
28987 __label__.
28988 (_FP_FMA): Likewise.
28989 (_FP_TO_INT_ROUND): Likewise.
28990 (_FP_FROM_INT): Likewise.
28991
28992 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28993
28994 [BZ #16418]
28995 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
28996 Make code racy and cancel safe.
28997
28998 2015-01-21 Carlos O'Donell <carlos@redhat.com>
28999
29000 * sysdeps/arm/unwind-resume.h: Fix copyright year.
29001 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29002 attribution.
29003
29004 * pwd/tst-getpw.c: Rewrite.
29005
29006 [BZ #17702]
29007 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29008 (modules-names): Add moddummy1 and moddummy2.
29009 ($(objpfx)tst-rec-dlopen): Define.
29010 * dlfcn/moddummy1.c: New file.
29011 * dlfcn/moddummy2.c: New file.
29012 * dlfcn/tst-rec-dlopen.c: New file.
29013 * elf/dl-cache.c (_dl_load_cache_lookup):
29014 Return char*. Copy result with alloca/strcpy/strdup.
29015 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29016 returns char*. Free cached. If not saving realname
29017 free cached.
29018 * elf/dl-open.c (dl_open_worker): Do not assert that
29019 _r_debug->r_state is RT_CONSISTENT.
29020 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29021 returns char*.
29022
29023 2015-01-21 Torvald Riegel <triegel@redhat.com>
29024 Carlos O'Donell <carlos@redhat.com>
29025
29026 [BZ #12674]
29027 * nptl/sem_waitcommon.c: New file.
29028 * nptl/sem_wait.c: Include sem_waitcommon.c.
29029 (__sem_wait_cleanup, do_futex_wait): Remove.
29030 (__new_sem_wait): Adapt.
29031 (__new_sem_trywait): New function.
29032 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29033 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29034 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29035 (sem_timedwait): Adapt.
29036 * nptl/sem_post.c (__new_sem_post): Adapt.
29037 (futex_wake): New function.
29038 (__old_sem_post): Add release MO fence.
29039 * nptl/sem_open.c (sem_open): Adapt.
29040 * nptl/sem_init.c (__new_sem_init): Adapt.
29041 (futex_private_if_supported): New function.
29042 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29043 (__old_sem_getvalue): Add using previous code.
29044 * sysdeps/nptl/internaltypes.h: Adapt.
29045 * nptl/tst-sem13.c (do_test): Adapt.
29046 * nptl/tst-sem11.c (main): Adapt.
29047 * nptl/sem_trywait.c: Remove.
29048 * nptl/DESIGN-sem.txt: Remove.
29049 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29050 (gen-as-const-headers): Remove structsem.sym.
29051 * nptl/structsem.sym: Remove.
29052 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29053 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29054 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29055 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29056 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29057 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29058 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29059 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29060 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29061 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29062 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29063 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29064 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29065 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29066 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29067 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29068 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29069 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29070 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29071 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29072 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29073 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29074
29075 2015-01-20 Carlos O'Donell <carlos@redhat.com>
29076
29077 * INSTALL: Regenerated.
29078
29079 * po/libc.pot: Regenerated.
29080
29081 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
29082 Sandra Loosemore <sandra@codesourcery.com>
29083 Andrew Jenner <andrew@codesourcery.com>
29084 Joseph Myers <joseph@codesourcery.com>
29085 Nathan Sidwell <nathan@codesourcery.com>
29086
29087 * NEWS: Mention new Nios II port.
29088 * sysdeps/nios2/Implies: New file.
29089 * sysdeps/nios2/Makefile: New file.
29090 * sysdeps/nios2/Subdirs: New file.
29091 * sysdeps/nios2/Versions: New file.
29092 * sysdeps/nios2/__longjmp.S: New file.
29093 * sysdeps/nios2/abort-instr.h: New file.
29094 * sysdeps/nios2/backtrace.c: New file.
29095 * sysdeps/nios2/bits/endian.h: New file.
29096 * sysdeps/nios2/bits/fenv.h: New file.
29097 * sysdeps/nios2/bits/link.h: New file.
29098 * sysdeps/nios2/bits/setjmp.h: New file.
29099 * sysdeps/nios2/bsd-_setjmp.S: New file.
29100 * sysdeps/nios2/bsd-setjmp.S: New file.
29101 * sysdeps/nios2/configure: New generated file.
29102 * sysdeps/nios2/configure.ac: New file.
29103 * sysdeps/nios2/crti.S: New file.
29104 * sysdeps/nios2/crtn.S: New file.
29105 * sysdeps/nios2/dl-init.c: New file.
29106 * sysdeps/nios2/dl-machine.h: New file.
29107 * sysdeps/nios2/dl-sysdep.h: New file.
29108 * sysdeps/nios2/dl-tls.h: New file.
29109 * sysdeps/nios2/dl-trampoline.S: New file.
29110 * sysdeps/nios2/gccframe.h: New file.
29111 * sysdeps/nios2/gmp-mparam.h: New file.
29112 * sysdeps/nios2/jmpbuf-offsets.h: New file.
29113 * sysdeps/nios2/jmpbuf-unwind.h: New file.
29114 * sysdeps/nios2/ldsodefs.h: New file.
29115 * sysdeps/nios2/libc-tls.c: New file.
29116 * sysdeps/nios2/libm-test-ulps: New file.
29117 * sysdeps/nios2/machine-gmon.h: New file.
29118 * sysdeps/nios2/math-tests.h: New file.
29119 * sysdeps/nios2/math_private.h: New file.
29120 * sysdeps/nios2/memusage.h: New file.
29121 * sysdeps/nios2/nptl/Makefile: New file.
29122 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29123 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29124 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29125 * sysdeps/nios2/nptl/pthreaddef.h: New file.
29126 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29127 * sysdeps/nios2/nptl/tls.h: New file.
29128 * sysdeps/nios2/preconfigure: New file.
29129 * sysdeps/nios2/s_fma.c: New file.
29130 * sysdeps/nios2/s_fmaf.c: New file.
29131 * sysdeps/nios2/setjmp.S: New file.
29132 * sysdeps/nios2/sfp-machine.h: New file.
29133 * sysdeps/nios2/sotruss-lib.c: New file.
29134 * sysdeps/nios2/stackguard-macros.h: New file.
29135 * sysdeps/nios2/stackinfo.h: New file.
29136 * sysdeps/nios2/start.S: New file.
29137 * sysdeps/nios2/sysdep.h: New file.
29138 * sysdeps/nios2/tls-macros.h: New file.
29139 * sysdeps/nios2/tst-audit.h: New file.
29140 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29141 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29142 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29143 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29144 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29145 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29146 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29147 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29148 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29149 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29150 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29151 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29152 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29153 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29154 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29155 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29156 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29157 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29158 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29159 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29160 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29161 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29162 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29163 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29164 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29165 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29166 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29167 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29168 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29169 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29170 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29171 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29172 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29173 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29174 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29175 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29176 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29177 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29178 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29179 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29180 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29181 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29182 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29183 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29184
29185 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29186
29187 [BZ #17844]
29188 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
29189 (getutent): Use weak_alias in non SHARED case
29190 and default_symbol_version in SHARED case.
29191 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
29192 (getutent_r, pututline): Likewise.
29193 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
29194 (getutid): Likewise.
29195 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
29196 (getutid_r): Likewise.
29197 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
29198 (getutline): Likewise.
29199 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
29200 (getutline_r): Likewise.
29201 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
29202 (updwtmp): Likewise.
29203
29204 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29205
29206 [BZ #17848]
29207 * sysdeps/s390/s390-32/memcmp.S
29208 (memcmp_g5): Rename to __memcmp_g5.
29209 * sysdeps/s390/s390-32/memcpy.S
29210 (memcpy_g5): Rename to __memcpy_g5.
29211 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29212 (memcpy_mvcle) Rename to __memcpy_mvcle.
29213 * sysdeps/s390/s390-32/memset.S
29214 (memset_g5): Rename to __memset_g5.
29215 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29216 (IFUNC_RESOLVE): Prefix ifunc-resolve function
29217 and use prefixed functions.
29218 * sysdeps/s390/s390-32/multiarch/memcmp.S
29219 (memcmp_z196): Rename to __memcmp_z196.
29220 (memcmp_z10): Rename to __memcmp_z10.
29221 (memcmp): Set alias to __memcmp_g5.
29222 (bcmp): Set alias to __memcmp_g5.
29223 * sysdeps/s390/s390-32/multiarch/memcpy.S
29224 (memcpy_z196): Rename to __memcpy_z196.
29225 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29226 (memcpy_z10): Rename to __memcpy_z10.
29227 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29228 (memcpy): Set alias to __memcpy_g5.
29229 * sysdeps/s390/s390-32/multiarch/memset.S
29230 (memset_z196): Rename to __memset_z196.
29231 Jump to __memset_mvcle instead of memset_mvcle.
29232 (memset_z10): Rename to __memset_z10.
29233 Jump to __memset_mvcle instead of memset_mvcle.
29234 (memset_mvcle) Rename to __memset_mvcle.
29235 (memset): Set alias to __memset_g5.
29236 * sysdeps/s390/s390-64/memcmp.S
29237 (memcmp_z900): Rename to __memcmp_z900.
29238 * sysdeps/s390/s390-64/memcpy.S
29239 (memcpy_z900): Rename to __memcpy_z900.
29240 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29241 (memcpy_mvcle) Rename to __memcpy_mvcle.
29242 * sysdeps/s390/s390-64/memset.S
29243 (memset_z900): Rename to __memset_z900.
29244 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
29245 (IFUNC_RESOLVE): Prefix ifunc-resolve function
29246 and use prefixed functions.
29247 * sysdeps/s390/s390-64/multiarch/memcmp.S
29248 (memcmp_z196): Rename to __memcmp_z196.
29249 (memcmp_z10): Rename to __memcmp_z10.
29250 (memcmp): Set alias to __memcmp_z900.
29251 (bcmp): Set alias to __memcmp_z900.
29252 * sysdeps/s390/s390-64/multiarch/memcpy.S
29253 (memcpy_z196): Rename to __memcpy_z196.
29254 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29255 (memcpy_z10): Rename to __memcpy_z10.
29256 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29257 (memcpy): Set alias to __memcpy_z900.
29258 * sysdeps/s390/s390-64/multiarch/memset.S
29259 (memset_z196): Rename to __memset_z196.
29260 Jump to __memset_mvcle instead of memset_mvcle.
29261 (memset_z10): Rename to __memset_z10.
29262 Jump to __memset_mvcle instead of memset_mvcle.
29263 (memset_mvcle) Rename to __memset_mvcle.
29264 (memset): Set alias to __memset_z900.
29265
29266 2015-01-14 Joseph Myers <joseph@codesourcery.com>
29267
29268 [BZ #17748]
29269 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
29270 __fesetenv instead of fesetenv.
29271
29272 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29273
29274 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
29275 macro.
29276
29277 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29278
29279 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
29280 regression on LE.
29281
29282 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
29283 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
29284 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29285 strncmp-power8 object.
29286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29287 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
29288 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
29289 * NEWS: Update.
29290
29291 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29292 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29293
29294 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
29295 trailing byte check.
29296
29297 2015-01-13 David S. Miller <davem@davemloft.net>
29298
29299 * include/signal.h (__sigreturn): Guard with __USE_MISC.
29300
29301 2015-01-13 Roland McGrath <roland@hack.frob.com>
29302
29303 * login/logout.c (logout): Use memset rather than bzero.
29304 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
29305 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
29306 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
29307 (_gethtbyaddr): Likewise.
29308 * locale/programs/simple-hash.c (bcopy): Macro removed.
29309
29310 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29311
29312 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29313 Add strcmp-power8 object.
29314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29315 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
29316 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
29317 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
29318 __strcmp_power8 implementation.
29319 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
29320 * NEWS: Update.
29321
29322 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29323 Add strncpy-power8 and stpncpy-power8 objects.
29324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29325 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
29326 implementations.
29327 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
29328 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
29329 __stpncpy_power8 implementation.
29330 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
29331 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
29332 __strncpy_power8 implementation.
29333 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
29334 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
29335 * NEWS: Update.
29336
29337 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
29338 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
29339 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
29340
29341 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29342 strncat-power8 object.
29343 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
29344 __strcat_power8 implementation.
29345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29346 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
29347 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
29348 optimized strcat for power8.
29349
29350 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29351 strcpy-power8 and stpcpy-power8 objects.
29352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29353 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
29354 implementations.
29355 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
29356 multiarch stpcpy implementation for POWER8.
29357 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
29358 multiarch strcpy implementation for POWER8.
29359 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
29360 __strcpy_power8 function.
29361 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
29362 stpcpy for POWER8.
29363 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
29364 strcpy for POWER8.
29365 * NEWS: Update.
29366
29367 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
29368
29369 [BZ #16009]
29370 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
29371 weights and rules. Use do_xfrm_cached if data fits in cache,
29372 do_xfrm otherwise. Moved former main loop to...
29373 * (do_xfrm_cached): New function.
29374 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
29375 find_idx, find_position and stack_push.
29376 * (find_idx): New function.
29377 * (find_position): Likewise.
29378 * localedata/sort-test.sh: Added test run for do_xfrm.
29379 * localedata/xfrm-test.c (main): Added command line option
29380 -nocache to run the test with strings that are too large for
29381 the STRXFRM cache.
29382
29383 2015-01-13 Torvald Riegel <triegel@redhat.com>
29384
29385 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
29386 variable to lll_futex_wake call, not the value itself.
29387
29388 2015-01-12 Joseph Myers <joseph@codesourcery.com>
29389
29390 [BZ #17803]
29391 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
29392 twom64. Adjust value to 0x1p-64L.
29393 (__scalblnl): Only return standard underflowing result for K <=
29394 -64 not K <= -63; adjust exponent for underflowing result by 64
29395 not 63.
29396 * math/libm-test.inc (scalbn_test_data): Add more tests.
29397 (scalbln_test_data): Likewise.
29398
29399 [BZ #17834]
29400 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
29401 0x1p63L.
29402 (__scalblnl): Get new exponent of adjusted subnormal value from ES
29403 not HX.
29404 * math/libm-test.inc (scalbn_test_data): Add more tests.
29405 (scalbln_test_data): Likewise.
29406
29407 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29408 Stefani Seibold <stefani@seibold.net>
29409
29410 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
29411 (sysdep_routines): Add dl-vdso here, ...
29412 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
29413 (sysdep_routines): ... not here.
29414 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
29415 fallback when vDSO is not presented.
29416 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29417 Define with libc_hidden_proto/libc_hidden_data_def definitions.
29418 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
29419 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
29420 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
29421 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
29422 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
29423 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
29424 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
29425 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
29426 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
29427 fallback configurable symbol when vDSO is not available.
29428 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
29429 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
29430 be able to redefine fallback symbol when vDSO is not available.
29431 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
29432 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
29433
29434 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29435
29436 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
29437 (TLS_INIT_TP): Add tm_capable initialization.
29438 (TLS_DEFINE_INIT_TP): Likewise.
29439 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
29440 TCB.
29441 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
29442 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
29443 calculation.
29444 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
29445 transactoion is lock elision is built and TCB tm_capable is set.
29446 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
29447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29448 (INTERNAL_SYSCALL_NCS): Likewise.
29449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29450 (INTERNAL_SYSCALL_NCS): Likewise.
29451 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
29452
29453 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
29454 for powerpc.
29455 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29456 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
29457 and remove it for 32 bits case.
29458 [pthread_rwlock_t] (__rwelision): New field for lock elision.
29459 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
29460 initialization.
29461 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
29462 Disable lock elision with rdlocks if elision is not available.
29463
29464 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
29465 (sysdep_routines): Add lock elision objects.
29466 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29467 [pthread_mutex_t] (__spins): Rework to add lock elision field.
29468 [pthread_mutex_t] (__elision): Add field.
29469 [__PTHREAD_SPINS]: Adjust to init lock elision field.
29470 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
29471 elision definitions for powerpc.
29472 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
29473 implementation of lock elision for powerpc.
29474 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
29475 implementation of timed lock elision for powerpc.
29476 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
29477 implementation of trylock with lock elision for powerpc.
29478 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
29479 implementaion of unlock for lock elision for powerpc.
29480 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
29481 automatic enable lock elision for mutexes.
29482 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
29483 transaction execution definitions for powerpc.
29484 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
29485 definitions.
29486 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
29487 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
29488 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
29489 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
29490 * NEWS: Update.
29491
29492 2015-01-09 Roland McGrath <roland@hack.frob.com>
29493
29494 * sysdeps/posix/shm-directory.c: Use <> rather than ""
29495 for #include of <shm-directory.h>.
29496
29497 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
29498
29499 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
29500 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
29501
29502 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
29503
29504 [BZ #17791]
29505 * NEWS: Mention bug fix.
29506 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
29507 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
29508 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
29509
29510 2015-01-09 Torvald Riegel <triegel@redhat.com>
29511
29512 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
29513
29514 2015-01-09 Torvald Riegel <triegel@redhat.com>
29515
29516 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
29517
29518 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29519
29520 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
29521 pointer and cast to uintptr_t.
29522
29523 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29524
29525 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
29526 removed.
29527 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
29528
29529 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29530
29531 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
29532 of 0.
29533
29534 2015-01-08 Roland McGrath <roland@hack.frob.com>
29535
29536 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
29537 <nptl/pthreadP.h> instead.
29538 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
29539
29540 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
29541 already defined.
29542 [__SIGRTMIN] (init): Function removed.
29543 [__SIGRTMIN] (initialized): Variable removed.
29544 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
29545 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
29546 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
29547 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
29548 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
29549 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
29550 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
29551 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
29552 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
29553 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
29554 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
29555 * sysdeps/nptl/allocrtsig.c: New file.
29556 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
29557 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
29558 * sysdeps/generic/testrtsig.h: File removed.
29559
29560 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
29561 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
29562
29563 * nptl/nptl-init.c (pthread_functions): Conditionalize
29564 .ptr__nptl_setxid initialization on [SIGSETXID].
29565
29566 * sysdeps/nptl/sys/procfs.h: New file.
29567 * nptl_db/Makefile (headers): Add it.
29568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
29569
29570 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
29571 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
29572 * nptl/pthread_attr_setaffinity.c: Include it.
29573 * nptl/pthread_setattr_default_np.c: Likewise.
29574 * nptl/check-cpuset.h: New file.
29575
29576 2015-01-08 Richard Henderson <rth@redhat.com>
29577
29578 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
29579 (CFLAGS-tst-execstack-prog.c): Likewise.
29580 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
29581
29582 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
29583 Sandra Loosemore <sandra@codesourcery.com>
29584 Andrew Jenner <andrew@codesourcery.com>
29585 Joseph Myers <joseph@codesourcery.com>
29586 Nathan Sidwell <nathan@codesourcery.com>
29587
29588 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
29589 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
29590 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
29591 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
29592 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
29593 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
29594 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
29595 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
29596 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
29597 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
29598 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
29599 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
29600 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
29601 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
29602 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
29603 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
29604 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
29605
29606 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29607
29608 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
29609 timespec struct member in syscall macro.
29610 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29611 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
29612 first timeval struct member in syscall macro.
29613 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
29614
29615 2015-01-07 Joseph Myers <joseph@codesourcery.com>
29616
29617 [BZ #17748]
29618 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
29619 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
29620 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
29621 __feupdateenv and define as weak alias of __feupdateenv. Use
29622 libm_hidden_weak.
29623 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
29624 libm_hidden_def.
29625 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
29626 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
29627 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29628 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
29629 libm_hidden_def.
29630 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
29631 __feupdateenv and define as weak alias of __feupdateenv. Use
29632 libm_hidden_weak.
29633 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
29634 libm_hidden_def.
29635 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
29636 __feupdateenv and define as weak alias of __feupdateenv. Use
29637 libm_hidden_weak.
29638 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
29639 libm_hidden_def.
29640 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29641 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29642 (__feupdateenv): Likewise.
29643 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
29644 __feupdateenv and define as weak alias of __feupdateenv. Use
29645 libm_hidden_weak.
29646 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29647 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
29648 libm_hidden_def.
29649 * sysdeps/tile/math_private.h (__feupdateenv): New inline
29650 function.
29651 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
29652 libm_hidden_def.
29653 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
29654 __feupdateenv instead of feupdateenv.
29655 (default_libc_feupdateenv_test): Likewise.
29656 (libc_feresetround_ctx): Likewise.
29657
29658 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29659
29660 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
29661 prototype.
29662
29663 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
29664
29665 * posix/regcomp.c (parse_bracket_exp): Initialize type to
29666 COLL_SYM in a couple of places to avoid uninitialized variable
29667 wanings on tilegx gcc 4.8.2.
29668
29669 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
29670
29671 * sysdeps/aarch64/strcpy.S: New file.
29672 * sysdeps/aarch64/stpcpy.S: New file.
29673 * NEWS: Updated.
29674
29675 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
29676
29677 * sysdeps/aarch64/strrchr.S: New file.
29678 * NEWS: Updated.
29679
29680 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
29681
29682 [BZ #17658]
29683 * stdlib/setenv.c: Fix memory leak when setting large,
29684 duplicate string.
29685
29686 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
29687
29688 [BZ #17273]
29689 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
29690 and tabs from buffer before parsing fstab entry.
29691 * misc/tst-mntent.c (main): Add test for mount entry with
29692 trailing spaces and tabs.
29693
29694 2015-01-06 Joseph Myers <joseph@codesourcery.com>
29695
29696 [BZ #17748]
29697 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
29698 * math/fesetround.c (fesetround): Rename to __fesetround and
29699 define as weak alias of __fesetround. Use libm_hidden_weak.
29700 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
29701 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
29702 * sysdeps/arm/fesetround.c (fesetround): Likewise.
29703 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
29704 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
29705 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
29706 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
29707 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
29708 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
29709 __fesetround_inline.
29710 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
29711 __fesetround_inline instead of __fesetround.
29712 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
29713 __fesetround and define as weak alias of __fesetround. Use
29714 libm_hidden_weak. Call __fesetround_inline instead of
29715 __fesetround.
29716 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
29717 __fesetround and define as weak alias of __fesetround. Use
29718 libm_hidden_weak.
29719 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
29720 Likewise.
29721 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
29722 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29723 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
29724 * sysdeps/tile/math_private.h (__fesetround): New inline function.
29725 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
29726 __fesetround and define as weak alias of __fesetround. Use
29727 libm_hidden_weak.
29728 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
29729 __fesetround instead of fesetround.
29730 (default_libc_feholdexcept_setround): Likewise.
29731 (libc_feholdsetround_ctx): Likewise.
29732 (libc_feholdsetround_noex_ctx): Likewise.
29733
29734 [BZ #17748]
29735 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
29736 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
29737 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29738 and define as weak alias of __fesetenv. Use libm_hidden_weak.
29739 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29740 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
29741 define as weak alias of __fesetenv. Use libm_hidden_weak.
29742 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29743 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29744 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29745 define as weak alias of __fesetenv. Use libm_hidden_weak.
29746 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29747 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29748 define as weak alias of __fesetenv. Use libm_hidden_weak.
29749 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
29750 libm_hidden_def.
29751 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
29752 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
29753 Likewise.
29754 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29755 define as weak alias of __fesetenv. Use libm_hidden_weak.
29756 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29757 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29758 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
29759 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29760 and define as weak alias of __fesetenv. Use libm_hidden_weak.
29761 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
29762 __fesetenv instead of fesetenv.
29763 (libc_feresetround_noex_ctx): Likewise.
29764 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29765 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29766 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
29767 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29768 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29769 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29770 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29771 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29772 (__feupdateenv): Likewise.
29773 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29774 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29775 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29776 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
29777
29778 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
29779
29780 [BZ #17806]
29781 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
29782 addresses have been freed.
29783
29784 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
29785
29786 * resolv/res_init.c (__res_vinit): Improve comments about nserv
29787 and nservall.
29788
29789 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
29790
29791 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
29792 Clean up check_pf allocation pattern. addresses
29793
29794 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29795
29796 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
29797 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
29798 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
29799 * nptl/pthread_exit.c (__pthread_exit): Likewise.
29800 * nptl/pthread_join.c (pthread_join): Likewise.
29801 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
29802 * sysdeps/posix/waitid.c (__waitid): Likewise.
29803 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29804 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29805 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29806 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29807 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29808 Likewise.
29809 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29810 (__libc_pread64): Likewise.
29811 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29812 (__libc_pwrite): Likewise.
29813 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29814 (__libc_pwrite64): Likewsie.
29815 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29816 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29817 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29818 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29819 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29820 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29821 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
29822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29823 Likewise.
29824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29825 (__libc_pread64): Likewise.
29826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
29827 Likewise.
29828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29829 (__libc_pwrite64): Likewise.
29830 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29831 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29832 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
29833 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
29834 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29835 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29836 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
29837 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29838 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29839 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29840 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
29841 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29842 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29843 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
29844 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29845 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29846 Likewise.
29847
29848 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
29849
29850 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
29851 (CFLAGS-test-double.c): Likewise.
29852 (CFLAGS-test-ldouble.c): Likewise.
29853 (CPPFLAGS-test-ifloat.c): Likewise.
29854 (CPPFLAGS-test-idouble.c): Likewise.
29855 (CPPFLAGS-test-ildoubl.c): Likewise.
29856 (CFLAGS-test-test-fenv.c): Remove variable.
29857 (CFLAGS-test-misc.c): Likewise.
29858
29859 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
29860
29861 [BZ #17797]
29862 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
29863 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
29864 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
29865 CLOCKS_PER_SEC == 1000000.
29866 * time/clocktest.c (main): Replace %ld with %jd and cast to
29867 intmax_t.
29868
29869 2015-01-05 Roland McGrath <roland@hack.frob.com>
29870
29871 * sysdeps/generic/unwind-resume.h: New file.
29872 * sysdeps/gnu/unwind-resume.c: Include it.
29873 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
29874 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
29875 argument list.
29876 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
29877 global rather than static.
29878 (_Unwind_Resume): Update user.
29879 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
29880 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
29881 rather than static. Add __attribute__ ((cold)).
29882 (_Unwind_Resume, __gcc_personality_v0): Update callers.
29883 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
29884 * sysdeps/arm/arm-unwind-resume.S: New file.
29885 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
29886 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
29887 * sysdeps/arm/Makefile [$(subdir) = csu]
29888 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
29889 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29890 Add rt-arm-unwind-resume.
29891 [$(subdir) = nptl]
29892 (libpthread-sysdep_routines, libpthread-shared-only-routines):
29893 Add pt-arm-unwind-resume.
29894 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
29895 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
29896
29897 2015-01-05 Joseph Myers <joseph@codesourcery.com>
29898
29899 [BZ #17748]
29900 * include/fenv.h (__feholdexcept): Declare. Use
29901 libm_hidden_proto.
29902 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
29903 define as weak alias of __feholdexcept. Use libm_hidden_weak.
29904 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29905 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
29906 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
29907 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
29908 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
29909 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29910 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
29911 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
29912 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29913 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
29914 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
29915 (feholdexcept): Likewise.
29916 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29917 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29918 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29919 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29920 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
29921 __feholdexcept instead of feholdexcept.
29922 (default_libc_feholdexcept_setround): Likewise.
29923
29924 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
29925
29926 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
29927 to avoid using stl/str to align destination.
29928
29929 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
29930
29931 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
29932
29933 2015-01-05 Joseph Myers <joseph@codesourcery.com>
29934
29935 [BZ #17796]
29936 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
29937 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
29938 Define as weak alias not strong alias.
29939
29940 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
29941
29942 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
29943 bltzal with addiupc.
29944 (RTLD_START): Ditto.
29945
29946 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
29947
29948 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
29949 for __vdso_* functions in declarations.
29950 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
29951 definitions.
29952 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
29953 INTERNAL_VSYSCALL): Use struct return types to check for error.
29954
29955 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
29956 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
29957 function with cast from llround().
29958 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
29959 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29960 Define.
29961
29962 2015-01-05 Joseph Myers <joseph@codesourcery.com>
29963
29964 [BZ #17793]
29965 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
29966 Define as weak alias not strong alias.
29967
29968 [BZ #17635]
29969 * ctype/ctype-c99.c: New file. isblank implementation moved from
29970 ...
29971 * ctype/ctype-extn.c: ... here.
29972 (__isblank_l): Move to ...
29973 * ctype/ctype-c99_l.c: ... here. New file.
29974 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
29975 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
29976 Remove variable.
29977 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29978 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29979 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29980 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29981 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29982
29983 [BZ #17777]
29984 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
29985 (posix_fadvise64): Define as weak alias not strong alias.
29986 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29987 (posix_fallocate64): Likewise.
29988 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
29989 Remove variable.
29990 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29991 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29992 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29993 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29994 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29995
29996 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
29997
29998 [BZ #16191]
29999 * NEWS: Mention bug fix.
30000 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30001 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30002 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30003 (HOST_STACK_END_ADDR): Likewise.
30004
30005 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30006
30007 [BZ #17748]
30008 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
30009 * math/fegetround.c (fegetround): Rename to __fegetround and
30010 define as weak alias of __fegetround. Use libm_hidden_weak.
30011 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30012 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30013 * sysdeps/arm/fegetround.c (fegetround): Likewise.
30014 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30015 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30016 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30017 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30018 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30019 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30020 Undefine after rather than before function definition; use
30021 parentheses around function name in definition.
30022 (__fegetround): Also undefine macro after function definition.
30023 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30024 __fegetround and define as weak alias of __fegetround. Use
30025 libm_hidden_weak. Do not undefine as macro.
30026 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30027 Likewise.
30028 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30029 __fegetround and define as weak alias of __fegetround. Use
30030 libm_hidden_weak.
30031 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30032 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30033 * sysdeps/tile/math_private.h (__fegetround): New inline function.
30034 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30035 __fegetround and define as weak alias of __fegetround. Use
30036 libm_hidden_weak.
30037 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30038 __fegetround instead of fegetround.
30039
30040 [BZ #17782]
30041 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30042 Condition macro definition on [__USE_MISC].
30043
30044 [BZ #17781]
30045 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30046 (struct sigaction): Change type of sa_flags field to int.
30047
30048 [BZ #17780]
30049 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30050 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30051 __glibc_reserved0.
30052
30053 * nptl/version.c (banner): Use single year in copyright notice.
30054
30055 * NEWS: Update copyright dates.
30056 * catgets/gencat.c (print_version): Likewise.
30057 * csu/version.c (banner): Likewise.
30058 * debug/catchsegv.sh: Likewise.
30059 * debug/pcprofiledump.c (print_version): Likewise.
30060 * debug/xtrace.sh (do_version): Likewise.
30061 * elf/ldconfig.c (print_version): Likewise.
30062 * elf/ldd.bash.in: Likewise.
30063 * elf/pldd.c (print_version): Likewise.
30064 * elf/sotruss.sh: Likewise.
30065 * elf/sprof.c (print_version): Likewise.
30066 * iconv/iconv_prog.c (print_version): Likewise.
30067 * iconv/iconvconfig.c (print_version): Likewise.
30068 * locale/programs/locale.c (print_version): Likewise.
30069 * locale/programs/localedef.c (print_version): Likewise.
30070 * login/programs/pt_chown.c (print_version): Likewise.
30071 * malloc/memusage.sh (do_version): Likewise.
30072 * malloc/memusagestat.c (print_version): Likewise.
30073 * malloc/mtrace.pl: Likewise.
30074 * manual/libc.texinfo: Likewise.
30075 * nptl/version.c (banner): Likewise.
30076 * nscd/nscd.c (print_version): Likewise.
30077 * nss/getent.c (print_version): Likewise.
30078 * nss/makedb.c (print_version): Likewise.
30079 * posix/getconf.c (main): Likewise.
30080 * scripts/test-installation.pl: Likewise.
30081 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30082
30083 2015-01-02 Will Newton <will.newton@linaro.org>
30084
30085 * sysdeps/arm/armv7/configure: Removed.
30086 * sysdeps/arm/armv7/configure.ac: Likewise.
30087
30088 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30089
30090 * All files with FSF copyright notices: Update copyright dates
30091 using scripts/update-copyrights.
30092 * intl/plural.c: Regenerated.
30093 * locale/programs/charmap-kw.h: Likewise.
30094 * locale/programs/locfile-kw.h: Likewise.
30095
30096 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30097
30098 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30099
30100 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30101
30102 [BZ #17748]
30103 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30104 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30105 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30106 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30107 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30108 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30109 define as weak alias of __fegetenv. Use libm_hidden_weak.
30110 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30111 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30112 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30113 define as weak alias of __fegetenv. Use libm_hidden_weak.
30114 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30115 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30116 define as weak alias of __fegetenv. Use libm_hidden_weak.
30117 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30118 libm_hidden_def.
30119 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30120 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30121 Likewise.
30122 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30123 define as weak alias of __fegetenv. Use libm_hidden_weak.
30124 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30125 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30126 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30127 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30128 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30129 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30130 __fegetenv instead of fegetenv.
30131 (libc_feholdsetround_noex_ctx): Likewise.
30132
30133 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
30134
30135 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30136 (Elf_MIPS_ABIFlags_v0): New structure.
30137 (EF_MIPS_FP64): Define.
30138 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30139 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30140 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30141 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30142 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30143 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30144 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30145 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30146 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30147 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30148 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30149 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30150 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30151 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30152 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30153 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30154 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30155 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30156 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30157 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30158 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30159 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30160 field.
30161 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30162 EF_MIPS_FP64.
30163 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30164 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30165 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30166 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30167 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30168 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30169 * sysdeps/mips/tst-abi-interlink.c: Likewise.
30170 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30171 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30172 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30173 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30174 record the current FP ABI extension.
30175 (mips-mode-switch): Define to show if kernel headers support mode
30176 switching.
30177 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30178 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30179 supported SYSV ABI version to 3.
30180 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30181 feature.
30182
30183 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30184 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30185
30186 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30187 path.
30188 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
30189
30190 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30191
30192 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
30193 __fegetround and redefine to call __fegetround. Remove condition
30194 on [!__NO_MATH_INLINES].
30195 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
30196 function.
30197 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
30198 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30199 Remove macro.
30200 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
30201 instead of <fenv_libc.h>.
30202 (__llrintl): Call fegetround instead of __fegetround.
30203 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
30204 instead of <fenv_libc.h>.
30205 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30206 (__lrintl): Call fegetround instead of __fegetround.
30207 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
30208 instead of <fenv_libc.h>.
30209 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30210 (__rintl): Call fegetround instead of __fegetround.
30211
30212 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30213
30214 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
30215 arrays.
30216
30217 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
30218
30219 [BZ #17775]
30220 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
30221 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
30222 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
30223
30224 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
30225
30226 * sysdeps/i386/tls-macros.h: Include <features.h>.
30227 (TLS_LE): Use non-PIC version for GCC >= 5.0.
30228 (TLS_IE): Likewise.
30229 (TLS_LD): Likewise.
30230 (TLS_GD): Likewise.
30231 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
30232 define for GCC >= 5.0.
30233
30234 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
30235
30236 * math/test-fenv.c (test_single_exception, set_single_exc,
30237 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
30238 feexcp_mask_test, feenable_test, fe_single_test): Add
30239 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
30240 case where they are not used.
30241 * math/libm-test.inc: Likewise.
30242 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
30243 unused in the absence of FP rounding/exception support.
30244 * stdio-common/tst-printf-round.c: Likewise.
30245 * stdlib/tst-strtod-round.c: Likewise.
30246 * stdlib/tst-strtod-underflow.c: Likewise.
30247
30248 2014-12-30 Joseph Myers <joseph@codesourcery.com>
30249
30250 [BZ #17723]
30251 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
30252 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
30253 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30254 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30255 libm_hidden_weak.
30256 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
30257 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30258 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
30259 libm_hidden_def.
30260 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30261 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30262 libm_hidden_weak.
30263 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
30264 Likewise.
30265 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
30266 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30267 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30268 libm_hidden_weak.
30269 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30270 libm_hidden_def.
30271 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30272 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
30273 (__feraiseexcept): Likewise.
30274 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30275 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30276 libm_hidden_weak.
30277 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30278 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30279 libm_hidden_def.
30280 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
30281 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
30282 Use libm_hidden_def.
30283 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
30284 libm_hidden_def.
30285 (feraiseexcept): Define as weak not strong alias. Use
30286 libm_hidden_weak.
30287 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
30288 New inline function. Factored out of ...
30289 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
30290 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
30291 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
30292 feraiseexcept.
30293 * math/w_acos.c (__acos): Likewise.
30294 * math/w_asin.c (__asin): Likewise.
30295 * math/w_ilogb.c (__ilogb): Likewise.
30296 * math/w_j0.c (y0): Likewise.
30297 * math/w_j1.c (y1): Likewise.
30298 * math/w_jn.c (yn): Likewise.
30299 * math/w_log.c (__log): Likewise.
30300 * math/w_log10.c (__log10): Likewise.
30301 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
30302 * sysdeps/aarch64/fpu/math_private.h
30303 (libc_feupdateenv_test_aarch64): Likewise.
30304 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30305 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
30306 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
30307 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30308 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30309 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30310 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
30311 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30312 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30313 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30314
30315 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
30316
30317 [BZ #17732]
30318 * io/test-utime.c (main): Replace %ld with %jd and cast to
30319 intmax_t.
30320 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
30321 * nptl/tst-mutex5.c: Include <stdint.h>.
30322 (do_test): Replace %ld with %jd and cast to intmax_t.
30323 * posix/tst-regex.c (run_test): Likewise.
30324 (run_test_backwards): Likewise.
30325 * rt/tst-clock.c: Include <stdint.h>.
30326 (clock_test): Replace %ld with %jd and cast to intmax_t.
30327 * rt/tst-cpuclock1.c: Include <stdint.h>.
30328 (do_test): Replace %lu with %ju and cast to uintmax_t.
30329 * rt/tst-cpuclock2.c: Include <stdint.h>.
30330 (do_test): Replace %lu with %ju and cast to uintmax_t.
30331 * rt/tst-mqueue1.c: Include <stdint.h>.
30332 (check_attrs): Replace %ld with %jd and cast to intmax_t.
30333 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
30334 intmax_t.
30335 * rt/tst-mqueue4.c (do_test): Likewise.
30336 * rt/tst-timer4.c: Include <stdint.h>.
30337 (check_ts): Replace %ld with %jd and cast to intmax_t.
30338 (do_test): Likewise.
30339 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
30340 and cast to intmax_t.
30341 * sysdeps/pthread/tst-timer.c (main): Likewise.
30342 * time/clocktest.c (main): Likewise.
30343 * time/tst-posixtz.c (do_test): Likewise.
30344 * timezone/tst-timezone.c (main): Likewise.
30345
30346 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
30347 H.J. Lu <hongjiu.lu@intel.com>
30348
30349 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
30350 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30351 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
30352 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
30353 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
30354 version if bit_Fast_Unaligned_Load is set.
30355 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30356 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30357 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30358 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30359 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30360 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30361 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30362 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
30363 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
30364 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
30365 to 4.
30366 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
30367 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
30368 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
30369 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
30370
30371 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
30372
30373 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
30374 instead of #if to avoid a Wundef warning.
30375 * stdlib/tst-limits.c (do_test): Likewise.
30376
30377 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
30378 parallel other exception macros.
30379 (fegetenv): Convert from macro to extern inline so that it applies
30380 retroactively to inline functions already seen by the compiler.
30381 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
30382
30383 * posix/Makefile (before-compile): Use $(objpfx) for
30384 posix-conf-vars-def.h.
30385
30386 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30387
30388 * posix/getconf.c (main): Use size_t for type of I.
30389 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
30390 NSPEC.
30391
30392 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
30393 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
30394 * posix/posix-envs.def: Likewise.
30395 * sysdeps/posix/sysconf.c: Likewise.
30396 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
30397 (specs): Remove array.
30398 * scripts/gen-posix-conf-vars.awk: Support generation of specs
30399 array.
30400
30401 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
30402 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
30403 (__sysconf): Use CONF_IS_* macros.
30404
30405 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
30406 ($(objpfx)posix-conf-vars-def.h): New target.
30407 * posix/posix-conf-vars.list: New file.
30408 * posix/posix-conf-vars.h: New file.
30409 * posix/confstr.c: Include posix-conf-vars.h.
30410 (confstr): Use CONF_IS_* macros.
30411 * posix/posix-envs.def: Include posix-conf-vars.h. Use
30412 CONF_IS_* macros.
30413 * scripts/gen-posix-conf-vars.awk: New file.
30414
30415 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
30416
30417 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
30418 fegetround): Add no-op macros to avoid linknamespace issues.
30419
30420 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
30421 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
30422
30423 * sysdeps/unix/sysv/linux/tile/sysdep.h
30424 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
30425 assembly-specific section to avoid a redefinition warning.
30426
30427 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
30428 long before casting to pointer to avoid a cast warning.
30429
30430 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
30431
30432 * sysdeps/tile/tilegx/Implies: New file.
30433
30434 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
30435
30436 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
30437
30438 2014-12-23 Florian Weimer <fweimer@redhat.com>
30439
30440 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
30441
30442 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30443
30444 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
30445 not define.
30446 * sysdeps/unix/sysv/linux/utimes.c: Do not include
30447 <kernel-features.h>.
30448 (__utimes) [__NR_utimes]: Make code unconditional.
30449 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
30450 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30451 (__ASSUME_UTIMES): Do not undefine.
30452 * sysdeps/unix/sysv/linux/tile/kernel-features.h
30453 (__ASSUME_UTIMES): Likewise.
30454 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30455 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
30456 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
30457 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
30458
30459 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
30460
30461 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
30462
30463 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
30464
30465 [BZ #17747]
30466 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
30467 alias to weak alias for j0l, y0l.
30468 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
30469 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
30470
30471 [BZ #17746]
30472 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
30473 conversion.
30474
30475 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
30476
30477 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
30478 to zero if not already defined.
30479
30480 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30481
30482 [BZ #17724]
30483 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
30484 (__kernel_standard_f): Remove. Moved to k_standardf.c.
30485 (__kernel_standard_l): Remove. Moved to k_standardl.c with
30486 (char *) casts added.
30487 * sysdeps/ieee754/k_standardf.c: New file.
30488 * sysdeps/ieee754/k_standardl.c: Likewise.
30489 * math/Makefile (libm-support): Remove k_standard.
30490 (libm-calls): Add k_standard.
30491
30492 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30493
30494 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30495 Optimize to avoid an unnecessary FPCR read.
30496
30497 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30498
30499 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30500 Optimize to reduce FPCR/FPSR accesses.
30501
30502 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30503
30504 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
30505 Call libc_fetestexcept_aarch64.
30506
30507 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30508
30509 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
30510 Call libc_fesetround_aarch64.
30511
30512 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30513
30514 [BZ #17733]
30515 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
30516 (__bind): Do not define as weak alias.
30517 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
30518 define.
30519 (__getsockname): Do not define as weak alias.
30520
30521 2014-12-22 Will Newton <will.newton@linaro.org>
30522
30523 * manual/install.texi: Document that we require bison 2.7
30524 or above.
30525 * INSTALL: Regenerate.
30526 * configure.ac: Use AC_CHECK_PROG_VER instead of
30527 AC_PATH_PROG when checking for bison and check for
30528 version 2.7 or above.
30529 * configure: Regenerate.
30530
30531 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
30532
30533 [BZ #17745]
30534 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
30535 * sysdeps/tile/ffsll.c (ffsll): To here.
30536
30537 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
30538
30539 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
30540
30541 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
30542 if not defined.
30543 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
30544 definition.
30545 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30546 hidden ___tls_get_addr.
30547 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30548 hidden __tls_get_addr.
30549 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
30550 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
30551 Likewise.
30552
30553 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
30554
30555 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
30556 _dl_init call.
30557
30558 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
30559
30560 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
30561 from "call _dl_init@PLT".
30562 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
30563
30564 2014-12-21 Anders Kaseorg <andersk@mit.edu>
30565
30566 * manual/search.texi: (Array Sort Function): Clarify stable sorting
30567 guarantees.
30568
30569 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
30570
30571 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
30572
30573 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
30574
30575 [BZ #17744]
30576 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
30577 strnlen.
30578
30579 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
30580
30581 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
30582 of multu on MIPSr6.
30583 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
30584 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
30585 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
30586 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
30587 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
30588
30589 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
30590
30591 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
30592 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
30593 (PTR_SUBU): Use subu for mips32r6/mips64r6.
30594 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
30595 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
30596 mips32r6/mips64r6.
30597 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
30598
30599 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
30600
30601 * string/strncat.c (STRNCAT): Simplify implementation.
30602
30603 2014-12-19 David S. Miller <davem@davemloft.net>
30604
30605 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
30606 access the quad as both a long double and as a series of 4 words.
30607
30608 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
30609 link_map->l_info array access.
30610
30611 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
30612
30613 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
30614
30615 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
30616 * math/atest-exp2.c (TIMEOUT): Likewise.
30617 * math/atest-sincos.c (TIMEOUT): Likewise.
30618
30619 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30620
30621 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
30622 -Wno-error with -fno-builtin-lround.
30623
30624 2014-12-19 Torvald Riegel <triegel@redhat.com>
30625
30626 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
30627 Contains futex constants and functions moved over from ...
30628 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
30629 <lowlevellock-futex.h>.
30630 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30631 (lll_timedwait_tid): Add comments and parentheses around macro
30632 arguments.
30633
30634 2014-12-19 Torvald Riegel <triegel@redhat.com>
30635
30636 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
30637 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
30638 (__lll_private_flag): Remove.
30639 (lll_futex_wait): Likewise.
30640 (lll_futex_timed_wait): Likewise.
30641 (lll_futex_wake): Likewise.
30642 (lll_futex_requeue): Likewise.
30643 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30644 (__lll_timedwait_tid): Spell out argument names.
30645 (lll_timedwait_tid): Add comments and parentheses around macro
30646 arguments.
30647 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
30648 LLL_SHARED and LLL_PRIVATE usable from assembly code.
30649
30650 2014-12-19 Torvald Riegel <triegel@redhat.com>
30651
30652 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
30653 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30654 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30655 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
30656 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
30657 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
30658 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
30659 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
30660 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
30661 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
30662 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
30663 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
30664 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
30665 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
30666 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
30667 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
30668 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
30669 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
30670 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
30671
30672 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30673
30674 * sysdeps/x86_64/x32/Makefile: New file.
30675
30676 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30677
30678 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
30679 1L with (mp_limb_t) 1.
30680
30681 2014-12-17 Roland McGrath <roland@hack.frob.com>
30682
30683 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
30684 * nptl/libc_pthread_init.c: ... here.
30685 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
30686 * nptl/register-atfork.c: ... here.
30687
30688 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
30689 Use pthread_sigmask rather than INTERNAL_SYSCALL.
30690 Use assert_perror to check its return value.
30691 (__gai_create_helper_thread): Likewise.
30692
30693 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
30694
30695 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
30696
30697 2014-12-17 Joseph Myers <joseph@codesourcery.com>
30698
30699 [BZ #17725]
30700 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
30701 __profil_counter.
30702 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
30703 Likewise.
30704 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
30705 Likewise.
30706 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
30707 Likewise.
30708 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
30709 (profil_counter): Likewise.
30710 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
30711 (profil_counter): Likewise.
30712 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
30713 Likewise.
30714 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
30715 Likewise.
30716 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
30717 (profil_counter): Likewise.
30718 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
30719 Likewise.
30720 [!__profil_counter] (profil_counter): Define as weak alias of
30721 __profil_counter.
30722 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
30723 (profil_counter): Rename to __profil_counter.
30724 [!__profil_counter] (profil_counter): Define as weak alias of
30725 __profil_counter.
30726 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
30727 (profil_counter): Rename to __profil_counter.
30728 [!__profil_counter] (profil_counter): Define as weak alias of
30729 __profil_counter.
30730 * sysdeps/posix/profil.c: Update comment referring to
30731 profil_counter.
30732 (__profil): Use __profil_counter instead of profil_counter.
30733 * sysdeps/posix/sprofil.c (profil_counter): Rename to
30734 __profil_counter. Use __profil_counter_ushort and
30735 __profil_counter_uint in definitions.
30736 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
30737 instead of profil_counter_uint and profil_counter_ushort.
30738
30739 [BZ #17722]
30740 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
30741 define as weak alias of __inet_makeaddr.
30742 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
30743 as weak alias of __inet_addr.
30744 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
30745 as weak alias of __inet_pton. Use libc_hidden_weak.
30746 * include/arpa/inet.h (__inet_pton): Declare. Use
30747 libc_hidden_proto.
30748 (inet_makeaddr): Don't use libc_hidden_proto.
30749 (__inet_makeaddr): Declare. Use libc_hidden_proto.
30750 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
30751 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
30752 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
30753 Remove variable.
30754 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30755 (test-xfail-POSIX/time.h/linknamespace): Likewise.
30756
30757 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
30758
30759 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
30760
30761 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
30762
30763 * stdio-common/bug-vfprintf-nargs.c (do_test):
30764 Cast value to intptr_t to avoid format warning
30765 for usage with PRIdPTR printing macro.
30766
30767 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
30768
30769 * libio/tst-widetext.c (do_test):
30770 Use format type %td instead of %Zd for ptrdiff_t
30771 in order to avoid format warning.
30772
30773 2014-12-17 Andreas Schwab <schwab@suse.de>
30774
30775 * nscd/mem.c (gc): Add size_t cast to match printf format.
30776
30777 2014-12-16 Roland McGrath <roland@hack.frob.com>
30778
30779 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
30780 (init): Apply PTR_MANGLE to pointers before storing them.
30781 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
30782 before using them.
30783
30784 2014-12-16 Joseph Myers <joseph@codesourcery.com>
30785
30786 [BZ #17719]
30787 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
30788 define as weak alias of __memrchr.
30789 (__memrchr): Do not define as strong alias of memrchr.
30790 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
30791 Remove variable.
30792 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30793 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30794 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30795
30796 [BZ #17717]
30797 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
30798 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
30799 (if_indextoname): Rename to __if_indextoname and define as weak
30800 alias of __if_indextoname. Use libc_hidden_weak.
30801 (if_freenameindex): Rename to __if_freenameindex and define as
30802 weak alias of __if_freenameindex.
30803 (if_nameindex): Rename to __if_nameindex and define as weak alias
30804 of __if_nameindex.
30805 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
30806 __if_nametoindex and define as weak alias of __if_nametoindex.
30807 Use libc_hidden_weak.
30808 (if_freenameindex): Rename to __if_freenameindex and define as
30809 weak alias of __if_freenameindex.
30810 (if_nameindex): Rename to __if_nameindex and define as weak alias
30811 of __if_nameindex.
30812 (if_indextoname): Rename to __if_indextoname and define as weak
30813 alias of __if_indextoname. Use libc_hidden_weak.
30814 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
30815 __if_nametoindex and define as weak alias of __if_nametoindex.
30816 Use libc_hidden_weak.
30817 (if_freenameindex): Rename to __if_freenameindex and define as
30818 weak alias of __if_freenameindex. Use libc_hidden_weak.
30819 (if_nameindex_netlink): Use __if_freenameindex instead of
30820 if_freenameindex.
30821 (if_nameindex): Rename to __if_nameindex and define as weak alias
30822 of __if_nameindex. Use libc_hidden_weak.
30823 (if_indextoname): Rename to __if_indextoname and define as weak
30824 alias of __if_indextoname. Use libc_hidden_weak.
30825 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
30826 libc_hidden_proto.
30827 [!_ISOMAC] (__if_freenameindex): Likewise.
30828 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
30829 if_nametoindex.
30830 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
30831 variable.
30832 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30833 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30834 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30835 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30836 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
30837 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
30838 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
30839
30840 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
30841 Remove variable.
30842 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
30843 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
30844
30845 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30846
30847 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
30848 subscript above bounds'
30849
30850 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
30851 bounds.
30852
30853 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
30854
30855 * libio/tst-fopenloc.c: Use test-skeleton.c.
30856
30857 * stdlib/tst-bsearch.c: Use test-skeleton.c.
30858 (entry): Rename to ITEM.
30859 (do_test, comp): Adjust.
30860
30861 * stdio-common/tst-fseek.c: Use test-skeleton.c.
30862
30863 2014-12-16 Torvald Riegel <triegel@redhat.com>
30864
30865 * string/tester.c: Include <libc-internal.h>.
30866 (test_memset): Ignore -Wmemset-transposed-args.
30867
30868 2014-12-16 Torvald Riegel <triegel@redhat.com>
30869
30870 * misc/tst-mntent2.c (do_test): Fix warning.
30871
30872 2014-12-16 Torvald Riegel <triegel@redhat.com>
30873
30874 * elf/tst-unique4lib.cc(a): Mark as used.
30875
30876 2014-12-16 Florian Weimer <fweimer@redhat.com>
30877
30878 [BZ #17630]
30879 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
30880 names.
30881
30882 2014-12-16 Allan McRae <allan@archlinux.org>
30883
30884 * stdio-common/Makefile (tests): Re-add bug26.
30885
30886 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
30887
30888 [BZ #17657]
30889 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
30890 static array.
30891
30892 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
30893
30894 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
30895 (__lll_lock_wait): Likewise.
30896 (__lll_timedlock_wait): Likewise.
30897 (__lll_timedwait_tid): Likewise.
30898 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
30899 (__lll_robust_timedlock_wait): Likewise.
30900 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
30901 (lll_cond_trylock): Likewise.
30902 (__lll_lock): Likewise.
30903 (__lll_robust_lock): Likewise.
30904 (__lll_cond_lock): Likewise.
30905 (lll_robust_cond_lock): Likewise.
30906 (__lll_timedlock): Likewise.
30907 (__lll_robust_timedlock): Likewise.
30908 (__lll_unlock): Likewise.
30909 (__lll_robust_unlock): Likewise.
30910 (lll_wait_tid): Likewise.
30911 (lll_timedwait_tid): Likewise.
30912
30913 2014-12-15 Torvald Riegel <triegel@redhat.com>
30914
30915 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
30916
30917 2014-12-15 Torvald Riegel <triegel@redhat.com>
30918
30919 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
30920
30921 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
30922
30923 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
30924 * stdio-common/tst-sprintf.c: Likewise.
30925
30926 2014-12-15 Torvald Riegel <triegel@redhat.com>
30927
30928 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
30929
30930 2014-12-15 Jeff Law <law@redhat.com>
30931
30932 [BZ #16617]
30933 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
30934 on the heap. (CVE-2012-3406)
30935 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
30936 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
30937 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
30938
30939 2014-12-15 Will Newton <will.newton@linaro.org>
30940
30941 * manual/install.texi: Bump required version of texinfo
30942 to 4.7 from 4.5.
30943 * INSTALL: Regenerated.
30944 * configure.ac: Check for makeinfo version 4.7 and above.
30945 * configure: Regenerated.
30946
30947 2014-12-12 Roland McGrath <roland@hack.frob.com>
30948
30949 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
30950 PREFIX, string constant to insert between directory and name.
30951 * sysdeps/posix/shm_open.c: Update caller.
30952 * sysdeps/posix/shm_unlink.c: Likewise.
30953 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
30954 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
30955 (SEM_SHM_PREFIX): New macro.
30956 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
30957 [$(have-thread-library) = no].
30958 * nptl/Makefile (libpthread-routines): Add shm-directory.
30959 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
30960 * sysdeps/nptl/shm-directory.h: New file.
30961 * sysdeps/posix/shm-directory.c
30962 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
30963 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
30964 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
30965 INTERNAL_SYSCALL.
30966 (__where_is_shmfs): Function removed.
30967 (mountpoint, defaultmount, defaultdir, __namedsem_once):
30968 Variables removed.
30969 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
30970 Use SHM_GET_NAME.
30971 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
30972
30973 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
30974 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
30975 unconditional for use inside libpthread.
30976 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
30977
30978 2014-12-12 Roland McGrath <roland@hack.frob.com>
30979
30980 * nptl/pthread_getaffinity.c: New file.
30981 * nptl/pthread_setaffinity.c: New file.
30982 * nptl/pthread_getname.c: New file.
30983 * nptl/pthread_setname.c: New file.
30984
30985 * nptl/pthread_create.c (START_THREAD_DEFN)
30986 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
30987
30988 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
30989 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30990
30991 * resolv/res_send.c (send_vc): Disable warning resplen may
30992 be used uninitialized.
30993
30994 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
30995
30996 * nptl/tst-mutex6.c
30997 (ATTR_NULL): New define checks ATTR against NULL.
30998 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
30999 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31000
31001 2014-12-11 James Lemke <jwlemke@codesourcery.com>
31002
31003 [BZ #17581]
31004 * malloc/hooks.c
31005 (mem2mem_check): Revert my previous change.
31006 (malloc_check_get_size): Revert my previous change.
31007 (mem2chunk_check): Revert my previous change.
31008
31009 2014-12-11 Roland McGrath <roland@hack.frob.com>
31010
31011 * sysdeps/posix/shm-directory.c: New file.
31012 * sysdeps/posix/shm-directory.h: New file.
31013 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31014 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31015 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
31016 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31017 Transmute EPERM to EACCES.
31018 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31019 from ...
31020 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
31021 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31022
31023 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31024
31025 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31026 pointer and cast to uintptr_t.
31027 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31028 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31029 Add cast to avoid warning.
31030 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31031
31032 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31033
31034 * nptl/semaphore.h: Move to ...
31035 * sysdeps/pthread/semaphore.h: ... here.
31036 * Makefile (installed-headers): Change nptl/semaphore.h to
31037 sysdeps/pthread/semaphore.h.
31038
31039 2014-12-11 Roland McGrath <roland@hack.frob.com>
31040
31041 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31042 generated error format strings.
31043
31044 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31045 -Wformat-extra-args warnings for scanf formats.
31046 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31047 test of zero-length format (duh).
31048 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31049 corner-case scanf format test.
31050 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31051 generated fprintf format string.
31052 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31053 corner-case sprintf format tests.
31054 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31055 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31056 -Wformat-extra-args warnings throughout.
31057 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31058 (CFLAGS-scanf4.c): Likewise.
31059 (CFLAGS-scanf7.c): Likewise.
31060 (CFLAGS-tst-sprintf.c): Likewise.
31061 (CFLAGS-tst-printf.c): Likewise.
31062 (CFLAGS-tst-printfsz.c): Likewise.
31063
31064 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31065
31066 * include/cpio.h: New file.
31067 * include/fmtmsg.h: Likewise.
31068
31069 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
31070 corresponding format argument to size_t.
31071 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
31072 arguments.
31073 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
31074 corresponding format argument to size_t.
31075 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
31076 arguments.
31077 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
31078 corresponding format argument to size_t.
31079 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31080 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31081 (CFLAGS-tst-mbswcs2.c): Likewise.
31082 (CFLAGS-tst-mbswcs3.c): Likewise.
31083 (CFLAGS-tst-mbswcs4.c): Likewise.
31084 (CFLAGS-tst-mbswcs5.c): Likewise.
31085 (CFLAGS-tst-trans.c): Likewise.
31086
31087 2014-12-11 Roland McGrath <roland@hack.frob.com>
31088
31089 * posix/regexbug1.c (main): Use "%s" format with regerror results,
31090 rather than assuming they won't contain any '%'s.
31091
31092 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
31093
31094 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31095 inhibit_loop_to_libcall to avoid recursive calls.
31096 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31097 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31098
31099 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31100
31101 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31102 prototype.
31103
31104 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31105
31106 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31107 integer value instead of boolean.
31108
31109 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31110
31111 * malloc/malloc.c: Fix powerof2 check.
31112
31113 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31114
31115 * locale/programs/locfile.h (maybe_swap_uint32):
31116 Remove inline and add unused attribute.
31117
31118 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31119
31120 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31121 Truncating assembler expression to a .long expression.
31122
31123 2014-12-11 Andreas Schwab <schwab@suse.de>
31124
31125 * elf/rtld.c (struct map_args): Constify str member.
31126 (do_preload): Constify fname argument.
31127
31128 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31129
31130 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31131 constants definition.
31132
31133 2014-12-11 Andreas Schwab <schwab@suse.de>
31134
31135 [BZ #16657]
31136 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31137 FORCE_ELISION instead of DO_ELISION.
31138 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31139 Remove.
31140 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31141 Likewise.
31142
31143 * iconvdata/gconv-modules: Remove duplicate entry.
31144
31145 2014-12-11 Will Newton <will.newton@linaro.org>
31146
31147 Merge gettext 0.19.3 into intl/.
31148
31149 This involves a number of cosmetic changes to comments
31150 and ANSI function definitions and prototypes throughout
31151 all the files. The gettext copyright header is used but
31152 with the date ranges taken from the glibc copy.
31153
31154 * NEWS: Add gettext merge to 2.21.
31155 * intl/bindtextdom.c: Switch to gettext copyright.
31156 Use ANSI definitions and prototypes.
31157 Use gl_* locking primitives rather than __libc_* ones.
31158 Use __builtin_expect rather than __glibc_likely/unlikely.
31159 * intl/dcgettext.c: Switch to gettext copyright.
31160 Use ANSI definitions and prototypes.
31161 * intl/dcigettext.c: Switch to gettext copyright.
31162 Use ANSI definitions and prototypes.
31163 (INTDIV0_RAISES_SIGFPE): New define.
31164 Use gl_* locking primitives rather than __libc_* ones.
31165 Include eval-plural.h instead of plural-eval.c.
31166 Use __builtin_expect rather than __glibc_likely/unlikely.
31167 * intl/dcngettext.c: Switch to gettext copyright.
31168 Use ANSI definitions and prototypes.
31169 * intl/dgettext.c: Likewise.
31170 * intl/dngettext.c: Likewise.
31171 * intl/plural-eval.c: Renamed to...
31172 * intl/eval-plural.h: ...this.
31173 * intl/explodename.c: Switch to gettext copyright.
31174 Use ANSI definitions and prototypes.
31175 (_nl_explode_name): Use strchr instead of __rawmemchr.
31176 * intl/finddomain.c: Switch to gettext copyright.
31177 Use ANSI definitions and prototypes.
31178 Use gl_* locking primitives rather than __libc_* ones.
31179 (_nl_find_domain): Use malloc rather than alloca for
31180 allocation of temporary locale name.
31181 * intl/gettext.c: Switch to gettext copyright.
31182 Use ANSI definitions and prototypes.
31183 * intl/gettextP.h: Switch to gettext copyright.
31184 Use ANSI definitions and prototypes.
31185 Use gl_* locking primitives rather than __libc_* ones.
31186 * intl/gmo.h: Switch to gettext copyright.
31187 (struct sysdep_string): Move struct segment_pair outside of
31188 struct definition.
31189 * intl/hash-string.c: Use ANSI definitions and prototypes.
31190 * intl/hash-string.h: Switch to gettext copyright.
31191 Use ANSI definitions and prototypes.
31192 * intl/l10nflist.c: Switch to gettext copyright.
31193 Use ANSI definitions and prototypes.
31194 (_nl_normalize_codeset): Avoid integer overflow.
31195 * intl/loadinfo.h: Switch to gettext copyright.
31196 Use ANSI definitions and prototypes.
31197 (LIBINTL_DLL_EXPORTED): New define.
31198 (PATH_SEPARATOR): New define.
31199 * intl/loadmsgcat.c: Switch to gettext copyright.
31200 * intl/localealias.c: Switch to gettext copyright.
31201 Use ANSI definitions and prototypes.
31202 (_nl_expand_alias): Use PATH_SEPARATOR.
31203 * intl/ngettext.c: Switch to gettext copyright.
31204 Use ANSI definitions and prototypes.
31205 * intl/plural-exp.c: Likewise.
31206 * intl/plural-exp.h: Switch to gettext copyright.
31207 Use ANSI definitions and prototypes.
31208 (struct expression): Move definition of enum operator outside
31209 of struct definition.
31210 * intl/plural.c: Regenerate.
31211 * intl/plural.y: Switch to gettext copyright.
31212 Use ANSI definitions and prototypes.
31213 Port to bison 3.0.
31214 * intl/textdomain.c: Switch to gettext copyright.
31215 Use ANSI definitions and prototypes.
31216 Use gl_* locking primitives rather than __libc_* ones.
31217
31218 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
31219
31220 * debug/warning-nop.c: Add used atrribute.
31221
31222 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31223
31224 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
31225
31226 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
31227 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
31228 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
31229
31230 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31231 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31232
31233 [BZ #17634]
31234 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
31235 Undefine after defining function. Define as weak alias of
31236 __wcschr. Use libc_hidden_weak.
31237 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
31238 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
31239 (libc_hidden_def): Also define __GI___wcschr alias.
31240 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
31241 __wcschr and define as weak alias of __wcschr.
31242 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
31243 __wcschr.
31244 [!WCSCHR] (DEFAULT_WCSCHR): Define.
31245 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
31246 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
31247 libc_hidden_weak. Do not use libc_hidden_def.
31248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
31249 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
31250 __GI___wcschr alias.
31251 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
31252 [IS_IN (libc)] (wcschr): Define as macro expanding to
31253 __redirect_wcschr.
31254 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
31255 [IS_IN (libc)] (__wcschr_power6): Likewise.
31256 [IS_IN (libc)] (__wcschr_power7): Likewise.
31257 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
31258 instead of wcschr.
31259 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
31260 __libc_wcschr.
31261 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
31262 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
31263 __wcschr and define as weak alias of __wcschr. Use
31264 libc_hidden_builtin_def.
31265 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
31266 as weak alias of __wcschr. Use libc_hidden_weak.
31267 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
31268 wcschr.
31269 * time/era.c (_nl_init_era_entries): Likewise.
31270 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
31271 variable.
31272 (test-xfail-XPG3/time.h/linknamespace): Likewise.
31273 (test-xfail-XPG4/time.h/linknamespace): Likewise.
31274
31275 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31276
31277 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
31278 format for long int variable.
31279
31280 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
31281
31282 [BZ #10672]
31283 * manual/search.texi: (Array Sort Function): Remove claim how to make
31284 qsort stable.
31285
31286 2014-12-10 Andreas Schwab <schwab@suse.de>
31287
31288 [BZ #12847]
31289 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
31290 user-controlled locks.
31291
31292 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
31293
31294 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
31295 register.
31296
31297 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31298
31299 * configure.ac (--disable-werror): New configure option.
31300 (enable_werror): New AC_SUBST.
31301 * configure: Regenerated.
31302 * config.make.in (enable-werror): New variable.
31303 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
31304 -Wno-error=undef.
31305 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
31306 * manual/install.texi (Configuring and compiling): Document
31307 --disable-werror.
31308 * INSTALL: Regenerated.
31309 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
31310 (CFLAGS-tst-chk2.c): Likewise.
31311 (CFLAGS-tst-chk3.c): Likewise.
31312 (CFLAGS-tst-chk4.cc): Likewise.
31313 (CFLAGS-tst-chk5.cc): Likewise.
31314 (CFLAGS-tst-chk6.cc): Likewise.
31315 (CFLAGS-tst-lfschk1.c): Likewise.
31316 (CFLAGS-tst-lfschk2.c): Likewise.
31317 (CFLAGS-tst-lfschk3.c): Likewise.
31318 (CFLAGS-tst-lfschk4.cc): Likewise.
31319 (CFLAGS-tst-lfschk5.cc): Likewise.
31320 (CFLAGS-tst-lfschk6.cc): Likewise.
31321
31322 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
31323 (main): Disable -Wdeprecated-declarations around calls to
31324 register_printf_function.
31325
31326 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
31327 (do_test): Disable -Wdiv-by-zero around some calls to
31328 fwrite_unlocked and fread_unlocked.
31329
31330 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
31331 (DIAG_POP_NEEDS_COMMENT): Likewise.
31332 (_DIAG_STR1): Likewise.
31333 (_DIAG_STR): Likewise.
31334 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
31335 * stdio-common/bug21.c: Include <libc-internal.h>.
31336 (do_test): Disable -Wformat around call to sscanf.
31337 * stdio-common/scanf14.c: Include <libc-internal.h>.
31338 (main): Disable -Wformat around some calls to scanf functions.
31339
31340 2014-12-09 Torvald Riegel <triegel@redhat.com>
31341
31342 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
31343
31344 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31345
31346 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
31347 stack variable alignment.
31348
31349 2014-12-06 Joseph Myers <joseph@codesourcery.com>
31350
31351 [BZ #17682]
31352 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
31353 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
31354 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
31355 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
31356 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
31357 __getrlimit instead of getrlimit.
31358 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
31359 __gettimeofday instead of gettimeofday.
31360 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31361 Likewise.
31362 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31363 Likewise.
31364 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31365 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
31366 Remove variable.
31367 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31368 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31369
31370 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31371
31372 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
31373 for wide-character tests.
31374
31375 2014-12-04 Roland McGrath <roland@hack.frob.com>
31376
31377 * io/openat64.c: #include <libc-internal.h>
31378 (__openat64): Prototypify. Use ignore_value on MODE.
31379 * io/openat.c: Likewise.
31380 * misc/reboot.c: #include <libc-internal.h>
31381 (reboot): Prototypify. Use ignore_value on HOWTO.
31382 * misc/ptrace.c: #include <libc-internal.h>
31383 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
31384
31385 2014-12-04 Joseph Myers <joseph@codesourcery.com>
31386
31387 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
31388 XPG4, UNIX98 and XOPEN2K.
31389 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
31390 Remove variable.
31391 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31392
31393 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31394
31395 * libio/fileops.c: Use ISO C style for function definitions.
31396 * libio/iofopen.c: Likewise.
31397 * libio/wfileops.c: Likewise.
31398
31399 [BZ #17653]
31400 * libio/fileops.c (_IO_new_file_underflow): Unset cached
31401 offset on EOF.
31402 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
31403 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
31404 (fgets_func): Function pointer to fgets and fgetws.
31405 (do_ftell_test): Add test to verify ftell value after read
31406 EOF.
31407 (do_test): Set fgets_func.
31408
31409 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
31410 O_TRUNC flag for w and w+ modes.
31411 (do_rewind_test): Likewise.
31412 (do_ftell_test): Likewise.
31413 (do_write_test): Likewise.
31414
31415 [BZ #17647]
31416 * libio/fileops.c (do_ftell): Seek only when there are
31417 unflushed writes.
31418 * libio/wfileops.c (do_ftell_wide): Likewise.
31419 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
31420 test case.
31421 (do_one_test): Call it.
31422
31423 2014-12-03 Joseph Myers <joseph@codesourcery.com>
31424
31425 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
31426 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
31427 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
31428 Remove variable.
31429 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31430 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31431 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31432
31433 2014-12-02 Joseph Myers <joseph@codesourcery.com>
31434
31435 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
31436 Remove variable.
31437 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31438
31439 [BZ #17668]
31440 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
31441 as weak alias of __getifaddrs. Use libc_hidden_weak.
31442 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31443 __freeifaddrs. Use libc_hidden_weak.
31444 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
31445 define as weak alias of __getifaddrs. Use libc_hidden_weak.
31446 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31447 __freeifaddrs. Use libc_hidden_weak.
31448 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
31449 __getifaddrs and define as weak alias of __getifaddrs. Use
31450 libc_hidden_weak.
31451 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31452 __freeifaddrs. Use libc_hidden_weak.
31453 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
31454 Remove variable.
31455 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31456 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31457
31458 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
31459
31460 [BZ #17601]
31461 * sysdeps/mips/start.S (__start): Use indirect jump to call
31462 __libc_start_main.
31463
31464 2014-12-02 Joseph Myers <joseph@codesourcery.com>
31465
31466 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
31467
31468 * nptl/tst-mutex1.c: Include <stdbool.h>.
31469 [!ATTR] (ATTR_NULL): New macro.
31470 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
31471 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
31472 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
31473
31474 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
31475 to char *.
31476
31477 [BZ #17665]
31478 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
31479 Change conditional to [__USE_MISC].
31480
31481 [BZ #17664]
31482 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
31483 fgets_unlocked.
31484 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
31485 __fgets_unlocked.
31486 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
31487 fgets_unlocked.
31488 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
31489 Remove variable.
31490 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31491 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31492 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31493 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31494 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31495 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31496 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31497 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31498 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31499
31500 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
31501
31502 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31503
31504 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31505 Remove strpbrk objects.
31506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31507 (__libc_ifunc_impl_list): Remove strpbrk implementation.
31508 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
31509 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
31510 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
31511 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
31512
31513 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31514 Remove strcspn objects.
31515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31516 (__libc_ifunc_impl_list): Remove strcspn implementation.
31517 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
31518 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
31519 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
31520 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
31521
31522 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31523 Remove strspn objetcs.
31524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31525 (__libc_ifunc_impl_list): Remove strspn implementation.
31526 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
31527 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
31528 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
31529 * sysdeps/powerpc/powerpc64/strspn.S: New file.
31530
31531 2014-12-01 James Lemke <jwlemke@codesourcery.com>
31532
31533 [BZ #17581]
31534 * malloc/hooks.c
31535 (mem2mem_check): Add a terminator to the chain of checking blocks.
31536 (malloc_check_get_size): Use it here.
31537 (mem2chunk_check): Ditto.
31538
31539 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31540
31541 * sysdeps/powerpc/powerpc64/strtok.S: New file.
31542 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
31543
31544 2014-11-29 Carlos O'Donell <carlos@redhat.com>
31545
31546 * bits/ioctl-types.h: Indent preprocessor directives correctly.
31547
31548 * nptl/nptl-init.c: Include libc-internal.h.
31549 (__pthread_initialize_minimal_internal): Use ROUND_UP.
31550
31551 * elf/ldconfig.c (search_dir): Expand comment.
31552
31553 2014-11-29 Joseph Myers <joseph@codesourcery.com>
31554
31555 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
31556 variable.
31557 (linknamespace-symlist-stdlibs-tests): Likewise.
31558 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
31559 instead of $(objpfx)symlist-stdlibs.
31560 (linknamespace-libs-isoc): New variable.
31561 (linknamespace-libs): Use $(linknamespace-libs-isoc).
31562 (linknamespace-libs-ISO): New variable.
31563 (linknamespace-libs-ISO99): Likewise.
31564 (linknamespace-libs-ISO11): Likewise.
31565 (linknamespace-libs-XPG3): Likewise.
31566 (linknamespace-libs-XPG4): Likewise.
31567 (linknamespace-libs-POSIX): Likewise.
31568 (linknamespace-libs-UNIX98): Likewise.
31569 (linknamespace-libs-XOPEN2K): Likewise.
31570 (linknamespace-libs-POSIX2008): Likewise.
31571 (linknamespace-libs-XOPEN2K8): Likewise.
31572 ($(objpfx)symlist-stdlibs): Replace by
31573 $(linknamespace-symlist-stdlibs-tests). Use
31574 $(linknamespace-libs-$*) as set of libraries.
31575 ($(linknamespace-header-tests)): Update dependencies. Use
31576 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
31577 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
31578 * conform/linknamespace.pl: Remove comment about considering
31579 definitions of symbols from irrelevant libraries.
31580
31581 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
31582
31583 [BZ #13862]
31584 * elf/dl-tls.c: Include <atomic.h>.
31585 (oom): Remove #ifdef SHARED/#endif.
31586 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
31587 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
31588 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
31589 big enough.
31590 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
31591 * nptl/Makefile (tests): Add tst-stack4.
31592 (modules-names): Add tst-stack4mod.
31593 ($(objpfx)tst-stack4): New.
31594 (tst-stack4mod.sos): Likewise.
31595 ($(objpfx)tst-stack4.out): Likewise.
31596 ($(tst-stack4mod.sos)): Likewise.
31597 (clean): Likewise.
31598 * nptl/tst-stack4.c: New file.
31599 * nptl/tst-stack4mod.c: Likewise.
31600
31601 2014-11-27 J. Brown <jb999@gmx.de>
31602
31603 * sysdeps/x86/bits/string.h: Add recent CPUs.
31604
31605 2014-11-27 Joseph Myers <joseph@codesourcery.com>
31606
31607 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
31608 sigblock.
31609
31610 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
31611 feof.
31612
31613 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
31614 variable.
31615
31616 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
31617
31618 * nscd/connections.c: Include libc-internal.h because of macro
31619 usage ignore_value.
31620
31621 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31622
31623 * string/bits/string3.h (__warn_memset_zero_len): Don't
31624 declare for gcc newer than 5.0.
31625 (memset): Don't test for zero-length __LEN for gcc newer than
31626 5.0.
31627
31628 2014-11-27 Joseph Myers <joseph@codesourcery.com>
31629
31630 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
31631 size_t for %zu format.
31632
31633 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
31634 difference, not %ju.
31635
31636 2014-11-26 Joseph Myers <joseph@codesourcery.com>
31637
31638 * include/libc-internal.h (ignore_value): New macro.
31639 * nscd/connections.c (restart): Wrap calls to setuid and setgid
31640 with ignore_value.
31641
31642 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
31643 definition.
31644
31645 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
31646 pthread_cleanup_push to void *.
31647
31648 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
31649 Undefine.
31650
31651 [BZ #16619]
31652 [BZ #16740]
31653 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
31654 instead of 1L << 52.
31655
31656 * libio/bug-rewind.c (do_test): Check fwscanf return values.
31657 * libio/bug-rewind2.c (do_test): Likewise.
31658
31659 * debug/test-stpcpy_chk-ifunc.c: Remove file.
31660 * debug/test-strcpy_chk-ifunc.c: Likewise.
31661 * wcsmbs/test-wcschr-ifunc.c: Likewise.
31662 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31663 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31664 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31665 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31666 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31667 * Rules [$(multi-arch) = no] (tests): Do not filter out
31668 $(tests-ifunc).
31669 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
31670 * debug/Makefile (tests-ifunc): Remove variable.
31671 (tests): Do not add $(tests-ifunc).
31672 * wcsmbs/Makefile (tests-ifunc): Remove variable.
31673 (tests): Do not add $(tests-ifunc).
31674 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
31675 [TEST_IFUNC]: Remove conditionals.
31676 * string/test-string.h (TEST_IFUNC): Remove macro.
31677 [TEST_IFUNC]: Remove conditionals.
31678
31679 * string/test-strchr.c [!WIDE] (L): New macro.
31680 [WIDE] (L): Likewise.
31681 (check1): Use CHAR instead of char. Use L on string and character
31682 constants.
31683
31684 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
31685
31686 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
31687 tests.
31688 * sysdeps/powerpc/bits/atomic.h
31689 (__arch_atomic_exchange_and_add_32_acq): Add definition.
31690 (__arch_atomic_exchange_and_add_32_rel): Likewise.
31691 (atomic_exchange_and_add_acq): Likewise.
31692 (atomic_exchange_and_add_rel): Likewise.
31693 * sysdeps/powerpc/powerpc32/bits/atomic.h
31694 (__arch_atomic_exchange_and_add_64_acq): Add definition.
31695 (__arch_atomic_exchange_and_add_64_rel): Likewise.
31696 * sysdeps/powerpc/powerpc64/bits/atomic.h
31697 (__arch_atomic_exchange_and_add_64_acq): Add definition.
31698 (__arch_atomic_exchange_and_add_64_rel): Likewise.
31699
31700 2014-11-26 Torvald Riegel <triegel@redhat.com>
31701
31702 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
31703 Change synchronization of __sched_fifo_min_prio and
31704 __sched_fifo_max_prio.
31705 * nptl/pthread_mutexattr_getprioceiling.c
31706 (pthread_mutexattr_getprioceiling): Likewise.
31707 * nptl/pthread_mutexattr_setprioceiling.c
31708 (pthread_mutexattr_setprioceiling): Likewise.
31709 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
31710 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
31711 Likewise.
31712
31713 2014-11-26 Joseph Myers <joseph@codesourcery.com>
31714
31715 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
31716 void.
31717
31718 2014-11-25 Joseph Myers <joseph@codesourcery.com>
31719
31720 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
31721 third argument const.
31722
31723 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
31724
31725 fnmatch: work around GCC compiler warning bug with uninit var
31726 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
31727 This works around a bug with x86-64 GCC 4.9.2 and earlier
31728 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
31729 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
31730 used uninitialized in this function [-Wmaybe-uninitialized]".
31731
31732 2014-11-25 Joseph Myers <joseph@codesourcery.com>
31733
31734 * posix/bug-regex31.c (main): Return RES not 0.
31735
31736 2014-11-25 Anton Blanchard <anton@samba.org>
31737
31738 * sysdeps/powerpc/bits/atomic.h
31739 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
31740
31741 2014-11-24 Sterling Augustine <saugustine@google.com>
31742
31743 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
31744
31745 2014-11-24 Ryan Cumming <etaoins@gmail.com>
31746
31747 [BZ #17608]
31748 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
31749
31750 2014-11-24 Joseph Myers <joseph@codesourcery.com>
31751
31752 [BZ #17633]
31753 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
31754 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
31755 variable.
31756 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31757 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31758
31759 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
31760
31761 * string/strncpy.c (strncpy): Improve performance by using memset.
31762
31763 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
31764
31765 * string/strcpy.c (strcpy):
31766 Improve performance by using strlen and memcpy.
31767
31768 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
31769
31770 * string/strcoll_l.c (get_next_seq): __always_inline.
31771 * string/strcoll_l.c (do_compare): __always_inline.
31772
31773 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31774
31775 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
31776 defined.
31777 * include/mqueue.h: Likewise.
31778 * include/stdlib.h: Likewise.
31779
31780 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
31781 (get_null_defines): Adjust.
31782 * sunrpc/Makefile: Adjust comment.
31783 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
31784 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
31785 (CFLAGS-interp.c): Likewise.
31786 (CFLAGS-ldconfig.c): Likewise.
31787 (CPPFLAGS-.os): Likewise.
31788 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31789 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
31790 * extra-modules.mk (extra-modules.mk): Likewise.
31791 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
31792 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
31793 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
31794 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
31795 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
31796 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
31797 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
31798 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
31799 * iconvdata/Makefile (CPPFLAGS): Likewise.
31800 (cpp-srcs-left): Add libof for all iconvdata routines.
31801 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
31802 * include/assert.h: Likewise.
31803 * include/ctype.h: Likewise.
31804 * include/errno.h: Likewise.
31805 * include/libc-symbols.h: Likewise.
31806 * include/math.h: Likewise.
31807 * include/netdb.h: Likewise.
31808 * include/resolv.h: Likewise.
31809 * include/stdio.h: Likewise.
31810 * include/stdlib.h: Likewise.
31811 * include/string.h: Likewise.
31812 * include/sys/stat.h: Likewise.
31813 * include/wctype.h: Likewise.
31814 * intl/l10nflist.c: Likewise.
31815 * libidn/idn-stub.c: Likewise.
31816 * libio/libioP.h: Likewise.
31817 * nptl/libc_multiple_threads.c: Likewise.
31818 * nptl/pthreadP.h: Likewise.
31819 * posix/regex_internal.h: Likewise.
31820 * resolv/res_hconf.c: Likewise.
31821 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
31822 * sysdeps/arm/memmove.S: Likewise.
31823 * sysdeps/arm/sysdep.h: Likewise.
31824 * sysdeps/generic/_itoa.h: Likewise.
31825 * sysdeps/generic/symbol-hacks.h: Likewise.
31826 * sysdeps/gnu/errlist.awk: Likewise.
31827 * sysdeps/gnu/errlist.c: Likewise.
31828 * sysdeps/i386/i586/memcpy.S: Likewise.
31829 * sysdeps/i386/i586/memset.S: Likewise.
31830 * sysdeps/i386/i686/memcpy.S: Likewise.
31831 * sysdeps/i386/i686/memmove.S: Likewise.
31832 * sysdeps/i386/i686/mempcpy.S: Likewise.
31833 * sysdeps/i386/i686/memset.S: Likewise.
31834 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31835 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31836 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
31837 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
31838 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31839 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31840 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
31841 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31842 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31843 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31844 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31845 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31846 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31847 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31848 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31849 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31850 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
31851 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
31852 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
31853 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31854 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31855 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31856 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31857 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31858 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31859 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31860 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
31861 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31862 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
31863 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31864 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31865 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31867 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31868 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31869 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31870 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31871 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31872 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31873 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31874 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31875 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31876 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31877 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31878 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31879 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31880 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
31881 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
31882 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31883 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31884 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31885 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
31886 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
31887 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31888 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31889 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
31890 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31891 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
31892 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
31893 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31894 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31895 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31896 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
31897 * sysdeps/nptl/bits/libc-lock.h: Likewise.
31898 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
31899 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
31900 * sysdeps/posix/closedir.c: Likewise.
31901 * sysdeps/posix/opendir.c: Likewise.
31902 * sysdeps/posix/readdir.c: Likewise.
31903 * sysdeps/posix/rewinddir.c: Likewise.
31904 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
31905 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
31906 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31907 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31908 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31909 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
31910 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
31911 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
31912 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
31913 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
31914 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
31915 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
31916 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
31917 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
31918 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
31919 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
31920 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
31921 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
31922 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
31923 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
31924 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
31925 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
31926 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
31927 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
31928 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
31929 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
31930 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
31931 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
31932 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
31933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
31934 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
31935 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
31936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
31937 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
31938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
31939 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
31940 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31941 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31942 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
31943 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
31944 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
31945 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
31946 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
31947 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
31948 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
31949 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
31950 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
31951 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
31952 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
31953 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
31954 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
31955 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
31956 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31957 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
31958 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
31959 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
31960 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
31961 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
31962 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
31963 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
31964 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
31965 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
31966 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31967 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
31968 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
31969 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
31970 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
31971 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
31972 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
31973 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
31974 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
31975 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
31976 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
31977 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
31978 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
31979 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
31980 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
31981 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
31982 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
31983 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
31984 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
31985 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
31986 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
31987 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
31988 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31989 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
31990 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
31991 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31992 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31993 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31994 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
31995 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
31996 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
31997 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31998 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31999 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32000 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32001 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32002 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32003 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32004 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32005 * sysdeps/unix/alpha/sysdep.S: Likewise.
32006 * sysdeps/unix/alpha/sysdep.h: Likewise.
32007 * sysdeps/unix/make-syscalls.sh: Likewise.
32008 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32009 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32010 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32011 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32012 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32013 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32014 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32015 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32016 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32017 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32018 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32019 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32020 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32021 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32022 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32023 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32024 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32025 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32026 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32027 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32028 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32029 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32030 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32031 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32032 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32033 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32034 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32037 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32038 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32039 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32040 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32041 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32042 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32043 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32044 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32045 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32046 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32047 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32048 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32049 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32050 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32051 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32052 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32054 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32055 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32056 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32057 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32058 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32059 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32060 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32061 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32062 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32063 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32064 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32065 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32066 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32067 * sysdeps/x86_64/memcpy.S: Likewise.
32068 * sysdeps/x86_64/memmove.c: Likewise.
32069 * sysdeps/x86_64/memset.S: Likewise.
32070 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32071 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32072 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32073 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32074 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32075 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32076 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32077 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32078 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32079 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32080 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32081 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32082 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32083 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32084 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32085 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32086 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32087 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32088 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32089 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32090 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32091 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32093 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32094 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32095 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32096 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32097 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32098 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32099 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32100 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32101 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32102 * sysdeps/x86_64/strcmp.S: Likewise.
32103
32104 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32105
32106 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32107 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32108 * elf/rtld-Rules: Likewise.
32109 * elf/setup-vdso.h: Likewise.
32110 * include/assert.h: Likewise.
32111 * include/bits/stdlib-float.h: Likewise.
32112 * include/errno.h: Likewise.
32113 * include/sys/stat.h: Likewise.
32114 * include/unistd.h: Likewise.
32115 * sysdeps/aarch64/setjmp.S: Likewise.
32116 * sysdeps/alpha/setjmp.S: Likewise.
32117 * sysdeps/arm/__longjmp.S: Likewise.
32118 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32119 * sysdeps/arm/setjmp.S: Likewise.
32120 * sysdeps/arm/sysdep.h: Likewise.
32121 * sysdeps/generic/_itoa.h: Likewise.
32122 * sysdeps/generic/dl-sysdep.h: Likewise.
32123 * sysdeps/generic/ldsodefs.h: Likewise.
32124 * sysdeps/i386/dl-tls.h: Likewise.
32125 * sysdeps/i386/setjmp.S: Likewise.
32126 * sysdeps/m68k/setjmp.c: Likewise.
32127 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32128 * sysdeps/mach/hurd/opendir.c: Likewise.
32129 * sysdeps/posix/getcwd.c: Likewise.
32130 * sysdeps/posix/opendir.c: Likewise.
32131 * sysdeps/posix/profil.c: Likewise.
32132 * sysdeps/powerpc/dl-procinfo.h: Likewise.
32133 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32134 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32135 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32136 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32137 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32138 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32139 * sysdeps/s390/dl-tls.h: Likewise.
32140 * sysdeps/s390/s390-32/setjmp.S: Likewise.
32141 * sysdeps/s390/s390-64/setjmp.S: Likewise.
32142 * sysdeps/sh/sh3/setjmp.S: Likewise.
32143 * sysdeps/sh/sh4/setjmp.S: Likewise.
32144 * sysdeps/unix/alpha/sysdep.h: Likewise.
32145 * sysdeps/unix/arm/sysdep.S: Likewise.
32146 * sysdeps/unix/i386/sysdep.S: Likewise.
32147 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32148 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32149 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32150 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32151 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32152 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32153 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32154 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32155 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32156 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32157 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32158 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32159 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32162 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32163 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32164 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32165 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32166 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32167 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32170 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32171 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32172 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32174 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32175 * sysdeps/x86_64/setjmp.S: Likewise.
32176
32177 * include/math.h: Use IS_IN instead of IS_IN_libm.
32178 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32179 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32180 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32181 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32182 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32183 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32184 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32185 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32186 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32187 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32188 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
32189 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
32190 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
32191 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
32192 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
32193 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
32194 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
32195 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
32196 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
32197 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
32198 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
32199 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
32200 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
32201 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
32202 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
32203 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
32204 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
32205 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32206 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32207 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
32208 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
32209 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32210 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
32212 Likewise.
32213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
32214 Likewise.
32215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
32216 Likewise.
32217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
32218 Likewise.
32219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
32220 Likewise.
32221 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32222 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
32223 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32224 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32225 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32226 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
32228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
32229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
32230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
32231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
32232 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
32233 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
32234 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32235 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32236 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32237 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32238 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32239 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32240 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32241 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
32242 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
32243 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
32244 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
32245 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
32246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32247 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
32248
32249 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
32250 * nptl/pthreadP.h: Likewise.
32251 * nptl_db/structs.def: Likewise.
32252 * sysdeps/arm/sysdep.h: Likewise.
32253 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32254 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32255 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
32256 * sysdeps/unix/alpha/sysdep.h: Likewise.
32257 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32258 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32259 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32260 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32261 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32262 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32263 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32264 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32265 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32266 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32267 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32268 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32269 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32270 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32273 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32274 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32275 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32277 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32278 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32279 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32280 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32281 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
32282 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32283
32284 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
32285 * nptl/pthreadP.h: Likewise.
32286 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32287 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32288 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32289 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32290 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32291 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32292 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32293 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32294 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32295 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32296 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32297 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32299 Likewise.
32300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32301 Likewise.
32302 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32303 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32304 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32305 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32306 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32307 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32308 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32309 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32310
32311 * dlfcn/dladdr.c: Use IS_IN.
32312 * dlfcn/dladdr1.c: Likewise.
32313 * dlfcn/dlclose.c: Likewise.
32314 * dlfcn/dlerror.c: Likewise.
32315 * dlfcn/dlinfo.c: Likewise.
32316 * dlfcn/dlmopen.c: Likewise.
32317 * dlfcn/dlopen.c: Likewise.
32318 * dlfcn/dlsym.c: Likewise.
32319 * dlfcn/dlvsym.c: Likewise.
32320
32321 * include/ifaddrs.h: Use IS_IN.
32322 * inet/check_pf.c: Likewise.
32323 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32324 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
32325
32326 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
32327 IS_IN_ldconfig.
32328 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
32329 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
32330
32331 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
32332 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
32333 IS_IN (libc).
32334
32335 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
32336
32337 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
32338 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32339 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32340 * include/libc-symbols.h (IS_IN_LIB): New macro.
32341 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
32342 * include/netdb.h: Likewise.
32343 * include/stap-probe.h: Remove all uses of IN_LIB.
32344
32345 * Makeconfig (module-cppflags-real): Define MODULE_NAME
32346 instead of IN_MODULE.
32347 * include/libc-symbols.h (IN_MODULE): Define using
32348 MODULE_NAME.
32349 (PASTE_NAME, PASTE_NAME1): New macros.
32350 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
32351 of IN_LIB.
32352 (STAP_PROBE_ASM): Likewise.
32353
32354 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
32355
32356 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
32357 __mach_init in dlopened libc.
32358
32359 2014-11-22 Mike Frysinger <vapier@gentoo.org>
32360
32361 * sysdeps/arm/preconfigure.ac: Delete EABI check.
32362 * sysdeps/arm/preconfigure: Regenerate.
32363
32364 2014-11-21 Roland McGrath <roland@hack.frob.com>
32365
32366 * nptl/pthread_create.c (__pthread_create_2_1): Set
32367 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
32368 when copying values from IATTR into PD.
32369
32370 2014-11-21 Will Newton <will.newton@linaro.org>
32371 Andrew Pinski <andrew.pinski@caviumnetworks.com>
32372
32373 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
32374 Refactor inline-asm. Also add comment.
32375
32376 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
32377 ElfW macro instead of hardcoded Elf64 types.
32378 (la_aarch64_gnu_pltenter): Likewise.
32379 * sysdeps/aarch64/dl-machine.h
32380 (elf_machine_runtime_setup): Use ElfW(Addr).
32381
32382 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
32383 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
32384 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
32385 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
32386 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
32387 (R_AARCH64_TLS_DTPMOD64): Rename to ..
32388 (R_AARCH64_TLS_DTPMOD): This.
32389 (R_AARCH64_TLS_DTPREL64): Rename to ...
32390 (R_AARCH64_TLS_DTPREL): This.
32391 (R_AARCH64_TLS_TPREL64): Rename to ...
32392 (R_AARCH64_TLS_TPREL): This.
32393 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
32394 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
32395 R_AARCH64_TLS_TPREL64.
32396 (elf_machine_rela): Likewise.
32397
32398 2014-11-21 Torvald Riegel <triegel@redhat.com>
32399
32400 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
32401 by setting it to 0. 64b atomics are not supported currently.
32402
32403 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32404
32405 [BZ #16469]
32406 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
32407 search domain names.
32408
32409 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32410
32411 [BZ #16469]
32412 * NEWS: Update.
32413 * resolv/res_query.c (__libc_res_nquerydomain): Retain
32414 trailing dot.
32415 * posix/tst-getaddrinfo5.c: New.
32416 * posix/Makefile (tests): Add it.
32417
32418 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32419
32420 [BZ #14498]
32421 * NEWS: Fixed.
32422 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
32423 after parsing line but before break_if_match.
32424 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
32425 if there is a protocol mismatch.
32426
32427 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
32428
32429 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
32430 because the potential race is on the user-supplied stream.
32431
32432 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32433
32434 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
32435 string literal if not passed a buffer.
32436 * manual/job.texi (ctermid): Update reasoning, note deviation
32437 from posix, suggest mtasurace when not passed a buffer, for
32438 future non-preliminary safety notes.
32439
32440 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32441
32442 * manual/users.texi (cuserid): Fix MT-Safety note for the case
32443 of not passing it a buffer.
32444 Reported by Peng Haitao.
32445
32446 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32447
32448 * manual/Makefile ($(objpfx)stamp-summary): Require
32449 check-safety.sh to pass.
32450 * manual/check-safety.sh: Wish for verification that every
32451 @deftypefn and @deftypefun is followed by a @safety remark.
32452
32453 2014-11-20 Roland McGrath <roland@hack.frob.com>
32454
32455 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
32456
32457 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
32458 PTHREAD_CANCEL_ASYNCHRONOUS.
32459 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
32460 send SIGCANCEL.
32461
32462 * nptl/default-sched.h: New file.
32463 * sysdeps/unix/sysv/linux/default-sched.h: New file.
32464 * nptl/pthread_create.c: Include it.
32465 (__pthread_create_2_1): Use collect_default_sched instead of making
32466 Linux syscalls here directly.
32467
32468 2014-11-20 Torvald Riegel <triegel@redhat.com>
32469
32470 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
32471 __pthread_once): Use C11 atomics.
32472
32473 2014-11-20 Torvald Riegel <triegel@redhat.com>
32474
32475 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
32476
32477 2014-11-20 Torvald Riegel <triegel@redhat.com>
32478
32479 * include/atomic.h (__atomic_link_error, __atomic_check_size,
32480 atomic_thread_fence_acquire, atomic_thread_fence_release,
32481 atomic_thread_fence_seq_cst, atomic_load_relaxed,
32482 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
32483 atomic_compare_exchange_weak_relaxed,
32484 atomic_compare_exchange_weak_acquire,
32485 atomic_compare_exchange_weak_release,
32486 atomic_exchange_acquire, atomic_exchange_release,
32487 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
32488 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
32489 atomic_fetch_and_acquire,
32490 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
32491
32492 2014-11-20 Torvald Riegel <triegel@redhat.com>
32493
32494 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
32495 USE_ATOMIC_COMPILER_BUILTINS): Define.
32496 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
32497 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32498 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
32499 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32500 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
32501 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32502 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
32503 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32504 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
32505 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32506 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
32507 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32508 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
32509 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32510 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
32511 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32512 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32513 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32514 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32515 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32516 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
32517 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32518 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32519 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32520 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
32521 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32522 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32523 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32524 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
32525 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32526 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
32527 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32528 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
32529 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32530 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32531 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32532 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
32533 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32534 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
32535 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32536
32537 2014-11-19 Roland McGrath <roland@hack.frob.com>
32538
32539 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
32540 the sched_priority value here. It was already checked when the user
32541 called pthread_attr_setschedparam.
32542
32543 * nptl/tst-bad-schedattr.c: New file.
32544 * nptl/Makefile (tests): Add it.
32545
32546 2014-11-19 Carlos O'Donell <carlos@redhat.com>
32547 Florian Weimer <fweimer@redhat.com>
32548 Joseph Myers <joseph@codesourcery.com>
32549 Adam Conrad <adconrad@0c3.net>
32550 Andreas Schwab <schwab@suse.de>
32551 Brooks <bmoses@google.com>
32552
32553 [BZ #17625]
32554 * wordexp-test.c (__dso_handle): Add prototype.
32555 (__register_atfork): Likewise.
32556 (__app_register_atfork): New function.
32557 (registered_forks): New global.
32558 (register_fork): New function.
32559 (test_case): Add 3 new tests for WRDE_CMDSUB.
32560 (main): Call __app_register_atfork.
32561 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
32562 fork count is non-zero fail the test.
32563 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
32564 is set.
32565 (parse_dollars): Remove check for WRDE_NOCMD.
32566 (parse_dquote): Likewise.
32567
32568 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32569
32570 * Makeconfig (built-modules): List non-library modules to be
32571 built.
32572 (module-cppflags): Include libc-modules.h for
32573 everything except shlib-versions.v.i.
32574 (CPPFLAGS): Use it.
32575 (before-compile): Add libc-modules.h.
32576 ($(common-objpfx)libc-modules.h,
32577 $(common-objpfx)libc-modules.stmp): New targets.
32578 (common-generated): Add libc-modules.h and libc-modules.stmp.
32579 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
32580 * include/libc-symbols.h: Don't include libc-modules.h.
32581 * include/libc-modules.h: Remove file.
32582 * scripts/gen-libc-modules.awk: New script to generate
32583 libc-modules.h.
32584 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
32585 Depend on libc-modules.stmp.
32586
32587 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
32588
32589 * Makeconfig (in-module): Get value of libof set for the
32590 translation unit.
32591 (CPPFLAGS): Use $(in-module).
32592 * Makerules: Don't suffix routine names for nonlib.
32593 * include/libc-modules.h: New file.
32594 * include/libc-symbols.h: Include libc-modules.h
32595 (IS_IN): New macro to replace IS_IN_* macros.
32596 * elf/Makefile: Set libof-* for each routine.
32597 * elf/rtld-Rules: Likewise.
32598 * extra-modules.mk: Likewise.
32599 * iconv/Makefile: Likewise.
32600 * iconvdata/Makefile: Likewise.
32601 * locale/Makefile: Likewise.
32602 * malloc/Makefile: Likewise.
32603 * nss/Makefile: Likewise.
32604 * sysdeps/gnu/Makefile: Likewise.
32605 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
32606 * sysdeps/unix/sysv/linux/Makefile: Likewise.
32607 * sysdeps/s390/s390-64/Makefile: Likewise.
32608 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
32609 CPPFLAGS for nscd instead of nonlib.
32610
32611 2014-11-18 Roland McGrath <roland@hack.frob.com>
32612
32613 * nptl/createthread.c: New file.
32614
32615 * nptl/createthread.c: Moved ...
32616 * sysdeps/unix/sysv/linux/createthread.c: ... here.
32617
32618 * nptl/createthread.c: Add proper top-line comment.
32619 (do_clone): Folded into ...
32620 (create_thread): ... here. Take new arguments STOPPED_START and
32621 THREAD_RAN. Always set PD->stopped_start to something here. Don't
32622 increment __nptl_threads, do event-reporting logic, do
32623 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
32624 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
32625 resource cleanup if sched_setaffinity or sched_setscheduler fails,
32626 just send SIGCANCEL.
32627 * nptl/pthread_create.c: Forward-declare create_thread before
32628 including createthread.c.
32629 (start_thread): Use new macro START_THREAD_DEFN to replace defining
32630 declaration, and new macro START_THREAD_SELF to replace argument.
32631 Remove return statement.
32632 (report_thread_creation): New function.
32633 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
32634 synchronization logic, and __nptl_nthreads increment here, around
32635 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
32636 PD->parent_cancelhandling here, before create_thread. When
32637 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
32638 __deallocate_stack, and ENOMEM translation here.
32639
32640 2014-11-18 Joseph Myers <joseph@codesourcery.com>
32641
32642 [BZ #17616]
32643 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
32644 (mptwo): Rename to __mptwo.
32645 (__inv): Use __mptwo instead of mptwo.
32646 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
32647 (mptwo): Rename to __mptwo.
32648 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
32649 of mpone and __mptwo instead of mptwo.
32650 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
32651 instead of mpone.
32652 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32653 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
32654 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
32655 of mpone and __mptwo instead of mptwo.
32656 (__mpranred): Use __mpone instead of mpone.
32657 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
32658 variable.
32659 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32660 (test-xfail-ISO99/math.h/linknamespace): Likewise.
32661 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32662 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32663 (test-xfail-ISO11/math.h/linknamespace): Likewise.
32664 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32665 (test-xfail-XPG3/math.h/linknamespace): Likewise.
32666 (test-xfail-XPG4/math.h/linknamespace): Likewise.
32667 (test-xfail-POSIX/math.h/linknamespace): Likewise.
32668 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32669 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32670 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32671 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32672 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32673 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32674 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32675 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32676 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32677 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32678
32679 2014-11-18 Tom de Vries <tom@codesoucery.com>
32680
32681 * manual/signal.texi (Primitives Interrupted by Signals): In section,
32682 replace BSD Handler xref with BSD Signal Handling.
32683
32684 2014-11-17 Richard Henderson <rth@redhat.com>
32685
32686 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
32687 (_FP_PACK_RAW_2): Remove.
32688 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
32689 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
32690 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
32691 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
32692 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
32693 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
32694 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
32695 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
32696 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
32697 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
32698 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
32699 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
32700 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
32701 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
32702 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
32703 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
32704
32705 2014-11-14 Roland McGrath <roland@hack.frob.com>
32706
32707 * signal/signal.h [__USE_MISC]
32708 (struct sigvec): Remove type.
32709 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32710 (sigvec): Remove declaration.
32711 * sysdeps/posix/sigvec.c: Moved ...
32712 * signal/sigvec.c: ... here, replacing old file.
32713 (struct sigvec): New type, copied from old signal.h definition.
32714 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
32715 (__sigvec): Convert definition to prototype.
32716 (sigvec): Replace weak_alias with compat_symbol.
32717 * signal/Versions (libc: GLIBC_2.21): New version set.
32718 * include/signal.h: Remove __sigvec declaration.
32719 * sysdeps/unix/bsd/sigvec.c: Remove file.
32720 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
32721 * manual/signal.texi (BSD Handler): Remove subsection.
32722 Move siginterrupt up to ...
32723 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
32724 (Blocking in BSD): Fold subsection into its parent.
32725 * NEWS: Mention sigvec removal.
32726
32727 2014-11-14 Joseph Myers <joseph@codesourcery.com>
32728
32729 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
32730 (DLA_FMS): Make definition conditional only on [__FMA4__].
32731 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
32732 definition.
32733
32734 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
32735 Make definition conditional only on [PROF].
32736 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
32737 definition.
32738 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
32739 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
32740
32741 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
32742 !__GNUC__].
32743 * include/signal.h (__sigpause): Move declaration above call to
32744 libc_hidden_proto.
32745 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
32746 variable.
32747 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32748 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32749
32750 2014-11-14 David S. Miller <davem@davemloft.net>
32751
32752 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
32753 Define before including <string/memcpy.c> and <string/mempcpy.c>.
32754
32755 2014-11-14 Joseph Myers <joseph@codesourcery.com>
32756
32757 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
32758 * configure: Regenerated.
32759 * manual/install.texi (Tools for Compilation): Document a
32760 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
32761 compiler verified to work.
32762 * INSTALL: Regenerated.
32763
32764 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
32765 redeclare with asm name.
32766 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
32767 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
32768 including <string.h>.
32769 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32770 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
32771 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32772 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
32773 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32774 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32775 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32776
32777 2014-11-13 Joseph Myers <joseph@codesourcery.com>
32778
32779 * stdlib/strtol.c (__strtol): Use prototype definition.
32780
32781 [BZ #17594]
32782 * stdlib/strtol.c (SYM__): New macro.
32783 (SYM__1): Likewise.
32784 (__strtol): Likewise.
32785 (strtol): Rename to __strtol and define as weak alias of
32786 __strtol. Use libc_hidden_weak.
32787
32788 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
32789
32790 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
32791 Use numbered labels in inline assembly.
32792
32793 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
32794
32795 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
32796 Add setjmp LIBC_PROBE.
32797 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
32798 Likewise.
32799 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
32800 Add longjmp, longjmp_target LIBC_PROBE.
32801 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
32802 Likewise.
32803
32804 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
32805
32806 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32807 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
32808 to get rid of unused variable warning.
32809
32810 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
32811
32812 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
32813 Check for unwind_backtrace == NULL only in SHARED case.
32814 (__backchain_backtrace): Compile only in SHARED case.
32815 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
32816 Likewise.
32817 (__backchain_backtrace): Declare as static.
32818
32819 2014-11-12 Roland McGrath <roland@hack.frob.com>
32820
32821 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
32822 (__libc_multiple_threads_ptr): Variable moved ...
32823 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
32824
32825 2014-11-12 Joseph Myers <joseph@codesourcery.com>
32826
32827 * conform/GlibcConform.pm: New file.
32828 * conform/conformtest.pl: Use GlibcConform module.
32829 * conform/linknamespace.pl: New file.
32830 * conform/list-header-symbols.pl: Likewise.
32831 * conform/Makefile (linknamespace-symlists-base): New variable.
32832 (linknamespace-symlists-tests): Likewise.
32833 (linknamespace-header-base): Likewise.
32834 (linknamespace-header-tests): Likewise.
32835 (tests-special): Add new tests.
32836 ($(linknamespace-symlists-tests)): New rule.
32837 (linknamespace-libs): New variable.
32838 ($(objpfx)symlist-stdlibs): New rule.
32839 ($(linknamespace-header-tests)): Likewise.
32840 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
32841 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
32842 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
32843 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
32844 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
32845 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
32846 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
32847 (test-xfail-ISO/math.h/linknamespace): Likewise.
32848 (test-xfail-ISO/signal.h/linknamespace): Likewise.
32849 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
32850 (test-xfail-ISO/time.h/linknamespace): Likewise.
32851 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32852 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
32853 (test-xfail-ISO99/math.h/linknamespace): Likewise.
32854 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32855 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32856 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32857 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32858 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32859 (test-xfail-ISO11/math.h/linknamespace): Likewise.
32860 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32861 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32862 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32863 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32864 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
32865 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
32866 (test-xfail-XPG3/math.h/linknamespace): Likewise.
32867 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
32868 (test-xfail-XPG3/search.h/linknamespace): Likewise.
32869 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
32870 (test-xfail-XPG3/time.h/linknamespace): Likewise.
32871 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
32872 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
32873 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32874 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
32875 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
32876 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
32877 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
32878 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
32879 (test-xfail-XPG4/math.h/linknamespace): Likewise.
32880 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
32881 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
32882 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
32883 (test-xfail-XPG4/search.h/linknamespace): Likewise.
32884 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
32885 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
32886 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
32887 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
32888 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
32889 (test-xfail-XPG4/time.h/linknamespace): Likewise.
32890 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
32891 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
32892 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
32893 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
32894 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
32895 (test-xfail-POSIX/math.h/linknamespace): Likewise.
32896 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
32897 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
32898 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
32899 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
32900 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
32901 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32902 (test-xfail-POSIX/time.h/linknamespace): Likewise.
32903 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
32904 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
32905 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
32906 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32907 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32908 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
32909 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
32910 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
32911 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
32912 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32913 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
32914 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32915 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
32916 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
32917 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
32918 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
32919 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32920 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
32921 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
32922 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
32923 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32924 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32925 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
32926 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
32927 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
32928 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
32929 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
32930 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
32931 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32932 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
32933 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
32934 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
32935 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
32936 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
32937 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
32938 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32939 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
32940 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
32941 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
32942 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
32943 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32944 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
32945 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32946 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
32947 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
32948 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
32949 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
32950 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32951 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32952 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
32953 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
32954 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32955 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32956 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
32957 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
32958 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
32959 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
32960 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32961 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
32962 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
32963 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
32964 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
32965 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32966 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
32967 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32968 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
32969 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32970 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
32971 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
32972 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
32973 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32974 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32975 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32976 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32977 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
32978 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32979 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32980 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32981 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
32982 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
32983 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
32984 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
32985 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32986 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
32987 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32988 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
32989 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32990 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
32991 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
32992 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32993 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
32994 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
32995 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32996 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32997 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
32998 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32999 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33000 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33001
33002 [BZ #17589]
33003 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33004 of fgets_unlocked.
33005
33006 [BZ #17585]
33007 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33008 (memmem): Rename to __memmem and define as weak alias of
33009 __memmem. Use libc_hidden_weak.
33010 (__memmem): Use libc_hidden_def.
33011 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
33012 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33013 memmem.
33014
33015 [BZ #17582]
33016 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33017 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
33018 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33019 and define as weak alias of __fgets_unlocked. Use
33020 libc_hidden_weak.
33021 (__fgets_unlocked): Use libc_hidden_def.
33022 * include/stdio.h (__fgets_unlocked): Declare. Use
33023 libc_hidden_proto.
33024 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33025 __fgets_unlocked instead of fgets_unlocked.
33026 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33027 (GET_NPROCS_CONF_PARSER): Likewise.
33028 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33029 (GET_NPROCS_CONF_PARSER): Likewise.
33030
33031 [BZ #17574]
33032 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33033 weak alias of __wmemset. Use libc_hidden_weak.
33034 (__wmemset): Use libc_hidden_def.
33035 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
33036 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33037 of wmemset.
33038
33039 [BZ #17573]
33040 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33041 with asm name __mempcpy.
33042 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33043
33044 [BZ #17572]
33045 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33046 and define as weak alias of __rawmemchr.
33047 (__rawmemchr): Do not define as strong alias of rawmemchr.
33048
33049 [BZ #17571]
33050 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33051 alias of __qsort_r.
33052 (qsort): Call __qsort_r instead of qsort_r.
33053 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33054 (__qsort_r): Declare. Call libc_hidden_proto.
33055 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33056 instead of qsort_r.
33057 * nscd/gai.c (__qsort_r): Define to qsort_r.
33058 * posix/tst-rfc3484.c (__qsort_r): Likewise.
33059 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33060 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33061
33062 [BZ #17570]
33063 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33064 define as weak alias of __malloc_info.
33065
33066 [BZ #17584]
33067 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33068 as weak alias of __rewinddir. Don't use libc_hidden_def.
33069 (__rewinddir): Use libc_hidden_def.
33070 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33071 as weak alias of __rewinddir. Don't use libc_hidden_def.
33072 (__rewinddir): Use libc_hidden_def.
33073 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33074 weak alias of __rewinddir. Don't use libc_hidden_def.
33075 (__rewinddir): Use libc_hidden_def.
33076 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33077 (__rewinddir): Use libc_hidden_proto.
33078 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33079 rewinddir.
33080 (__getcwd): Use __rewinddir instead of rewinddir.
33081
33082 [BZ #17583]
33083 * libio/fileno.c (fileno): Rename to __fileno and define as weak
33084 alias of __fileno. Use libc_hidden_weak.
33085 (__fileno): Use libc_hidden_def.
33086 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33087 * libio/ftello.c (ftello): Rename to __ftello and define as weak
33088 alias of __ftello.
33089 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33090 __ftello.
33091 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33092 (__fread_unlocked): Define as strong alias of _IO_fread. Use
33093 libc_hidden_def.
33094 (fread_unlocked): Don't use libc_hidden_ver.
33095 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33096 and define as weak alias of __fread_unlocked. Don't use
33097 libc_hidden_def.
33098 (__fread_unlocked): Use libc_hidden_def.
33099 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
33100 (ftello): Don't use libc_hidden_proto.
33101 (__ftello): Declare. Use libc_hidden_proto.
33102 (fread_unlocked): Don't use libc_hidden_proto.
33103 (__fread_unlocked): Declare. Use libc_hidden_proto.
33104 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33105 and __ftello instead of fileno, fread_unlocked and ftello.
33106
33107 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33108
33109 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33110 GOT12.
33111 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33112 Likewise.
33113 (_dl_start_user): Likewise.
33114 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33115
33116 2014-11-12 Carlos O'Donell <carlos@redhat.com>
33117 Siddhesh Poyarekar <siddhesh@redhat.com>
33118
33119 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33120 Move argv and envp down instead of moving argc up.
33121 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33122
33123 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
33124
33125 [BZ #17506]
33126 * test-skeleton.c (main): Return successful if one of
33127 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33128 * string/tst-strcoll-overflow.c: Define expected status.
33129
33130 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
33131
33132 [BZ #17475]
33133 * locale/iso-639.def: Define Bhili and Tulu language codes.
33134
33135 2014-11-11 Alan Hayward <alan.hayward@arm.com>
33136
33137 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33138
33139 2014-11-10 Renlin Li <Renlin.Li@arm.com>
33140
33141 [BZ #17555]
33142 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33143
33144 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
33145
33146 * configure.ac: Updated check of minimal required version to
33147 2.22.
33148 * manual/install.texi (Tools for Compilation): Updated version
33149 number.
33150 * configure: Regenerated.
33151 * INSTALL: Likewise.
33152
33153 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
33154
33155 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33156 __tls_get_addr.
33157
33158 2014-11-07 Joseph Myers <joseph@codesourcery.com>
33159
33160 * include/sys/wait.h (__libc_waitpid): Remove declaration.
33161 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33162 (__waitpid): Don't define as alias. Use libc_hidden_def not
33163 libc_hidden_weak.
33164 (waitpid): Define as alias of __waitpid.
33165 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33166 __waitpid.
33167 (__waitpid): Don't define as alias. Use libc_hidden_def not
33168 libc_hidden_weak.
33169 (waitpid): Define as alias of __waitpid.
33170 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33171 __libc_waitpid alias.
33172 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33173 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33174 Likewise.
33175 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33176 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33177 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33178 alias.
33179 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33180 __waitpid.
33181 (__waitpid): Don't define as alias. Use libc_hidden_def not
33182 libc_hidden_weak.
33183 (waitpid): Define as alias of __waitpid.
33184
33185 2014-11-06 Carlos O'Donell <carlos@redhat.com>
33186
33187 * manual/llio.texi: Add comment that write safety has been
33188 fixed in Linux.
33189
33190 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
33191 (localplt-build-dso): Add elf/ld.so.
33192 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
33193 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
33194 and free for ld.so.
33195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
33196 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
33197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
33198 Likewise.
33199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33200 Likewise.
33201 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
33202 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
33203 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
33204 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
33205 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
33206 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
33207 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
33208 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
33209 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
33210 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
33211 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33212
33213 2014-11-05 Joseph Myers <joseph@codesourcery.com>
33214
33215 [BZ #14132]
33216 * include/libc-symbols.h (INTUSE): Remove macro.
33217 (INTDEF): Likewise.
33218 (INTVARDEF): Likewise.
33219 (_INTVARDEF): Likewise.
33220 (INTDEF2): Likewise.
33221 (INTVARDEF2): Likewise.
33222 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
33223 rtld_hidden_def instead of INTVARDEF.
33224 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
33225 (_dl_starting_up_internal): Remove declaration.
33226 (_dl_starting_up): Use rtld_hidden_proto.
33227 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
33228 declaration.
33229 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
33230 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
33231 _dl_starting_up.
33232 * elf/dl-writev.h (_dl_writev): Likewise.
33233 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
33234 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
33235 _dl_starting_up_internal.
33236
33237 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33238
33239 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33240 test-skeleton.c.
33241
33242 2014-11-05 Will Newton <will.newton@linaro.org>
33243
33244 * benchtests/Makefile: (bench-malloc): Add malloc thread
33245 scalability benchmark.
33246 * benchtests/bench-malloc-threads.c: New file.
33247
33248 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
33249
33250 * sysdeps/aarch64/strchrnul.S: New file.
33251
33252 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33253
33254 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
33255 definition.
33256 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33257 Likewise.
33258 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33259 Likewise.
33260 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33261 Likewise.
33262 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33263 Likewise.
33264 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33265 Likewise.
33266
33267 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
33268
33269 * catgets/test-gencat.c: Use test-skeleton.c.
33270 * catgets/tst-catgets.c: Likewise.
33271 * csu/tst-empty.c: Likewise.
33272 * elf/tst-audit2.c: Likewise.
33273 * elf/tst-global1.c: Likewise.
33274 * elf/tst-pathopt.c: Likewise.
33275 * elf/tst-piemod1.c: Likewise.
33276 * elf/tst-tls10.c: Likewise.
33277 * elf/tst-tls11.c: Likewise.
33278 * elf/tst-tls12.c: Likewise.
33279 * gnulib/tst-gcc.c: Likewise.
33280 * iconvdata/tst-e2big.c: Likewise.
33281 * iconvdata/tst-loading.c: Likewise.
33282 * iconv/tst-iconv1.c: Likewise.
33283 * iconv/tst-iconv2.c: Likewise.
33284 * inet/test-inet6_opt.c: Likewise.
33285 * inet/tst-gethnm.c: Likewise.
33286 * inet/tst-network.c: Likewise.
33287 * inet/tst-ntoa.c: Likewise.
33288 * intl/tst-codeset.c: Likewise.
33289 * intl/tst-gettext2.c: Likewise.
33290 * intl/tst-gettext3.c: Likewise.
33291 * intl/tst-ngettext.c: Likewise.
33292 * intl/tst-translit.c: Likewise.
33293 * io/test-stat.c: Likewise.
33294 * libio/test-fmemopen.c: Likewise.
33295 * libio/tst-freopen.c: Likewise.
33296 * libio/tst-sscanf.c: Likewise.
33297 * libio/tst-ungetwc1.c: Likewise.
33298 * libio/tst-ungetwc2.c: Likewise.
33299 * libio/tst-widetext.c: Likewise.
33300 * localedata/tst-ctype.c: Likewise.
33301 * localedata/tst-digits.c: Likewise.
33302 * localedata/tst-leaks.c: Likewise.
33303 * localedata/tst-mbswcs1.c: Likewise.
33304 * localedata/tst-mbswcs2.c: Likewise.
33305 * localedata/tst-mbswcs3.c: Likewise.
33306 * localedata/tst-mbswcs4.c: Likewise.
33307 * localedata/tst-mbswcs5.c: Likewise.
33308 * localedata/tst-setlocale.c: Likewise.
33309 * localedata/tst-trans.c: Likewise.
33310 * localedata/tst-wctype.c: Likewise.
33311 * localedata/tst-xlocale1.c: Likewise.
33312 * login/tst-grantpt.c: Likewise.
33313 * malloc/tst-calloc.c: Likewise.
33314 * malloc/tst-malloc.c: Likewise.
33315 * malloc/tst-mallocstate.c: Likewise.
33316 * malloc/tst-mcheck.c: Likewise.
33317 * malloc/tst-mtrace.c: Likewise.
33318 * malloc/tst-obstack.c: Likewise.
33319 * math/atest-exp2.c: Likewise.
33320 * math/atest-exp.c: Likewise.
33321 * math/atest-sincos.c: Likewise.
33322 * math/test-matherr.c: Likewise.
33323 * math/test-misc.c: Likewise.
33324 * math/test-powl.c: Likewise.
33325 * math/tst-definitions.c: Likewise.
33326 * misc/tst-dirname.c: Likewise.
33327 * misc/tst-efgcvt.c: Likewise.
33328 * misc/tst-fdset.c: Likewise.
33329 * misc/tst-hsearch.c: Likewise.
33330 * misc/tst-mntent2.c: Likewise.
33331 * nptl/tst-sem7.c: Likewise.
33332 * nptl/tst-sem8.c: Likewise.
33333 * nptl/tst-sem9.c: Likewise.
33334 * nss/test-netdb.c: Likewise.
33335 * posix/tst-fnmatch.c: Likewise.
33336 * posix/tst-getlogin.c: Likewise.
33337 * posix/tst-gnuglob.c: Likewise.
33338 * posix/tst-mmap.c: Likewise.
33339 * pwd/tst-getpw.c: Likewise.
33340 * resolv/tst-inet_ntop.c: Likewise.
33341 * rt/tst-timer.c: Likewise.
33342 * stdio-common/test-fseek.c: Likewise.
33343 * stdio-common/test-popen.c: Likewise.
33344 * stdio-common/test-vfprintf.c: Likewise.
33345 * stdio-common/tst-cookie.c: Likewise.
33346 * stdio-common/tst-fileno.c: Likewise.
33347 * stdio-common/tst-gets.c: Likewise.
33348 * stdio-common/tst-obprintf.c: Likewise.
33349 * stdio-common/tst-perror.c: Likewise.
33350 * stdio-common/tst-sprintf2.c: Likewise.
33351 * stdio-common/tst-sprintf3.c: Likewise.
33352 * stdio-common/tst-sprintf.c: Likewise.
33353 * stdio-common/tst-swprintf.c: Likewise.
33354 * stdio-common/tst-tmpnam.c: Likewise.
33355 * stdio-common/tst-unbputc.c: Likewise.
33356 * stdio-common/tst-wc-printf.c: Likewise.
33357 * stdlib/tst-environ.c: Likewise.
33358 * stdlib/tst-fmtmsg.c: Likewise.
33359 * stdlib/tst-limits.c: Likewise.
33360 * stdlib/tst-rand48-2.c: Likewise.
33361 * stdlib/tst-rand48.c: Likewise.
33362 * stdlib/tst-random2.c: Likewise.
33363 * stdlib/tst-random.c: Likewise.
33364 * stdlib/tst-strtol.c: Likewise.
33365 * stdlib/tst-strtoll.c: Likewise.
33366 * stdlib/tst-tls-atexit.c: Likewise.
33367 * stdlib/tst-xpg-basename.c: Likewise.
33368 * string/test-ffs.c: Likewise.
33369 * string/tst-bswap.c: Likewise.
33370 * string/tst-inlcall.c: Likewise.
33371 * string/tst-strtok.c: Likewise.
33372 * string/tst-strxfrm.c: Likewise.
33373 * sysdeps/x86_64/tst-audit10.c: Likewise.
33374 * sysdeps/x86_64/tst-audit3.c: Likewise.
33375 * sysdeps/x86_64/tst-audit4.c: Likewise.
33376 * sysdeps/x86_64/tst-audit5.c: Likewise.
33377 * time/tst-ftime_l.c: Likewise.
33378 * time/tst-getdate.c: Likewise.
33379 * time/tst-mktime3.c: Likewise.
33380 * time/tst-mktime.c: Likewise.
33381 * time/tst-posixtz.c: Likewise.
33382 * time/tst-strptime2.c: Likewise.
33383 * time/tst-strptime3.c: Likewise.
33384 * wcsmbs/tst-btowc.c: Likewise.
33385 * wcsmbs/tst-mbrtowc.c: Likewise.
33386 * wcsmbs/tst-mbsrtowcs.c: Likewise.
33387 * wcsmbs/tst-wchar-h.c: Likewise.
33388 * wcsmbs/tst-wcpncpy.c: Likewise.
33389 * wcsmbs/tst-wcrtomb.c: Likewise.
33390 * wcsmbs/tst-wcsnlen.c: Likewise.
33391 * wcsmbs/tst-wcstof.c: Likewise.
33392
33393 2014-11-04 Joseph Myers <joseph@codesourcery.com>
33394
33395 [BZ #14132]
33396 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
33397 INTDEF.
33398 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
33399 declaration.
33400 (_dl_mcount): Use rtld_hidden_proto.
33401 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
33402 _dl_mcount.
33403 * elf/rtld.c (_rtld_global_ro): Likewise.
33404
33405 [BZ #14132]
33406 * elf/dl-init.c (_dl_init): Don't use INTDEF.
33407 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
33408 of _dl_init_internal.
33409 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
33410 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
33411 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
33412 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
33413 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
33414 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
33415 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
33416 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
33417 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
33418 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
33419 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
33420 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
33421 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33422 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33423 * sysdeps/tile/dl-start.S (_start): Likewise.
33424 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
33425 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
33426
33427 [BZ #14132]
33428 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
33429 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
33430 (rtld_progname): Make macro definition unconditional.
33431 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
33432 INTDEF.
33433 (dlmopen_doit): Do not use INTUSE with _dl_argv.
33434 (dl_main): Likewise.
33435 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33436 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
33437 instead of _dl_argv_internal.
33438 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33439 __GI__dl_argv instead of INTUSE(_dl_argv).
33440 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
33441 __GI__dl_argv instead of _dl_argv_internal.
33442
33443 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
33444 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
33445 macro.
33446 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
33447 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
33448 New macro.
33449 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
33450 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
33451 macro.
33452 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
33453 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
33454
33455 2014-11-04 Andreas Schwab <schwab@suse.de>
33456
33457 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
33458
33459 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33460
33461 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
33462 mtvsrd instruction in binary form.
33463
33464 2014-11-03 Andreas Schwab <schwab@suse.de>
33465
33466 [BZ #17522]
33467 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
33468 for less than MB_LEN_MAX use a local buffer of that size.
33469 * libio/tst-fputws.c: New file.
33470 * libio/Makefile (tests): Add tst-fputws.
33471
33472 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
33473
33474 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
33475 the size of the fpu_fr.fpu_dregs[] array.
33476
33477 2014-11-01 Joseph Myers <joseph@codesourcery.com>
33478
33479 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
33480 (__nanosleep): Do not define as alias.
33481 (nanosleep): Define as alias of __nanosleep.
33482 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
33483 __libc_nanosleep name.
33484
33485 2014-10-31 Joseph Myers <joseph@codesourcery.com>
33486
33487 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
33488 install.texi in comment.
33489
33490 2014-10-31 Torvald Riegel <triegel@redhat.com>
33491
33492 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
33493 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
33494 ... add here and use lwsync or sync ...
33495 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
33496 ... and add here using lwsync.
33497
33498 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
33499
33500 * elf/dl-machine-reject-phdr.h: New file.
33501 * elf/dl-load.c: #include that.
33502 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
33503 if that returned true.
33504
33505 2014-10-31 Roland McGrath <roland@hack.frob.com>
33506
33507 [BZ #17496]
33508 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
33509 gen-as-const-headers chunk. Add a big scare comment after the last
33510 safe place to touch before-compile.
33511
33512 2014-10-31 Joseph Myers <joseph@codesourcery.com>
33513
33514 * manual/install.texi (Tools for Compilation): Update autoconf
33515 version requirements.
33516 * INSTALL: Regenerated.
33517
33518 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
33519 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
33520 (__libc_pselect): Likewise.
33521
33522 [BZ #14138]
33523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
33524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33527
33528 2014-10-31 Torvald Riegel <triegel@redhat.com>
33529
33530 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
33531 correct barrier instruction.
33532 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
33533 Likewise.
33534 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
33535 Likewise.
33536
33537 2014-10-30 Roland McGrath <roland@hack.frob.com>
33538
33539 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
33540 after defining inlines. Instead, just use parens to defeat macro
33541 expansion of __isctype in its declaration.
33542
33543 2014-10-30 Joseph Myers <joseph@codesourcery.com>
33544
33545 * include/sys/uio.h (__libc_readv): Remove declaration.
33546 (__libc_writev): Likewise.
33547 * misc/readv.c (__libc_readv): Rename to __readv.
33548 (__readv): Do not define as alias.
33549 (readv): Define as alias of __readv.
33550 * misc/writev.c (__libc_writev): Rename to __writev.
33551 (__writev): Do not define as alias.
33552 (writev): Define as alias of __writev.
33553 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
33554 (__readv): Do not define as alias.
33555 (readv): Define unconditionally as alias of __readv.
33556 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
33557 (__writev): Do not define as alias.
33558 (writev): Define unconditionally as alias of __writev.
33559 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
33560 name.
33561 (writev): Do not define __libc_writev name.
33562
33563 2014-10-30 Roland McGrath <roland@hack.frob.com>
33564
33565 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
33566 (convert_charseq): New function, broken out of ...
33567 (use_from_charmap): ... here. Call it.
33568 (use_to_charmap): Use convert_charseq and free instead of duplicating
33569 its code with a variable-length stack struct.
33570
33571 2014-10-30 Joseph Myers <joseph@codesourcery.com>
33572
33573 * include/fcntl.h (__libc_creat): Remove declaration.
33574 * io/creat.c (__libc_creat): Rename to creat.
33575 (creat): Do not define as alias.
33576 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
33577 of creat instead of __libc_creat.
33578 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
33579 to creat.
33580 (creat): Do not define as alias.
33581 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
33582 __libc_creat.
33583 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
33584 __libc_creat name.
33585 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
33586 Likewise.
33587
33588 2014-10-29 Carlos O'Donell <carlos@redhat.com>
33589
33590 * manual/llio.texi: Add comments discussing why write() may be
33591 considered MT-unsafe on Linux.
33592
33593 2014-10-28 Carlos O'Donell <carlos@redhat.com>
33594
33595 * dl-load.c (local_strdup): Remove.
33596 (expand_dynamic_string_token): Use __strdup.
33597 (decompose_rpath): Likewise.
33598 (_dl_map_object): Likewise.
33599
33600 2014-10-28 Joseph Myers <joseph@codesourcery.com>
33601
33602 [BZ #14132]
33603 * sysdeps/generic/unwind-dw2-fde.c
33604 (__register_frame_info_bases_internal): Do not declare.
33605 (__register_frame_info_table_bases_internal): Likewise.
33606 (__deregister_frame_info_bases_internal): Likewise.
33607 (__register_frame_info_bases): Declare and use hidden_proto before
33608 definition. Use hidden_def instead of INTDEF.
33609 (__register_frame_info_table_bases): Likewise.
33610 (__deregister_frame_info_bases): Likewise.
33611 (__register_frame_info): Do not use INTUSE.
33612 (__register_frame): Likewise.
33613 (__register_frame_info_table): Likewise.
33614 (__register_frame_table): Likewise.
33615 (__deregister_frame_info): Likewise.
33616 (__deregister_frame): Likewise.
33617
33618 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
33619
33620 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33621 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
33622 not undefine.
33623 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
33624 Likewise.
33625 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
33626 Likewise.
33627
33628 2014-10-27 Joseph Myers <joseph@codesourcery.com>
33629
33630 [BZ #14138]
33631 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
33632 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
33633 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
33634 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
33635 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
33636 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
33637 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
33638 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
33639 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
33640 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
33641 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
33642 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
33643 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
33644 syscall.
33645 (setfsuid): Likewise.
33646 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
33647 (setfsuid): Likewise.
33648 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
33649 (setfsuid): Likewise.
33650 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
33651 Likewise.
33652 (setfsuid): Likewise.
33653 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
33654 (setfsuid): Likewise.
33655 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
33656 Likewise.
33657 (setfsuid): Likewise.
33658
33659 2014-10-27 Andreas Schwab <schwab@suse.de>
33660
33661 [BZ #17501]
33662 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
33663 check for Slow_SSE4_2 feature bit.
33664 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
33665 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33666 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
33667 Likewise. Fix check for Fast_Unaligned_Load feature bit.
33668
33669 2014-10-24 Roland McGrath <roland@hack.frob.com>
33670
33671 * configure.ac: Validate compiler version with a empirical test of
33672 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
33673 $CC -v output.
33674 * configure: Regenerated.
33675
33676 * inet/htons.c (htons): Prototypify.
33677 * inet/htonl.c (htonl): Likewise.
33678
33679 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33680
33681 * string/strncat.c (strncat): Improve performance by using strlen.
33682
33683 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33684
33685 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
33686
33687 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33688
33689 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
33690 Call libc_fetestexcept_aarch64.
33691
33692 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33693
33694 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
33695 Call libc_feholdexcept_aarch64.
33696
33697 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33698
33699 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
33700 Call get_rounding_mode.
33701
33702 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33703
33704 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33705 Simplify logic.
33706
33707 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33708
33709 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
33710 Simplify logic.
33711
33712 2014-10-24 Joseph Myers <joseph@codesourcery.com>
33713
33714 [BZ #14138]
33715 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
33716 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
33717 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
33718 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
33719 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
33720 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
33721 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
33722 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
33723 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
33724 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
33725 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33726 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
33727 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
33728 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
33729 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
33730 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
33731 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
33732 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
33733 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
33734 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
33735 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
33736 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
33737 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
33738 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
33739 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
33740 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
33741 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
33742 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
33743 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
33744 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
33745 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
33746 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
33747 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
33748 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
33749 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
33750 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
33751 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
33752 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
33753 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
33754 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
33755 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
33756 syscall.
33757 (geteuid): Likewise.
33758 (getgid): Likewise.
33759 (getuid): Likewise.
33760 (getresgid): Likewise.
33761 (getresuid): Likewise.
33762 (getgroups): Likewise.
33763 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
33764 (geteuid): Likewise.
33765 (getgid): Likewise.
33766 (getuid): Likewise.
33767 (getresgid): Likewise.
33768 (getresuid): Likewise.
33769 (getgroups): Likewise.
33770 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
33771 (geteuid): Likewise.
33772 (getgid): Likewise.
33773 (getuid): Likewise.
33774 (getresgid): Likewise.
33775 (getresuid): Likewise.
33776 (getgroups): Likewise.
33777 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
33778 Likewise.
33779 (geteuid): Likewise.
33780 (getgid): Likewise.
33781 (getuid): Likewise.
33782 (getresgid): Likewise.
33783 (getresuid): Likewise.
33784 (getgroups): Likewise.
33785 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
33786 (geteuid): Likewise.
33787 (getgid): Likewise.
33788 (getuid): Likewise.
33789 (getresgid): Likewise.
33790 (getresuid): Likewise.
33791 (getgroups): Likewise.
33792 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
33793 Likewise.
33794 (geteuid): Likewise.
33795 (getgid): Likewise.
33796 (getuid): Likewise.
33797 (getgroups): Likewise.
33798
33799 [BZ #14138]
33800 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
33801 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
33802 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
33803 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33804 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
33805 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
33806 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
33807 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
33808 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
33809 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
33810 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
33811 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
33812 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
33813 __chown.
33814 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
33815 (lchown): Likewise.
33816 (fchown): Likewise.
33817 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
33818 Likewise.
33819 (lchown): Likewise.
33820 (fchown): Likewise.
33821 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
33822 (lchown): Likewise.
33823 (fchown): Likewise.
33824 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
33825 Likewise.
33826 (lchown): Likewise.
33827 (fchown): Likewise.
33828
33829 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
33830
33831 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
33832 Simplify logic.
33833
33834 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
33835
33836 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
33837 Cleanup logic.
33838
33839 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
33840
33841 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
33842 Remove unused include.
33843
33844 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
33845
33846 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
33847 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
33848 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
33849 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
33850
33851 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
33852 Helge Deller <deller@gmx.de>
33853
33854 [BZ #17508]
33855 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
33856 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
33857 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
33858
33859 2014-10-23 Joseph Myers <joseph@codesourcery.com>
33860
33861 [BZ #14132]
33862 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
33863 Remove macro definition.
33864 (__ashrdi3_v_glibc20): Likewise.
33865 (__lshrdi3_v_glibc20): Likewise.
33866 (__cmpdi2_v_glibc20): Likewise.
33867 (__ucmpdi2_v_glibc20): Likewise.
33868 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
33869 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33870 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33871 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33872 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33873 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
33874
33875 2014-10-22 Roland McGrath <roland@hack.frob.com>
33876
33877 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
33878 old GNU extension [0] syntax.
33879 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
33880 alloca rather than an array member with variable length.
33881 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
33882 * nscd/nscd.c (invalidate_db): New function, broken out of ...
33883 (parse_opt): ... here. Likewise use alloca there.
33884 Validate the -i argument before checking for rootness.
33885 (send_shutdown): New function, broken out of ...
33886 (parse_opt): ... here.
33887
33888 2014-10-22 Roland McGrath <roland@hack.frob.com>
33889
33890 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
33891 macro to get at the _rt_local_ro field.
33892 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
33893 ([PIC] case) or _dl_hwcap ([!PIC] case).
33894 * sysdeps/arm/setjmp.S: Likewise.
33895
33896 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
33897 * sysdeps/arm/configure.ac: New check to define it.
33898 * sysdeps/arm/configure: Regenerated.
33899 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
33900 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
33901 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
33902 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
33903 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
33904 Use move/movt pair instead of a load.
33905 (LDST_GLOBAL): Macro removed.
33906 (LDR_GLOBAL): New macro replaces it.
33907 (LDR_HIDDEN): New macro.
33908 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
33909 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
33910
33911 * setjmp/tst-setjmp-static.c: New file.
33912 * setjmp/Makefile (tests): Add it.
33913 (tests-static): New variable.
33914
33915 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
33916
33917 [BZ #17485]
33918 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
33919
33920 2014-10-21 Joseph Myers <joseph@codesourcery.com>
33921
33922 [BZ #14132]
33923 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
33924
33925 2014-10-21 Roland McGrath <roland@hack.frob.com>
33926
33927 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
33928
33929 2014-10-20 Roland McGrath <roland@hack.frob.com>
33930
33931 * io/fts.c (dirent_not_directory): New function.
33932 (fts_build): Call it.
33933
33934 2014-10-20 Roland McGrath <roland@hack.frob.com>
33935
33936 * nptl/version.c (__nptl_main): Use normal __write rather than
33937 INTERNAL_SYSCALL.
33938 (banner): Update copyright years.
33939
33940 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
33941 gettimeofday.
33942 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33943 * nptl/pthread_cond_timedwait.c: Likewise.
33944 * nptl/pthread_mutex_timedlock.c: Likewise.
33945 * nptl/sem_timedwait.c: Likewise.
33946
33947 * sysdeps/nptl/bits/libc-lock.h
33948 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33949 (__libc_lock_init_recursive): Return void, not 0.
33950 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
33951 (__libc_rwlock_init): Likewise.
33952 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
33953
33954 2014-10-20 Torvald Riegel <triegel@redhat.com>
33955
33956 [BZ #15215]
33957 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
33958 (__pthread_once_slow): ... here.
33959 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
33960 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
33961
33962 2014-10-20 Torvald Riegel <triegel@redhat.com>
33963
33964 [BZ #15215]
33965 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
33966 __PTHREAD_ONCE_FORK_GEN_INCR): New.
33967 * sysdeps/nptl/fork.c (__libc_fork): Use them.
33968 * nptl/pthread_once.c (__pthread_once): Likewise.
33969 Update comments.
33970
33971 2014-10-20 Joseph Myers <joseph@codesourcery.com>
33972
33973 [BZ #14138]
33974 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
33975 name.
33976 (writev): Use __libc_writev as strong name.
33977 * sysdeps/unix/sysv/linux/readv.c: Remove file.
33978 * sysdeps/unix/sysv/linux/writev.c: Likewise.
33979
33980 2014-10-17 Roland McGrath <roland@hack.frob.com>
33981
33982 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
33983
33984 * sysdeps/i386/nptl/tls.h
33985 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
33986 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
33987 New macros.
33988 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
33989 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
33990 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
33991 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
33992 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
33993 Call CHECK_THREAD_SYSINFO instead of doing an assert.
33994
33995 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
33996 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
33997 on [__NR_futex].
33998 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
33999 broken out of ...
34000 (__pthread_mutex_init): ... here. Call it.
34001 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34002 Conditionalize PI cases on [__NR_futex].
34003 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34004 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34005 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34006
34007 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34008 conditional on [SIGSETXID].
34009 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34010 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34011 is defined. Likewise for SIGSETXID.
34012 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34013 Conditionalize definitions on [SIGSETXID].
34014 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34015 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34016 unblocking on [SIGCANCEL].
34017
34018 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34019 [__NR_set_robust_list].
34020
34021 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34022
34023 * string/strcoll_l.c (get_next_seq): Fix up formatting.
34024 (do_compare): Likewise.
34025
34026 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
34027
34028 [BZ #15884]
34029 * string/strcoll_l.c: Don't include stdio.h.
34030 (coll_seq): Remove members idxarr and rulearr.
34031 (get_next_seq_cached): Remove function.
34032 (get_next_seq): Likewise.
34033 (get_next_seq_nocache): Rename to get_next_seq.
34034 (do_compare): Remove function.
34035 (do_compare_nocache): Rename to do_compare.
34036 (STRCOLL): Remove weight and rules cache.
34037
34038 2014-10-16 Roland McGrath <roland@hack.frob.com>
34039
34040 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34041 * sysdeps/arm/sfp-machine.h: ... to here.
34042 * sysdeps/arm/Implies: Remove arm/soft-fp.
34043
34044 2014-10-14 Joseph Myers <joseph@codesourcery.com>
34045
34046 * conform/data/sys/utsname.h-data (*_t): Allow.
34047 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34048 [POSIX] (WEXITED): Do not expect constant.
34049 [POSIX] (WSTOPPED): Likewise.
34050 [POSIX] (WNOHANG): Likewise.
34051 [POSIX] (WNOWAIT): Likewise.
34052 [POSIX] (siginfo_t): Do not expect type or elements.
34053 [POSIX] (pid_t): Do not expect type.
34054 [POSIX] (signal.h): Do not allow header.
34055 [POSIX] (sys/resource.h): Likewise.
34056 [POSIX] (si_*): Do not allow pattern.
34057 [POSIX] (W*): Likewise.
34058 [POSIX] (P_*): Likewise.
34059 [POSIX] (BUS_*): Likewise.
34060 [POSIX] (CLD_*): Likewise.
34061 [POSIX] (FPE_*): Likewise.
34062 [POSIX] (ILL_*): Likewise.
34063 [POSIX] (POLL_*): Likewise.
34064 [POSIX] (SEGV_*): Likewise.
34065 [POSIX] (SI_*): Likewise.
34066 [POSIX] (TRAP_*): Likewise.
34067 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34068 variable.
34069
34070 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
34071
34072 [BZ #12926]
34073 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34074 infinite loop when __recvmsg returns 0.
34075
34076 2014-10-10 Joseph Myers <joseph@codesourcery.com>
34077
34078 * CANCEL-FCT-WAIVE: Remove file.
34079 * CANCEL-FILE-WAIVE: Likewise.
34080
34081 [BZ #14132]
34082 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34083 instead of INTVARDEF.
34084 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34085 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34086 rtld_hidden_data_def instead of INTVARDEF.
34087 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34088 * elf/dl-deps.c (expand_dst): Likewise.
34089 * elf/dl-load.c (_dl_dst_count): Likewise.
34090 (_dl_dst_substitute): Likewise.
34091 (decompose_rpath): Likewise.
34092 (_dl_init_paths): Likewise.
34093 (open_path): Likewise.
34094 (_dl_map_object): Likewise.
34095 * elf/rtld.c (dl_main): Likewise.
34096 (process_dl_audit): Likewise.
34097 (process_envvars): Likewise.
34098 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34099 Remove declaration.
34100 (__libc_enable_secure): Use rtld_hidden_proto.
34101
34102 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34103
34104 * elf/dl-load.c
34105 (add_path): New function broken out of _dl_rtld_di_serinfo.
34106 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
34107
34108 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34109
34110 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34111 parentheses around macro arguments.
34112 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34113 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34114 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34115 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34116 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34117 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34118 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34119 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34120 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34121 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34122 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34123 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34124 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34125 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34126 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34127 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34128 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34129 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34130 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34131 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34132 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34133 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34134 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34135 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34136 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34137 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34138 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34139 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34140 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34141 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34142 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34143 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34144 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34145 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34146 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34147 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34148 Likewise.
34149 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34150 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34151 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34152 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34153 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34154 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34155 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34156 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34157 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34158 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34159 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34160 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34161 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34162 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34163 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34164 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34165 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34166 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34167 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34168 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34169 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34170 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34171 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34172 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34173 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34174 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34175 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34176 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34177 (_FP_FRAC_SRS_1): Likewise.
34178 (_FP_FRAC_CLZ_1): Likewise.
34179 (_FP_MUL_MEAT_1_imm): Likewise.
34180 (_FP_MUL_MEAT_1_wide): Likewise.
34181 (_FP_MUL_MEAT_1_hard): Likewise.
34182 (_FP_SQRT_MEAT_1): Likewise.
34183 (_FP_FRAC_ASSEMBLE_1): Likewise.
34184 (_FP_FRAC_DISASSEMBLE_1): Likewise.
34185 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34186 (__FP_CLZ_2): Likewise.
34187 (_FP_MUL_MEAT_2_wide): Likewise.
34188 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34189 (_FP_MUL_MEAT_2_gmp): Likewise.
34190 (_FP_MUL_MEAT_2_120_240_double): Likewise.
34191 (_FP_SQRT_MEAT_2): Likewise.
34192 (_FP_FRAC_ASSEMBLE_2): Likewise.
34193 (_FP_FRAC_DISASSEMBLE_2): Likewise.
34194 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
34195 (_FP_FRAC_CLZ_4): Likewise.
34196 (_FP_MUL_MEAT_4_wide): Likewise.
34197 (_FP_MUL_MEAT_4_gmp): Likewise.
34198 (_FP_SQRT_MEAT_4): Likewise.
34199 (_FP_FRAC_ASSEMBLE_4): Likewise.
34200 (_FP_FRAC_DISASSEMBLE_4): Likewise.
34201 * soft-fp/op-common.h (_FP_CMP): Likewise.
34202 (_FP_CMP_EQ): Likewise.
34203 (_FP_CMP_UNORD): Likewise.
34204 (_FP_TO_INT): Likewise.
34205 (_FP_FROM_INT): Likewise.
34206 [!__FP_CLZ] (__FP_CLZ): Likewise.
34207 (_FP_DIV_HELP_imm): Likewise.
34208 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
34209 Likewise.
34210 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
34211 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
34212 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
34213 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
34214 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
34215 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34216 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34217 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
34218 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
34219 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
34220 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
34221 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
34222 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
34223 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
34224 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
34225 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
34226 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
34227 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
34228 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
34229 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
34230 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
34231 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
34232 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
34233 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34234 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34235 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
34236 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
34237 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
34238 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
34239 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
34240 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
34241 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
34242 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
34243 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
34244 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
34245 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
34246 (FP_UNPACK_RAW_SP): Likewise.
34247 (FP_PACK_RAW_S): Likewise.
34248 (FP_PACK_RAW_SP): Likewise.
34249 (FP_UNPACK_S): Likewise.
34250 (FP_UNPACK_SP): Likewise.
34251 (FP_UNPACK_SEMIRAW_S): Likewise.
34252 (FP_UNPACK_SEMIRAW_SP): Likewise.
34253 (FP_PACK_S): Likewise.
34254 (FP_PACK_SP): Likewise.
34255 (FP_PACK_SEMIRAW_S): Likewise.
34256 (FP_PACK_SEMIRAW_SP): Likewise.
34257 (_FP_SQRT_MEAT_S): Likewise.
34258 (FP_CMP_S): Likewise.
34259 (FP_CMP_EQ_S): Likewise.
34260 (FP_CMP_UNORD_S): Likewise.
34261 (FP_TO_INT_S): Likewise.
34262 (FP_FROM_INT_S): Likewise.
34263
34264 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
34265
34266 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
34267 (FP_EX_INVALID_IMZ): Likewise.
34268 (FP_EX_INVALID_IMZ_FMA): Likewise.
34269 (FP_EX_INVALID_ISI): Likewise.
34270 (FP_EX_INVALID_ZDZ): Likewise.
34271 (FP_EX_INVALID_IDI): Likewise.
34272 (FP_EX_INVALID_SQRT): Likewise.
34273 (FP_EX_INVALID_CVI): Likewise.
34274 (FP_EX_INVALID_VC): Likewise.
34275 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
34276 "invalid" exceptions.
34277 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
34278 (_FP_ADD_INTERNAL): Likewise.
34279 (_FP_MUL): Likewise.
34280 (_FP_FMA): Likewise.
34281 (_FP_DIV): Likewise.
34282 (_FP_CMP_CHECK_NAN): Likewise.
34283 (_FP_SQRT): Likewise.
34284 (_FP_TO_INT): Likewise.
34285 (FP_EXTEND): Likewise.
34286
34287 2014-10-09 Allan McRae <allan@archlinux.org>
34288
34289 * po/fr.po: Update French translation from translation project.
34290
34291 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34292
34293 [BZ #14132]
34294 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
34295 of INTDEF.
34296 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
34297 (__cxa_atexit): Use libc_hidden_proto.
34298 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
34299
34300 [BZ #14132]
34301 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
34302 declaration.
34303 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
34304 [!_ISOMAC] (__iswspace_l_internal): Likewise.
34305 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
34306 [!_ISOMAC] (__iswctype_internal): Likewise.
34307 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
34308 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
34309 alias.
34310 (fcntl): Remove __fcntl_internal alias.
34311 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
34312 __connect_internal alias.
34313 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
34314 Likewise.
34315
34316 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
34317 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
34318 FP_DENORM_ZERO.
34319 (_FP_CHECK_FLUSH_ZERO): New macro.
34320 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
34321 (_FP_CMP): Likewise.
34322 (_FP_CMP_EQ): Likewise.
34323 (_FP_TO_INT): Do not set inexact for subnormal arguments if
34324 FP_DENORM_ZERO.
34325 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
34326 (FP_TRUNC): Likewise.
34327
34328 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
34329 treated as invalid conversion, not as normal exponent.
34330
34331 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
34332 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
34333 (_FP_CMP_EQ): Likewise.
34334 (_FP_CMP_UNORD): Likewise.
34335 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
34336 (FP_CMP_EQ_D): Likewise.
34337 (FP_CMP_UNORD_D): Likewise.
34338 * soft-fp/extended.h (FP_CMP_E): Likewise.
34339 (FP_CMP_EQ_E): Likewise.
34340 (FP_CMP_UNORD_E): Likewise.
34341 * soft-fp/quad.h (FP_CMP_Q): Likewise.
34342 (FP_CMP_EQ_Q): Likewise.
34343 (FP_CMP_UNORD_Q): Likewise.
34344 * soft-fp/single.h (FP_CMP_S): Likewise.
34345 (FP_CMP_EQ_S): Likewise.
34346 (FP_CMP_UNORD_S): Likewise.
34347 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
34348 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
34349 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
34350 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
34351 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
34352 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
34353 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
34354 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
34355 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
34356 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
34357 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
34358 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
34359 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
34360 to FP_CMP_Q.
34361 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
34362 FP_CMP_Q.
34363 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
34364 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
34365 FP_CMP_EQ_Q.
34366 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
34367 FP_CMP_Q.
34368 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
34369 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
34370 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
34371 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
34372 FP_CMP_EQ_Q.
34373 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
34374 FP_CMP_Q.
34375 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
34376 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
34377 FP_CMP_EQ_Q.
34378 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
34379 FP_CMP_Q.
34380 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
34381 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
34382 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
34383 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
34384 FP_CMP_EQ_Q.
34385
34386 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
34387 a subnormal result, set the underflow exception if trapping on
34388 underflow is enabled.
34389 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
34390 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
34391 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
34392 redefine to 0.
34393 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
34394 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34395 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34396 * soft-fp/extendxftf2.c (__extendxftf2): Use
34397 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
34398
34399 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
34400 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
34401 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34402 FP_HANDLE_EXCEPTIONS.
34403 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
34404 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34405 FP_HANDLE_EXCEPTIONS.
34406 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
34407 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34408 FP_HANDLE_EXCEPTIONS.
34409 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
34410 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34411 FP_HANDLE_EXCEPTIONS.
34412
34413 2014-10-08 Joseph Myers <joseph@codesourcery.com>
34414
34415 [BZ #14132]
34416 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
34417 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
34418 use INTUSE.
34419 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
34420 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
34421 Remove alias.
34422 (__adjtimex): Define using libc_hidden_ver.
34423 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
34424 Remove declaration.
34425 (ntp_gettime): Call __adjtimex directly.
34426 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
34427 Remove declaration.
34428 (ntp_gettimex): Call __adjtimex directly.
34429 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
34430 __adjtimex_internal alias.
34431
34432 2014-10-08 Roland McGrath <roland@hack.frob.com>
34433
34434 [BZ #17460]
34435 * nscd/nscd.c (more_help): Rewrite list of tables collection
34436 using xstrdup and asprintf.
34437
34438 * nscd/nscd_conf.c: Remove local xstrdup declaration.
34439
34440 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34441 Roland McGrath <roland@hack.frob.com>
34442
34443 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
34444 (do_lookup_unique): ... local function 'enter' here; update callers.
34445
34446 2014-10-06 Joseph Myers <joseph@codesourcery.com>
34447
34448 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
34449 compat_symbol calls on [SHARED].
34450 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
34451 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
34452 Remove.
34453 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34454 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
34455 (oldsetrlimit): Remove.
34456 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34458 (lchown): New syscall entry.
34459 (oldsetrlimit): Remove.
34460 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34461 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
34462 (oldsetrlimit): Remove.
34463 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34464
34465 [BZ #14138]
34466 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
34467 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
34468 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
34469 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
34470 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34471 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
34472 (fchown): Likewise.
34473 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
34474 (fchown): Likewise.
34475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
34476 Likewise.
34477
34478 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34479
34480 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
34481 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
34482 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
34483 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
34484 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
34485 Likewise.
34486 (__old_sem_post): Likewise.
34487
34488 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
34489
34490 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
34491 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
34492 HAVE_CLOCK_GETTIME_VSYSCALL macros.
34493 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
34494 Use INLINE_VSYSCALL macro.
34495 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
34496 __vdso_clock_gettime.
34497 * sysdeps/unix/sysv/linux/tile/init-first.c
34498 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
34499 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
34500 __vdso_clock_gettime.
34501
34502 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
34503 to set up frame more cleanly.
34504
34505 * sysdeps/tile/memcmp.c: New file.
34506
34507 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
34508
34509 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
34510 * sysdeps/tile/tilegx/strcasestr.c: New file.
34511 * sysdeps/tile/tilegx/strnlen.c: New file.
34512 * sysdeps/tile/tilegx/strstr.c: New file.
34513
34514 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
34515
34516 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
34517
34518 * nptl/tst-setuid3.c: Write errors to stdout.
34519
34520 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34521
34522 * elf/dl-deps.c
34523 (preload): New functions broken out of _dl_map_object_deps.
34524 (_dl_map_object_deps): Remove a nested function. Update call sites.
34525
34526 2014-10-01 Joseph Myers <joseph@codesourcery.com>
34527
34528 [BZ #14138]
34529 * sysdeps/unix/sysv/linux/execve.c: Remove file.
34530 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
34531
34532 2014-10-01 Steve Ellcey <sellcey@mips.com>
34533
34534 * sysdeps/mips/strcmp.S: New.
34535
34536 2014-09-30 Joseph Myers <joseph@codesourcery.com>
34537
34538 [BZ #14138]
34539 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
34540 (linkat): Likewise.
34541 (mkdirat): Likewise.
34542 (readlinkat): Likewise.
34543 (renameat): Likewise.
34544 (symlinkat): Likewise.
34545 (unlinkat): Likewise.
34546 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
34547 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
34548 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
34549 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
34550 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
34551 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
34552 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
34553
34554 2014-09-30 Will Newton <will.newton@linaro.org>
34555
34556 * math/math.h: Define long double math functions if
34557 _LIBC_TEST is defined.
34558 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
34559
34560 * localedata/Makefile: Move assignment to tests-special
34561 into an ifdef testing run-built-tests.
34562 * timezone/Makefile: Likewise.
34563
34564 2014-09-29 Joseph Myers <joseph@codesourcery.com>
34565
34566 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
34567 with $(BASH) not $(SHELL).
34568
34569 2014-09-29 Carlos O'Donell <carlos@redhat.com>
34570 Matthew LeGendre <legendre1@llnl.gov>
34571
34572 [BZ #17411]
34573 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
34574 l_reloc_result.
34575
34576 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34577
34578 * stdio-common/printf_fp.c
34579 (hack_digit): New function, broken out of ...
34580 (__printf_fp): ... local function here. Update call sites.
34581 hack_digit now takes an additional parameter that is a pointer
34582 to a struct of the referenced locals. Those locals moved inside
34583 the struct and references updated.
34584
34585 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
34586
34587 * aclocal.m4: Require autoconf 2.69.
34588 * configure: Regenerated.
34589 * sysdeps/aarch64/configure: Likewise.
34590 * sysdeps/alpha/configure: Likewise.
34591 * sysdeps/arm/armv7/configure: Likewise.
34592 * sysdeps/arm/configure: Likewise.
34593 * sysdeps/ia64/configure: Likewise.
34594 * sysdeps/mach/configure: Likewise.
34595 * sysdeps/mips/configure: Likewise.
34596 * sysdeps/s390/configure: Likewise.
34597 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
34598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
34599
34600 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
34601 file.
34602 * sysdeps/ia64/configure.ac: Likewise.
34603
34604 2014-09-26 Joseph Myers <joseph@codesourcery.com>
34605
34606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
34607 specify symbol version for ld.so. Do not include entry for
34608 libpthread.
34609 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34610 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34611 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34612
34613 [BZ #14171]
34614 * Makeconfig [$(build-shared) = yes]
34615 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
34616 makefiles.
34617 [$(build-shared) = yes && $(soversions.mk-done) = t]
34618 ($(common-objpfx)gnu/lib-names.h): Remove rule.
34619 [$(build-shared) = yes && $(soversions.mk-done) = t]
34620 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
34621 to Makerules.
34622 [$(build-shared) = yes && $(soversions.mk-done) = t]
34623 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
34624 here.
34625 [$(build-shared) = yes && $(soversions.mk-done) = t]
34626 (common-generated): Don't append gnu/lib-names.h and
34627 gnu/lib-names.stmp here.
34628 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
34629 (lib-names-h-abi): New variable.
34630 [$(build-shared) = yes && $(soversions.mk-done) = t]
34631 (lib-names-stmp-abi): Likewise.
34632 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34633 abi-variants] (before-compile): Append
34634 $(common-objpfx)$(lib-names-h-abi).
34635 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34636 abi-variants] (common-generated): Append gnu/lib-names.h.
34637 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34638 abi-variants] (install-others-nosubdir): Depend on
34639 $(inst_includedir)/$(lib-names-h-abi).
34640 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34641 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
34642 [$(build-shared) = yes && $(soversions.mk-done) = t]
34643 ($(common-objpfx)$(lib-names-h-abi)): New rule.
34644 [$(build-shared) = yes && $(soversions.mk-done) = t]
34645 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
34646 [$(build-shared) = yes && $(soversions.mk-done) = t]
34647 (common-generated): Append $(lib-names-h-abi) and
34648 $(lib-names-stmp-abi).
34649 * scripts/lib-names.awk: Do not handle multi being set.
34650 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
34651 Remove variable.
34652 (abi-lp64_be-ld-soname): Likewise.
34653 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
34654 Likewise.
34655 (abi-hard-ld-soname): Likewise.
34656 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
34657 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
34658 Remove variable.
34659 (abi-o32_hard-ld-soname): Likewise.
34660 (abi-o32_soft_2008-ld-soname): Likewise.
34661 (abi-o32_hard_2008-ld-soname): Likewise.
34662 (abi-n32_soft-ld-soname): Likewise.
34663 (abi-n32_hard-ld-soname): Likewise.
34664 (abi-n32_soft_2008-ld-soname): Likewise.
34665 (abi-n32_hard_2008-ld-soname): Likewise.
34666 (abi-n64_soft-ld-soname): Likewise.
34667 (abi-n64_hard-ld-soname): Likewise.
34668 (abi-n64_soft_2008-ld-soname): Likewise.
34669 (abi-n64_hard_2008-ld-soname): Likewise.
34670 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
34671 Likewise.
34672 (abi-64-v2-ld-soname): Likewise.
34673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
34674 ld.so entries.
34675 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
34676 variable.
34677 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
34678 entry.
34679 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
34680 variable.
34681 (abi-64-ld-soname): Likewise.
34682 (abi-x32-ld-soname): Likewise.
34683 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
34684 entry.
34685 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34686
34687 2014-09-23 Joseph Myers <joseph@codesourcery.com>
34688
34689 [BZ #14138]
34690 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
34691 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
34692 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
34693 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
34694 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
34695 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
34696 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
34697 syscall entry for GLIBC_2.2 symbol version.
34698 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
34699 Likewise.
34700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34701 (setrlimit): Likewise.
34702 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
34703 Likewise.
34704
34705 2014-09-23 Will Newton <will.newton@linaro.org>
34706
34707 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
34708 _LINUX_ARM_SYSDEP_H include guard too.
34709 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
34710 define.
34711
34712 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
34713
34714 * sysdeps/unix/sysv/linux/eventfd.c:
34715 Make first argument unsigned.
34716 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
34717 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
34718
34719 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
34720
34721 [BZ #16852]
34722 * socket/recvmmsg.c (recvmmsg): Drop const argument.
34723 * socket/sys/socket.h: Likewise.
34724 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
34725
34726 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34727
34728 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
34729
34730 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
34731
34732 * time/tst-ftime.c: New test.
34733 * time/Makefile (tests): Add tst-ftime.
34734
34735 2014-09-17 Joseph Myers <joseph@codesourcery.com>
34736
34737 * soft-fp/extended.h: Fix comment formatting.
34738 * soft-fp/op-1.h: Likewise.
34739 * soft-fp/op-2.h: Likewise.
34740 * soft-fp/op-4.h: Likewise.
34741 * soft-fp/op-8.h: Likewise.
34742 * soft-fp/op-common.h: Likewise.
34743 * soft-fp/soft-fp.h: Likewise.
34744
34745 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
34746
34747 2014-09-16 Joseph Myers <joseph@codesourcery.com>
34748
34749 [BZ #6652]
34750 * Makeconfig (soversions-default-setname): Remove variable.
34751 ($(common-objpfx)soversions.i): Don't pass default_setname to
34752 soversions.awk.
34753 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
34754 oldest_abi to abi-versions.awk.
34755 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
34756 * config.make.in (oldest-abi): Remove variable.
34757 * configure.ac (--enable-oldest-abi): Remove configure option.
34758 * configure: Regenerated.
34759 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
34760 text.
34761 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
34762 * scripts/soversions.awk: Do not handle default_setname variable.
34763 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
34764 variable.
34765 * sysdeps/mach/hurd/configure: Regenerated.
34766 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
34767 variable.
34768 * sysdeps/unix/sysv/linux/configure: Regenerated.
34769
34770 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34771
34772 * elf/Makefile (CFLAGS-interp.c): Remove.
34773 ($(elf-objpfx)runtime-linker.h): Generate header with linker
34774 path string.
34775 * elf/interp.c: Include generated runtime-linker.h
34776
34777 * Makerules (lib%.so): Don't include $(+interp) in
34778 prerequisites.
34779 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
34780 * dlfcn/eval.c: Remove file.
34781
34782 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
34783 macros.
34784
34785 [BZ #17266]
34786 * misc/sys/cdefs.h: Define __extern_always_inline for clang
34787 4.2 and newer.
34788
34789 [BZ #17370]
34790 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
34791
34792 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34793 Jakub Jelinek <jakub@redhat.com>
34794
34795 [BZ #17266]
34796 * libio/stdio.h: Check definition of __fortify_function
34797 instead of __extern_always_inline to include bits/stdio2.h.
34798 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
34799 check if __extern_always_inline is defined.
34800 [__USE_MISC || __USE_XOPEN]: Likewise.
34801 [__USE_ISOC99] Likewise.
34802 * misc/sys/cdefs.h (__fortify_function): Define only if
34803 __extern_always_inline is defined.
34804 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
34805 __extern_always_inline and __extern_inline only for g++-4.3
34806 and newer or a compatible gcc.
34807
34808 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
34809
34810 [BZ #17371]
34811 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34812 last change to handle zero prefix length.
34813
34814 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34815
34816 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
34817 _SC_REGEX_VERSION.
34818
34819 * posix/getconf.c (vars): Add _POSIX_IPV6 and
34820 _POSIX_RAW_SOCKETS.
34821
34822 2014-09-13 Allan McRae <allan@archlinux.org>
34823
34824 * po/ru.po: Update Russian translation from translation project.
34825
34826 2014-09-12 Roland McGrath <roland@hack.frob.com>
34827
34828 * locale/programs/locale.c (show_locale_vars): Inline local function
34829 into its sole call site. Clean up some style nits.
34830 (print_item): New function, broken out of ...
34831 (show_info): ... local function here. Clean up style nits.
34832
34833 * locale/programs/ld-ctype.c (set_one_default): New function, broken
34834 out of ...
34835 (set_class_defaults): ... local function set_default here.
34836 Define set_default as a macro locally to pass constant parameters.
34837 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
34838 rather than a shared local.
34839
34840 * stdlib/rpmatch.c (try): New function, broken out of ...
34841 (rpmatch): ... local function here. Also, prototypify definition.
34842
34843 2014-09-12 Joseph Myers <joseph@codesourcery.com>
34844
34845 * scripts/soversions.awk: Do not handle configuration names.
34846 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
34847 vendor and os variables to soversions.awk.
34848 * configure.ac: Do not modify gnu-* host_os.
34849 * configure: Regenerated
34850 * shlib-versions: Remove first column with configuration names.
34851 * nptl/shlib-versions: Likewise.
34852 * nptl_db/shlib-versions: Likewise.
34853 * sysdeps/hppa/shlib-versions: Likewise.
34854 * sysdeps/m68k/shlib-versions: Likewise.
34855 * sysdeps/mach/hurd/shlib-versions: Likewise.
34856 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
34857 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
34858 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
34859 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
34860 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
34861 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
34862 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
34863 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
34864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
34865 Likewise.
34866 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34867 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
34868 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
34869 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
34870 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
34871 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
34872 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34873 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34874
34875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34876 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
34877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34878 Regenerated.
34879 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
34880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
34881 Condition symbol version definitions on [HAVE_ELFV2_ABI].
34882
34883 * shlib-versions: Remove OS-specific entries. Moved to files in
34884 sysdeps.
34885 * sysdeps/mach/hurd/shlib-versions: New file.
34886 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
34887
34888 * nptl/shlib-versions: Remove architecture-specific entries.
34889 Moved to files in sysdeps.
34890 * shlib-versions: Likewise.
34891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
34892 file.
34893 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34894 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
34895 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
34896 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
34897
34898 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
34899 (UDP_NO_CHECK6_RX): Likewise.
34900
34901 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34902
34903 * sysdeps/posix/sysconf.c (__sysconf): Spell
34904 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
34905
34906 2014-08-12 Florian Weimer <fweimer@redhat.com>
34907
34908 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
34909 loading.
34910 * iconv/Versions (__gconv_transliterate): Export for use from
34911 gconv modules.
34912 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
34913 (struct __gconv_trans_data, __gconv_trans_fct,
34914 __gconv_trans_context_fct, __gconv_trans_query_fct,
34915 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
34916 definitions.
34917 (struct __gconv_step_data): Remove __trans member.
34918 (__gconv_transliterate): Declaration moved from gconv_int.h. No
34919 longer hidden. Remove unused trans_data argument.
34920 * iconv/gconv_int.h (struct trans_struct): Remove definition.
34921 (__gconv_translit_find): Remove declaration.
34922 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
34923 prototype.
34924 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
34925 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
34926 trans_data argument. Add hidden definition.
34927 (__gconv_translit_find): Remove.
34928 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
34929 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
34930 * iconv/skeleton.c: Remove transliteration initialization.
34931 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
34932 __gconv_step_data initialization.
34933 * libio/iofwide.c (__libio_translit_): Remove.
34934 (_IO_fwide): Adjust struct __gconv_step_data initialization.
34935 * wcsmbs/btowc.c (__btowc): Likewise.
34936 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34937 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34938 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
34939 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
34940 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
34941 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
34942 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
34943 * wcsmbs/wctob.c (wctob): Likewise.
34944
34945 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34946
34947 [BZ #16194]
34948 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
34949 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
34950 register usage.
34951 * sysdeps/x86/Makefile: Adjust.
34952
34953 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34954 Roland McGrath <roland@hack.frob.com>
34955
34956 * locale/weight.h: Add include guard.
34957 (findidx): Make static rather than auto; take new parameters
34958 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
34959 * locale/weightwc.h: Likewise.
34960 * posix/fnmatch_loop.c
34961 (FCT): Change type of EXTRA from int32_t to wint_t.
34962 Don't include either header inside the function.
34963 Call FINDIDX rather than findidx, and pass new arguments.
34964 #undef FINDIDX at the end of the file.
34965 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
34966 FINDIDX before including fnmatch_loop.c for the non-wide version.
34967 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
34968 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
34969 for the wide version.
34970 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
34971 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
34972 Pass new arguments to findidx.
34973 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
34974 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
34975 Don't #include it inside the function. Pass new arguments to findidx.
34976 * posix/regex_internal.h
34977 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
34978 (re_string_elem_size_at): Don't #include it inside the function.
34979 Pass new arguments to findidx.
34980 * string/strcoll_l.c: #include WEIGHT_H at top level.
34981 (get_next_seq): Don't #include it inside the function.
34982 Pass new arguments to findidx.
34983 (get_next_seq_nocache): Likewise.
34984 * string/strxfrm_l.c: #include WEIGHT_H at top level.
34985 (STRXFRM): Don't #include it inside the function.
34986 Pass new arguments to findidx.
34987
34988 2014-09-11 Florian Weimer <fweimer@redhat.com>
34989
34990 [BZ #17344]
34991 * malloc/malloc.c (unlink): Turn asserts into a call to
34992 malloc_printerr.
34993
34994 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
34995
34996 [BZ #17370]
34997 * libio/wfileops (do_ftell_wide): Free OUT.
34998
34999 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
35000
35001 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35002
35003 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35004
35005 [BZ #17363]
35006 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35007 group if the current group is empty.
35008
35009 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35010
35011 * benchtests/bench-memset.c (test_main): Add more test from size
35012 from 32 to 512 bytes.
35013 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35014 Add POWER8 memset object.
35015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35016 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35017 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35018 implementation.
35019 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35020 Likewise.
35021 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35022 multiarch POWER8 memset optimization.
35023 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35024 POWER8 memset optimization.
35025
35026 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35027 Remove bzero multiarch objects.
35028 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35029 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35030 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35031 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35032 Remove define.
35033 [__bzero]: Redefine to specific name.
35034 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35035 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35036 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35037 define.
35038 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35039 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35040
35041 2014-09-10 Florian Weimer <fweimer@redhat.com>
35042
35043 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35044 warnings into errors.
35045
35046 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35047 __cxa_thread_atexit_impl prototype.
35048
35049 2014-09-09 Steve Ellcey <sellcey@mips.com>
35050
35051 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35052 Fix capitalization of error message.
35053
35054 2014-09-09 Steve Ellcey <sellcey@mips.com>
35055
35056 * sysdeps/mips/preconfigure: Modify ABI tests.
35057
35058 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
35059
35060 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35061
35062 2014-09-07 Roland McGrath <roland@hack.frob.com>
35063 Carlos O'Donell <carlos@systemhalted.org>
35064
35065 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35066 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35067 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35068 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35069 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35070 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35071 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35072 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35073 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35074 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35075 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35076 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35077 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35078 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35079 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35080 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35081 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35082 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35083 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35084 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35085 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35086 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35087 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35088 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35089 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35090 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35091 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35092 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35093 Deconditionalize the code that was previously under [RESET_PID].
35094 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35095 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35096 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35097 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35098 include sysdep.h.
35099
35100 2014-09-08 Allan McRae <allan@archlinux.org>
35101
35102 * version.h (RELEASE): Set to "development".
35103 (VERSION): Set to "2.20.90"
35104
35105 2014-09-07 Allan McRae <allan@archlinux.org
35106
35107 * version.h (RELEASE): Set to "stable".
35108 (VERSION): Set to "2.20"
35109 * include/features.h (__GLIBC_MINOR__): Set to 20.
35110
35111 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35112 Liebler.
35113
35114 * po/ko.po: Update Korean translation from translation project.
35115
35116 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
35117
35118 [BZ #17354]
35119 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35120 macro for handling signed relocations.
35121
35122 2014-09-03 Florian Weimer <fweimer@redhat.com>
35123
35124 [BZ #17325]
35125 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35126 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35127 assert.
35128 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35129 * iconvdata/ibm935.c (BODY): Likewise.
35130 * iconvdata/ibm937.c (BODY): Likewise.
35131 * iconvdata/ibm939.c (BODY): Likewise.
35132 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35133 assert.
35134 * iconvdata/Makefile (iconv-test.out): Pass module list to test
35135 script.
35136 * iconvdata/run-iconv-test.sh: New test loop for checking for
35137 decoder crashers.
35138
35139 2014-09-02 Khem Raj <raj.khem@gmail.com>
35140
35141 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35142 libm_hidden_ver.
35143
35144 2014-09-01 Allan McRae <allan@archlinux.org>
35145
35146 * po/eo.po: Update Esperanto translation from translation project.
35147
35148 * po/ca.po: Update Catalan translation from translation project.
35149
35150 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
35151
35152 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35153 __proc_dostop call.
35154
35155 2014-08-27 Mark Wielaard <mjw@redhat.com>
35156
35157 [BZ #17319]
35158 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35159 to call set_thread_area instead of hand written asm.
35160 (__NR_set_thread_area): Removed define.
35161 (TLS_FLAG_WRITABLE): Likewise.
35162 (__ASSUME_SET_THREAD_AREA): Remove check.
35163 (TLS_EBX_ARG): Remove define.
35164 (TLS_LOAD_EBX): Likewise.
35165
35166 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35167
35168 Simplify atomicity of socket creation in bind.
35169
35170 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35171 looking up the name after linking the file.
35172
35173 2014-08-27 Allan McRae <allan@archlinux.org>
35174
35175 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35176
35177 2014-08-26 Florian Weimer <fweimer@redhat.com>
35178
35179 [BZ #17187]
35180 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35181 trans_compare, open_translit, __gconv_translit_find):
35182 Remove module loading code.
35183
35184 2014-08-26 Allan McRae <allan@archlinux.org>
35185
35186 * po/vi.po: Update Vietnamese translation from translation project.
35187
35188 * po/uk.po: Update Ukrainian translation from translation project.
35189
35190 * po/fr.po: Update French translation from translation project.
35191
35192 * po/ru.po: Update Russian translation from translation project.
35193
35194 * po/pl.po: Update Polish translation from translation project.
35195
35196 * po/cs.po: Update Czech translation from translation project.
35197
35198 * po/de.po: Update German translation from translation project.
35199
35200 * po/bg.po: Update Bulgarian translation from translation project.
35201
35202 * po/sv.po: Update Sweedish translation from translation project.
35203
35204 * po/nl.po: Update Dutch translation from translation project.
35205
35206 * po/es.po: Update Spanish translation from translation project.
35207
35208 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35209
35210 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
35211
35212 * catgets/Makefile (CPPFLAGS-gencat): Remove.
35213 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
35214 (CPPFLAGS-iconvconfig): Likewise.
35215 * timezone/Makefile (CPPFLAGS-zic): Likewise.
35216
35217 * include/libc-symbols.h: Remove unnecessary check for
35218 NOT_IN_libc.
35219 * nptl/pthreadP.h: Likewise.
35220 * sysdeps/aarch64/setjmp.S: Likewise.
35221 * sysdeps/alpha/setjmp.S: Likewise.
35222 * sysdeps/arm/sysdep.h: Likewise.
35223 * sysdeps/i386/setjmp.S: Likewise.
35224 * sysdeps/m68k/setjmp.c: Likewise.
35225 * sysdeps/posix/getcwd.c: Likewise.
35226 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35227 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35228 * sysdeps/s390/s390-32/setjmp.S: Likewise.
35229 * sysdeps/s390/s390-64/setjmp.S: Likewise.
35230 * sysdeps/sh/sh3/setjmp.S: Likewise.
35231 * sysdeps/sh/sh4/setjmp.S: Likewise.
35232 * sysdeps/unix/alpha/sysdep.h: Likewise.
35233 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35234 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35235 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35236 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35239 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35240 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35241 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35242 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35243 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35244 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35246 * sysdeps/x86_64/setjmp.S: Likewise.
35247
35248 2014-08-13 Joseph Myers <joseph@codesourcery.com>
35249
35250 [BZ #17263]
35251 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
35252 <stdint.h>.
35253 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
35254 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
35255
35256 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35257
35258 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
35259
35260 [BZ #17262]
35261 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
35262 and __x86_64__ when disabling x87 inline functions.
35263
35264 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
35265
35266 [BZ #17259]
35267 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
35268 asm statement with __cpuid_count.
35269
35270 2014-08-12 Mike Frysinger <vapier@gentoo.org>
35271
35272 * configure.ac: Change __ehdr_start code to dereference the struct.
35273 Run readelf on the output to look for relocations.
35274 * configure: Regenerated.
35275
35276 2014-08-12 Joseph Myers <joseph@codesourcery.com>
35277
35278 [BZ #17261]
35279 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
35280 value to 0.
35281 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
35282
35283 2014-08-12 Roland McGrath <roland@hack.frob.com>
35284
35285 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
35286
35287 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
35288
35289 [BZ #16892]
35290 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
35291 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
35292
35293 2014-08-12 Sean Anderson <seanga2@gmail.com>
35294
35295 * malloc/malloc.c: Fix typo in comment.
35296
35297 2014-08-09 Allan McRae <allan@archlinux.org>
35298
35299 * Regenerate libc.po.
35300
35301 2014-08-08 Mike Frysinger <vapier@gentoo.org>
35302
35303 * intl/tst-gettext2.sh: Check every lang file for creation.
35304
35305 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
35306
35307 * sysdeps/aarch64/fpu/math_private.h
35308 (libc_feholdsetround_noex_aarch64_ctx): New function.
35309
35310 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
35311
35312 * sysdeps/arm/armv6/strcpy.S (strcpy):
35313 Fix performance issue in misaligned cases.
35314
35315 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35316
35317 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
35318 Move definition from termios.h.
35319 (struct termio): Likewise.
35320 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35321 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35322 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35323 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35324 Likewise.
35325 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
35326 Move definition to ioctl-types.h
35327 (struct termio): Likewise.
35328 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35329 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35330 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35331 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35332 Likewise.
35333
35334 2014-08-05 Richard Henderson <rth@redhat.com>
35335
35336 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
35337 exceptions.
35338 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
35339 Add fraiseexcpt.
35340 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
35341 Use __feraiseexcept.
35342 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
35343 Protect libm symbols with IS_IN_libm.
35344
35345 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
35346
35347 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
35348
35349 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
35350
35351 2014-08-04 Will Newton <will.newton@linaro.org>
35352
35353 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
35354 file.
35355
35356 2014-08-04 Mike Frysinger <vapier@gentoo.org>
35357
35358 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
35359 variants for each function.
35360
35361 2014-08-04 Roland McGrath <roland@hack.frob.com>
35362
35363 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
35364 appended ...
35365 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
35366 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
35367 appended ...
35368 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
35369 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
35370 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
35371 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
35372 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
35373 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
35374 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
35375 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
35376 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
35377 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
35378 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
35379 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
35380 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
35381 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
35382 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
35383 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
35384 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
35385 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
35386 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
35387 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
35388 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
35389 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
35390 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
35391 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
35392 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
35393 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
35394 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
35395 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
35396 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
35397 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
35398 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
35399 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
35400 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
35401 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
35402 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
35403 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
35404 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
35405 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
35406 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
35407 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
35408 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
35409 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
35410 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
35411 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
35412 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
35413 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
35414 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
35415 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
35416 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
35417 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
35418 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
35419 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
35420 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
35421 Update #include.
35422 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
35423 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
35424
35425 2014-08-04 Roland McGrath <roland@hack.frob.com>
35426
35427 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
35428 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
35429 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
35430 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
35431 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
35432 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
35433
35434 2014-08-04 Roland McGrath <roland@hack.frob.com>
35435
35436 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
35437 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
35438 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35439 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
35440
35441 2014-08-04 Roland McGrath <roland@hack.frob.com>
35442
35443 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
35444 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
35445 (__libc_vfork): Define function under this name.
35446 (__vfork): Define as an alias.
35447 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
35448 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
35449
35450 2014-08-04 Roland McGrath <roland@hack.frob.com>
35451
35452 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
35453 that was previously under [RESET_PID].
35454 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
35455
35456 2014-08-04 Andreas Schwab <schwab@suse.de>
35457
35458 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
35459
35460 2014-08-03 Mike Frysinger <vapier@gentoo.org>
35461
35462 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
35463 (main): Likewise.
35464
35465 2014-08-01 Roland McGrath <roland@hack.frob.com>
35466
35467 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
35468
35469 2014-08-01 Richard Henderon <rth@redhat.com>
35470
35471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
35472 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
35473 typo in exact zero test.
35474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35475 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35476 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35477
35478 2014-08-01 Roland McGrath <roland@hack.frob.com>
35479
35480 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
35481 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
35482 * sysdeps/arm/sysdep.h: ... here.
35483 [!__ASSEMBLER__]: Include <stdint.h>.
35484
35485 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35486
35487 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
35488 (HAVE_WCTYPE_H): Likewise.
35489 (HAVE_ISWCTYPE): Likewise.
35490 (ENABLE_NLS): Likewise.
35491 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
35492 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
35493
35494 * posix/regex_internal.c: Check if DEBUG is defined and is
35495 set.
35496
35497 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
35498 (HAVE_MBSRTOWCS): Likewise.
35499 * posix/fnmatch.c: Include string.h unconditionally.
35500
35501 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
35502
35503 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
35504 reversal.
35505
35506 2014-07-31 Roland McGrath <roland@hack.frob.com>
35507
35508 * sysdeps/generic/safe-fatal.h: New file.
35509 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
35510 * nptl/forward.c: Include it.
35511 (__pthread_unwind): Use __safe_fatal as default action, rather
35512 than a bogus use of INTERNAL_SYSCALL that could never work.
35513
35514 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
35515 * configure.ac (libc_cv_builtin_trap): New test.
35516 * configure: Regenerated.
35517 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
35518 (ABORT_INSTRUCTION): Define using __builtin_trap.
35519
35520 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
35521 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
35522 * sysdeps/nptl/nptl-signals.h: New file.
35523 * nptl/pthreadP.h: Include <nptl-signals.h>.
35524
35525 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
35526
35527 * sysdeps/s390/s390-64/utf16-utf32-z9.c
35528 (ONE_DIRECTION): Define.
35529 * sysdeps/s390/s390-64/utf8-utf16-z9.c
35530 (ONE_DIRECTION): Define.
35531 * sysdeps/s390/s390-64/utf8-utf32-z9.c
35532 (ONE_DIRECTION): Define.
35533
35534 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
35535
35536 * sysdeps/s390/Makefile: Delete file.
35537 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
35538 * sysdeps/s390/__longjmp.c: Delete file.
35539 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
35540 Remove fields __flags and __reserved.
35541 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
35542 and add versioning.
35543 * sysdeps/s390/rtld-__longjmp.c: Delete file.
35544 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
35545 * sysdeps/s390/rtld-setjmp.S: Likewise.
35546 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
35547 * sysdeps/s390/s390-32/__longjmp.c: ... here.
35548 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
35549 * sysdeps/s390/s390-32/setjmp.S: ... here.
35550 Add versioning.
35551 (__sigsetjmp): Remove setting __flags field.
35552 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
35553 * sysdeps/s390/s390-64/__longjmp.c: ... here.
35554 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
35555 * sysdeps/s390/s390-64/setjmp.S: ... here.
35556 Add versioning.
35557 (__sigsetjmp): Remove setting __flags field.
35558 * sysdeps/s390/setjmp.S: Delete file.
35559 * sysdeps/s390/sigjmp.c: Likewise.
35560 * sysdeps/s390/v1-longjmp.c: Likewise.
35561 * sysdeps/s390/v1-setjmp.h: Likewise.
35562 * sysdeps/s390/v1-sigjmp.c: Likewise.
35563 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
35564 Remove v1-longjmp_chk.
35565 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
35566 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
35567 Include debug/longjmp_chk.c and add versioning.
35568 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
35569 Include nptl/pt-longjmp.c and add versioning.
35570 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
35571 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
35572 Include __longjmp.c.
35573 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35574 Move to ...
35575 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
35576 (__getcontext): Remove setting __flags field.
35577 Add versioning.
35578 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35579 Don't restore upper high grps.
35580 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
35581 Likewise.
35582 (__swapcontext): Remove setting uc_flags field.
35583 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
35584 Delete file.
35585 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35586 Include __longjmp.c.
35587 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35588 Move to ...
35589 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
35590 (__getcontext): Remove setting __flags field.
35591 Add versioning.
35592 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
35593 (__swapcontext): Remove setting uc_flags field.
35594 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
35595 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
35596 Remove fields uc_high_gprs and __reserved.
35597 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
35598 New file with reverted content.
35599 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
35600 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
35601 Regenerated.
35602 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
35603 Regenerated.
35604
35605 2014-07-31 Andreas Schwab <schwab@suse.de>
35606
35607 * config.h.in (HAVE_IFUNC): Define to 0.
35608 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
35609 definedness.
35610
35611 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
35612
35613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35614 memmove-avx-unaligned, memcpy-avx-unaligned and
35615 mempcpy-avx-unaligned.
35616 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35617 Add tests for AVX memcpy functions.
35618 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
35619 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
35620 memcpy_chk.
35621 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
35622 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
35623 memmove_chk.
35624 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
35625 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
35626 mempcpy_chk.
35627 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
35628 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
35629 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
35630
35631 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35632
35633 [BZ #17213]
35634 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
35635 powerpc64le.
35636
35637 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
35638
35639 [BZ #16839]
35640 * manual/llio.texi: Add section about open file description locks.
35641 * manual/examples/ofdlocks.c: Example of open file description
35642 lock usage.
35643 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
35644 F_OFD_SETLK, and F_OFD_SETLKW.
35645
35646 2014-07-23 Allan McRae <allan@archlinux.org>
35647
35648 * po/es.po: Update Spanish translation from translation project.
35649
35650 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
35651
35652 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
35653
35654 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
35655
35656 [BZ #17078]
35657 * sysdeps/arm/dl-machine.h (elf_machine_rela)
35658 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
35659 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
35660
35661 2014-07-17 Joseph Myers <joseph@codesourcery.com>
35662
35663 [BZ #17088]
35664 * math/fesetenv.c (__fesetenv)
35665 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
35666 * math/feupdateenv.c (__feupdateenv)
35667 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
35668
35669 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
35670 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35671 (__ASSUME_SOCKETCALL): Do not define.
35672
35673 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
35674 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
35675 (__ASSUME_SOCKETCALL): Do not define.
35676 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
35677 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35678 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35679 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35680 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35681 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
35682 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35683 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35684
35685 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
35686 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
35687 (__ASSUME_SOCKETCALL): Do not define.
35688 (__ASSUME_IPC64): Define unconditionally.
35689 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35690 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35691 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35692 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35693 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
35694 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35695 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
35696 Likewise.
35697
35698 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
35699 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
35700 (__ASSUME_SOCKETCALL): Do not define.
35701 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
35702 (__ASSUME_FUTEX_LOCK_PI): Likewise.
35703 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35704 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35705 (__ASSUME_REQUEUE_PI): Define unconditionally.
35706 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
35707 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
35708 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35709 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
35710 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35711 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35712
35713 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
35714 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
35715 (__ASSUME_SOCKETCALL): Do not define.
35716 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
35717 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35718 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35719 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
35720 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35721 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35722
35723 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
35724 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
35725 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35726 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
35727 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35728 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
35729 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35730 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
35731 (__ASSUME_GETCPU_SYSCALL): Likewise.
35732
35733 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
35734 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
35735 cases for individual architectures.
35736 * sysdeps/gnu/configure: Regenerated.
35737 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
35738 LIBC_SLIBDIR_RTLDDIR.
35739 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
35740 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
35741 LIBC_SLIBDIR_RTLDDIR.
35742 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
35743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
35744 LIBC_SLIBDIR_RTLDDIR.
35745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35746 Regenerated.
35747 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
35748 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
35749 file.
35750 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
35751 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
35752 file.
35753 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
35754 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
35755 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
35756 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
35757
35758 * sysdeps/aarch64/shlib-versions: Move to ...
35759 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
35760 * sysdeps/alpha/shlib-versions: Move to ...
35761 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
35762 * sysdeps/arm/shlib-versions: Move to ...
35763 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
35764 * sysdeps/hppa/shlib-versions: Move all contents except for
35765 libgcc_s entry to ...
35766 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
35767 entry from ...
35768 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
35769 * sysdeps/ia64/shlib-versions: Move to ...
35770 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
35771 entry from ...
35772 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
35773 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
35774 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
35775 * sysdeps/microblaze/shlib-versions: Move to ...
35776 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
35777 * sysdeps/mips/shlib-versions: Move to ...
35778 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
35779 entry from ...
35780 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
35781 * sysdeps/tile/shlib-versions: Move to ...
35782 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
35783 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
35784 from ...
35785 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
35786 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
35787 entry from ...
35788 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
35789
35790 2014-07-17 Will Newton <will.newton@linaro.org>
35791
35792 * sysdeps/arm/bits/atomic.h
35793 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
35794 (__arch_compare_and_exchange_bool_16_int): Likewise.
35795 (__arch_compare_and_exchange_bool_64_int): Likewise.
35796
35797 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
35798 into an #else block.
35799
35800 2014-07-16 Roland McGrath <roland@hack.frob.com>
35801
35802 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
35803 just Linux configurations. Test empirically that the compiler sets
35804 __ARM_EABI__, rather than using the tuple to decide.
35805 * sysdeps/arm/preconfigure: Regenerated.
35806 * sysdeps/unix/sysv/linux/arm/configure: File removed.
35807 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
35808 contents appended ...
35809 * sysdeps/arm/configure.ac: ... here.
35810 * sysdeps/arm/configure: Regenerated.
35811
35812 2014-07-15 Roland McGrath <roland@hack.frob.com>
35813
35814 * nptl/pthread_kill.c: New file.
35815 * nptl/pthread_sigmask.c: New file.
35816 * nptl/pthread_sigqueue.c: New file.
35817
35818 * sysdeps/nptl/lowlevellock.h: New file.
35819 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
35820 * sysdeps/nptl/lowlevellock-futex.h: New file.
35821
35822 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
35823 Remove dead declarations.
35824
35825 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
35826
35827 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
35828 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
35829 config-cflags-avx2.
35830 * sysdeps/x86_64/configure.ac: Likewise.
35831 * sysdeps/i386/configure: Regenerated.
35832 * sysdeps/x86_64/configure: Likewise.
35833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35834 memset-avx2 only if config-cflags-avx2 is yes.
35835 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35836 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
35837 defined.
35838 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
35839 only if HAVE_AVX2_SUPPORT is defined.
35840 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35841
35842 2014-07-14 Alan Modra <amodra@gmail.com>
35843
35844 [BZ #17153]
35845 * elf/elf.h (DT_PPC64_NUM): Correct value.
35846 * NEWS: Add to fixed bug list.
35847
35848 2014-07-13 Jim Meyering <meyering@fb.com>
35849
35850 [BZ 17150]
35851 regex: don't deref NULL upon heap allocation failure
35852 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
35853 failure in one more place.
35854 To trigger the segfault, configure grep -with-included-regex,
35855 build it, and run these commands:
35856 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
35857
35858 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
35859
35860 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
35861
35862 2014-07-11 Richard Henderson <rth@redhat.com>
35863
35864 * sysdeps/aarch64/libm-test-ulps: Update.
35865
35866 2014-07-10 Florian Weimer <fweimer@redhat.com>
35867
35868 [BZ #17135]
35869 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
35870 * nptl/allocatestack.c (__nptl_setxid_error): New function.
35871 (__nptl_setxid): Initialize error member. Call
35872 __nptl_setxid_error.
35873 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
35874 * nptl/descr.h (struct xid_command): Add error member.
35875 * nptl/tst-setuid3.c: New file.
35876 * nptl/Makefile (tests): Add it.
35877
35878 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35879
35880 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
35881 New define.
35882 (__lll_trylock): Use __lll_base_trylock.
35883 (__lll_cond_trylock): Likewise.
35884
35885 2014-07-10 Roland McGrath <roland@hack.frob.com>
35886
35887 * nptl/pthread_create.c (start_thread): Use atomic_or and
35888 lll_futex_wake directly rather than lll_robust_dead.
35889 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
35890 (lll_robust_dead): Macro removed.
35891 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
35892 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
35893 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
35894 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35895 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35896 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
35897 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
35898 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35899 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
35900 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35901 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35902 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35903 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35904 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35905 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35906
35907 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
35908 Use atomic_compare_and_exchange_val_acq directly rather than
35909 lll_robust_trylock.
35910 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
35911 (__lll_robust_trylock, lll_robust_trylock): Removed.
35912 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
35913 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
35914 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35915 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35916 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
35917 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
35918 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35919 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
35920 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35921 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35922 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35923 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35924 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35925 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35926
35927 2014-07-02 Florian Weimer <fweimer@redhat.com>
35928
35929 * manual/locale.texi (Locale Names): New section documenting
35930 locale name syntax. Adjust menu and node chaining accordingly.
35931 (Choosing Locale): Reference Locale Names, Locale Categories.
35932 Mention setting LC_ALL=C. Reflect that name syntax is now
35933 documented.
35934 (Locale Categories): New section title. Reference Locale Names.
35935 LC_ALL is an environment variable, but not a category.
35936 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
35937 description, now in Locale Name. Reference that section. Locale
35938 name syntax is now documented.
35939
35940 2014-07-02 Florian Weimer <fweimer@redhat.com>
35941
35942 [BZ #17137]
35943 * locale/findlocale.c (name_present, valid_locale_name): New
35944 functions.
35945 (_nl_find_locale): Use the loc_name variable to store name
35946 candidates. Call name_present and valid_locale_name to check and
35947 validate locale names. Return an error if the locale is invalid.
35948
35949 2014-07-02 Florian Weimer <fweimer@redhat.com>
35950
35951 * locale/setlocale.c (setlocale): Use strdup for allocating
35952 composite name copy.
35953
35954 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35955
35956 Sync up with gnulib.
35957 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
35958 [!_LIBC && ENABLE_NLS]: Include gettext.h.
35959 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
35960 and _GL_ARG_NONNULL.
35961 [USE_UNLOCKED_IO]: Include unlocked-io.h.
35962 [!_LIBC]: Include code for Windows and Cygwin.
35963 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
35964 Include prototype for int strerror_r.
35965 [!_LIBC] (is_open): New function.
35966 (flush_stdout): New function.
35967 (print_errno_message): Use it.
35968 (error): Likewise.
35969 (error_at_line): Likewise.
35970 (error_tail) Add function attribute macros. Use
35971 __builtin_expect.
35972
35973 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
35974
35975 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
35976
35977 * io/ftw.c: Include sys/param.h unconditionally.
35978
35979 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
35980
35981 [BZ #17125]
35982 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
35983 libc_freeres_ptr.
35984 (freecache): New function to free CACHE on exit.
35985
35986 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
35987 initialization.
35988
35989 2014-07-09 David S. Miller <davem@davemloft.net>
35990
35991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35992
35993 * sysdeps/sparc/nptl/internaltypes.h: Delete.
35994 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
35995 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
35996 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
35997 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
35998 * sysdeps/sparc/nptl/sem_init.c: Likewise.
35999 * sysdeps/sparc/nptl/sem_post.c: Likewise.
36000 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36001 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36002 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36003 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36004 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36005 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36006
36007 2014-07-09 Andreas Schwab <schwab@suse.de>
36008
36009 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36010 output.
36011 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36012 (do_test): Likewise.
36013
36014 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36015
36016 2014-07-09 Will Newton <will.newton@linaro.org>
36017
36018 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36019 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36020 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36021 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36022 * sysdeps/hppa/start.S (_start): Likewise.
36023
36024 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36025
36026 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36027
36028 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36029 defined.
36030
36031 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36032
36033 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36034 after checking that it is non-NULL.
36035
36036 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36037
36038 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36039
36040 * sysdeps/powerpc/memmove.c: Remove file.
36041 * sysdeps/powerpc/powerpc32/power4/memcopy.h
36042 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36043 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36044 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36045 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36046 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36047 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36048 string memmove instead of removed powerpc one.
36049
36050 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36051 [weak_alias]: Fix compiler warning due trailing data.
36052 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36053 [weak_alias]: Likewise.
36054 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36055 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36056
36057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36058 (__libc_ifunc_impl_list): Add memmove functions.
36059
36060 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36061
36062 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36063 Remove code.
36064 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36065 Likewise.
36066 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36067 Likewise.
36068 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36069 Likewise.
36070 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36071 Likewise.
36072 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36073 Likewise.
36074 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36075 Likewise.
36076 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36077 Likewise.
36078 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36079 Likewise.
36080 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36081 Likewise.
36082 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36083 Likewise.
36084 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36085 Likewise.
36086 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36087 Likewise.
36088 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36089 Likewise.
36090 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36091 Likewise.
36092 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36093 Likewise.
36094 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36095 Likewise.
36096
36097 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36098
36099 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36100 to avoid alignment traps in non-cacheable memory.
36101 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36102
36103 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36104 multiarch objects.
36105 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36106 file: multiarch power7 memmove.
36107 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36108 multiarch default memmove.
36109 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36110 multiarch memove for powerpc32/power4.
36111
36112 * string/bcopy.c: Use full path to include memmove.c.
36113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36114 multiarch objects.
36115 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36116 bcopy for powerpc64.
36117 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36118 bcopy for powerpc64.
36119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36120 and memmove implementations.
36121 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36122 optimized multiarch memmove for POWER7/powerpc64.
36123 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36124 default multiarch memmove for powerpc64.
36125 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36126 multiarch for powerpc64.
36127 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36128 for POWER7/powerpc64.
36129 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36130 memmove for POWER7/powerpc64.
36131
36132 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36133 glibc default one.
36134
36135 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36136 __ELF_NATIVE_CLASS equal to 64.
36137
36138 2014-07-07 Roland McGrath <roland@hack.frob.com>
36139
36140 * sysdeps/nptl/lowlevellock.h: File removed.
36141
36142 * NEWS: NPTL is no longer an add-on!
36143 * nptl/internaltypes.h: Moved ...
36144 * sysdeps/nptl/internaltypes.h: ... here.
36145 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36146 * sysdeps/nptl/fork.c: Likewise.
36147 * sysdeps/nptl/gai_misc.h: Likewise.
36148 * sysdeps/nptl/librt-cancellation.c: Likewise.
36149 * sysdeps/nptl/jmp-unwind.c: Likewise.
36150 * sysdeps/nptl/setxid.h: Likewise.
36151 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36152 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36153 * sysdeps/unix/sysv/linux/arm/Implies: New file.
36154 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36155 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36156 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36157 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36158 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36159 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36160 * sysdeps/unix/sysv/linux/mips/Implies: New file.
36161 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36162 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36163 * sysdeps/unix/sysv/linux/sh/Implies: New file.
36164 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36165 * sysdeps/unix/sysv/linux/tile/Implies: New file.
36166 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36167 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36168 * nptl/Makeconfig: Moved ...
36169 * sysdeps/nptl/Makeconfig: ... here.
36170 * nptl/configure: File removed.
36171 * nptl/ANNOUNCE: File removed.
36172 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36173 * sysdeps/unix/sysv/linux/configure: Regenerated.
36174
36175 * nptl/Makefile (routines): Add libc_pthread_init,
36176 libc_multiple_threads, register-atfork and unregister-atfork.
36177 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36178 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36179 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36180 pthread-pi-defines.sym, structsem.sym.
36181 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36182 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36183 [$(subdir) = nptl] (tests): Add tst-setgetname.
36184 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36185 * sysdeps/unix/sysv/linux/sigaction.c: Just include
36186 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36187 [!LIBC_SIGACTION]: Remove aliases.
36188 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36189 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36190 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36191 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
36192 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36193 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
36194 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36195 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36196 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36197 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
36198 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
36199 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
36200 __libc_allocate_rtsig_private.
36201 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
36202 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
36203 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
36204 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
36205 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
36206 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
36207 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
36208 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
36209 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
36210 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
36211 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
36212 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
36213 * nptl/internaltypes.h: ... here.
36214 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
36215 * sysdeps/nptl/jmp-unwind.c: ... here.
36216 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
36217 * nptl/libc-lowlevellock.c: ... here.
36218 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
36219 * nptl/libc_multiple_threads.c: ... here.
36220 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
36221 * nptl/libc_pthread_init.c: ... here.
36222 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
36223 * nptl/lowlevelbarrier.sym: ... here.
36224 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
36225 * nptl/lowlevelcond.sym: ... here.
36226 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
36227 * nptl/lowlevellock.c: ... here.
36228 * nptl/lowlevellock.h: Moved ...
36229 * sysdeps/nptl/lowlevellock.h: ... here.
36230 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
36231 * nptl/lowlevelrobustlock.c: ... here.
36232 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
36233 * nptl/lowlevelrobustlock.sym: ... here.
36234 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
36235 * nptl/lowlevelrwlock.sym: ... here.
36236 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
36237 * nptl/pt-fork.c: ... here.
36238 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
36239 * nptl/pthread-pi-defines.sym: ... here.
36240 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
36241 * nptl/pthread_attr_getaffinity.c: ... here.
36242 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
36243 * nptl/pthread_attr_setaffinity.c: ... here.
36244 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
36245 * nptl/pthread_mutex_cond_lock.c: ... here.
36246 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36247 Update #include.
36248 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
36249 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
36250 * nptl/pthread_once.c: ... here, replacing old file.
36251 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
36252 * nptl/pthread_yield.c: ... here.
36253 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
36254 * nptl/register-atfork.c: ... here.
36255 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
36256 * nptl/sem_post.c: ... here.
36257 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
36258 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
36259 * nptl/sem_timedwait.c: ... here.
36260 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
36261 * nptl/sem_trywait.c: ... here.
36262 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
36263 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
36264 * nptl/sem_wait.c: ... here.
36265 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
36266 * nptl/structsem.sym: ... here.
36267 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
36268 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
36269 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
36270 * nptl/unregister-atfork.c: ... here.
36271 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
36272 * nptl/unwindbuf.sym: ... here.
36273 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
36274 * sysdeps/nptl/fork.c: ... here.
36275 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
36276 * sysdeps/nptl/fork.h: ... here.
36277 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
36278 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
36279 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
36280 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
36281 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
36282 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
36283 * sysdeps/unix/sysv/linux/getpid.c: ... here.
36284 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
36285 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
36286 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
36287 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
36288 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
36289 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
36290 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
36291 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
36292 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
36293 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
36294 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
36295 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
36296 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
36297 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
36298 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
36299 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
36300 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
36301 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
36302 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
36303 * sysdeps/unix/sysv/linux/raise.c: ... here.
36304 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
36305 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
36306 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
36307 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
36308 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
36309 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
36310 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
36311 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
36312 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
36313 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
36314 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
36315 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
36316 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
36317 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
36318 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
36319
36320 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36321
36322 * sysdeps/generic/memcopy.h: Add comment for
36323 MEMCPY_OK_FOR_FWD_MEMMOVE.
36324
36325 2014-07-04 Will Newton <will.newton@linaro.org>
36326
36327 * string/memchr.c: Merge from gnulib.
36328 [_LIBC]: Remove conditionals.
36329 (__ptr_t): Remove define.
36330 (LONG_MAX_32_BITS): Likewise.
36331 (LONG_MAX): Likewise.
36332 (MEMCHR): Use ANSI prototype and optimize algorithm.
36333
36334 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
36335
36336 2014-07-03 Roland McGrath <roland@hack.frob.com>
36337
36338 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
36339 (lll_futex_timed_wait_bitset): Fix syscall argument count.
36340
36341 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
36342 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
36343 in a bare environment with no <stdlib.h> installed.
36344 * sysdeps/nptl/configure: Regenerated.
36345
36346 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
36347
36348 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
36349 AC_EGREP_CPP for kernel header checks, so they only succeed if
36350 including <linux/version.h> actually works right.
36351 * sysdeps/unix/sysv/linux/configure: Regenerated.
36352
36353 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
36354 value so it's not diagnosed as unused.
36355
36356 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
36357 thing) with "ifeq ($(subdir),rt)".
36358
36359 2014-07-03 Richard Henderson <rth@redhat.com>
36360
36361 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
36362 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
36363 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
36364
36365 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
36366 (math_force_eval): New.
36367
36368 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
36369 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
36370
36371 * sysdeps/alpha/fpu/s_round.c: Remove file.
36372 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
36373
36374 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
36375 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
36376 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
36377 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
36378 (_dl_start, print_statistics): Likewise.
36379 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
36380 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
36381
36382 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36383 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36384 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36385 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36386 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36387 (HP_SMALL_TIMING_AVAIL): Define.
36388 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36389 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36390 (HP_SMALL_TIMING_AVAIL): Define.
36391 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36392 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36393
36394 * sysdeps/aarch64/hp-timing.h: New file.
36395
36396 * sysdeps/generic/hp-timing.h: Remove dead comment.
36397 * sysdeps/generic/hp-timing-common.h: New file.
36398 * sysdeps/alpha/hp-timing.h: Include it.
36399 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
36400 * sysdeps/i386/i686/hp-timing.h: Likewise.
36401 * sysdeps/ia64/hp-timing.h: Likewise.
36402 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36403 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36404 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36405 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36406 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
36407 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
36408 (hp_timing_t): New.
36409
36410 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
36411 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
36412 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
36413 * elf/rtld.c (_dl_start_final): Likewise.
36414 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
36415 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36416 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36417 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36418 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36419 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36420 (HP_TIMING_DIFF_INIT): Remove.
36421 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36422 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36423 (HP_TIMING_DIFF_INIT): Remove.
36424 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36425 * sysdeps/i386/i686/hp-timing.c: Remove file.
36426 * sysdeps/x86_64/hp-timing.c: Remove file.
36427 * sysdeps/ia64/hp-timing.c: Remove file.
36428 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
36429 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
36430 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
36431 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
36432
36433 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
36434 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
36435 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
36436 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36437 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36438 (HP_TIMING_ACCUM): Remove.
36439 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36440 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
36441 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36442
36443 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
36444 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
36445 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
36446 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
36447 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
36448 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36449 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
36450 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36451
36452 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
36453
36454 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
36455
36456 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
36457
36458 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36459
36460 Sync up with gettext.
36461 * intl/loadmsgcat.c: Define O_BINARY if not defined.
36462 [_MSC_VER]: Include malloc.h
36463 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
36464 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
36465 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
36466 TEMP_FAILURE_RETRY. Cast return of alloca.
36467 [!_LIBC] Call gl_rwlock_init.
36468 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
36469
36470 2014-07-02 Roland McGrath <roland@hack.frob.com>
36471
36472 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
36473 before checking its value.
36474
36475 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36476
36477 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
36478
36479 * debug/memcpy_chk.c: Don't include pagecopy.h.
36480 * debug/mempcpy_chk.c: Likewise.
36481 * string/memcpy.c: Likewise.
36482 * string/memmove.c: Likewise.
36483 * sysdeps/powerpc/memmove.c: Likewise.
36484 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
36485 definition of PAGE_COPY_FWD_MAYBE here...
36486 * sysdeps/generic/pagecopy.h: ... from here.
36487 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
36488
36489 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36490 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36491
36492 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
36493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
36494 optimizations.
36495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36496 (__libc_ifunc_impl_list): Likewise.
36497 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
36498 multiarch strcat for PPC64.
36499 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
36500 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
36501
36502 2014-07-02 Roland McGrath <roland@hack.frob.com>
36503
36504 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
36505
36506 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36507
36508 * intl/loadmsgcat.c: Remove declaration of
36509 get_sysdep_segment_value.
36510 (get_sysdep_segment_value): Use ISO C style.
36511 (_nl_load_domain): Use ISO C style. Get rid of redundant
36512 semicolon. Fix typo and formatting in comment.
36513 (_nl_unload_domain): Use ISO C style.
36514
36515 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
36516
36517 2014-07-02 Will Newton <will.newton@linaro.org>
36518
36519 * malloc/obstack.c: Merge from gnulib master.
36520 [HAVE_CONFIG_H]: Remove conditional code.
36521 [!_LIBC]: Include config.h.
36522 [!ELIDE_CODE]: Don't include inttypes.h, include
36523 stdint.h unconditionally.
36524 (print_and_abort): Mark as _Noreturn.
36525 (_obstack_allocated_p): Mark as __attribute_pure__.
36526 (obstack_free): Rename to __obstack_free.
36527 [!__attribute__]: Remove conditional code.
36528 * malloc/obstack.h: Merge from gnulib master.
36529 [__cplusplus]: Move conditional down.
36530 [!__attribute_pure__]: Define __attribute_pure__ here
36531 if it is not already defined.
36532 (_obstack_memory_used): Mark as __attribute_pure__.
36533 [!__obstack_free]: Define as obstack_free.
36534 [__GNUC__]: Remove check for ancient NeXT gcc.
36535
36536 2014-07-02 Will Newton <will.newton@linaro.org>
36537 Paul Eggert <eggert@cs.ucla.edu>
36538
36539 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
36540
36541 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36542
36543 * resolv/gethnamaddr.c: Add comment warning that the file is
36544 not maintained.
36545
36546 2014-07-01 Carlos O'Donell <carlos@redhat.com>
36547
36548 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
36549 entries.
36550
36551 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
36552 entry for aio_cancel and aio_cancel64.
36553 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
36554 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
36555 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
36556 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
36557 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
36558 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
36559 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
36560 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
36561 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
36562 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
36563 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
36564 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
36565 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
36566
36567 2014-07-01 Roland McGrath <roland@hack.frob.com>
36568
36569 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
36570 * nptl/pthread_mutex_lock.c: Likewise.
36571 * nptl/pthread_mutex_timedlock.c: Likewise.
36572 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
36573
36574 2014-07-01 Richard henderson <rth@redhat.com>
36575
36576 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
36577 (__isnan, __isnanl): Remove.
36578 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
36579
36580 * sysdeps/alpha/fpu/libm-test-ulps: Update.
36581
36582 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
36583
36584 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36585
36586 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36587
36588 * resolv/nss_dns/dns-host.c (getanswer_r)
36589 [MULTI_PTRS_ARE_ALIASES]: Remove code.
36590
36591 2014-07-01 Joseph Myers <joseph@codesourcery.com>
36592
36593 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36594 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
36595 undefine.
36596 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
36597 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
36598
36599 2014-07-01 Roland McGrath <roland@hack.frob.com>
36600
36601 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
36602 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
36603
36604 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
36605 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
36606
36607 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
36608 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
36609 ... here.
36610 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
36611 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
36612
36613 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
36614 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
36615 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
36616 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
36617
36618 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
36619 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
36620 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
36621 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
36622 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
36623 Moved ...
36624 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
36625 ... here.
36626 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
36627 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
36628 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
36629 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
36630 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
36631 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
36632 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
36633 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
36634 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
36635 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
36636 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
36637 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
36638 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
36639 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
36640 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
36641 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
36642 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
36643 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
36644 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
36645 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
36646 ... here.
36647 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
36648 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
36649 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
36650 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
36651 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
36652 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
36653 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
36654 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
36655
36656 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
36657
36658 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
36659 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
36660 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
36661 Add sysdep.
36662
36663 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36664
36665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36666
36667 2014-06-30 Joseph Myers <joseph@codesourcery.com>
36668
36669 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
36670 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36671
36672 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36673
36674 * sysdeps/arm/libm-test-ulps: Regenerated.
36675
36676 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
36677 Roland McGrath <roland@hack.frob.com>
36678
36679 * test-skeleton.c (signal_handler): Kill the whole process group
36680 before killing the child individually.
36681 (main): Report any failure on `setpgid'.
36682
36683 2014-06-30 Roland McGrath <roland@hack.frob.com>
36684
36685 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
36686 from _TLS_H to _ARM_NPTL_TLS_H.
36687 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
36688 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
36689
36690 2014-06-30 Joseph Myers <joseph@codesourcery.com>
36691
36692 [BZ #16539]
36693 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
36694 (__expm1l): Return argument unchanged when small but not
36695 subnormal.
36696
36697 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
36698 include macro name.
36699 (_FP_UNPACK_RAW_1_P): Likewise.
36700 (_FP_PACK_RAW_1): Likewise.
36701 (_FP_PACK_RAW_1_P): Likewise.
36702 (_FP_MUL_MEAT_1_wide): Likewise.
36703 (_FP_MUL_MEAT_DW_1_hard): Likewise.
36704 (_FP_MUL_MEAT_1_hard): Likewise.
36705 (_FP_DIV_MEAT_1_imm): Likewise.
36706 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
36707 (_FP_DIV_MEAT_1_udiv): Likewise.
36708 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
36709 (_FP_UNPACK_RAW_2): Likewise.
36710 (_FP_UNPACK_RAW_2_P): Likewise.
36711 (_FP_PACK_RAW_2): Likewise.
36712 (_FP_PACK_RAW_2_P): Likewise.
36713 (_FP_MUL_MEAT_DW_2_wide): Likewise.
36714 (_FP_MUL_MEAT_2_wide): Likewise.
36715 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
36716 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36717 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
36718 (_FP_MUL_MEAT_2_gmp): Likewise.
36719 (_FP_DIV_MEAT_2_udiv): Likewise.
36720 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
36721 (_FP_FRAC_SRL_4): Likewise.
36722 (_FP_FRAC_SRST_4): Likewise.
36723 (_FP_FRAC_SRS_4): Likewise.
36724 (_FP_UNPACK_RAW_4): Likewise.
36725 (_FP_UNPACK_RAW_4_P): Likewise.
36726 (_FP_PACK_RAW_4): Likewise.
36727 (_FP_PACK_RAW_4_P): Likewise.
36728 (_FP_MUL_MEAT_DW_4_wide): Likewise.
36729 (_FP_MUL_MEAT_4_wide): Likewise.
36730 (_FP_MUL_MEAT_4_gmp): Likewise.
36731 (umul_ppppmnnn): Likewise.
36732 (_FP_DIV_MEAT_4_udiv): Likewise.
36733 (__FP_FRAC_ADD_4): Likewise.
36734 (__FP_FRAC_SUB_3): Likewise.
36735 (__FP_FRAC_SUB_4): Likewise.
36736 (__FP_FRAC_DEC_3): Likewise.
36737 (__FP_FRAC_DEC_4): Likewise.
36738 (__FP_FRAC_ADDI_4): Likewise.
36739 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
36740 (_FP_FRAC_SRL_8): Likewise.
36741 (_FP_FRAC_SRS_8): Likewise.
36742
36743 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
36744 include macro name.
36745 (FP_UNPACK_RAW_EP): Likewise.
36746 (FP_PACK_RAW_E): Likewise.
36747 (FP_PACK_RAW_EP): Likewise.
36748 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
36749 (_FP_ISSIGNAN): Likewise.
36750 (_FP_ADD_INTERNAL): Likewise.
36751 (_FP_FMA): Likewise.
36752 (_FP_CMP): Likewise.
36753 (_FP_SQRT): Likewise.
36754 (_FP_TO_INT): Likewise.
36755 (_FP_FROM_INT): Likewise.
36756 (FP_EXTEND): Likewise.
36757 (_FP_DIV_MEAT_N_loop): Likewise.
36758
36759 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
36760
36761 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
36762 throughout.
36763
36764 2014-06-29 Joseph Myers <joseph@codesourcery.com>
36765
36766 [BZ #17097]
36767 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
36768 result with correct sign in case of exponents that produce
36769 overflow except for X very close to 1.
36770
36771 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
36772
36773 mktime: merge #if/#ifdef usage from glibc
36774 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
36775 as that works with both Glibc's and Gnulib's style.
36776 See thread starting at Siddhesh Poyarekar's bug report at:
36777 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
36778
36779 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36780
36781 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
36782 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
36783 * sysdeps/tile/tilegx/memmove.c: Remove file.
36784
36785 2014-06-27 Joseph Myers <joseph@codesourcery.com>
36786
36787 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
36788 abi-name definition.
36789 * scripts/soversions.awk: Do not handle or generate ABI lines.
36790 * shlib-versions: Remove ABI entries.
36791 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
36792 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
36793
36794 2014-06-27 Roland McGrath <roland@hack.frob.com>
36795
36796 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
36797 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
36798 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
36799 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
36800 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
36801 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
36802 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
36803 Moved ...
36804 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
36805 ... here.
36806 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
36807 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
36808 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
36809 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
36810 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
36811 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
36812 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
36813 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
36814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
36815 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
36816 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
36817 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
36818 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
36819 Moved ...
36820 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
36821 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
36822 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
36823 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
36824 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
36825 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
36826 Moved ...
36827 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
36828 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
36829 Moved ...
36830 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
36831 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
36832 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
36833 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
36834 Moved ...
36835 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
36836 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
36837 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
36838 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
36839 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
36840 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
36841 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
36842 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
36843 Moved ...
36844 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
36845 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
36846 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
36847 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
36848 Moved ...
36849 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
36850 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
36851 Moved ...
36852 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
36853 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
36854 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
36855 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
36856 Moved ...
36857 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
36858 ... here.
36859 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
36860 Identical file removed.
36861 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
36862 Moved ...
36863 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
36864 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
36865 Identical file removed.
36866 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
36867 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
36868 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
36869 Moved ...
36870 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
36871 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
36872 Identical file removed.
36873 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
36874 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
36875 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
36876 Identical file removed.
36877 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
36878 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
36879 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
36880 Identical file removed.
36881 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
36882 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
36883 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
36884 Identical file removed.
36885 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
36886 Moved ...
36887 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
36888 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
36889 Identical file removed.
36890 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
36891 Moved ...
36892 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
36893 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
36894 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
36895 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
36896 Identical file removed.
36897 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
36898 Moved ...
36899 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
36900 ... here.
36901 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
36902 Identical file removed.
36903 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
36904 Moved ...
36905 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
36906 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
36907 Identical file removed.
36908 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
36909 Moved ...
36910 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
36911 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
36912 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
36913 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
36914 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
36915 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
36916 Moved ...
36917 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
36918 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
36919 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
36920
36921 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
36922 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
36923 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
36924 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
36925 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
36926
36927 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
36928
36929 [BZ #17092]
36930 * nscd/nscd.c (monitor_child): Return exit status of child
36931 instead of return value from wait syscall.
36932
36933 2014-06-27 Joseph Myers <joseph@codesourcery.com>
36934
36935 * configure.ac (libc_commonpagesize): Remove variable.
36936 (libc_relro_required): Likewise.
36937 (libc_cv_z_relro): Remove configure test.
36938 * configure: Regenerated.
36939 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
36940 variable.
36941 (libc_relro_required): Likewise.
36942 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
36943 (libc_relro_required): Likewise.
36944 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
36945 (libc_relro_required): Likewise.
36946 * sysdeps/arm/preconfigure: Regenerated.
36947 * sysdeps/ia64/preconfigure: Remove file.
36948 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
36949 variable.
36950 (libc_relro_required): Likewise.
36951
36952 [BZ #16561]
36953 [BZ #16562]
36954 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
36955 (__ieee754_yn): Set FE_TONEAREST mode internally and then
36956 recompute overflowing results in original rounding mode.
36957 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
36958 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
36959 recompute overflowing results in original rounding mode.
36960 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
36961 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
36962 recompute overflowing results in original rounding mode.
36963 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
36964 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
36965 recompute overflowing results in original rounding mode.
36966 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
36967 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
36968 recompute overflowing results in original rounding mode.
36969 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
36970 (libc_feholdsetround_ctx): New macro.
36971 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
36972 * sysdeps/i386/fpu/libm-test-ulps: Update.
36973 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
36974
36975 2014-06-26 Joseph Myers <joseph@codesourcery.com>
36976
36977 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
36978 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
36979 corresponding .cpsetup call.
36980
36981 2014-06-26 Roland McGrath <roland@hack.frob.com>
36982
36983 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
36984 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
36985 * sysdeps/arm/Makefile [$(subdir) = csu]
36986 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
36987 (static-only-routines): Add aeabi_read_tp here.
36988 (shared-only-routines): Add libc-aeabi_read_tp here.
36989 (CFLAGS-libc-start.c): Add -fexceptions here.
36990 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
36991 (sysdep_routines, static-only-routines, shared-only-routines):
36992 Don't add to these here.
36993 (CFLAGS-libc-start.c): Likewise.
36994
36995 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
36996 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36997 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
36998 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36999 * sysdeps/arm/Makefile [$(subdir) = rt]
37000 (librt-sysdep_routines, librt-shared-only-routines):
37001 Append rt-aeabi_unwind_cpp_pr1 here.
37002 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37003 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37004 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37005 (libpthread-sysdep_routines, libpthread-shared-only-routines):
37006 Append nptl-aeabi_unwind_cpp_pr1 here.
37007 (tests): Filter out tst-cleanupx4 here.
37008 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37009 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37010 Don't do those here.
37011
37012 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37013
37014 * scripts/list-sources.sh: Do not handle ports specially.
37015
37016 2014-06-26 Roland McGrath <roland@hack.frob.com>
37017
37018 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37019 * sysdeps/arm/feupdateenv.c: Likewise.
37020
37021 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37022
37023 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37024
37025 * manual/texinfo.tex: Update to version 2014-05-05.10 with
37026 trailing whitespace removed.
37027 * scripts/config.guess: Update to version 2014-03-23.
37028 * scripts/config.sub: Update to version 2014-05-01
37029 * scripts/install-sh: Update to version 2013-12-25.23.
37030 * scripts/move-if-change: Update from gnulib.
37031
37032 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37033
37034 * debug/memmove_chk.c: Remove pagecopy.h include.
37035
37036 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
37037
37038 * time/mktime.c (leapyear): Remove inline keyword. The code is now
37039 identical to gnulib mktime.
37040
37041 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37042
37043 * configure.ac: Do not test for machine being rs6000. Do not test
37044 for powerpc*-*soft.
37045 * configure: Regenerated.
37046
37047 [BZ #11505]
37048 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37049 test.
37050 * configure: Regenerated.
37051 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37052 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37053 Remove configure test.
37054 * sysdeps/arm/configure: Regenerated.
37055 * sysdeps/nptl/configure.ac: Do not check
37056 libc_cv_asm_cfi_directives.
37057 * sysdeps/nptl/configure: Regenerated.
37058 * sysdeps/x86_64/nptl/configure.ac: Remove file.
37059 * sysdeps/x86_64/nptl/configure: Remove generated file.
37060 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37061 unconditional.
37062 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37063
37064 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37065
37066 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37067 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37068 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37069 it is defined.
37070
37071 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37072 instead of whether it is defined.
37073 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37074 * sysdeps/hppa/dl-machine.h: Likewise.
37075 * sysdeps/ia64/dl-machine.h: Likewise.
37076 * sysdeps/m68k/dl-machine.h: Likewise.
37077 * sysdeps/microblaze/dl-machine.h: Likewise.
37078 * sysdeps/mips/dl-machine.: Likewise.
37079 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37080 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37081 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37082 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37083 * sysdeps/sh/dl-machine.h: Likewise.
37084 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37085 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37086 * sysdeps/tile/dl-machine.h: Likewise.
37087 * sysdeps/x86_64/dl-machine.h: Likewise.
37088
37089 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37090 code.
37091 (verify_persistent_db): Likewise.
37092
37093 2014-06-26 Roland McGrath <roland@hack.frob.com>
37094
37095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37096 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37098 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37100 Moved ...
37101 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37102 ... here.
37103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37104 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37106 Identical file removed.
37107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37108 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37110 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37112 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37114 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37116 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37118 Moved ...
37119 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37121 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37123 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37125 Moved ...
37126 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37128 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37130 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37132 Identical file removed.
37133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37134 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37136 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37138 Moved ...
37139 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37140 ... here.
37141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37142 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37144 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37146 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37148 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37150 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37152 Moved ...
37153 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37155 Moved ...
37156 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37158 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37160 Moved ...
37161 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37163 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37164
37165 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37166 folded into ...
37167 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37168 * sysdeps/unix/sysv/linux/s390/Versions
37169 (libpthread: GLIBC_2.19): New version set.
37170 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37171 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37172 (librt: GLIBC_2.3.3): New version set.
37173 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37174 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37175 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37176 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37177 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37178 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37179 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37180 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37181 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37182 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37183 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37184 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37185 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37186 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37187 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37188 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
37189 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
37190 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
37191 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
37192 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
37193 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
37194 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
37195 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
37196 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
37197 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
37198 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
37199 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
37200 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
37201 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
37202 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
37203 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
37204 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
37205 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
37206 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
37207 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
37208 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
37209 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
37210 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
37211 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
37212 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
37213 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
37214 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
37215 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
37216 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
37217 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
37218
37219 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
37220 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
37221 (__libc_vfork): Define the function under this name.
37222 [!NOT_IN_libc] (__vfork): Make this an alias.
37223 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37224 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
37225 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
37226 (__libc_vfork): Define the function under this name.
37227 [!NOT_IN_libc] (__vfork): Make this an alias.
37228 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37229 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
37230 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
37231 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
37232 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
37233 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37234
37235 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
37236 code that was previously under [RESET_PID].
37237 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
37238 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
37239 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
37240
37241 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
37242 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
37243 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
37244 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
37245 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
37246 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
37247 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
37248 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
37249 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
37250 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
37251 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
37252 Moved ...
37253 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
37254 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
37255 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
37256 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
37257 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
37258 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
37259 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
37260 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
37261 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
37262 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
37263 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
37264 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
37265 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
37266 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
37267 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
37268 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
37269 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
37270 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
37271 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
37272 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
37273 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
37274 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
37275 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
37276 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
37277 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
37278 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
37279 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
37280 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
37281 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
37282
37283 2014-06-25 Roland McGrath <roland@hack.frob.com>
37284
37285 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
37286 that was previously under [RESET_PID].
37287 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
37288
37289 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37290
37291 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
37292 not undefine and redefine.
37293 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
37294 [O_CLOEXEC]: Make code unconditional.
37295 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
37296 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
37297 <kernel-features.h>.
37298 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
37299 conditional variable definition.
37300 (shm_open) [O_CLOEXEC]: Make code unconditional.
37301 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
37302 code.
37303
37304 * configure.ac (USE_REGPARMS): Don't define here.
37305 * configure: Regenerated.
37306 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
37307 * sysdeps/i386/configure: Regenerated.
37308
37309 * nptl/createthread.c: Don't include kernel-features.h.
37310 * nptl/pthread_cancel.c: Likewise.
37311 * nptl/pthread_condattr_setclock.c: Likewise.
37312 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
37313 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
37314 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
37315 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
37316 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
37317 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
37318 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37319 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
37320 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37321 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
37322 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
37323 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
37324 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
37325 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
37326 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
37327 * nscd/gai.c: Likewise.
37328 * nss/nss_db/db-open.c: Likewise.
37329 * sysdeps/generic/ldsodefs.h: Likewise.
37330 * sysdeps/sh/nptl/tls.h: Likewise.
37331 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37332 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
37333 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
37334 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
37335 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
37336 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37337 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
37338 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37339 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37340 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37341 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37342 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37343 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
37344 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
37345 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
37346 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
37347 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
37348 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
37349 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
37350 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
37351 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
37352 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
37353 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
37354 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
37355 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
37356 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
37357 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
37358 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
37359 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37360 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
37361 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
37362 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
37363 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
37364 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37365 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37366 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37367 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37368 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
37369 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
37370 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
37371 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37372 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
37373 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
37374 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37375 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
37376 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
37377 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
37378 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
37379 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
37380 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
37381 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
37382 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
37383 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
37384 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37385 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
37386 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37387 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37388 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
37389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
37391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
37392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
37393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
37394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
37395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
37396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
37397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
37400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
37401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
37402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
37403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
37409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
37410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
37411 * sysdeps/unix/sysv/linux/pread.c: Likewise.
37412 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
37413 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
37414 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
37415 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
37416 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
37417 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
37418 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
37419 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
37420 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
37421 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
37422 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
37423 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
37424 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
37425 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
37426 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
37427 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37428 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
37429 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
37430 * sysdeps/unix/sysv/linux/system.c: Likewise.
37431 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
37432 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37433 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37434 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37435 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37436 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37437 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37438
37439 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
37440 * configure: Regenerated.
37441 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
37442
37443 * configure.ac (base_machine): Do not set specially for particular
37444 machines here.
37445 * configure: Regenerated.
37446 * sysdeps/powerpc/preconfigure: Move machine and base_machine
37447 settings from configure.ac.
37448 * sysdeps/i386/preconfigure: New file.
37449 * sysdeps/s390/preconfigure: Likewise.
37450 * sysdeps/sh/preconfigure: Likewise.
37451 * sysdeps/sparc/preconfigure: Likewise.
37452
37453 2014-06-25 Roland McGrath <roland@hack.frob.com>
37454
37455 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
37456 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
37457 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
37458 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
37459 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
37460 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
37461 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
37462 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
37463 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
37464 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
37465 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
37466 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
37467 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
37468 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
37469 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
37470 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
37471 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
37472 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
37473 * sysdeps/sparc/sparc64/Makefile: ... appended here.
37474
37475 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
37476 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
37477 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
37478 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
37479 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
37480 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
37481 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
37482 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
37483 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
37484 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
37485 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
37486 * sysdeps/sparc/sparc32/sem_post.c: ... here.
37487 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
37488 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
37489 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
37490 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
37491 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
37492 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
37493 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
37494 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
37495 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
37496 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
37497 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
37498 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
37499 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
37500 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
37501 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
37502 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
37503 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
37504 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
37505 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
37506 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
37507 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
37508 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
37509 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
37510 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
37511 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
37512 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
37513
37514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
37515 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
37516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
37517 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
37518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37519 Moved ...
37520 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
37521 ... here.
37522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
37523 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
37524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
37525 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
37526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
37527 Moved ...
37528 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
37529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
37530 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
37531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
37532 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
37533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
37534 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
37535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37536 Moved ...
37537 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
37538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37539 Moved ...
37540 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
37541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
37542 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
37543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37544 Moved ...
37545 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
37546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
37547 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
37548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
37549 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
37550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
37551 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
37552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
37553 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
37554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37555 Moved ...
37556 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
37557 ... here.
37558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
37559 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
37560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
37561 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
37562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
37563 Moved ...
37564 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
37565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
37566 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
37567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
37568 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
37569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
37570 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
37571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37572 Moved ...
37573 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
37574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37575 Moved ...
37576 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
37577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
37578 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
37579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37580 Moved ...
37581 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
37582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
37583 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
37584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
37585 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
37586
37587 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37588
37589 * timezone/checktab.awk: Update from tzcode 2014e.
37590 * timezone/private.h: Likewise.
37591 * timezone/tzfile.h: Likewise.
37592 * timezone/zdump.c: Likewise.
37593 * timezone/zic.c: Likewise.
37594
37595 * sysdeps/unix/sysv/linux/kernel-features.h
37596 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
37597 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
37598 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
37599 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37600 Remove conditional code.
37601
37602 2014-06-25 Will Newton <will.newton@linaro.org>
37603
37604 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
37605 (_dl_arm_cap_flags): Add HWCAP2 values.
37606 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
37607 (_DL_HWCAP_COUNT): Increase to 37.
37608 (_DL_HWCAP_LAST): New define.
37609 (_DL_HWCAP2_LAST): New define.
37610 (_dl_procinfo): Add support for printing
37611 AT_HWCAP2 entries.
37612 (_dl_string_hwcap): Use _dl_hwcap_string.
37613
37614 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37615
37616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37617
37618 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37619
37620 * README: Do not mention ports directory.
37621
37622 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
37623 Remove macro.
37624 * sysdeps/unix/sysv/linux/futimes.c: Do not include
37625 <kernel-features.h>.
37626 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
37627 conditional variable definition.
37628 (__futimes): Update comment.
37629 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
37630 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
37631
37632 [BZ #16560]
37633 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
37634 arguments close to 0.
37635 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
37636 Likewise.
37637 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
37638 Likewise.
37639 * math/auto-libm-test-in: Add more tests of exp10.
37640 * math/auto-libm-test-out: Regenerated.
37641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37642
37643 * sysdeps/unix/sysv/linux/kernel-features.h
37644 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
37645 * sysdeps/unix/sysv/linux/readv.c: Do not include
37646 <kernel-features.h>.
37647 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37648 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37649 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37650 unconditional.
37651 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37652 conditional code.
37653 * sysdeps/unix/sysv/linux/writev.c: Do not include
37654 <kernel-features.h>.
37655 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37656 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37657 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37658 unconditional.
37659 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37660 conditional code.
37661
37662 2014-06-25 Will Newton <will.newton@linaro.org>
37663
37664 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
37665 comment changes throughout the file. Remove checks
37666 for HAVE_*_H definitions that are not required.
37667 (__gen_tempname): Call abort if an unknown kind value is
37668 passed.
37669
37670 2014-06-25 Andreas Schwab <schwab@suse.de>
37671
37672 [BZ #17086]
37673 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
37674 scalbln, scalblnf, scalblnl in libc.
37675
37676 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37677
37678 [BZ #17086]
37679 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
37680 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37681 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37682
37683 2014-06-24 Roland McGrath <roland@hack.frob.com>
37684
37685 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
37686 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
37687 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
37688 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
37689 Update #include.
37690 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
37691 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
37692 Update #include.
37693 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
37694 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
37695 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
37696 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
37697 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
37698 * sysdeps/x86/bits/pthreadtypes.h: ... here.
37699 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
37700 * sysdeps/x86/bits/semaphore.h: ... here.
37701 * sysdeps/x86/nptl/elide.h: Moved ...
37702 * sysdeps/x86/elide.h: ... here.
37703 * sysdeps/x86_64/nptl/Implies: File removed.
37704 * sysdeps/i386/nptl/Implies: File removed.
37705
37706 2014-06-24 Joseph Myers <joseph@codesourcery.com>
37707
37708 [BZ #16539]
37709 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
37710 return the argument for normal arguments with exponent below -64.
37711 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37712 Likewise.
37713 * math/auto-libm-test-in: Add another test of expm1.
37714 * math/auto-libm-test-out: Regenerated.
37715
37716 [BZ #16287]
37717 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
37718 calling __erfcl for arguments at least 16.
37719 * math/auto-libm-test-in: Add more tests of erf.
37720 * math/auto-libm-test-out: Regenerated.
37721
37722 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
37723 individual architectures.
37724 * sysdeps/unix/sysv/linux/configure: Regenerated.
37725 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
37726 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
37727 * sysdeps/unix/sysv/linux/powerpc/configure.ac
37728 (ldd_rewrite_script): Define variable.
37729 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
37731 file.
37732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
37733 generated file.
37734 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
37735 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
37736 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
37737 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
37738 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
37739 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
37740 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
37741 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
37742
37743 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37744
37745 [BZ #17084]
37746 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
37747 Rename member __data.d to __data.__elision_data.
37748
37749 2014-06-24 Wilco <wdijkstr@arm.com>
37750
37751 * NEWS: Add 16918 to fixed bug list.
37752
37753 2014-06-24 Wilco <wdijkstr@arm.com>
37754
37755 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
37756
37757 2014-06-24 Wilco <wdijkstr@arm.com>
37758
37759 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
37760 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
37761 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
37762 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
37763 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
37764 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
37765 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
37766 Use _FPU_MASK_RM.
37767
37768 2014-06-24 Wilco <wdijkstr@arm.com>
37769
37770 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
37771
37772 2014-06-24 Wilco <wdijkstr@arm.com>
37773
37774 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
37775 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
37776 * sysdeps/arm/fesetround.c (fesetround): Remove space.
37777 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
37778
37779 2014-06-24 Wilco <wdijkstr@arm.com>
37780
37781 [BZ #16918]
37782 * sysdeps/arm/feupdateenv.c (feupdateenv):
37783 Rewrite to reduce FPSCR accesses and fix return value.
37784
37785 2014-06-24 Wilco <wdijkstr@arm.com>
37786
37787 * sysdeps/arm/fclrexcpt.c (feclearexcept):
37788 Optimize to avoid unnecessary FPSCR writes.
37789 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
37790 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
37791 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
37792 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
37793
37794 2014-06-24 Wilco <wdijkstr@arm.com>
37795
37796 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
37797 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
37798 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
37799 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
37800 Call libc_fetestexcept_vfp.
37801 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
37802 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
37803 __SOFTFP__ ifdef so that they can be built for softfp.
37804
37805 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37806
37807 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
37808 argument type signed char.
37809
37810 * Makerules (check-abi): Dump diff of symlist if the test
37811 fails.
37812
37813 2014-06-23 Roland McGrath <roland@hack.frob.com>
37814
37815 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
37816 using abort.
37817
37818 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37819 Remove unused variable ST.
37820
37821 2014-06-23 Joseph Myers <joseph@codesourcery.com>
37822
37823 [BZ #16354]
37824 [BZ #17061]
37825 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
37826 small arguments before calling __expm1.
37827 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
37828 small arguments before calling __expm1f.
37829 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
37830 small arguments before calling __expm1l.
37831 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37832 Likewise.
37833 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37834 * math/auto-libm-test-in: Add more cosh tests. Do not allow
37835 spurious underflow for some cosh tests.
37836 * math/auto-libm-test-out: Regenerated.
37837 * sysdeps/i386/fpu/libm-test-ulps: Update.
37838
37839 [BZ #17050]
37840 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
37841 (__ieee754_y1): Set errno if return value overflows.
37842 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
37843 (__ieee754_y1f): Set errno if return value overflows.
37844 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
37845 (__ieee754_y1l): Set errno if return value overflows.
37846 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
37847 (__ieee754_y1l): Set errno if return value overflows.
37848 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
37849 * math/auto-libm-test-out: Regenerated.
37850
37851 * math/gen-auto-libm-tests.c: Document use of
37852 ignore-zero-inf-sign.
37853 (input_flag_type): Add value flag_ignore_zero_inf_sign.
37854 (input_flags): Add ignore-zero-inf-sign.
37855 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
37856 * math/gen-libm-test.pl (generate_testfile): Handle
37857 ignore-zero-inf-sign.
37858 * math/auto-libm-test-in: Mark some cpow tests with
37859 ignore-zero-inf-sign and some with xfail-rounding.
37860 * math/auto-libm-test-out: Regenerated.
37861 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
37862 * sysdeps/i386/fpu/libm-test-ulps: Update.
37863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37864
37865 [BZ #16315]
37866 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
37867 overflowing or underflowing operations take place with sign of
37868 result.
37869 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37870 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37871 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
37872 (__ieee754_pow): Recompute overflowing and underflowing results in
37873 original rounding mode.
37874 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
37875 (__powl_helper): Allow negative argument X and scale negated value
37876 as needed. Avoid passing value outside [-1, 1] to f2xm1.
37877 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
37878 overflowing or underflowing operations take place with sign of
37879 result.
37880 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
37881 Include <math.h>.
37882 * math/auto-libm-test-in: Add more tests of pow.
37883 * math/auto-libm-test-out: Regenerated.
37884 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
37885 (pow_tonearest_test_data): Remove.
37886 (pow_test_tonearest): Likewise.
37887 (pow_towardzero_test_data): Likewise.
37888 (pow_test_towardzero): Likewise.
37889 (pow_downward_test_data): Likewise.
37890 (pow_test_downward): Likewise.
37891 (pow_upward_test_data): Likewise.
37892 (pow_test_upward): Likewise.
37893 (main): Don't call removed functions.
37894 * sysdeps/i386/fpu/libm-test-ulps: Update.
37895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37896
37897 2014-06-23 Roland McGrath <roland@hack.frob.com>
37898
37899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
37900 Moved ...
37901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
37902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37903 Moved ...
37904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
37905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37906 Moved ...
37907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
37908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37909 Moved ...
37910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
37911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37912 File removed.
37913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37914 File removed.
37915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
37916 File removed.
37917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
37918 File removed.
37919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
37920 File removed.
37921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
37922 File removed.
37923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
37924 File removed.
37925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37926 File removed.
37927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
37928 File removed.
37929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37930 File removed.
37931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
37932 File removed.
37933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
37934 File removed.
37935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
37936 Moved ...
37937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
37938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
37939 Moved ...
37940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
37941 ... here.
37942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
37943 Moved ...
37944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
37945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
37946 Moved ...
37947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
37948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
37949 Moved ...
37950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
37951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
37952 Moved ...
37953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
37954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
37955 Moved ...
37956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
37957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
37958 Moved ...
37959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
37960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
37961 Moved ...
37962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
37963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
37964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
37965 ... here.
37966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
37967 Moved ...
37968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
37969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37970 Moved ...
37971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
37972 ... here.
37973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
37974 Moved ...
37975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
37976 ... here.
37977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37978 Moved ...
37979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
37980 ... here.
37981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37982 Moved ...
37983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
37984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37985 Moved ...
37986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
37987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
37988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
37989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37990 Moved ...
37991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
37992 ... here.
37993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37994 Moved ...
37995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
37996 ... here.
37997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37998 Moved ...
37999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38001 Moved ...
38002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38004 Moved ...
38005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38007 Moved ...
38008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38010 Moved ...
38011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38012 ... here.
38013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38014 Moved ...
38015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38017 Moved ...
38018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38020 Moved ...
38021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38023 Moved ...
38024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38028 Moved ...
38029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38031 Moved ...
38032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38034 Moved ...
38035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38036 ... here.
38037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38038 Moved ...
38039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38040 ... here.
38041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38042 Moved ...
38043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38044 ... here.
38045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38046 Moved ...
38047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38049 Moved ...
38050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38052 Moved ...
38053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38055 Moved ...
38056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38057 ... here.
38058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38059 Moved ...
38060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38061 ... here.
38062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38063 Moved ...
38064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38065 ... here.
38066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38067 Moved ...
38068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38070 Moved ...
38071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38072
38073 2014-06-23 Will Newton <will.newton@linaro.org>
38074 Wilco <wdijkstr@arm.com>
38075
38076 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38077 implementation. Include get-rounding-mode.h.
38078 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38079 [!libc_feholdsetround_noex_ctx]: Define
38080 libc_feholdsetround_noex_ctx.
38081 [!libc_feholdsetround_noexf_ctx]: Define
38082 libc_feholdsetround_noexf_ctx.
38083 [!libc_feholdsetround_noexl_ctx]: Define
38084 libc_feholdsetround_noexl_ctx.
38085 (libc_feholdsetround_ctx): New function.
38086 (libc_feresetround_ctx): New function.
38087 (libc_feholdsetround_noex_ctx): New function.
38088 (libc_feresetround_noex_ctx): New function.
38089
38090 2014-06-23 Roland McGrath <roland@hack.frob.com>
38091
38092 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38093 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38094 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38095 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38096 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38097 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38098
38099 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38100 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38101 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38102 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38103 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38104 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38105 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38106 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38107 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38108 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38109 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38110 Moved ...
38111 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38112 ... here.
38113 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38114 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38115 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38116 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38117 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38118 Moved ...
38119 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38120 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38121 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38122 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38123 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38124 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38125 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38126 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38127 Moved ...
38128 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38129 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38130 Moved ...
38131 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38132 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38133 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38134 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38135 Moved ...
38136 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38137 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38138 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38139 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38140 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38141 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38142 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38143 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38144 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38145 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38146 Moved ...
38147 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38148 ... here.
38149 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38150 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38151 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38152 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38153 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38154 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38155 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38156 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38157 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38158 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38159 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38160 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38161 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38162 Moved ...
38163 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38164 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38165 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38166 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38167 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38168 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38169 Moved ...
38170 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38171 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38172 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38173 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38174 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38175
38176 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38177 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38178 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38179 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38180 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38181 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38182 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38183 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38184 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38185 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38186 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38187 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38188 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
38189 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
38190 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
38191 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
38192 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
38193 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
38194 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
38195 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
38196 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
38197 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
38198 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
38199 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
38200 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
38201 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
38202 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
38203 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
38204
38205 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38206
38207 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
38208 (FALLOC_FL_COLLAPSE_RANGE): New macro.
38209 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
38210 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38211 (IPV6_PMTUDISC_INTERFACE): Likewise.
38212 (IPV6_PMTUDISC_OMIT): Likewise.
38213
38214 2014-06-23 Andreas Schwab <schwab@suse.de>
38215
38216 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
38217 Remove unused errout label.
38218
38219 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38220
38221 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
38222 macro: hardware supports Vector Crypto instructions.
38223
38224 2014-06-23 Will Newton <will.newton@linaro.org>
38225
38226 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
38227 rather than __builtin_expect.
38228
38229 * elf/dl-lookup.c (undefined_msg): Remove variable.
38230 (_dl_lookup_symbol_x): Replace undefined_msg with string
38231 literal.
38232
38233 * elf/dl-lookup.c (do_lookup_unique): New function.
38234 (do_lookup_x): Move STB_GNU_UNIQUE handling code
38235 to a separate function.
38236
38237 2014-06-23 Andreas Schwab <schwab@suse.de>
38238
38239 [BZ #17079]
38240 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
38241 before reading the next line.
38242
38243 2014-06-23 Will Newton <will.newton@linaro.org>
38244
38245 * test-skeleton.c (signal_handler): Use printf and %m
38246 rather than perror. Use printf rather than fprintf to
38247 stderr. Use puts rather than fputs to stderr.
38248 (main): Likewise.
38249
38250 2014-06-22 Ludovic Courtès <ludo@gnu.org>
38251
38252 * nscd/nscd.c (thread_info_t): Remove typedef.
38253 (thread_info): Remove variable.
38254
38255 2014-06-21 Allan McRae <allan@archlinux.org>
38256
38257 * NEWS: Mention CVE-2014-4043.
38258
38259 2014-06-20 Roland McGrath <roland@hack.frob.com>
38260
38261 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
38262 * nptl/smp.h: ... here.
38263
38264 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
38265
38266 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
38267 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
38268 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
38269 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
38270
38271 * nptl/allocatestack.c: Include <stack-aliasing.h>.
38272 * nptl/stack-aliasing.h: New file.
38273 * sysdeps/i386/i686/stack-aliasing.h: New file.
38274 * sysdeps/i386/i686/nptl/Makefile: File removed.
38275 * sysdeps/x86_64/stack-aliasing.h: New file.
38276 * sysdeps/x86_64/nptl/Makefile
38277 (CFLAGS-pthread_create.c): Variable removed.
38278
38279 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
38280 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
38281 old file.
38282 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
38283 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
38284 old file.
38285
38286 2014-06-21 Joseph Myers <joseph@codesourcery.com>
38287
38288 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38289 (__ASSUME_SIGFRAME_V2): Remove macro.
38290 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
38291 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
38292 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
38293 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
38294 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
38295 Declare as function. Remove conditional macro definitions.
38296 (__default_rt_sa_restorer): Likewise.
38297 (__default_sa_restorer_v1): Remove declaration.
38298 (__default_sa_restorer_v2): Likewise.
38299 (__default_rt_sa_restorer_v1): Likewise.
38300 (__default_rt_sa_restorer_v2): Likewise.
38301 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
38302 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
38303 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
38304
38305 2014-06-20 Roland McGrath <roland@hack.frob.com>
38306
38307 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
38308 (libpthread-routines): Add sysdep.
38309 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
38310 * sysdeps/unix/sysv/linux/sparc/Versions
38311 (libpthread: GLIBC_2.3.3): New version set.
38312 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
38313 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
38314 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
38315 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
38316 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
38317 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
38318 Moved ...
38319 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
38320 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
38321 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
38322 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
38323 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
38324 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
38325 * sysdeps/sparc/nptl/sem_init.c: ... here.
38326 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
38327 * sysdeps/sparc/nptl/sem_post.c: ... here.
38328 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
38329 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
38330 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
38331 * sysdeps/sparc/nptl/sem_wait.c: ... here.
38332 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
38333 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
38334 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
38335 (libpthread-routines): Add cpu_relax.
38336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
38337 File removed.
38338 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
38339 (librt: GLIBC_2.3.3): New version set.
38340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
38341 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
38342 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
38343 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
38344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
38345 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
38346 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
38347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
38348 Moved ...
38349 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
38350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
38351 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
38352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
38353 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
38354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
38355 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
38356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
38357 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
38358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
38359 Moved ...
38360 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
38361 Update #include.
38362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
38363 Moved ...
38364 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
38365 Update #include.
38366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
38367 Moved ...
38368 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
38369 Update #include.
38370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
38371 Moved ...
38372 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
38373 Update #include.
38374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
38375 Moved ...
38376 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
38377 Update #include.
38378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
38379 Moved ...
38380 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
38381 Update #include.
38382 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
38383 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
38384 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
38385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
38386 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
38387 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
38388 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
38389 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
38390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
38391 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
38392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38393 Moved ...
38394 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
38395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
38396 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
38397 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
38398 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
38399
38400 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38401
38402 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
38403 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
38404 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38405 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
38406 * nscd/nscd.c: Likewise.
38407 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
38408 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
38409 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
38410 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
38411
38412 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
38413 <kernel-features.h>.
38414 (init_mq_netlink): Remove conditional have_sock_cloexec
38415 definitions. Remove code conditional on have_sock_cloexec < 0.
38416 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
38417 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
38418 * sysdeps/unix/sysv/linux/opensock.c: Do not include
38419 <kernel-features.h>.
38420 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
38421 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
38422
38423 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
38424
38425 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38426 Add tests for memset_chk and memset.
38427
38428 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
38429 with AVX2_Usable.
38430
38431 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
38432
38433 [BZ #16046]
38434 * elf/tst-dl-iter-static.c: New file.
38435 * elf/Makefile (tests-static): Add tst-dl-iter-static.
38436
38437 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
38438 error.
38439
38440 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38441
38442 * sysdeps/unix/sysv/linux/kernel-features.h
38443 (__ASSUME_F_GETOWN_EX): Remove macro.
38444 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
38445 <kernel-features.h>.
38446 (miss_F_GETOWN_EX): Remove variable or macro.
38447 (do_fcntl): Do not check miss_F_GETOWN_EX.
38448 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
38449
38450 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
38451 Remove macro.
38452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
38453 [!__ASSUME_AT_RANDOM]: Remove conditional code.
38454 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
38455
38456 * sysdeps/unix/sysv/linux/kernel-features.h
38457 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
38458 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
38459 [ADJ_OFFSET_SS_READ]: Make code unconditional.
38460 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
38461
38462 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
38463
38464 [BZ #17075]
38465 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
38466 Fix calculation of the symbol's value.
38467 * sysdeps/arm/tst-armtlsdescloc.c: New file.
38468 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
38469 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
38470 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
38471 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
38472 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
38473 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
38474 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
38475 (modules-names): Add `tst-armtlsdescmod',
38476 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
38477 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
38478 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38479 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
38480 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
38481 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38482 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
38483 ($(objpfx)tst-armtlsdescloc): New dependency.
38484 ($(objpfx)tst-armtlsdescextnow): Likewise.
38485 ($(objpfx)tst-armtlsdescextlazy): Likewise.
38486 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
38487 TLS scheme support.
38488 * sysdeps/arm/configure: Regenerate.
38489
38490 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38491
38492 * include/fcntl.h (__atfct_seterrno): Remove prototype.
38493 (__atfct_seterrno_2): Likewise.
38494 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
38495 <kernel-features.h>.
38496 (__ASSUME_ATFCTS): Do not undefine and redefine.
38497 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
38498 (__have_atfcts): Remove conditional definition.
38499 (__fxstatat([__NR_fstatat64]: Make code unconditional.
38500 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
38501 unreachable if [__ASSUME_ATFCTS].
38502 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
38503 not undefine and redefine.
38504 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
38505 <kernel-features.h>.
38506 (faccessat) [__NR_faccessat]: Make code unconditional.
38507 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
38508 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
38509 <kernel-features.h>.
38510 (fchmodat) [__NR_fchmodat]: Make code unconditional.
38511 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38512 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
38513 <kernel-features.h>.
38514 (fchownat) [__NR_fchownat]: Make code unconditional.
38515 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
38516 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
38517 <kernel-features.h>.
38518 (futimesat) [__NR_futimesat]: Make code unconditional.
38519 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
38520 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38521 <kernel-features.h>.
38522 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38523 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38524 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38525 <kernel-features.h>.
38526 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
38527 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38528 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
38529 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38530 <kernel-features.h>.
38531 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
38532 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38533 * sysdeps/unix/sysv/linux/linkat.c: Do not include
38534 <kernel-features.h>.
38535 (linkat) [__NR_linkat]: Make code unconditional.
38536 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38537 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
38538 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
38539 <kernel-features.h>.
38540 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
38541 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38542 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
38543 <kernel-features.h>.
38544 (mkdirat) [__NR_mkdirat]: Make code unconditional.
38545 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
38546 * sysdeps/unix/sysv/linux/openat.c: Do not include
38547 <kernel-features.h>.
38548 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
38549 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
38550 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
38551 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
38552 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
38553 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
38554 <kernel-features.h>.
38555 (readlinkat) [__NR_readlinkat]: Make code unconditional.
38556 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
38557 result of INLINE_SYSCALL directly, not via int variable.
38558 * sysdeps/unix/sysv/linux/renameat.c: Do not include
38559 <kernel-features.h>.
38560 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
38561 (renameat) [__NR_renameat]: Make code unconditional.
38562 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
38563 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
38564 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
38565 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
38566 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
38567 (__ASSUME_ATFCTS): Do not undefine and redefine.
38568 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
38569 <kernel-features.h>.
38570 (symlinkat) [__NR_symlinkat]: Make code unconditional.
38571 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38572 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
38573 <kernel-features.h>.
38574 (unlinkat) [__NR_unlinkat]: Make code unconditional.
38575 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38576 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
38577 (__ASSUME_ATFCTS): Do not undefine and redefine.
38578 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38579 <kernel-features.h>.
38580 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38581 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38582 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38583 <kernel-features.h>.
38584 (__xmknodat) [__NR_mknodat]: Make code unconditional.
38585 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38586
38587 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
38588
38589 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
38590
38591 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
38592
38593 [BZ #17069]
38594 * posix/regcomp.c (parse_reg_exp): Deallocate partially
38595 constructed tree before returning error.
38596 * posix/bug-regexp36.c: Expand test case.
38597
38598 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
38599
38600 [BZ #6803]
38601 * math/libm-test.inc (scalbln_test_date):
38602 Add errno expectations.
38603 * math/w_scalblnf.c: New File.
38604 Add wrapper which checks for setting errno to ERANGE.
38605 Add weak_alias for corresponding scalbln function.
38606 * math/w_scalbln.c: Likewise.
38607 * math/w_scalblnl.c: Likewise.
38608 * math/Makefile (libm-calls): Add w_scalbln.
38609 * sysdeps/ieee754/flt-32/s_scalblnf.c:
38610 Remove weak_alias for corresponding scalbln function.
38611 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38612 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38613 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38614 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38615 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
38616 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38617 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
38618 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38619 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
38620 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
38621 Remove long_double_symbol for scalblnl function in libm, libc.
38622 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
38623 Add wrapper which checks for setting errno to ERANGE.
38624 Add long_double_symbol for scalblnl function in libm, libc.
38625 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
38626 Remove long_double_symbol for scalblnl in libm.
38627 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
38628 Add wrapper which checks for setting errno to ERANGE.
38629 Add long_double_symbol for scalblnl function in libm.
38630 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
38631 Do not use wrapper because of own implementation.
38632
38633 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
38634
38635 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
38636 3 bytes for __pad1 for x32.
38637 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
38638
38639 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
38640 H.J. Lu <hongjiu.lu@intel.com>
38641
38642 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
38643 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
38644 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38645 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38646 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
38647
38648 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
38649
38650 [BZ #17069]
38651 * posix/regcomp.c (parse_expression): Deallocate partially
38652 constructed tree before returning error.
38653 * posix/Makefile.c (tests): Add bug-regex36.
38654 (generated): Add bug-regex36.mtrace.
38655 (tests-special): Add $(objpfx)bug-regex36-mem.out
38656 (bug-regex36-ENV): New variable.
38657 ($(objpfx)bug-regex36-mem.out): New rule.
38658 * posix/bug-regex36.c: New file.
38659
38660 2014-06-19 Will Newton <will.newton@linaro.org>
38661
38662 * malloc/malloc.c (systrim): If extra is zero then return
38663 early.
38664
38665 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38666
38667 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
38668
38669 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
38670
38671 * sysdeps/aarch64/strchr.S: New file.
38672
38673 2014-06-18 Joseph Myers <joseph@codesourcery.com>
38674
38675 [BZ #17022]
38676 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
38677 from arguments -2 or below.
38678 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38679 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
38680
38681 2014-06-18 Andreas Schwab <schwab@suse.de>
38682
38683 [BZ #17062]
38684 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
38685 of a bracket expr not to run off the end of the string.
38686 * posix/Makefile (tests): Add tst-fnmatch3.
38687 * posix/tst-fnmatch3.c: New file.
38688
38689 2014-06-18 Joseph Myers <joseph@codesourcery.com>
38690
38691 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
38692 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38693 [$(cross-compiling) = no]: Likewise.
38694 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38695 [$(cross-compiling) = no]: Likewise.
38696
38697 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38698
38699 [BZ #17031]
38700 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
38701 double, adjusted for any remainder from the high double.
38702 * math/libm-test.inc (nearbyint): Add tests.
38703 (rint): Likewise.
38704
38705 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38706
38707 * nptl/sysdeps/powerpc/Makefile: Moved ...
38708 * sysdeps/powerpc/nptl/Makefile: ... here.
38709 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
38710 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
38711 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
38712 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
38713 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
38714 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
38715 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
38716 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
38717 * nptl/sysdeps/powerpc/tls.h: Moved ...
38718 * sysdeps/powerpc/nptl/tls.h: ... here.
38719
38720 2014-06-16 Joseph Myers <joseph@codesourcery.com>
38721
38722 [BZ #16681]
38723 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
38724 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
38725 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
38726 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
38727 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
38728 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
38729 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
38730 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
38731 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
38732
38733 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
38734
38735 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38736
38737 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
38738
38739 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
38740 defined operator.
38741
38742 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
38743 $TIMEOUTFACTOR.
38744
38745 2014-06-16 Florian Weimer <fweimer@redhat.com>
38746
38747 [BZ #17058]
38748 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
38749 non-executed part of the test.
38750
38751 2014-06-16 Andreas Schwab <schwab@suse.de>
38752
38753 * string/bits/string2.h (strdup, strndup): Update feature guard.
38754
38755 2014-06-14 David S. Miller <davem@davemloft.net>
38756
38757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38758
38759 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
38760
38761 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
38762 that was previously under [RESET_PID].
38763 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
38764
38765 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
38766 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
38767 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
38768 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38769 (__libc_vfork): New strong alias.
38770 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
38771
38772 2014-06-14 Andi Kleen <ak@linux.intel.com>
38773
38774 * sysdeps/generic/elide.h: New file.
38775
38776 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38777
38778 * Makefile (installed-headers): Adjust path of pthread.h header.
38779
38780 2014-06-13 Roland McGrath <roland@hack.frob.com>
38781
38782 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
38783 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
38784 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
38785 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
38786
38787 * nptl/sysdeps/s390/Makefile: Moved ...
38788 * sysdeps/s390/nptl/Makefile: ... here.
38789 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
38790 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
38791 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
38792 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
38793 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
38794 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
38795 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
38796 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
38797 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
38798 * sysdeps/s390/nptl/pthreaddef.h: ... here.
38799 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
38800 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
38801 * nptl/sysdeps/s390/tls.h: Moved ...
38802 * sysdeps/s390/nptl/tls.h: ... here.
38803
38804 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
38805 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
38806
38807 2014-06-13 David S. Miller <davem@davemloft.net>
38808
38809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
38810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
38811 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
38812 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
38813 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
38814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
38815 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
38816 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
38817 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
38818 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
38819 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
38820 Remove RESET_PID cpp guards.
38821 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
38822 Remove RESET_PID cpp guards.
38823 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
38824
38825 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
38826
38827 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
38828 __sp to uintptr_t.
38829
38830 2014-06-13 Andi Kleen <ak@linux.intel.com>
38831
38832 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
38833 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
38834 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
38835 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
38836 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
38837 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
38838 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
38839 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
38840 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
38841 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
38842 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
38843 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
38844 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
38845 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
38846 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
38847 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
38848 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
38849 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
38850 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
38851 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
38852
38853 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
38854 (pthread_rwlock_rdlock): Add elision.
38855 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
38856 (pthread_rwlock_wrlock): Add elision.
38857 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
38858 (pthread_rwlock_trywrlock): Add elision.
38859 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
38860 (pthread_rwlock_tryrdlock): Add elision.
38861 * nptl/pthread_rwlock_unlock.c: Include elide.h.
38862 (pthread_rwlock_tryrdlock): Add elision unlock.
38863 * nptl/sysdeps/pthread/pthread.h:
38864 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
38865 (PTHREAD_RWLOCK_INITIALIZER,
38866 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
38867 Handle new elision field.
38868 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
38869 * sysdeps/arm/nptl/bits/pthreadtypes.h
38870 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38871 * sysdeps/sh/nptl/bits/pthreadtypes.h
38872 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38873 * sysdeps/tile/nptl/bits/pthreadtypes.h
38874 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38875 * sysdeps/a/nptl/bits/pthreadtypes.h
38876 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38877 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38878 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38879 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38880 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38881 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
38882 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38883 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38884 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38885 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38886 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38887 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38888 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38889 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38890 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38891 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
38892 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38893 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
38894 (elision_init): Set try_xbegin to zero when no RTM.
38895 * sysdeps/x86/nptl/bits/pthreadtypes.h
38896 (pthread_rwlock_t): Change __pad1 to __rwelision.
38897 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38898
38899 2014-06-13 Andi Kleen <ak@linux.intel.com>
38900
38901 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
38902 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
38903 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
38904 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
38905
38906 2014-06-13 Meador Inge <meadori@codesourcery.com>
38907
38908 [BZ #16996]
38909 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
38910 that the cached result has been set before returning it.
38911
38912 2014-06-12 Roland McGrath <roland@hack.frob.com>
38913
38914 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
38915 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
38916 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
38917 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
38918 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
38919 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
38920
38921 * nptl/sysdeps/sparc/Makefile: Moved ...
38922 * sysdeps/sparc/nptl/Makefile: ... here.
38923 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
38924 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
38925 * nptl/sysdeps/sparc/tls.h: Moved ...
38926 * sysdeps/sparc/nptl/tls.h: ... here.
38927 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
38928 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
38929 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
38930 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
38931 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
38932 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
38933 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
38934 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
38935 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
38936 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
38937 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
38938 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
38939 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
38940 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
38941 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
38942 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
38943 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
38944 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
38945 Update #include.
38946 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
38947 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
38948 Update #include.
38949 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
38950 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
38951 Update #include.
38952 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
38953 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
38954 Update #include.
38955
38956 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
38957
38958 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
38959 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
38960
38961 * sysdeps/pthread/posix-timer.h: Include <list.h>.
38962 (struct list_links): Type removed.
38963 (struct thread_node, struct timer_node): Replace struct list_links
38964 with struct list_head.
38965 (list_unlink_ip): Likewise.
38966 * sysdeps/pthread/timer_routines.c
38967 (timer_free_list, thread_free_list, thread_active_list): Likewise.
38968 (list_append, list_insbefore): Likewise.
38969 (list_init): Function removed.
38970 (thread_init, init_module): Use INIT_LIST_HEAD instead.
38971 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
38972 * sysdeps/pthread/Makefile: ... here, new file.
38973
38974 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
38975 * sysdeps/nptl/Implies: ... here.
38976 * sysdeps/unix/sysv/linux/Implies: Add nptl.
38977 * nptl/sysdeps/pthread/list.h: Moved ...
38978 * include/list.h: ... here.
38979 * nptl/sysdeps/pthread/createthread.c: Moved ...
38980 * nptl/createthread.c: ... here.
38981 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
38982 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
38983 * nptl/pt-longjmp.c: ... here.
38984 * nptl/sysdeps/pthread/Makefile: Moved ...
38985 * sysdeps/nptl/Makefile: ... here.
38986 * nptl/sysdeps/pthread/Subdirs: Moved ...
38987 * sysdeps/nptl/Subdirs: ... here.
38988 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
38989 * sysdeps/nptl/aio_misc.h: ... here.
38990 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
38991 * sysdeps/nptl/bits/libc-lock.h: ... here.
38992 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
38993 * sysdeps/nptl/bits/libc-lockP.h: ... here.
38994 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
38995 * sysdeps/nptl/bits/stdio-lock.h: ... here.
38996 * nptl/sysdeps/pthread/configure: Moved ...
38997 * sysdeps/nptl/configure: ... here.
38998 * nptl/sysdeps/pthread/configure.ac: Moved ...
38999 * sysdeps/nptl/configure.ac: ... here.
39000 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39001 * sysdeps/nptl/gai_misc.h: ... here.
39002 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39003 * sysdeps/nptl/librt-cancellation.c: ... here.
39004 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39005 * sysdeps/nptl/malloc-machine.h: ... here.
39006 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39007 * sysdeps/nptl/pthread-functions.h: ... here.
39008 * nptl/sysdeps/pthread/pthread.h: Moved ...
39009 * sysdeps/nptl/pthread.h: ... here.
39010 * nptl/sysdeps/pthread/setxid.h: Moved ...
39011 * sysdeps/nptl/setxid.h: ... here.
39012 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39013 * sysdeps/nptl/sigfillset.c: ... here.
39014 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39015 * sysdeps/nptl/tcb-offsets.h: ... here.
39016 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39017 * sysdeps/nptl/tst-mqueue8x.c: ... here.
39018 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39019 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39020 * nptl/sysdeps/pthread/allocalim.h: Moved ...
39021 * sysdeps/pthread/allocalim.h: ... here.
39022 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39023 * sysdeps/pthread/bits/sigthread.h: ... here.
39024 * nptl/sysdeps/pthread/flockfile.c: Moved ...
39025 * sysdeps/pthread/flockfile.c: ... here.
39026 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39027 * sysdeps/pthread/ftrylockfile.c: ... here.
39028 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39029 * sysdeps/pthread/funlockfile.c: ... here.
39030 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39031 * sysdeps/pthread/posix-timer.h: ... here.
39032 * nptl/sysdeps/pthread/timer_create.c: Moved ...
39033 * sysdeps/pthread/timer_create.c: ... here.
39034 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39035 * sysdeps/pthread/timer_delete.c: ... here.
39036 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39037 * sysdeps/pthread/timer_getoverr.c: ... here.
39038 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39039 * sysdeps/pthread/timer_gettime.c: ... here.
39040 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39041 * sysdeps/pthread/timer_routines.c: ... here.
39042 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39043 * sysdeps/pthread/timer_settime.c: ... here.
39044 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39045 * sysdeps/pthread/tst-timer.c: ... here.
39046 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39047 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39048
39049 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39050 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39051
39052 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39053 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39054 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39055 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39056 Update #include target.
39057 * nptl/sysdeps/i386/i686/Makefile: Moved ...
39058 * sysdeps/i386/i686/nptl/Makefile: ... here.
39059 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39060 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39061 Update #include target.
39062 * nptl/sysdeps/i386/i686/tls.h: Moved ...
39063 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
39064 * nptl/sysdeps/i386/Makefile: Moved ...
39065 * sysdeps/i386/nptl/Makefile: ... here.
39066 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39067 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39068 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39069 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39070 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39071 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39072 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39073 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39074 * sysdeps/i386/nptl/pthreaddef.h: ... here.
39075 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39076 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39077 * nptl/sysdeps/i386/tls.h: Moved ...
39078 * sysdeps/i386/nptl/tls.h: ... here.
39079
39080 * sysdeps/sh/Makefile [$(subdir) = csu]
39081 (gen-as-const-headers): Add tcb-offsets.sym.
39082 * nptl/sysdeps/sh/Makefile: File removed.
39083 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39084 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39085 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39086 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39087 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39088 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39089 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39090 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39091 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39092 * sysdeps/sh/nptl/pthreaddef.h: ... here.
39093 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39094 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39095 * nptl/sysdeps/sh/tls.h: Moved ...
39096 * sysdeps/sh/nptl/tls.h: ... here.
39097 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39098 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39099 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39100 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39101 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39102 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39103 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39104 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39105 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39106 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39107 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39108 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39109 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39110 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39111 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39112 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39113 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39114 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39115 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39116 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39117 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39118 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39119 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39120 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39121 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39122 Moved ...
39123 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39124 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39125 Moved ...
39126 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39127 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39128 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39129 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39130 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39131 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39132 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39133 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39134 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39135 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39136 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39137 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39138 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39139 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39140 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39141 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39142 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39143 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39144 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39145
39146 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39147
39148 * posix/spawn_faction_addopen.c: Include string.h.
39149
39150 2014-06-11 Roland McGrath <roland@hack.frob.com>
39151
39152 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39153 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39154 * nptl/sysdeps/x86_64/Makefile: Moved ...
39155 * sysdeps/x86_64/nptl/Makefile: ... here.
39156 * nptl/sysdeps/x86_64/configure: Moved ...
39157 * sysdeps/x86_64/nptl/configure: ... here.
39158 * nptl/sysdeps/x86_64/configure.ac: Moved ...
39159 * sysdeps/x86_64/nptl/configure.ac: ... here.
39160 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39161 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39162 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39163 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39164 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39165 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39166 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39167 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39168 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39169 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39170 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39171 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39172 * nptl/sysdeps/x86_64/tls.h: Moved ...
39173 * sysdeps/x86_64/nptl/tls.h: ... here.
39174 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39175 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39176 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39177 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39178
39179 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39180
39181 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39182
39183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39184
39185 2014-06-11 Joseph Myers <joseph@codesourcery.com>
39186
39187 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39188 type.
39189 [POSIX] (off_t): Likewise.
39190 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
39191 [POSIX] (S_ISBLK): Require macro.
39192 [POSIX] (S_ISCHR): Likewise.
39193 [POSIX] (S_ISDIR): Likewise.
39194 [POSIX] (S_ISFIFO): Likewise.
39195 [POSIX] (S_ISREG): Likewise.
39196 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
39197 optional-macro.
39198 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
39199 type.
39200 [POSIX] (time_t): Likewise.
39201 [POSIX] (timer_t): Likewise.
39202
39203 2014-06-11 Florian Weimer <fweimer@redhat.com>
39204
39205 [BZ #17048]
39206 * posix/spawn_int.h (struct __spawn_action): Make the path string
39207 non-const to support deallocation.
39208 * posix/spawn_faction_addopen.c
39209 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
39210 * posix/spawn_faction_destroy.c
39211 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
39212 path in all spawn_do_open actions.
39213 * posix/tst-spawn.c (do_test): Exercise the copy operation in
39214 posix_spawn_file_actions_addopen.
39215
39216 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
39217
39218 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
39219 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
39220 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
39221 conditional code always true.
39222 (__libc_vfork): New alias.
39223
39224 2014-06-11 Roland McGrath <roland@hack.frob.com>
39225
39226 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39227 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
39228
39229 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
39230
39231 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39232 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
39233
39234 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39235 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
39236
39237 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39238 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
39239
39240 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
39241
39242 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
39243 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
39244 multiarch strcmp for PPC64.
39245 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
39246 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
39247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
39248 multiarch optimizations.
39249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39250 (__libc_ifunc_impl_list): Likewise.
39251
39252 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39253
39254 * benchtests/scripts/validate_benchout.py: New script.
39255 * benchtests/Makefile (bench-func): Call it.
39256 * benchtests/scripts/benchout.schema.json: New file.
39257
39258 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
39259
39260 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
39261 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
39262 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
39263 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
39264 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
39265 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
39266 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
39267 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
39268 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
39269 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
39270 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
39271 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
39272 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
39273 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
39274 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
39275 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
39276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
39277 Moved ...
39278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
39279 ... here.
39280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
39281 Moved ...
39282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
39283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
39284 Moved ...
39285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
39286 ... here.
39287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
39288 Moved ...
39289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
39290 ... here.
39291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
39292 Moved ...
39293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
39294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
39295 Moved ...
39296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
39297 ... here.
39298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
39299 Moved ...
39300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
39301 ... here.
39302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
39303 Moved ...
39304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
39305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
39306 Moved ...
39307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
39308 ... here.
39309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
39310 Moved ...
39311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
39312 ... here.
39313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
39314 Moved ...
39315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
39316 ... here.
39317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
39318 Moved ...
39319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
39320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
39321 Moved ...
39322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
39323 ... here.
39324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
39325 Moved ...
39326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
39327 ... here.
39328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
39329 Moved ...
39330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
39331 ... here.
39332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
39333 Moved ...
39334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
39335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
39336 Moved ...
39337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
39338 ... here.
39339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
39340 Moved ...
39341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
39342 ... here.
39343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
39344 Moved ...
39345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
39346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
39347 Moved ...
39348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
39349 ... here.
39350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
39351 Moved ...
39352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
39353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
39354 Moved ...
39355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
39356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
39357 Moved ...
39358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
39359 ... here.
39360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
39361 Moved ...
39362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
39363 ... here.
39364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
39365 Moved ...
39366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
39367 ... here.
39368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
39369 Moved ...
39370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
39371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
39372 Moved ...
39373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
39374 ... here.
39375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
39376 Moved ...
39377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
39378 ... here.
39379 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
39380 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
39381 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
39382 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
39383 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
39384 Moved ...
39385 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
39386 ... here.
39387 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
39388 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
39389 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
39390 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
39391 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
39392 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
39393 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
39394 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
39395 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
39396 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
39397 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
39398 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
39399 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
39400 Moved ...
39401 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
39402 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
39403 Moved ...
39404 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
39405 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
39406 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
39407 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
39408 Moved ...
39409 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
39410 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
39411 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
39412 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
39413 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
39414 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
39415 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
39416
39417 2014-06-10 Wilco <wdijkstr@arm.com>
39418
39419 * math/test-fenv-return.c: New file.
39420 * math/Makefile: Add new test test-fenv-return.
39421
39422 2014-06-10 Joseph Myers <joseph@codesourcery.com>
39423
39424 [BZ #17042]
39425 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
39426 when x - 1 is zero.
39427 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
39428 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
39429 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
39430 0.0L for an argument of 1.0L.
39431 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
39432 Likewise.
39433 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
39434 value when x - 1 is zero.
39435 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
39436 * sysdeps/i386/fpu/libm-test-ulps: Update.
39437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39438
39439 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
39440
39441 [BZ #15119]
39442 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
39443
39444 2014-06-09 Roland McGrath <roland@hack.frob.com>
39445
39446 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
39447 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
39448
39449 2014-06-09 Roland McGrath <roland@hack.frob.com>
39450
39451 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39452 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
39453
39454 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39455 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
39456
39457 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39458 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
39459
39460 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39461 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
39462
39463 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
39464 if not already defined.
39465 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
39466 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
39467 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
39468 (TLS_INIT_TP): Use it.
39469 (TLS_DEFINE_INIT_TP): New macro.
39470 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
39471
39472 2014-06-09 Joseph Myers <joseph@codesourcery.com>
39473
39474 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
39475 constant.
39476 [POSIX] (IXANY): Likewise.
39477 [POSIX] (OLCUC): Likewise.
39478 [POSIX || POSIX2008] (CBAUD): Do not allow.
39479 [POSIX || POSIX2008] (DEFECHO): Likewise.
39480 [POSIX || POSIX2008] (ECHOCTL): Likewise.
39481 [POSIX || POSIX2008] (ECHOKE): Likewise.
39482 [POSIX || POSIX2008] (ECHOPRT): Likewise.
39483 [POSIX || POSIX2008] (EXTA): Likewise.
39484 [POSIX || POSIX2008] (EXTB): Likewise.
39485 [POSIX || POSIX2008] (FLUSHO): Likewise.
39486 [POSIX || POSIX2008] (LOBLK): Likewise.
39487 [POSIX || POSIX2008] (PENDIN): Likewise.
39488 [POSIX || POSIX2008] (SWTCH): Likewise.
39489 [POSIX || POSIX2008] (VDISCARD): Likewise.
39490 [POSIX || POSIX2008] (VDSUSP): Likewise.
39491 [POSIX || POSIX2008] (VLNEXT): Likewise.
39492 [POSIX || POSIX2008] (VREPRINT): Likewise.
39493 [POSIX || POSIX2008] (VSTATUS): Likewise.
39494 [POSIX || POSIX2008] (VWERASE): Likewise.
39495 (B*): Change to B[0123456789]*.
39496 * conform/data/time.h-data [POSIX || UNIX98]
39497 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
39498 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39499 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
39500 [POSIX] (tm_*): Do not allow.
39501
39502 2014-06-07 Joseph Myers <joseph@codesourcery.com>
39503
39504 * Makefile (install): Don't set LANGUAGE.
39505 * Makefile.in (install): Likewise.
39506 * assert/Makefile (test-assert-ENV): Remove variable.
39507 (test-assert-perr-ENV): Likewise.
39508 * elf/Makefile (neededtest4-ENV): Likewise.
39509 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39510 [$(cross-compiling) = no]: Don't set LANGUAGE.
39511 * io/ftwtest-sh (LANG): Remove variable.
39512 * libio/Makefile (tst-widetext-ENV): Likewise.
39513 * manual/install.texi (Running make install): Don't refer to
39514 environment settings for make install.
39515 * INSTALL: Regenerated.
39516 * nptl/tst-tls6.sh: Don't set LANG.
39517 * posix/globtest.sh (LANG): Remove variable.
39518 * string/Makefile (tester-ENV): Likewise.
39519 (inl-tester-ENV): Likewise.
39520 (noinl-tester-ENV): Likewise.
39521 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39522 [$(cross-compiling) = no]: Don't set LANGUAGE.
39523 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
39524 without explicit environment settings.
39525
39526 2014-06-06 Roland McGrath <roland@hack.frob.com>
39527
39528 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
39529 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
39530 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
39531 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
39532
39533 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
39534
39535 * crypt/crypt-private.h [DOS]: Add some includes taken from the
39536 other files in the crypt directory.
39537 * crypt/crypt.c: Remove duplicate includes.
39538 * crypt/crypt-entry.c: Likewise.
39539 * crypt/crypt_util.c: Likewise.
39540
39541 2014-06-06 Joseph Myers <joseph@codesourcery.com>
39542
39543 * Makeconfig (run-program-env): New variable.
39544 (run-program-prefix-before-env): Likewise.
39545 (run-program-prefix-after-env): Likewise.
39546 (run-program-prefix): Define in terms of new variables.
39547 (built-program-cmd-before-env): New variable.
39548 (built-program-cmd-after-env): Likewise.
39549 (built-program-cmd): Define in terms of new variables.
39550 (test-program-prefix-before-env): New variable.
39551 (test-program-prefix-after-env): Likewise.
39552 (test-program-prefix): Define in terms of new variables.
39553 (test-program-cmd-before-env): New variable.
39554 (test-program-cmd-after-env): Likewise.
39555 (test-program-cmd): Define in terms of new variables.
39556 * Rules (make-test-out): Use $(run-program-env).
39557 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
39558 (help): Do not mention environment variables. Mention
39559 --timeoutfactor option.
39560 (timeoutfactor): New variable.
39561 (blacklist_exports): Remove function.
39562 (exports): Remove variable.
39563 (command): Do not include ${exports}.
39564 * manual/install.texi (Configuring and compiling): Do not mention
39565 test wrappers preserving environment variables. Mention that last
39566 assignment to a variable must take precedence.
39567 * INSTALL: Regenerated.
39568 * benchtests/Makefile (run-bench): Use $(run-program-env).
39569 * catgets/Makefile ($(objpfx)test1.cat): Use
39570 $(built-program-cmd-before-env), $(run-program-env) and
39571 $(built-program-cmd-after-env).
39572 ($(objpfx)test2.cat): Do not specify environment variables
39573 explicitly.
39574 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
39575 $(run-program-env) and $(built-program-cmd-after-env).
39576 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
39577 $(run-program-env) and $(test-program-cmd-after-env).
39578 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
39579 explicitly.
39580 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
39581 run_program_env and test_program_cmd_after_env arguments.
39582 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
39583 * elf/tst-pathopt.sh: Use run_program_env argument.
39584 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
39585 $(test-wrapper-env) and $(run-program-env).
39586 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
39587 run_program_env arguments.
39588 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
39589 * intl/Makefile ($(objpfx)tst-gettext.out): Use
39590 $(test-program-prefix-before-env), $(run-program-env) and
39591 $(test-program-prefix-after-env).
39592 ($(objpfx)tst-gettext2.out): Likewise.
39593 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
39594 run_program_env and test_program_prefix_after_env arguments.
39595 * intl/tst-gettext2.sh: Likewise.
39596 * intl/tst-gettext4.sh: Do not set environment variables
39597 explicitly.
39598 * intl/tst-gettext6.sh: Likewise.
39599 * intl/tst-translit.sh: Likewise.
39600 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
39601 $(test-program-prefix-before-env), $(run-program-env) and
39602 $(test-program-prefix-after-env).
39603 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
39604 run_program_env and test_program_prefix_after_env arguments.
39605 * math/Makefile (run-regen-ulps): Use $(run-program-env).
39606 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
39607 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
39608 explicitly with each use of ${test_wrapper_env}.
39609 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
39610 $(test-program-prefix-before-env), $(run-program-env) and
39611 $(test-program-prefix-after-env).
39612 * posix/tst-getconf.sh: Do not set environment variables
39613 explicitly.
39614 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
39615 run_program_env and test_program_prefix_after_env arguments.
39616 * stdio-common/tst-printf.sh: Do not set environment variables
39617 explicitly.
39618 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
39619 $(test-program-prefix-before-env), $(run-program-env) and
39620 $(test-program-prefix-after-env).
39621 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
39622 run_program_env and test_program_prefix_after_env arguments.
39623 Split $test calls into $test_pre and $test.
39624 * timezone/Makefile (build-testdata): Use
39625 $(built-program-cmd-before-env), $(run-program-env) and
39626 $(built-program-cmd-after-env).
39627
39628 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39629
39630 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
39631 strlen for non SHARED builds.
39632
39633 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39634
39635 * nptl/allocatestack.c (check_list): Inlined function...
39636 (__reclaim_stacks): ... here.
39637
39638 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
39639
39640 [BZ #15698]
39641 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39642 memory overrun.
39643
39644 2014-06-05 Joseph Myers <joseph@codesourcery.com>
39645
39646 * Rules (make-test-out): Include
39647 LOCPATH=$(common-objpfx)localedata in default environment.
39648 * debug/Makefile (tst-chk1-ENV): Remove variable.
39649 (tst-chk2-ENV): Likewise.
39650 (tst-chk3-ENV): Likewise.
39651 (tst-chk4-ENV): Likewise.
39652 (tst-chk5-ENV): Likewise.
39653 (tst-chk6-ENV): Likewise.
39654 (tst-lfschk1-ENV): Likewise.
39655 (tst-lfschk2-ENV): Likewise.
39656 (tst-lfschk3-ENV): Likewise.
39657 (tst-lfschk4-ENV): Likewise.
39658 (tst-lfschk5-ENV): Likewise.
39659 (tst-lfschk6-ENV): Likewise.
39660 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
39661 (tst-iconv7-ENV): Likewise.
39662 * intl/Makefile (LOCPATH-ENV): Likewise.
39663 (tst-codeset-ENV): Likewise.
39664 (tst-gettext3-ENV): Likewise.
39665 (tst-gettext5-ENV): Likewise.
39666 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
39667 (tst-fopenloc-ENV): Likewise.
39668 (tst-fgetws-ENV): Remove variable.
39669 (tst-ungetwc1-ENV): Likewise.
39670 (tst-ungetwc2-ENV): Likewise.
39671 (bug-ungetwc2-ENV): Likewise.
39672 (tst-swscanf-ENV): Likewise.
39673 (bug-ftell-ENV): Likewise.
39674 (tst-fgetwc-ENV): Likewise.
39675 (tst-fseek-ENV): Likewise.
39676 (tst-ftell-partial-wide-ENV): Likewise.
39677 (tst-ftell-active-handler-ENV): Likewise.
39678 (tst-ftell-append-ENV): Likewise.
39679 * posix/Makefile (tst-fnmatch-ENV): Likewise.
39680 (tst-regexloc-ENV): Likewise.
39681 (bug-regex1-ENV): Likewise.
39682 (tst-regex-ENV): Likewise.
39683 (tst-regex2-ENV): Likewise.
39684 (bug-regex5-ENV): Likewise.
39685 (bug-regex6-ENV): Likewise.
39686 (bug-regex17-ENV): Likewise.
39687 (bug-regex18-ENV): Likewise.
39688 (bug-regex19-ENV): Likewise.
39689 (bug-regex20-ENV): Likewise.
39690 (bug-regex22-ENV): Likewise.
39691 (bug-regex23-ENV): Likewise.
39692 (bug-regex25-ENV): Likewise.
39693 (bug-regex26-ENV): Likewise.
39694 (bug-regex30-ENV): Likewise.
39695 (bug-regex32-ENV): Likewise.
39696 (bug-regex33-ENV): Likewise.
39697 (bug-regex34-ENV): Likewise.
39698 (bug-regex35-ENV): Likewise.
39699 (tst-rxspencer-ENV): Likewise.
39700 (tst-rxspencer-no-utf8-ENV): Likewise.
39701 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
39702 (tst-sscanf-ENV): Likewise.
39703 (tst-swprintf-ENV): Likewise.
39704 (tst-swscanf-ENV): Likewise.
39705 (test-vfprintf-ENV): Likewise.
39706 (scanf13-ENV): Likewise.
39707 (bug14-ENV): Likewise.
39708 (tst-grouping-ENV): Likewise.
39709 * stdlib/Makefile (tst-strtod-ENV): Likewise.
39710 (tst-strtod3-ENV): Likewise.
39711 (tst-strtod4-ENV): Likewise.
39712 (tst-strtod5-ENV): Likewise.
39713 (testmb2-ENV): Likewise./
39714 * string/Makefile (tst-strxfrm-ENV): Likewise.
39715 (tst-strxfrm2-ENV): Likewise.
39716 (bug-strcoll1-ENV): Likewise.
39717 (test-strcasecmp-ENV): Likewise.
39718 (test-strncasecmp-ENV): Likewise.
39719 * time/Makefile (tst-strptime-ENV): Likewise.
39720 (tst-ftime_l-ENV): Likewise.
39721 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
39722 (tst-mbrtowc-ENV): Likewise.
39723 (tst-wcrtomb-ENV): Likewise.
39724 (tst-mbrtowc2-ENV): Likewise.
39725 (tst-c16c32-1-ENV): Likewise.
39726 (tst-mbsnrtowcs-ENV): Likewise.
39727
39728 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
39729
39730 * manual/resource.texi (How to get information about the memory
39731 subsystem?): Fix typo.
39732 Reported by Peon de la Parra Ivan <peon@keba.com>
39733
39734 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
39735
39736 [BZ #16882]
39737 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
39738 (pthread_spin_lock): Branch out of spin loop to proper location.
39739 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
39740 (pthread_spin_lock): Likewise.
39741
39742 * nptl/tst-spin4.c: New test.
39743 * nptl/Makefile (tests): Add tst-spin4.
39744
39745 2014-06-03 Andreas Schwab <schwab@suse.de>
39746
39747 [BZ #15946]
39748 * resolv/res_send.c (send_dg): Reload file descriptor after
39749 calling reopen.
39750
39751 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
39752
39753 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39754
39755 2014-06-03 Richard Henderson <rth@redhat.com>
39756
39757 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
39758 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
39759 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
39760 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
39761 in the SAVE_PID block.
39762 (__libc_vfork): New alias.
39763 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
39764
39765 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
39766 child in registers, not on the stack. Remove RESET_PID conditionals.
39767 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
39768
39769 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
39770
39771 * sysdeps/aarch64/libm-test-ulps: Regenerate.
39772
39773 2014-06-03 Wilco <wdijkstr@arm.com>
39774
39775 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
39776 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
39777 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39778 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
39779 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
39780 Likewise.
39781
39782 2014-06-03 Wilco <wdijkstr@arm.com>
39783
39784 * sysdeps/aarch64/fpu/math_private.h
39785 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
39786 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
39787 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
39788 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39789 Fix declarations.
39790
39791 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
39792
39793 * crypt/crypt-private.h: Include ufc-crypt.h.
39794 (__b64_from_24bit): Declare extern.
39795 * crypt/crypt_util.c(__b64_from_24bit): New function.
39796 (b64t): New static const variable.
39797 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
39798 (b64t): Remove variable.
39799 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
39800 * crypt/sha256-crypt.c: Include crypt-private.h.
39801 (b64t): Remove variable.
39802 (__sha256_crypt_r): Remove b64_from_24bit and replace
39803 with __b64_from_24bit.
39804 * crypt/sha512-crypt.c: Likewise.
39805
39806 2014-06-02 Roland McGrath <roland@hack.frob.com>
39807
39808 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
39809 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
39810 Label the code __libc_vfork rather than __vfork.
39811 [!NOT_IN_libc] (vfork): Define as weak alias.
39812 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
39813 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
39814 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
39815
39816 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39817
39818 * malloc/malloc.c (malloc_info): Fix format specifier for
39819 n_mmaps.
39820
39821 2014-06-02 Wilco <wdijkstr@arm.com>
39822
39823 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
39824 FPCR write.
39825
39826 2014-06-02 Wilco <wdijkstr@arm.com>
39827
39828 [BZ #17009]
39829 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
39830 Rewrite to reduce FPCR/FPSR accesses.
39831
39832 2014-06-01 David S. Miller <davem@davemloft.net>
39833
39834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39835
39836 2014-05-31 David S. Miller <davem@davemloft.net>
39837
39838 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
39839 to occur in round to nearest mode when |x| >= 2.0
39840
39841 2014-05-30 Richard Henderson <rth@twiddle.net>
39842
39843 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
39844 (PSEUDO_RET_NOERRNO): Remove.
39845 (ret): Don't redefine.
39846 (ret_NOERRNO): Define in terms of ret.
39847 (ret_ERRVAL): Likewise.
39848
39849 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
39850 use of PSEUDO_RET; perform the error check directly.
39851
39852 2014-05-30 Marko Myllynen <myllynen@redhat.com>
39853
39854 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
39855 with __int128_t.
39856
39857 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39858
39859 * malloc/malloc (malloc_info): Fix formatting.
39860
39861 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39862 Roland McGrath <roland@hack.frob.com>
39863
39864 * malloc/malloc (malloc_info): Also print mmapped statistics.
39865
39866 2014-05-30 Roland McGrath <roland@hack.frob.com>
39867
39868 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
39869 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
39870
39871 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
39872
39873 * malloc/malloc.c (malloc_info): Inline mi_arena.
39874
39875 2014-05-29 Richard Henderson <rth@twiddle.net>
39876
39877 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
39878 Remove comma before expanding ASM_ARGS_##nr.
39879 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
39880 Make _x0 a strict output; make _x8 a strict input; adjust expansion
39881 of ASM_ARGS_##nr.
39882 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
39883 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
39884 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
39885 (ASM_ARGS_1): Add leading comma.
39886
39887 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
39888 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
39889 to __errno_location.
39890 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
39891 Remove the expected plt for __errno_location.
39892
39893 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39894 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
39895 call to __read_tp.
39896
39897 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39898 Always allocate 64 bytes of stack frame. Use ldp/stp to create
39899 it and break it down.
39900 (DOCARGS_0, DOCARGS_1): Do nothing.
39901 (DOCARGS_2): Update to store into the new stack frame.
39902 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
39903 (UNDOCARGS_1): Update to restore from the new stack frame.
39904 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
39905 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
39906
39907 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39908 (SINGLE_THREAD_P): New parameter for result regno.
39909 (PSEUDO): Update to match; use cbz instead of beq.
39910
39911 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39912 Use ENTRY to define the _nocancel entry point. Share the syscall
39913 and syscall error check paths with the cancel path.
39914 (PSEUDO_END): New.
39915
39916 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
39917 whitespace; tabs before and after asm mnemonics.
39918
39919 2014-05-29 Eric Wong <normalperson@yhbt.net>
39920
39921 [BZ #15132]
39922 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39923 Call fstat64 or stat64 internally, depending on arguments passed.
39924 Replace stat buffer argument with file descriptor argument.
39925 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
39926 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
39927 Pass fd to __internal_statvfs instead of calling fstat64.
39928 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
39929 Pass fd to __internal_statvfs64 instead of calling fstat64.
39930 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
39931 Pass -1 to __internal_statvfs instead of calling stat64.
39932 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
39933 Pass -1 to __internal_statvfs64 instead of calling stat64.
39934
39935 2014-05-28 Roland McGrath <roland@hack.frob.com>
39936
39937 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
39938 that was previously under [RESET_PID].
39939 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
39940
39941 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
39942 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
39943
39944 2014-05-27 Roland McGrath <roland@hack.frob.com>
39945
39946 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
39947
39948 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
39949 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
39950
39951 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
39952
39953 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
39954
39955 2014-05-27 Andreas Schwab <schwab@suse.de>
39956
39957 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
39958 TLS_INIT_TP macro.
39959 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
39960 * elf/rtld.c (init_tls, dl_main): Likewise.
39961 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
39962 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
39963 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
39964 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
39965 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
39966 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
39967 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
39968 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
39969 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
39970 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
39971 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
39972 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
39973 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
39974 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
39975 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
39976 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
39977 * sysdeps/generic/tls.h: Update description.
39978
39979 2014-05-27 Will Newton <will.newton@linaro.org>
39980
39981 [BZ #16990]
39982 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
39983 and restore r2 rather than just restoring.
39984
39985 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39986
39987 [BZ #16724]
39988 * libio/tst-ftell-append.c: New test case.
39989 * libio/Makefile (tests): Add test case.
39990 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
39991 append mode.
39992 * libio/wfileops.c (do_ftell_wide): Likewise.
39993
39994 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39995
39996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39997
39998 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
39999 ...
40000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40002 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40003 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40004 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40005 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40006 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40007 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40008 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40009 Moved ...
40010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40011 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40012 Moved ...
40013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40014 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40015 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40016 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40017 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40018 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40019 ...
40020 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40021 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40022 Moved ...
40023 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40024 here.
40025 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40026 ...
40027 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40028 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40029 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40030
40031 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40032 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40033 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40034 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40035
40036 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40037 merge into ...
40038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40039 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40040 ...
40041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40042 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40043 ...
40044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40045 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40046 Moved ...
40047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40048 here.
40049 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40050 Moved ...
40051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40052 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40053 Moved ...
40054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40055
40056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40057 conditional [RESET_PID].
40058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40059 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40060 removed.
40061 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40062 removed.
40063
40064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40065 <tcb-offsets.h>.
40066 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40067 (__libc_vfork): New strong alias.
40068 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40069 removed.
40070 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40071 Removed.
40072
40073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40074 <tcb-offsets.h>.
40075 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40076 (__libc_vfork): New strong alias.
40077 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40078 removed.
40079 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40080 removed.
40081
40082 2014-05-26 Carlos O'Donell <carlos@redhat.com>
40083
40084 * malloc/malloc.c (mi_arena): New function.
40085 (malloc_info): Remove nested function mi_arena. Call non-nosted
40086 function mi_arena.
40087
40088 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40089
40090 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40091 by insrwi.
40092 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40093 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40094 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40095 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40096 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40097 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40098 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40099
40100 2014-05-26 Andreas Schwab <schwab@suse.de>
40101
40102 [BZ #16984]
40103 * locale/programs/repertoire.c (repertoire_read): Add slash
40104 between I18NPATH element and file name.
40105 * locale/programs/locfile.c (locfile_read): Likewise.
40106
40107 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40108
40109 * nptl/pthread_mutexattr_settype.c
40110 (__pthread_mutexattr_settype):
40111 Disable lock elision for PTHREAD_MUTEX_NORMAL.
40112
40113 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40114
40115 * nptl/tst-mutex5 (do_test):
40116 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40117
40118 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40119
40120 * benchtests/README: Document 'init' directive.
40121 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40122 BENCH_INIT.
40123 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40124 (parse_file): Recognize 'init' directive.
40125
40126 2014-05-26 Kyle McMartin <kyle@redhat.com>
40127
40128 [BZ #16796]
40129 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40130 alignment of struct pthread.
40131
40132 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40133
40134 [BZ #16878]
40135 * nscd/netgroupcache.c (addgetnetgrentX): Look for
40136 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40137 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40138 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40139
40140 2014-05-25 Richard Henderson <rth@twiddle.net>
40141
40142 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40143 (SINGLE_THREAD_P_PIC): Remove.
40144 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40145 (SINGLE_THREAD_P_PIC): Remove.
40146
40147 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40148 branch to syscall error ...
40149 (PSEUDO): ... here.
40150 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40151 from __local_syscall_error to .Lsyscall_error.
40152 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40153 (SYSCALL_ERROR): Update label name.
40154
40155 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40156 Do not use DOARGS/UNDOARGS.
40157 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40158 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40159 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40160 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40161 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40162
40163 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40164 block comment.
40165
40166 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40167 define if !NOT_IN_libc.
40168 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40169 define with non-default symbol versions.
40170
40171 2014-05-23 Richard Henderson <rth@twiddle.net>
40172
40173 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40174 (vfork, __vfork): Define via compat_symbol.
40175
40176 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40177 [!HAVE_IFUNC] (vfork_compat): Remove.
40178 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40179
40180 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40181
40182 [BZ #16978]
40183 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40184 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40185 variable.
40186
40187 2014-05-23 Richard Henderson <rth@twiddle.net>
40188
40189 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
40190 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
40191 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40192 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
40193
40194 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
40195 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
40196 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
40197 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
40198 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
40199 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40200 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
40201 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
40202 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40203 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
40204 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
40205 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
40206 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
40207 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
40208 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
40209 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
40210 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
40211 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
40212 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40213 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
40214 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
40215 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
40216 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
40217 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
40218 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
40219 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
40220 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
40221 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
40222 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
40223 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
40224 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
40225 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
40226 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
40227 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
40228 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
40229 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
40230 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
40231 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
40232 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
40233 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
40234 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
40235 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
40236 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
40237 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
40238 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
40239 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
40240 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
40241 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
40242 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
40243 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
40244 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
40245 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
40246 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
40247 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
40248 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
40249 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
40250
40251 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
40252 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
40253 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
40254 before exiting on error.
40255 (__libc_vfork): New strong alias.
40256 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
40257 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
40258
40259 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
40260 that was previously under [RESET_PID].
40261 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
40262
40263 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
40264
40265 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40266
40267 [BZ #16977]
40268 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
40269 value when x - 1 is zero.
40270 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
40271 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
40272 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
40273 0.0L for an argument of 1.0L.
40274 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
40275 Likewise.
40276 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
40277 value when x - 1 is zero.
40278 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
40279 * sysdeps/i386/fpu/libm-test-ulps: Update.
40280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40281
40282 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
40283
40284 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
40285 alphasort and versionsort.
40286
40287 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40288
40289 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
40290 macro.
40291 [copysignf]: Likewise.
40292
40293 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40294
40295 * crypt/md5-crypt.c: Fix formatting.
40296
40297 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40298
40299 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
40300 (b64_from_24bit): New function.
40301
40302 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40303
40304 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
40305 libc_hidden_builtin_def to ifunc.
40306 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40307 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
40308
40309 2014-05-21 Roland McGrath <roland@hack.frob.com>
40310
40311 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
40312 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
40313
40314 2014-05-21 Joseph Myers <joseph@codesourcery.com>
40315
40316 * nscd/Depend (linuxthreads): Remove.
40317 (nptl): Add.
40318 * resolv/Depend (linuxthreads): Remove.
40319 * rt/Depend (linuxthreads): Remove.
40320
40321 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
40322 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
40323 $(common-objpfx)elf/.
40324 (link-libc-before-gnulib): Likewise.
40325 (elfobjdir): Remove variable.
40326 * Makefile (install): Use $(elf-objpfx) instead of
40327 $(common-objpfx)elf/.
40328 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
40329 $(elfobjdir)/.
40330 (link-libc-deps): Likewise.
40331 ($(common-objpfx)libc.so): Likewise.
40332 ($(common-objpfx)linkobj/libc.so): Likewise.
40333 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
40334 instead of $(common-objpfx)elf/.
40335 (symbolic-link-list): Likewise.
40336 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40337 [$(cross-compiling) = no]: Likewise.
40338 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
40339 $(elfobjdir)/.
40340 (static-gnulib-arch): Likewise.
40341 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40342 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
40343 $(common-objpfx)elf/.
40344
40345 2014-05-21 Richard Henderson <rth@redhat.com>
40346
40347 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40348 (SINGLE_THREAD_P): Use the correct width load. Fold
40349 into the ldr offset.
40350
40351 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
40352 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
40353
40354 2014-05-20 Joseph Myers <joseph@codesourcery.com>
40355
40356 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
40357 (libgcc_s_resume): Use __attribute_used__.
40358 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
40359 Likewise.
40360
40361 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40362
40363 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
40364 optimization when used with float constants.
40365
40366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40367
40368 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
40369
40370 [BZ #16915]
40371 * locale/nl_langinfo_l.c: Make direct reference to every
40372 _nl_current_CATEGORY symbol.
40373 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
40374 (tests-static): Add tst-langinfo-static.
40375 (tests-special): Add tst-langinfo-static.out.
40376 ($(objpfx)tst-langinfo.out): Redirect output.
40377 ($(objpfx)tst-langinfo-static.out): New.
40378 * localedata/tst-langinfo.sh: Send output to stdout.
40379 * localedata/tst-langinfo-static.c: New file.
40380
40381 [BZ #16965]
40382 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
40383 when the shift amount is modulo the limb size.
40384
40385 2014-05-20 Richard Henderson <rth@redhat.com>
40386
40387 [BZ #16967]
40388 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
40389 Change type of sa_flags from unsigned int to int.
40390
40391 [BZ #16966]
40392 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
40393
40394 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
40395
40396 2014-05-20 Will Newton <will.newton@linaro.org>
40397
40398 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40399 Test the return value of the system call in the nocancel case.
40400
40401 2014-05-20 Will Newton <will.newton@linaro.org>
40402 Yvan Roux <yvan.roux@linaro.org>
40403
40404 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
40405 #include of asm/ptrace.h.
40406 (PTRACE_GET_THREAD_AREA): Remove #undef.
40407 (PTRACE_GETHBPREGS): Likewise.
40408 (PTRACE_SETHBPREGS): Likewise.
40409 (struct user_regs_struct): New structure.
40410 (struct user_fpsimd_struct): New structure.
40411 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
40412 #include of asm/ptrace.h and second #include of sys/user.h.
40413 (PTRACE_GET_THREAD_AREA): Remove #undef.
40414 (PTRACE_GETHBPREGS): Likewise.
40415 (PTRACE_SETHBPREGS): Likewise.
40416 (ELF_NGREG): Use new struct user_regs_struct.
40417 (elf_fpregset_t): Use new struct user_fpsimd_struct.
40418
40419 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40420
40421 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
40422 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
40423
40424 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
40425
40426 [BZ #16958]
40427 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
40428 membar to avoid block loads/stores to overlap previous stores.
40429
40430 2014-05-17 Richard Henderson <rth@redhat.com>
40431
40432 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
40433 Create the __##syscall_name##_nocancel entry point.
40434 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
40435 Remove; let the sysdep-cancel.h code create it.
40436
40437 2014-05-17 David S. Miller <davem@davemloft.net>
40438
40439 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
40440 Protect with __USE_GNU.
40441 (TIOCSET_TEMPT): Likewise.
40442 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40443 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
40444 these are already provided in bits/ioctl-types.h
40445
40446 2014-05-16 Roland McGrath <roland@hack.frob.com>
40447
40448 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
40449 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
40450
40451 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
40452 Use wait4 regardless of [__NR_waitpid].
40453
40454 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
40455
40456 PR libgcc/60166
40457 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40458 (_FP_NANSIGN_Q): Set the quiet bit.
40459
40460 2014-05-16 Joseph Myers <joseph@codesourcery.com>
40461
40462 * benchtests/Makefile
40463 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
40464 not $(common-objpfx)math/libm.so.
40465 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
40466 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
40467 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
40468 $(common-objpfx)dlfcn/libdl.so.
40469 ($(objpfx)tst-audit8): Depend on $(libm), not
40470 $(common-objpfx)math/libm.so.
40471 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
40472 not $(common-objpfx)dlfcn/libdl.so.
40473 * math/Makefile
40474 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40475 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
40476 [$(build-shared) = yes].
40477 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
40478 $(common-objpfx)nptl/libpthread.so.
40479 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
40480 $(common-objpfx)math/libm.so$(libm.so-version) or
40481 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
40482 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
40483 $(common-objpfx)dlfcn/libdl.so.
40484 * setjmp/Makefile (link-libm): Remove variable.
40485 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
40486 * stdio-common/Makefile (link-libm): Remove variable.
40487 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
40488 * stdlib/Makefile (link-libm): Remove variable.
40489 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
40490 ($(objpfx)tst-strtod-round): Likewise.
40491 ($(objpfx)tst-tininess): Likewise.
40492 ($(objpfx)tst-strtod-underflow): Likewise.
40493 ($(objpfx)tst-strtod6): Likewise.
40494 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
40495 $(libdl), not $(common-objpfx)nptl/libpthread.so and
40496 $(common-objpfx)dlfcn/libdl.so.
40497
40498 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40499
40500 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
40501 BSD terminal modes definitions.
40502
40503 2014-05-16 Roland McGrath <roland@hack.frob.com>
40504
40505 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
40506 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
40507
40508 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
40509 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
40510 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
40511 Don't do #include_next.
40512 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
40513 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
40514 Don't do #include_next.
40515 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
40516 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
40517 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
40518 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
40519
40520 2014-05-16 Allan McRae <allan@archlinux.org>
40521
40522 * po/sv.po: Update Swedish translation from translation project.
40523
40524 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
40525 in sed expression.
40526
40527 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
40528
40529 [BZ #16917]
40530 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
40531 errno if the TIOCGPTN ioctl fails with an error different than
40532 EINVAL.
40533 * login/tst-ptsname.c: New file.
40534 * login/Makefile (tests): Add tst-ptsname.
40535
40536 [BZ #16943]
40537 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
40538 and prlimit64.
40539
40540 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40541
40542 [BZ #16849]
40543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
40544 herrno to return EAI_AGAIN.
40545
40546 2014-05-14 Roland McGrath <roland@hack.frob.com>
40547
40548 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
40549 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
40550 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
40551 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
40552 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
40553 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
40554 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
40555 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
40556 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
40557 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
40558 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
40559 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
40560 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
40561 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
40562 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
40563 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
40564 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
40565 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
40566 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
40567 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
40568 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
40569 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
40570 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
40571 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
40572 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
40573 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
40574 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
40575 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
40576 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
40577 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
40578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
40579 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
40580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
40581 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
40582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40583 Moved ...
40584 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
40585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
40586 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
40587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
40588 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
40589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
40590 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
40591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
40592 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
40593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
40594 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
40595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
40596 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
40597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
40598 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
40599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
40600 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
40601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
40602 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
40603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
40604 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
40605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
40606 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
40607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
40608 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
40609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
40610 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
40611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40612 Moved ...
40613 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
40614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
40615 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
40616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
40617 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
40618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
40619 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
40620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
40621 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
40622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
40623 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
40624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
40625 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
40626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
40627 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
40628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
40629 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
40630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
40631 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
40632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40633 Moved ...
40634 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
40635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
40636 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
40637
40638 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
40639 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
40640 (libpthread-sysdep_routines): Add elision-related stuff here instead.
40641 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
40642 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
40643 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
40644 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
40645 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
40646 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
40647 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
40648 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
40649 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
40650 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
40651 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
40652 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
40653 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
40654 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
40655 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
40656 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
40657 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
40658 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
40659 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
40660 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
40661 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
40662 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
40663 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
40664 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
40665 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
40666 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
40667 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
40668 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
40669
40670 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
40671 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
40672
40673 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
40674 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
40675 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
40676 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
40677 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
40678 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
40679 Moved ...
40680 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
40681 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
40682 Moved ...
40683 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
40684 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
40685 Moved ...
40686 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
40687 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
40688 Moved ...
40689 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
40690 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
40691 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
40692 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
40693 Moved ...
40694 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
40695 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
40696 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
40697 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
40698 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
40699 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
40700 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
40701 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
40702 Moved ...
40703 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
40704 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40705 Moved ...
40706 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40707 ... here.
40708 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
40709 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
40710 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
40711 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
40712 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40713 Moved ...
40714 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40715 ... here.
40716 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
40717 Moved ...
40718 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
40719 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
40720 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
40721 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
40722 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
40723 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
40724 Moved ...
40725 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
40726 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
40727 Moved ...
40728 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
40729 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
40730 Moved ...
40731 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
40732 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
40733 Moved ...
40734 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
40735 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
40736 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
40737 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
40738 Moved ...
40739 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
40740 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
40741 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
40742 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
40743 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
40744 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
40745 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
40746 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
40747 Moved ...
40748 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
40749 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40750 Moved ...
40751 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40752 ... here.
40753 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
40754 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
40755 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
40756 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
40757 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40758 Moved ...
40759 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40760 ... here.
40761 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
40762 Moved ...
40763 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
40764 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
40765 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
40766 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
40767 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
40768 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
40769 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
40770 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
40771 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
40772 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
40773 Moved ...
40774 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
40775 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
40776 Moved ...
40777 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
40778 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
40779 Moved ...
40780 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
40781 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
40782 Moved ...
40783 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
40784 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
40785 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
40786 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
40787 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
40788 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
40789 Moved ...
40790 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
40791 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
40792 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
40793 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
40794 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
40795 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
40796 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
40797 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
40798 Moved ...
40799 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
40800 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40801 Moved ...
40802 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40803 ... here.
40804 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
40805 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
40806 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
40807 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
40808 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
40809 Moved ...
40810 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
40811 ... here.
40812 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
40813 Moved ...
40814 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
40815 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
40816 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
40817 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
40818 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
40819 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
40820 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
40821 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
40822 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
40823 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
40824 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
40825
40826 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
40827 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
40828
40829 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
40830 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
40831
40832 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
40833 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
40834 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
40835 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
40836 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
40837 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
40838 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
40839 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
40840 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
40841 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
40842 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
40843 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
40844 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
40845 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
40846 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
40847 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
40848 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
40849 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
40850 Moved ...
40851 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
40852 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
40853 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
40854 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
40855 Moved ...
40856 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
40857 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
40858 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
40859 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
40860 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
40861 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
40862 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
40863 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
40864 Moved ...
40865 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
40866 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
40867 Moved ...
40868 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
40869 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
40870 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
40871 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
40872 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
40873 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
40874 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
40875 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
40876 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
40877 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
40878 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
40879 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
40880 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
40881 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
40882 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
40883 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
40884 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
40885
40886 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
40887 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
40888 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
40889 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
40890 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
40891
40892 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
40893 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
40894 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
40895 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
40896 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
40897 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
40898 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
40899 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
40900 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
40901 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
40902
40903 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
40904 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
40905
40906 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
40907 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
40908 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
40909 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
40910 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
40911 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
40912 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
40913 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
40914 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
40915 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
40916 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
40917 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
40918 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
40919 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
40920 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
40921 Update #include.
40922 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
40923 Likewise.
40924 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40925 Likewise.
40926 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40927 Likewise.
40928 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40929 Likewise.
40930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
40931 Likewise.
40932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
40933 Likewise.
40934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
40935 Likewise.
40936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
40937 Likewise.
40938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
40939 Likewise.
40940 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
40941 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
40942 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
40943 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
40944 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
40945 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
40946 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
40947 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
40948 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
40949 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
40950 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
40951 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
40952 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
40953 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
40954 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
40955
40956 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
40957 that was previously under [RESET_PID].
40958 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40959 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
40960 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
40961
40962 * sysdeps/i386/nptl/Implies: New file.
40963 * sysdeps/x86_64/nptl/Implies: New file.
40964 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
40965 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
40966 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
40967 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
40968
40969 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
40970 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40971 (__libc_vfork): New strong alias.
40972 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
40973 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
40974
40975 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
40976 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40977 (__libc_vfork): New strong alias.
40978 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
40979 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
40980
40981 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
40982 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40983 (__libc_vfork): New strong alias.
40984 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
40985 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
40986 * nptl/pt-vfork.c: New file.
40987 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
40988 (libpthread: GLIBC_2.20): New version set (empty).
40989
40990 2014-05-14 Will Newton <will.newton@linaro.org>
40991
40992 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
40993 rather than #if.
40994
40995 2014-05-14 Joseph Myers <joseph@codesourcery.com>
40996
40997 [BZ #16564]
40998 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
40999 arguments with exponent 65 or above.
41000 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41001 arguments 0x1p113L or above.
41002 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41003 to arguments 0x1p107L or above.
41004 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41005 positive arguments with exponent 65 or above.
41006 * math/auto-libm-test-in: Add more tests of log1p.
41007 * math/auto-libm-test-out: Regenerated.
41008
41009 [BZ #16928]
41010 * math/s_cacos.c (__cacos): Ensure zero real part of result from
41011 non-finite arguments is +0.
41012 * math/s_cacosf.c (__cacosf): Likewise.
41013 * math/s_cacosl.c (__cacosl): Likewise.
41014 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41015 * sysdeps/i386/fpu/libm-test-ulps: Update.
41016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41017
41018 [BZ #16927]
41019 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41020 value.
41021 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41022 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41023 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41024 for explicit high bit of mantissa when testing for argument equal
41025 to 1.
41026 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41027 * sysdeps/i386/fpu/libm-test-ulps: Update.
41028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41029
41030 [BZ #16516]
41031 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41032 (__erf): Scale by 16 instead of 8 in potentially underflowing
41033 case. Ensure exception if result actually underflows.
41034 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41035 (__erff): Scale by 16 instead of 8 in potentially underflowing
41036 case. Ensure exception if result actually underflows.
41037 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41038 (efx8): Remove variable.
41039 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41040 case. Ensure exception if result actually underflows.
41041 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41042 (efx8): Remove variable.
41043 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41044 case. Ensure exception if result actually underflows.
41045 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41046 (efx8): Remove variable.
41047 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41048 case. Ensure exception if result actually underflows.
41049 * math/auto-libm-test-in: Add more tests of erf.
41050 * math/auto-libm-test-out: Regenerated.
41051
41052 2014-05-14 Andreas Schwab <schwab@suse.de>
41053
41054 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41055 Remove code conditionalized on USE___THREAD.
41056
41057 * config.h.in (HAVE_PT_CHOWN): Define as 0.
41058 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41059 not definedness.
41060
41061 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41062
41063 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41064 Define unconditionally.
41065 (__ASSUME_O_CLOEXEC): Likewise.
41066 (__ASSUME_SOCK_CLOEXEC): Likewise.
41067 (__ASSUME_IN_NONBLOCK): Likewise.
41068 (__ASSUME_PIPE2): Likewise.
41069 (__ASSUME_EVENTFD2): Likewise.
41070 (__ASSUME_SIGNALFD4): Likewise.
41071 (__ASSUME_DUP3): Likewise.
41072 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41073 (__ASSUME_DUP3): Do not define.
41074 (__ASSUME_EVENTFD2): Likewise.
41075 (__ASSUME_IN_NONBLOCK): Likewise.
41076 (__ASSUME_O_CLOEXEC): Likewise.
41077 (__ASSUME_PIPE2): Likewise.
41078 (__ASSUME_SIGNALFD4): Likewise.
41079 (__ASSUME_SOCK_CLOEXEC): Likewise.
41080 (__ASSUME_UTIMES): Undefine.
41081 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41082 (__ASSUME_UTIMES): Do not define.
41083 (__ASSUME_O_CLOEXEC): Likewise.
41084 (__ASSUME_SOCK_CLOEXEC): Likewise.
41085 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41086 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41087 0x020621].
41088 (__ASSUME_PIPE2): Likewise.
41089 (__ASSUME_EVENTFD2): Likewise.
41090 (__ASSUME_SIGNALFD4): Likewise.
41091 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41092 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41093 Do not define.
41094 (__ASSUME_EVENTFD2): Likewise.
41095 (__ASSUME_SIGNALFD4): Likewise.
41096 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41097 (__ASSUME_32BITUIDS): Likewise.
41098 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41099 (__ASSUME_IPC64): Likewise.
41100 (__ASSUME_ST_INO_64_BIT): Likewise.
41101 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41102 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41103 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41104 (__ASSUME_UTIMES): Do not define.
41105 (__ASSUME_PSELECT): Likewise.
41106 (__ASSUME_PPOLL): Likewise.
41107 (__ASSUME_O_CLOEXEC): Likewise.
41108 (__ASSUME_SOCK_CLOEXEC): Likewise.
41109 (__ASSUME_IN_NONBLOCK): Likewise.
41110 (__ASSUME_PIPE2): Likewise.
41111 (__ASSUME_EVENTFD2): Likewise.
41112 (__ASSUME_SIGNALFD4): Likewise.
41113 (__ASSUME_DUP3): Likewise.
41114 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41115 (__ASSUME_UTIMES): Likewise.
41116 (__ASSUME_O_CLOEXEC): Likewise.
41117 (__ASSUME_SOCK_CLOEXEC): Likewise.
41118 (__ASSUME_IN_NONBLOCK): Likewise.
41119 (__ASSUME_PIPE2): Likewise.
41120 (__ASSUME_EVENTFD2): Likewise.
41121 (__ASSUME_SIGNALFD4): Likewise.
41122 (__ASSUME_DUP3): Likewise.
41123 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41124 (__ASSUME_UTIMES): Likewise.
41125 (__ASSUME_O_CLOEXEC): Likewise.
41126 (__ASSUME_SOCK_CLOEXEC): Likewise.
41127 (__ASSUME_IN_NONBLOCK): Likewise.
41128 (__ASSUME_PIPE2): Likewise.
41129 (__ASSUME_EVENTFD2): Likewise.
41130 (__ASSUME_SIGNALFD4): Likewise.
41131 (__ASSUME_DUP3): Likewise.
41132 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41133 Likewise.
41134 (__ASSUME_UTIMES): Likewise.
41135 (__ASSUME_EVENTFD2): Likewise.
41136 (__ASSUME_SIGNALFD4): Likewise.
41137 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41138 (__ASSUME_O_CLOEXEC): Likewise.
41139 (__ASSUME_SOCK_CLOEXEC): Likewise.
41140 (__ASSUME_IN_NONBLOCK): Likewise.
41141 (__ASSUME_PIPE2): Likewise.
41142 (__ASSUME_EVENTFD2): Likewise.
41143 (__ASSUME_SIGNALFD4): Likewise.
41144 (__ASSUME_DUP3): Likewise.
41145 (__ASSUME_UTIMES): Undefine.
41146
41147 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41148 feclearexcept. Remove symbol versioning code.
41149 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
41150 symbol versioning code.
41151 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
41152 symbol versioning code.
41153 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41154 feupdateenv. Remove symbol versioning code.
41155 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41156 fegetexceptflag. Remove symbol versioning code.
41157 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41158 fesetexceptflag. Remove symbol versioning code.
41159 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41160 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
41161 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41162 (__posix_fadvise64_l32): Remove prototype.
41163 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41164 code.
41165
41166 2014-05-13 Roland McGrath <roland@hack.frob.com>
41167
41168 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41169 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41170 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41171 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41172
41173 2014-05-13 Sami Kerola <kerolasa@iki.fi>
41174
41175 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41176 current working directory
41177
41178 2014-05-13 Roland McGrath <roland@hack.frob.com>
41179
41180 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41181 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41182 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41183 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41184 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41185 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41186 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41187 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41188 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
41189 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
41190 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
41191 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
41192 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
41193 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
41194 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
41195 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
41196 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
41197 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
41198 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
41199 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
41200 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
41201 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
41202 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
41203 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
41204 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
41205 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41206 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
41207 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
41208 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
41209 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
41210 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
41211 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
41212 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
41213 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
41214 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
41215 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
41216 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
41217 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
41218 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
41219 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
41220 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
41221 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
41222
41223 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
41224 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
41225
41226 * sysdeps/unix/sysv/linux/arm/Makefile
41227 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41228 Add rt-aeabi_unwind_cpp_pr1.
41229 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
41230 Add nptl-aeabi_unwind_cpp_pr1.
41231 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
41232 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
41233 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
41234 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41235 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
41236 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41237
41238 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
41239 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
41240 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
41241 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
41242
41243 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
41244 Deconditionalize the code that was previously under [RESET_PID].
41245 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
41246
41247 * sysdeps/generic/exit-thread.h: New file.
41248 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
41249 * include/unistd.h (__exit_thread): Remove declaration.
41250 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
41251 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
41252 * csu/libc-start.c: Include <exit-thread.h>.
41253 (LIBC_START_MAIN): Pass no argument to __exit_thread.
41254 * nptl/pthread_create.c: Include <exit-thread.h>.
41255 (start_thread): Call __exit_thread in place of __exit_thread_inline.
41256 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
41257 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
41258 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
41259 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
41260 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
41261 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
41262 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
41263 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
41264 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
41265 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
41266 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
41267 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
41268 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
41269 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
41270 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
41271 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
41272
41273 2014-05-13 Andreas Schwab <schwab@suse.de>
41274
41275 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
41276
41277 2014-05-12 Joseph Myers <joseph@codesourcery.com>
41278
41279 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41280 (__ASSUME_UTIMES): Do not condition on kernel version.
41281 (__ASSUME_PSELECT): Define unconditionally.
41282 (__ASSUME_PPOLL): Likewise.
41283 (__ASSUME_ATFCTS): Likewise.
41284 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
41285 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
41286 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
41287 (__ASSUME_UTIMENSAT): Define unconditionally.
41288 (__ASSUME_PRIVATE_FUTEX): Likewise.
41289 (__ASSUME_FALLOCATE): Likewise.
41290 (__ASSUME_O_CLOEXEC): Likewise.
41291 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
41292 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
41293 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
41294 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
41295 (__ASSUME_IN_NONBLOCK): Likewise.
41296 (__ASSUME_PIPE2): Likewise.
41297 (__ASSUME_EVENTFD2): Likewise.
41298 (__ASSUME_SIGNALFD4): Likewise.
41299 (__ASSUME_DUP3): Likewise.
41300 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41301 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
41302 (__ASSUME_AT_RANDOM): Likewise.
41303 (__ASSUME_PREADV): Likewise.
41304 (__ASSUME_PWRITEV): Likewise.
41305 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
41306 (__ASSUME_F_GETOWN_EX): Define unconditionally.
41307 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
41308 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41309 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
41310 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41311 (__ASSUME_O_CLOEXEC): Define unconditionally.
41312 (__ASSUME_PSELECT): Do not undefine conditionally.
41313 (__ASSUME_PPOLL): Likewise.
41314 (__ASSUME_ATFCTS): Likewise.
41315 (__ASSUME_SET_ROBUST_LIST): Likewise.
41316 (__ASSUME_UTIMENSAT): Likewise.
41317 (__ASSUME_FDATASYNC): Define unconditionally.
41318 * sysdeps/unix/sysv/linux/arm/kernel-features.h
41319 (__ASSUME_SIGFRAME_V2): Likewise.
41320 )__ASSUME_EVENTFD2): Likewise.
41321 (__ASSUME_SIGNALFD4): Likewise.
41322 (__ASSUME_PSELECT): Do not undefine conditionally.
41323 (__ASSUME_PPOLL): Likewise.
41324 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41325 (__ASSUME_PSELECT): Define unconditionally.
41326 (__ASSUME_PPOLL): Likewise.
41327 (__ASSUME_O_CLOEXEC): Likewise.
41328 (__ASSUME_SOCK_CLOEXEC): Likewise.
41329 (__ASSUME_IN_NONBLOCK): Likewise.
41330 (__ASSUME_PIPE2): Likewise.
41331 (__ASSUME_EVENTFD2): Likewise.
41332 (__ASSUME_SIGNALFD4): Likewise.
41333 (__ASSUME_DUP3): Likewise.
41334 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41335 (__ASSUME_O_CLOEXEC): Likewise.
41336 (__ASSUME_SOCK_CLOEXEC): Likewise.
41337 (__ASSUME_IN_NONBLOCK): Likewise.
41338 (__ASSUME_PIPE2): Likewise.
41339 (__ASSUME_EVENTFD2): Likewise.
41340 (__ASSUME_SIGNALFD4): Likewise.
41341 (__ASSUME_DUP3): Likewise.
41342 * sysdeps/unix/sysv/linux/mips/kernel-features.h
41343 (__ASSUME_EVENTFD2): Likewise.
41344 (__ASSUME_SIGNALFD4): Likewise.
41345 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41346
41347 2014-05-12 Andreas Schwab <schwab@suse.de>
41348
41349 [BZ #16932]
41350 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
41351 (_nss_nis_gethostbyname4_r): Return error if item length is larger
41352 than maximum RPC packet size.
41353 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
41354 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
41355 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
41356 (_nss_nis_getservbyport_r): Likewise.
41357
41358 2014-05-12 Will Newton <will.newton@linaro.org>
41359
41360 * malloc/Makefile (tests): Add tst-mallopt.
41361 * malloc/tst-mallopt.c: New file.
41362
41363 2014-05-09 Roland McGrath <roland@hack.frob.com>
41364
41365 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
41366 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
41367
41368 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41369
41370 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
41371 (tst-tlsmod6.so): Likewise.
41372
41373 2014-05-09 Roland McGrath <roland@hack.frob.com>
41374
41375 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
41376
41377 2014-05-09 Joseph Myers <joseph@codesourcery.com>
41378
41379 [BZ #16064]
41380 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
41381 and <dl-procinfo.h>.
41382 (__fegetenv): Save SSE state in envp->__eip if supported.
41383 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
41384 envp->__eip if supported.
41385 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
41386 and <dl-procinfo.h>.
41387 (__fesetenv): Always set __eip, __cs_selector, __opcode,
41388 __data_offset and __data_selector in environment to 0. Set SSE
41389 state if supported.
41390 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
41391 test-fenv-sse.
41392 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
41393 -mfpmath=sse.
41394 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
41395
41396 2014-05-09 Will Newton <will.newton@linaro.org>
41397
41398 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
41399 and libc_relro_required for ARM.
41400 * sysdeps/arm/preconfigure: Regenerate.
41401
41402 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
41403 Stefan Liebler <stli@linux.vnet.ibm.com>
41404
41405 * config.make.in (enable-lock-elision): New Makefile variable.
41406 * configure.ac: Likewise.
41407 * configure: Regenerate.
41408 * sysdeps/s390/configure.ac:
41409 Add check for gcc transactions support.
41410 * sysdeps/s390/configure: Regenerate.
41411 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
41412 Build elision files if enabled.
41413 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
41414 Add lock elision support for s390.
41415 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
41416 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
41417 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
41418 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
41419 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
41420 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
41421 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41422 Likewise.
41423 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
41424 Likewise.
41425 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
41426 Likewise.
41427 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
41428 Likewise.
41429 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
41430 (__lll_timedlock_elision, __lll_lock_elision)
41431 (__lll_unlock_elision, __lll_trylock_elision)
41432 (lll_timedlock_elision, lll_lock_elision)
41433 (lll_unlock_elision, lll_trylock_elision): Add.
41434 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41435 (pthread_mutex_t): Add lock elision support for s390.
41436
41437 2014-05-14 Wilco <wdijkstr@arm.com>
41438
41439 * sysdeps/arm/fclrexcpt.c: Cleanup.
41440 * sysdeps/arm/fedisblxcpt.c: Cleanup.
41441 * sysdeps/arm/feenablxcpt.c: Cleanup.
41442 * sysdeps/arm/fegetenv.c: Cleanup.
41443 * sysdeps/arm/fegetexcept.c: Cleanup.
41444 * sysdeps/arm/fegetround.c: Cleanup.
41445 * sysdeps/arm/feholdexcpt.c: Cleanup.
41446 * sysdeps/arm/fesetenv.c: Cleanup.
41447 * sysdeps/arm/fesetround.c: Cleanup.
41448 * sysdeps/arm/feupdateenv.c: Cleanup.
41449 * sysdeps/arm/fgetexcptflg.c: Cleanup.
41450 * sysdeps/arm/fraiseexcpt.c: Cleanup.
41451 * sysdeps/arm/fsetexcptflg.c: Cleanup.
41452 * sysdeps/arm/ftestexcept.c: Cleanup.
41453 * sysdeps/arm/get-rounding-mode.h: Cleanup.
41454 * sysdeps/arm/setfpucw.c: Cleanup.
41455
41456 2014-05-09 Will Newton <will.newton@linaro.org>
41457
41458 * sysdeps/arm/armv7/strcmp.S: New file.
41459 * NEWS: Mention addition of ARMv7 optimized strcmp.
41460
41461 2014-05-08 Roland McGrath <roland@hack.frob.com>
41462
41463 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
41464 look for %.ac rather than %.in.
41465
41466 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
41467 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
41468 * sysdeps/mach/hurd/configure: Regenerated.
41469 * sysdeps/unix/sysv/linux/configure: Regenerated.
41470
41471 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
41472
41473 2014-05-07 Steve Ellcey <sellcey@mips.com>
41474
41475 [BZ# 16922]
41476 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
41477 (LONG_SUB): Ditto.
41478 (PTR_SUB): Ditto.
41479
41480 2014-05-07 Andreas Schwab <schwab@suse.de>
41481
41482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
41483 when skipping over non-matching result from nscd.
41484
41485 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
41486
41487 [BZ #16876]
41488 * nptl/sockperf.c (client): Check socket return value.
41489
41490 [BZ #16877]
41491 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
41492 nscd security class.
41493
41494 2014-05-06 Roland McGrath <roland@hack.frob.com>
41495
41496 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
41497 * sysdeps/arm/unwind.h: ... here.
41498
41499 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
41500
41501 [BZ# 16916]
41502 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
41503 Define.
41504
41505 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
41506
41507 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
41508 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
41509 multiarch strncpy for PPC64.
41510 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
41511 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
41512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
41513 multiarch optimizations.
41514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41515 (__libc_ifunc_impl_list): Likewise.
41516 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
41517 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
41518 multiarch stpncpy for PPC64.
41519 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
41520 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
41521
41522 2014-05-06 Andreas Schwab <schwab@suse.de>
41523
41524 [BZ #16912]
41525 * gmon/mcount.c (_MCOUNT_DECL): Use
41526 atomic_compare_and_exchange_bool_acq instead of
41527 catomic_compare_and_exchange_bool_acq.
41528
41529 2014-05-05 Roland McGrath <roland@hack.frob.com>
41530
41531 * elf/Makefile (others, install-bin): Remove pldd.
41532 (pldd-modules): Variable removed.
41533 ($(objpfx)pldd): Target removed.
41534 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
41535 (others, install-bin): Append pldd here.
41536 ($(objpfx)pldd): New target.
41537
41538 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
41539 to 0, so the first #if test emitted later doesn't see it undefined.
41540 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
41541 * sysdeps/gnu/errlist.c: Regenerated.
41542
41543 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41544
41545 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41546 [libc_hidden_builtin_def]: Define to empty value.
41547 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
41548 [libc_hidden_builtin_def]: Likewise.
41549 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
41550 [libc_hidden_builtin_def]: Likewise.
41551 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
41552 [libc_hidden_builtin_def]: Likewise.
41553 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
41554 __redirect_memcpy and define ifunc as default hidden symbol.
41555 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
41556 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
41557
41558 2014-05-04 Adam Conrad <adconrad@0c3.net>
41559
41560 * locale/iso-4217.def: Reintroduce XDR currency.
41561
41562 2014-05-04 Allan McRae <allan@archlinux.org>
41563
41564 * po/eo.po: Update Esperanto translation from translation project.
41565
41566 2014-05-02 Carlos O'Donell <carlos@redhat.com>
41567
41568 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
41569 and FEATURE_INDEX_MAX to 1.
41570 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
41571
41572 2014-05-01 Steve Ellcey <sellcey@mips.com>
41573
41574 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
41575 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
41576 * iconvdata/big5.c (ONE_DIRECTION): Define.
41577 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
41578 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
41579 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
41580 * iconvdata/cp932.c (ONE_DIRECTION): Define.
41581 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
41582 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
41583 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
41584 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
41585 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
41586 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
41587 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
41588 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
41589 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
41590 * iconvdata/gbk.c (ONE_DIRECTION): Define.
41591 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
41592 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
41593 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
41594 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
41595 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
41596 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
41597 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
41598 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
41599 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
41600 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
41601 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
41602 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
41603 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
41604 * iconvdata/iso646.c (ONE_DIRECTION): Define.
41605 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
41606 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
41607 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
41608 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
41609 * iconvdata/johab.c (ONE_DIRECTION): Define.
41610 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
41611 * iconvdata/sjis.c (ONE_DIRECTION): Define.
41612 * iconvdata/t.61.c (ONE_DIRECTION): Define.
41613 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
41614 * iconvdata/tscii.c (ONE_DIRECTION): Define.
41615 * iconvdata/uhc.c (ONE_DIRECTION): Define.
41616 * iconvdata/unicode.c (ONE_DIRECTION): Define.
41617 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
41618 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
41619 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
41620
41621 2014-05-01 Roland McGrath <roland@hack.frob.com>
41622
41623 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
41624 (_IO_JUMPS_OFFSET): Define to 0.
41625
41626 * nptl/sysdeps/pthread/bits/libc-lock.h
41627 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41628 (__libc_lock_define_initialized_recursive): Always define using
41629 initializer. Modern compilers treat uninitialized (implicit zero) and
41630 explicit zero initializers the same (i.e. put the datum in bss).
41631
41632 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
41633
41634 * nscd/nscd-client.h: Include <string.h>.
41635
41636 2014-05-01 David S. Miller <davem@davemloft.net>
41637
41638 [BZ #16885]
41639 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
41640 multiple zero bytes exist at the end of a string.
41641 Reported by Aurelien Jarno <aurelien@aurel32.net>
41642
41643 * string/test-strcmp.c (check): Add explicit test for situations where
41644 there are multiple zero bytes after the first.
41645
41646 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
41647
41648 [BZ #16890]
41649 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
41650 when compiling wprintf.
41651 * stdio-common/tstdiomisc.c (t3): New function.
41652 (main): Call it.
41653
41654 2014-05-01 Steve Ellcey <sellcey@mips.com>
41655
41656 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
41657 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
41658 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
41659 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
41660
41661 2014-05-01 Steve Ellcey <sellcey@mips.com>
41662
41663 * stdlib/longlong.h: Updated from GCC.
41664
41665 2014-05-01 Will Newton <will.newton@linaro.org>
41666 Bernard Ogden <bernie.ogden@linaro.org>
41667
41668 * NEWS: Update fixed bug list.
41669
41670 [BZ #15119]
41671 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
41672
41673 2014-04-30 David S. Miller <davem@davemloft.net>
41674
41675 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
41676 (libc_feholdexcept_setround_sparc_ctx): New function.
41677 (libc_fesetenv_sparc_ctx): Likewise.
41678 (libc_feupdateenv_sparc_ctx): Likewise.
41679 (libc_feholdsetround_sparc_ctx): Likewise.
41680 (libc_feholdexcept_setround_ctx): Define.
41681 (libc_feholdexcept_setroundf_ctx): Likewise.
41682 (libc_feholdexcept_setroundl_ctx): Likewise.
41683 (libc_fesetenv_ctx): Likewise.
41684 (libc_fesetenvf_ctx): Likewise.
41685 (libc_fesetenvl_ctx): Likewise.
41686 (libc_feupdateenv_ctx): Likewise.
41687 (libc_feupdateenvf_ctx): Likewise.
41688 (libc_feupdateenvl_ctx): Likewise.
41689 (libc_feresetround_ctx): Likewise.
41690 (libc_feresetroundf_ctx): Likewise.
41691 (libc_feresetroundl_ctx): Likewise.
41692 (libc_feholdsetround_ctx): Likewise.
41693 (libc_feholdsetroundf_ctx): Likewise.
41694 (libc_feholdsetroundl_ctx): Likewise.
41695
41696 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41697 with __USE_GNU instead of XOPEN cpp guards.
41698
41699 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
41700 0.
41701
41702 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41703 with XOPEN cpp guards.
41704
41705 2014-04-30 Julian Brown <julian@codesourcery.com>
41706
41707 [BZ #16888]
41708 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
41709 handling.
41710
41711 2014-04-30 Joseph Myers <joseph@codesourcery.com>
41712
41713 [BZ #9894]
41714 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
41715 Change to 2.6.32.
41716 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
41717 * sysdeps/unix/sysv/linux/configure: Regenerated.
41718 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
41719 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
41720 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
41721 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
41722 * README: Update reference to required Linux kernel version.
41723 * manual/install.texi (Linux): Update reference to required Linux
41724 kernel headers version.
41725 * INSTALL: Regenerated.
41726
41727 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
41728 header inclusion.
41729 [POSIX] (limits.h): Likewise.
41730 [POSIX] (math.h): Likewise.
41731 [POSIX] (sys/wait.h): Likewise.
41732 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
41733 function.
41734 [POSIX] (stddef.h): Do not allow header inclusion.
41735
41736 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41737
41738 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
41739
41740 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
41741
41742 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
41743 Return immediately after lll_futex_wake.
41744
41745 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41746
41747 [BZ #16791]
41748 * nscd/nscd-client.h (datahead_init_common): Initialize entire
41749 structure.
41750 (datahead_init_pos): Call datahead_init_common early.
41751 (datahead_init_neg): Likewise.
41752
41753 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
41754 datahead_init_neg): New functions.
41755 * nscd/aicache.c (addhstaiX): Use them.
41756 * nscd/grpcache.c (cache_addgr): Likewise.
41757 * nscd/hstcache.c (cache_addhst): Likewise.
41758 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41759 * nscd/netgroupcache.c (do_notfound): Likewise.
41760 (addgetnetgrentX): Likewise.
41761 (addinnetgrX): Likewise.
41762 * nscd/pwdcache.c (cache_addpw): Likewise.
41763 * nscd/servicescache.c (cache_addserv): Likewise.
41764
41765 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41766 Atsushi Onoe <atsushi@onoe.org>
41767
41768 [BZ #14308]
41769 [BZ #12994]
41770 [BZ #13651]
41771 * resolv/res_query.c (__libc_res_nsearch): Return if at least
41772 one response is valid.
41773 * resolv/res_send.c (send_dg): Check for validity of other
41774 response if the current response is a referral.
41775
41776 2014-04-29 Steve Ellcey <sellcey@mips.com>
41777
41778 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
41779
41780 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
41781
41782 [BZ #16823]
41783 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
41784 Always divide by positive zero when computing -Inf result.
41785 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41786 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
41787
41788 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41789
41790 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
41791 FPSCR if value do not change.
41792 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41793 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
41794 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41795 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41796 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
41797 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
41798 function.
41799
41800 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
41801
41802 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
41803 * sysdeps/unix/sysv/linux/hppa: Move directory from
41804 ports/systeps/unix/sysv/linux/hppa.
41805 * README: Update listing for hppa-*-linux-gnu.
41806
41807 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
41808
41809 [BZ #16754]
41810 * manual/stdio.texi (Hook functions): Fix types of stream hook
41811 functions.
41812 [BZ #16854]
41813 * socket/sys/socket.h: Fix typo in comment.
41814
41815 2014-04-28 Wilco <wdijkstr@arm.com>
41816
41817 * sysdeps/arm/fenv_private.h: New file.
41818 * sysdeps/arm/math_private.h: New file.
41819 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
41820
41821 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
41822
41823 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
41824 with __int128_t.
41825 (La_x86_64_retval): Likewise.
41826
41827 2014-04-24 Ian Bolton <ian.bolton@arm.com>
41828
41829 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
41830 fpsr if value didn't change.
41831 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
41832 to fpcr if value didn't change.
41833 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
41834 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
41835 fpsr or fpcr if value didn't change.
41836 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41837 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
41838 fpcr if value didn't change.
41839 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
41840 to fpsr if value didn't change.
41841
41842 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
41843
41844 * nptl/tst-sem3.c: Use test-skeleton.c
41845 (main): Rename to do_test. Use return instead of
41846 exit.
41847 * nptl/tst-sem4.c: Use test-skeleton.c
41848 (main): Rename to do_test.
41849
41850 2014-04-22 David S. Miller <davem@davemloft.net>
41851
41852 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
41853 (struct sigaction): New struct member __glibc_reserved0, change
41854 type of sa_flags to int.
41855
41856 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
41857
41858 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
41859 (COUNT_LEADING_ZEROS_0): Define for AArch64.
41860
41861 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41862
41863 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
41864 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
41865
41866 2014-04-22 Will Newton <will.newton@linaro.org>
41867 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
41868
41869 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
41870 (__longjmp): Add longjmp and longjmp_target SystemTap
41871 probes.
41872 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
41873 (__sigsetjmp): Add setjmp SystemTap probe.
41874
41875 2014-04-17 Carlos O'Donell <carlos@redhat.com>
41876
41877 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
41878 match manual order.
41879
41880 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41881
41882 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
41883
41884 * sysdeps/powerpc/fpu/fenv_private.h
41885 (libc_feholdexcept_setroundl_ctx): Define to
41886 libc_feholdexcept_setround_ppc_ctx.
41887 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
41888 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
41889 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
41890 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
41891
41892 2014-04-17 Ian Bolton <ian.bolton@arm.com>
41893
41894 * sysdeps/aarch64/math-tests.h: New file.
41895
41896 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
41897
41898 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
41899 New.
41900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41901 Check and set bit_AVX2_Usable.
41902 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
41903 macro.
41904 (bit_AVX2): Likewise.
41905 (index_AVX2_Usable): Likewise.
41906 (CPUID_AVX2): Likewise.
41907 (HAS_AVX2): Likewise.
41908
41909 2014-04-17 Will Newton <will.newton@linaro.org>
41910
41911 * manual/setjmp.texi (System V contexts): Add note that
41912 calling setcontext on a context created by a call to a
41913 signal handler is undefined. Update text to note that
41914 setcontext from a signal handler is possible but not
41915 recommended.
41916
41917 [BZ #16629]
41918 * stdlib/tst-setcontext.c: Include signal.h.
41919 (main): Check that the signal stack before and
41920 after swapcontext is the same.
41921
41922 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
41923 Re-implement to restore registers in user code and avoid
41924 rt_sigreturn system call.
41925
41926 2014-04-17 Wilco <wdijkstr@arm.com>
41927
41928 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
41929 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
41930 * math/test-fenv.c: Skip exception trap tests on targets which only
41931 support non-stop mode.
41932
41933 2014-04-17 Ian Bolton <ian.bolton@arm.com>
41934 Wilco Dijkstra <wilco.dijkstra@arm.com>
41935
41936 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
41937 (libc_feholdsetround_aarch64_ctx)
41938 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
41939 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
41940 (libc_feresetround_ctx, libc_feresetroundf_ctx)
41941 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
41942 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
41943 (libc_feresetround_noexl_ctx): Define.
41944
41945 2014-04-16 Richard Henderson <rth@redhat.com>
41946
41947 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
41948
41949 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
41950 unwind tables.
41951
41952 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
41953 const from the non-libc, non-ldso copy.
41954
41955 * sysdeps/alpha/libm-test-ulps: Regenerate.
41956
41957 2014-04-16 Ian Bolton <ian.bolton@arm.com>
41958 Wilco Dijkstra <wilco.dijkstra@arm.com>
41959
41960 * sysdeps/aarch64/fpu/math_private.h: New file.
41961
41962 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
41963
41964 * sysdeps/aarch64/libm-test-ulps: Regenerate.
41965
41966 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
41967
41968 [BZ #16275]
41969 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
41970 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
41971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
41972 Intel MPX bound registers before _dl_profile_fixup.
41973 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
41974 registers after _dl_profile_fixup. Save and restore bound
41975 registers bnd0/bnd1 when calling _dl_call_pltexit.
41976 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
41977 (LR_BND_OFFSET): Likewise.
41978 (LRV_BND0_OFFSET): Likewise.
41979 (LRV_BND1_OFFSET): Likewise.
41980
41981 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41982
41983 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
41984 to...
41985 * sysdeps/mach/hurd/i386/tls.h: ... here.
41986 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
41987 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
41988 fields.
41989
41990 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41991
41992 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
41993
41994 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
41995
41996 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41997
41998 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
41999
42000 [BZ #14770]
42001 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42002 * sysdeps/s390/configure: Regenerate.
42003
42004 [BZ #16824]
42005 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42006 Set round-to-nearest internally to reduce error accumulation.
42007
42008 2014-04-16 Alan Modra <amodra@gmail.com>
42009
42010 [BZ #16740]
42011 [BZ #16619]
42012 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42013 * math/libm-test.inc (frexp_test_data): Add tests.
42014 * NEWS: Update fixed bug list.
42015
42016 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
42017
42018 * benchtests/Makefile: Depend on libraries in build directory.
42019 (bench-math): Separate out math tests.
42020 (bench-pthread): Separate out pthread tests.
42021 (bench): Include math and pthread tests.
42022
42023 2014-04-14 Carlos O'Donell <carlos@redhat.com>
42024
42025 [BZ #16831]
42026 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42027 _dl_debug_initialize.
42028
42029 * configure.ac: Remove SELinux header check.
42030 * configure: Regenerate.
42031 * nscd/selinux.c (perms): Array of const char* to permission names.
42032 (nscd_request_avc_has_perm): Call security_deny_unknown to find
42033 default policy. Call string_to_security_class and string_to_av_perm to
42034 translate strings. Enforce default policy and call avs_has_perm with
42035 results of translated strings.
42036
42037 2014-04-13 David S. Miller <davem@davemloft.net>
42038
42039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42040
42041 2014-04-12 Allan McRae <allan@archlinux.org>
42042
42043 [BZ #16838]
42044 * manual/string.texi (Collation Functions): Fix qsort argument
42045 order in example.
42046 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42047
42048 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
42049
42050 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42051 Make the test a no-op if there are no exceptions defined.
42052
42053 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
42054
42055 * elf/Makefile (tests): make tst-dlopen-aout conditional on
42056 enable-hardcoded-path-in-tests
42057
42058 2014-04-11 Will Newton <will.newton@linaro.org>
42059
42060 * benchtests/Makefile (extra-objs): Add json-lib.o.
42061 (bench-func): Tidy up JSON output.
42062 * benchtests/bench-skeleton.c: Include json-lib.h.
42063 (main): Use JSON library functions to do output of
42064 benchmark results.
42065 * benchtests/bench-timing-type.c (main): Output the
42066 timing type simply, leaving formatting to the user.
42067 * benchtests/json-lib.c: New file.
42068 * benchtests/json-lib.h: Likewise.
42069
42070 2014-04-11 Torvald Riegel <triegel@redhat.com>
42071
42072 [BZ #15215]
42073 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42074 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
42075 memory barriers. Add comments.
42076 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42077 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42078 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42079 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42080 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42081 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42082
42083 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42084
42085 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42086 * sysdeps/s390/s390-64/configure.ac: ... this ...
42087 * sysdeps/s390/configure.ac: ... to here.
42088 * sysdeps/s390/s390-32/configure: Delete file.
42089 * sysdeps/s390/s390-64/configure: Delete file.
42090 * sysdeps/s390/configure: Regenerate.
42091
42092 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
42093
42094 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42095
42096 2014-04-11 Will Newton <will.newton@linaro.org>
42097
42098 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42099 to zero if it is not defined elsewhere. (mtrim): Test
42100 the value of MALLOC_DEBUG with #if rather than #ifdef.
42101
42102 2014-04-10 Torvald Riegel <triegel@redhat.com>
42103
42104 * benchtests/pthread_once-inputs: New file.
42105 * benchtests/pthread_once-source.c: New file.
42106 * benchtests/README: Update documentation.
42107
42108 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
42109 H.J. Lu <hongjiu.lu@intel.com>
42110
42111 [BZ #16275]
42112 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42113 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42114 * sysdeps/x86_64/configure: Regenerated.
42115 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42116 macro.
42117 (REGISTER_SAVE_RAX): Likewise.
42118 (REGISTER_SAVE_RCX): Likewise.
42119 (REGISTER_SAVE_RDX): Likewise.
42120 (REGISTER_SAVE_RSI): Likewise.
42121 (REGISTER_SAVE_RDI): Likewise.
42122 (REGISTER_SAVE_R8): Likewise.
42123 (REGISTER_SAVE_R9): Likewise.
42124 (REGISTER_SAVE_BND0): Likewise.
42125 (REGISTER_SAVE_BND1): Likewise.
42126 (REGISTER_SAVE_BND2): Likewise.
42127 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
42128 bound registers when calling _dl_fixup.
42129
42130 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42131
42132 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42133 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42134 of its definition.
42135 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42136 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42137 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42138 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42139 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42140 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42141 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42142
42143 2014-04-09 Peter Brett <peter@peter-b.co.uk>
42144
42145 [BZ #15514]
42146 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42147 pathconf(_PC_NAME_MAX).
42148
42149 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42150
42151 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42152 Remove macro usage.
42153 (__PTHREAD_SPINS): Move definition to ...
42154 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42155 (__PTHREAD_SPINS): ... here.
42156 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42157 (__PTHREAD_SPIN): Likewise.
42158 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42159 (__PTHREAD_SPIN): Likewise.
42160 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42161 (__PTHREAD_SPIN): Likewise.
42162 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42163 (__PTHREAD_SPIN): Likewise.
42164 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42165 (__PTHREAD_SPIN): Likewise.
42166 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42167 (__PTHREAD_SPIN): Likewise.
42168 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42169 (__PTHREAD_SPIN): Likewise.
42170 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42171 (__PTHREAD_SPIN): Likewise.
42172 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42173 (__PTHREAD_SPIN): Likewise.
42174 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42175 (__PTHREAD_SPIN): Likewise.
42176 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42177 (__PTHREAD_SPIN): Likewise.
42178 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42179 (__PTHREAD_SPIN): Likewise.
42180
42181 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42182 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42183 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42184 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42185 imply folder.
42186 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42187 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42188 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
42189 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
42190 correct imply path.
42191 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42192 strlen symbol for non multi-arch builds.
42193 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
42194 missing hidden_def and weak_alias.
42195
42196 2014-04-08 Carlos O'Donell <carlos@redhat.com>
42197
42198 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
42199
42200 2014-04-07 Will Newton <will.newton@linaro.org>
42201
42202 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
42203 and contents. [!_LIBC] Remove #ifndef and contents.
42204 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
42205 * string/memccpy.c (__memccpy): Use ANSI prototype.
42206 * string/memfrob.c (memfrob): Likewise.
42207 * string/strcoll.c (STRCOLL): Likewise.
42208 * string/strlen.c (strlen): Likewise.
42209 * string/strtok.c (STRTOK): Likewise.
42210 * string/strcat.c: Remove unused #include of memcopy.h.
42211 (strcat): Use ANSI prototype.
42212 * string/strchr.c: Remove unused #include of memcopy.h.
42213 (strchr): Use ANSI prototype.
42214 * string/strcmp.c: Remove unused #include of memcopy.h.
42215 (strcmp): Use ANSI prototype.
42216 * string/strcpy.c: Remove unused #include of memcopy.h.
42217 (strcpy): Use ANSI prototype.
42218
42219 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42220
42221 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
42222 * config.make.in (config-extra-cppflags): Set it from
42223 libc_extra_cppflags.
42224 * configure.ac (libc_extra_cflags): Make it accumulate over
42225 configure fragments.
42226 (libc_extra_cppflags): New flag.
42227 * configure. Regenerate.
42228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42229 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
42230 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
42231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
42232
42233 [BZ #16815]
42234 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
42235 result for FE_DOWNWARD rounding mode.
42236 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
42237 Likewise.
42238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42239
42240 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
42241
42242 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
42243 in function argument name.
42244
42245 2014-04-03 David Svoboda <svoboda@cert.org>
42246
42247 [BZ #5666]
42248 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
42249 explicitly.
42250
42251 2014-04-03 Roland McGrath <roland@hack.frob.com>
42252
42253 * elf/dl-unmap-segments.h: New file.
42254 * sysdeps/generic/ldsodefs.h
42255 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
42256 * elf/dl-close.c: Include <dl-unmap-segments.h>.
42257 * elf/dl-fptr.c: Likewise.
42258 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
42259 * sysdeps/aarch64/tlsdesc.c: Likewise.
42260 * sysdeps/arm/tlsdesc.c: Likewise.
42261 * sysdeps/i386/tlsdesc.c: Likewise.
42262 * sysdeps/tile/dl-runtime.c: Likewise.
42263 * sysdeps/x86_64/tlsdesc.c: Likewise.
42264 * elf/dl-load.h: New file.
42265 * elf/dl-load.c: Include it.
42266 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
42267 Macros moved to dl-load.h.
42268 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
42269 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
42270 Use _dl_unmap_segments in place of __munmap.
42271 Break out segment-mapping loop into ...
42272 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
42273
42274 2014-04-03 Will Newton <will.newton@linaro.org>
42275
42276 * elf/dl-lookup.c (do_lookup_x): Remove comment
42277 referring to nested function and move variable
42278 declarations down to before first use.
42279
42280 2014-04-02 Joseph Myers <joseph@codesourcery.com>
42281
42282 [BZ #16799]
42283 [BZ #16800]
42284 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
42285 with 0 numerator.
42286 * math/s_catanf.c (__catanf): Likewise.
42287 * math/s_catanh.c (__catanh): Likewise.
42288 * math/s_catanhf.c (__catanhf): Likewise.
42289 * math/s_catanhl.c (__catanhl): Likewise.
42290 * math/s_catanl.c (__catanl): Likewise.
42291 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
42292 by positive zero when computing -Inf result.
42293 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
42294 (catanh_test): Likewise.
42295 * sysdeps/i386/fpu/libm-test-ulps: Update.
42296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42297
42298 [BZ #16789]
42299 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
42300 instead of using underflowing value in computing result.
42301 * math/s_clog10.c (__clog10): Likewise.
42302 * math/s_clog10f.c (__clog10f): Likewise.
42303 * math/s_clog10l.c (__clog10l): Likewise.
42304 * math/s_clogf.c (__clogf): Likewise.
42305 * math/s_clogl.c (__clogl): Likewise.
42306 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
42307 (clog10_test): Likewise.
42308 * sysdeps/i386/fpu/libm-test-ulps: Update.
42309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42310
42311 2014-04-02 Alan Modra <amodra@gmail.com>
42312
42313 [BZ #16739]
42314 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
42315 output when value is near a power of two. Use int64_t for lx and
42316 remove casts. Use decimal rather than hex exponent constants.
42317 Don't use long double multiplication when double will suffice.
42318 * math/libm-test.inc (nextafter_test_data): Add tests.
42319 * NEWS: Add 16739 and 16786 to bug list.
42320
42321 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
42322
42323 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
42324
42325 2014-04-01 Will Newton <will.newton@linaro.org>
42326
42327 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
42328 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
42329
42330 2014-04-01 Florian Weimer <fweimer@redhat.com>
42331
42332 [BZ #13347]
42333 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
42334 * nptl/tst-setuid2.c: New file.
42335 * nptl/Makefile (xtests): Add tst-setuid2.
42336
42337 2014-04-01 Alan Modra <amodra@gmail.com>
42338
42339 [BZ #16786]
42340 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
42341
42342 2014-03-31 Joseph Myers <joseph@codesourcery.com>
42343
42344 [BZ #6803]
42345 [BZ #6804]
42346 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
42347 set errno as appropriate.
42348 * math/w_scalbf.c (__scalbf): Likewise.
42349 * math/w_scalbl.c (__scalbl): Likewise.
42350 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
42351 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
42352 * math/libm-test.inc (scalb_test_data): Add errno expectations.
42353 Add more NaN tests.
42354
42355 [BZ #16349]
42356 * math/w_atan2.c: Include <errno.h>.
42357 (__atan2): Set errno for result underflowing to zero.
42358 * math/w_atan2f.c: Include <errno.h>.
42359 (__atan2f): Set errno for result underflowing to zero.
42360 * math/w_atan2l.c: Include <errno.h>.
42361 (__atan2l): Set errno for result underflowing to zero.
42362 * math/auto-libm-test-in: Don't allow missing errno for some atan2
42363 tests.
42364 * math/auto-libm-test-out: Regenerated.
42365
42366 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42367
42368 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42369 Encode instruction correctly in little endian.
42370 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42371 Likewise.
42372 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42373 Likewise.
42374 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42375 Likewise.
42376 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42377 Likewise.
42378
42379 2014-03-31 Joseph Myers <joseph@codesourcery.com>
42380
42381 [BZ #9894]
42382 * sysdeps/unix/sysv/linux/kernel-features.h
42383 [__sparc__ && !__arch64__ && !__sparc_v9__]
42384 (__ASSUME_SET_ROBUST_LIST): Do not define.
42385 [__sparc__ && !__arch64__ && !__sparc_v9__]
42386 (__ASSUME_FUTEX_LOCK_PI): Likewise.
42387 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
42388 Likewise.
42389 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42390 (__ASSUME_FUTEX_LOCK_PI): Undefine.
42391 (__ASSUME_REQUEUE_PI): Likewise.
42392 (__ASSUME_SET_ROBUST_LIST): Likewise.
42393 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42394 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
42395 Undefine.
42396 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42397 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
42398 Likewise.
42399 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
42400 Likewise.
42401 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
42402 Likewise.
42403 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42404 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
42405 Undefine.
42406 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
42407 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
42408 Likewise.
42409
42410 [BZ #16648]
42411 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42412 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
42413 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
42414
42415 2014-03-31 Will Newton <will.newton@linaro.org>
42416
42417 * benchtests/Makefile (bench): Add ffs and ffsll to list
42418 of tests.
42419 * benchtests/ffs-inputs: New file.
42420 * benchtests/ffsll-inputs: Likewise.
42421
42422 2014-03-29 Joseph Myers <joseph@codesourcery.com>
42423
42424 [BZ #16770]
42425 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
42426 too large before casting to int.
42427 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
42428 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
42429 * math/libm-test.inc (scalb_test_data): Add more tests.
42430
42431 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42432
42433 * benchtests/Makefile (DETAILED_OPT): New make option.
42434 (bench-func): Run benchmark program with -d if DETAILED_OPT is
42435 set.
42436 * benchtests/bench-skeleton.c: Include stdbool.h.
42437 (main): Store and print timings per input.
42438 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
42439 member to each argument value.
42440 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
42441 (_print_arg_data): Initialize per-input timing to 0.
42442
42443 * benchtests/Makefile (timing-type): New binary.
42444 (bench-clean): Also remove bench-timing-type.
42445 (bench): New target for timing-type.
42446 (bench-func): Print output in JSON format.
42447 * benchtests/bench-skeleton.c (main): Print output in JSON
42448 format.
42449 * benchtests/bench-timing-type.c: New file.
42450 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
42451 (TIMING_PRINT_STATS): Remove.
42452 * benchtests/scripts/bench.py (_print_arg_data): Store variant
42453 name separately.
42454
42455 * benchtests/bench-modf.c: Remove.
42456 * benchtests/modf-inputs: New inputs file.
42457
42458 2014-03-28 Joseph Myers <joseph@codesourcery.com>
42459
42460 [BZ #16362]
42461 * math/s_clog10.c (M_PI_LOG10E): New macro.
42462 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
42463 imaginary parts are 0.
42464 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
42465 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
42466 imaginary parts are 0.
42467 * math/s_clog10l.c (M_PI_LOG10El): New macro.
42468 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
42469 imaginary parts are 0.
42470 * math/libm-test.inc (clog10_test_data): Update expected results
42471 for when real and imaginary parts are 0.
42472
42473 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
42474
42475 * elf/dl-load.c: Finish conversion of __builtin_expect into
42476 __glibc_{un}likely.
42477
42478 2014-03-27 Joseph Myers <joseph@codesourcery.com>
42479
42480 [BZ #16348]
42481 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
42482 1+x for argument with exponent below -67.
42483 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
42484 Likewise.
42485 * math/auto-libm-test-in: Add more tests of exp.
42486 * math/auto-libm-test-out: Regenerated.
42487
42488 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42489
42490 [BZ #16759]
42491 * inet/getnetgrent_r.c (get_nonempty_val): New function.
42492 (nscd_getnetgrent): Use it.
42493
42494 [BZ #16760]
42495 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
42496 of stpcpy.
42497
42498 2014-03-27 Andi Kleen <ak@linux.intel.com>
42499
42500 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
42501 (lll_robust_lock, lll_cond_lock, lll_timedlock)
42502 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42503 (lll_robust_unlock): Remove out of line section. Use cfi
42504 intrinsics.
42505 (LLL_STUB_UNWIND_INFO*): Remove.
42506 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
42507 (lll_robust_lock, lll_cond_lock, lll_timedlock)
42508 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42509 (lll_robust_unlock): Remove out of line section. Use cfi
42510 intrinsics.
42511 (LLL_STUB_UNWIND_INFO*): Remove.
42512
42513 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42514
42515 [BZ #16758]
42516 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
42517 blank values.
42518
42519 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
42520
42521 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
42522
42523 2014-03-26 Joseph Myers <joseph@codesourcery.com>
42524
42525 [BZ #16198]
42526 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
42527 fnstenv.
42528 * math/test-fenv-preserve.c: New file.
42529 * math/Makefile (tests): Add test-fenv-preserve.
42530
42531 2014-03-26 Will Newton <will.newton@linaro.org>
42532
42533 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
42534
42535 2014-03-25 Roland McGrath <roland@hack.frob.com>
42536
42537 * scripts/versionlist.awk: Partition the version sets and emit all
42538 GLIBC_* (sorted) before all others (sorted).
42539
42540 2014-03-25 Joseph Myers <joseph@codesourcery.com>
42541
42542 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
42543 GLIBC_2.2.5 version.
42544
42545 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42546
42547 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
42548 calls.
42549
42550 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
42551 previous change.
42552
42553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42554
42555 2014-03-25 Andreas Schwab <schwab@suse.de>
42556
42557 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
42558 label to be used after in6ailist is initialized.
42559
42560 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42561
42562 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42563 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42564
42565 2014-03-25 Joseph Myers <joseph@codesourcery.com>
42566
42567 [BZ #16357]
42568 [BZ #16599]
42569 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
42570 min_plus_half.
42571 (fp_formats): Update initializers.
42572 (init_fp_formats): Initialize new field.
42573 (output_for_one_input_case): Allow underflow for results up to
42574 min_plus_half.
42575 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
42576 * math/auto-libm-test-in: Don't mark some underflows from asin and
42577 atanh as spurious.
42578 * math/auto-libm-test-out: Regenerated.
42579 * sysdeps/i386/fpu/libm-test-ulps: Update.
42580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42581
42582 2014-03-25 Andreas Schwab <schwab@suse.de>
42583
42584 * libio/Makefile (tst-ftell-partial-wide-ENV)
42585 (tst-ftell-active-handler-ENV): Define.
42586
42587 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
42588
42589 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
42590
42591 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
42592
42593 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
42594
42595 2014-03-24 Joseph Myers <joseph@codesourcery.com>
42596
42597 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
42598 * sysdeps/x86_64/fpu/multiarch/e_exp.c
42599 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
42600
42601 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
42602
42603 [BZ #16634]
42604 * elf/dl-load.c (open_verify): Add mode parameter.
42605 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
42606 (open_path): Change from boolean 'secure' to complete flag 'mode'
42607 (_dl_map_object): Adjust.
42608 * elf/Makefile (tests): Add tst-dlopen-aout.
42609 * elf/tst-dlopen-aout.c: New test.
42610
42611 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
42612
42613 [BZ #16714]
42614 * sysdeps/unix/sysv/linux/s390/bits/stat.h
42615 (struct stat): Rename member pad0 to __glibc_reserved0.
42616
42617 [BZ #16712]
42618 * sysdeps/s390/s390-32/bits/wordsize.h
42619 (__WORDSIZE32_SIZE_ULONG): New define.
42620 * sysdeps/s390/s390-64/bits/wordsize.h
42621 (__WORDSIZE32_SIZE_ULONG): Likewise.
42622 * sysdeps/generic/stdint.h (SIZE_MAX):
42623 Define as UL if __WORDSIZE32_SIZE_ULONG.
42624
42625 [BZ #16713]
42626 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
42627 (__glibc_reserved0): New variable.
42628 (sa_flags): Change type to int.
42629
42630 * posix/Makefile (before-compile): Use += before-compile instead
42631 of a :=.
42632
42633 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42634 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42635
42636 2014-03-20 Andreas Schwab <schwab@suse.de>
42637
42638 [BZ #16743]
42639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
42640 non-matching result from nscd.
42641
42642 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42643
42644 * scripts/bench.py: Moved to ...
42645 * benchtests/scripts/bench.py: ... here.
42646 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
42647
42648 2014-03-24 Andreas Schwab <schwab@suse.de>
42649
42650 [BZ #16002]
42651 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
42652 alloca_account and account alloca use for struct in6ailist.
42653
42654 2014-03-24 Joseph Myers <joseph@codesourcery.com>
42655
42656 [BZ #16284]
42657 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
42658 rounding mode to recompute results that overflow to infinity or
42659 underflow to zero.
42660 * math/auto-libm-test-in: Don't mark tests as expected to fail for
42661 bug 16284.
42662 * math/auto-libm-test-out: Regenerated.
42663 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
42664 (ccosh_test): Likewise.
42665 (csin_test_data): Use plus_oflow.
42666 (csin_test): Use ALL_RM_TEST.
42667 (csinh_test_data): Use plus_oflow.
42668 (csinh_test): Use ALL_RM_TEST.
42669 * sysdeps/i386/fpu/libm-test-ulps: Update.
42670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42671
42672 2014-03-21 Joseph Myers <joseph@codesourcery.com>
42673
42674 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
42675 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
42676 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
42677
42678 [BZ #16731]
42679 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
42680 when x - 1 is zero.
42681 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
42682 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
42683 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42684 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
42685 argument is 1.
42686 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
42687 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
42688 zero.
42689 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
42690 * sysdeps/i386/fpu/libm-test-ulps: Update.
42691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42692
42693 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42694
42695 * scripts/bench.pl: Remove file.
42696 * scripts/bench.py: New benchmark script.
42697 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
42698 * benchtests/README: Mention python dependency.
42699 * scripts/pylintrc: New file.
42700 * scripts/pylint: New file.
42701
42702 * bits/mathdef.h: Use #ifdef instead of #if.
42703 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
42704 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42705 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
42706 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42707 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
42708 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42709
42710 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42711 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42712
42713 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
42714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
42715 and strpbrk-ppc64 objects.
42716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42717 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
42718 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
42719 multiarch strpbrk for POWER7.
42720 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
42721 multiarch strpbrk for PPC64.
42722 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
42723 ifunc selector.
42724 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
42725 strpbrk for POWER7.
42726
42727 2014-03-20 Joseph Myers <joseph@codesourcery.com>
42728
42729 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
42730 (atan_test): Likewise.
42731 (atanh_test_data): Use NO_TEST_INLINE for two tests.
42732 (atanh_test): Use ALL_RM_TEST.
42733 (atan2_test_data): Likewise.
42734 (cabs_test): Likewise.
42735 (cacosh_test): Likewise.
42736 (carg_test): Likewise.
42737 (casin_test): Likewise.
42738 (casinh_test): Likewise.
42739 (cbrt_test): Likewise.
42740 (csqrt_test): Likewise.
42741 (erf_test): Likewise.
42742 (erfc_test): Likewise.
42743 (pow10_test): Likewise.
42744 (exp2_test): Likewise.
42745 (hypot_test): Likewise.
42746 (j0_test): Likewise.
42747 (j1_test): Likewise.
42748 (lgamma_test): Likewise.
42749 (gamma_test): Likewise.
42750 (sincos_test): Likewise.
42751 (tanh_test): Likewise.
42752 (y0_test): Likewise.
42753 (y1_test): Likewise.
42754 * sysdeps/i386/fpu/libm-test-ulps: Update.
42755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42756
42757 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42758
42759 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
42760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
42761 and strcspn-ppc64 objects.
42762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42763 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
42764 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
42765 multiarch strcspn for POWER7.
42766 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
42767 multiarch strcspn for PPC64.
42768 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
42769 ifunc selector.
42770 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
42771 strcspn for POWER7.
42772
42773 2014-03-20 Joseph Myers <joseph@codesourcery.com>
42774
42775 * math/gen-libm-test.pl (generate_testfile): Expect only function
42776 name as argument to AUTO_TESTS_* and pass results for all rounding
42777 modes to parse_args.
42778 (parse_auto_input): Separate inputs of automatic tests from
42779 outputs before storing in %auto_tests.
42780 * math/libm-test.inc (acos_test_data): Update call to
42781 AUTO_TESTS_f_f.
42782 (acos_test): Use ALL_RM_TEST.
42783 (acos_tonearest_test_data): Remove.
42784 (acos_test_tonearest): Likewise.
42785 (acos_towardzero_test_data): Likewise.
42786 (acos_test_towardzero): Likewise.
42787 (acos_downward_test_data): Likewise.
42788 (acos_test_downward): Likewise.
42789 (acos_upward_test_data): Likewise.
42790 (acos_test_upward): Likewise.
42791 (acosh_test_data): Update call to AUTO_TESTS_f_f.
42792 (asin_test_data): Likewise.
42793 (asin_test): Use ALL_RM_TEST.
42794 (asin_tonearest_test_data): Remove.
42795 (asin_test_tonearest): Likewise.
42796 (asin_towardzero_test_data): Likewise.
42797 (asin_test_towardzero): Likewise.
42798 (asin_downward_test_data): Likewise.
42799 (asin_test_downward): Likewise.
42800 (asin_upward_test_data): Likewise.
42801 (asin_test_upward): Likewise.
42802 (asinh_test_data): Update call to AUTO_TESTS_f_f.
42803 (atan_test_data): Likewise.
42804 (atanh_test_data): Likewise.
42805 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
42806 (cabs_test_data): Update call to AUTO_TESTS_c_f.
42807 (carg_test_data): Likewise.
42808 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
42809 (ccos_test_data): Update call to AUTO_TESTS_c_c.
42810 (ccosh_test_data): Likewise.
42811 (cexp_test_data): Likewise.
42812 (clog_test_data): Likewise.
42813 (clog10_test_data): Likewise.
42814 (cos_test_data): Update call to AUTO_TESTS_f_f.
42815 (cos_test): Use ALL_RM_TEST.
42816 (cos_tonearest_test_data): Remove.
42817 (cos_test_tonearest): Likewise.
42818 (cos_towardzero_test_data): Likewise.
42819 (cos_test_towardzero): Likewise.
42820 (cos_downward_test_data): Likewise.
42821 (cos_test_downward): Likewise.
42822 (cos_upward_test_data): Likewise.
42823 (cos_test_upward): Likewise.
42824 (cosh_test_data): Update call to AUTO_TESTS_f_f.
42825 (cosh_test): Use ALL_RM_TEST.
42826 (cosh_tonearest_test_data): Remove.
42827 (cosh_test_tonearest): Likewise.
42828 (cosh_towardzero_test_data): Likewise.
42829 (cosh_test_towardzero): Likewise.
42830 (cosh_downward_test_data): Likewise.
42831 (cosh_test_downward): Likewise.
42832 (cosh_upward_test_data): Likewise.
42833 (cosh_test_upward): Likewise.
42834 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
42835 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
42836 (ctan_test_data): Likewise.
42837 (ctan_test): Use ALL_RM_TEST.
42838 (ctan_tonearest_test_data): Remove.
42839 (ctan_test_tonearest): Likewise.
42840 (ctan_towardzero_test_data): Likewise.
42841 (ctan_test_towardzero): Likewise.
42842 (ctan_downward_test_data): Likewise.
42843 (ctan_test_downward): Likewise.
42844 (ctan_upward_test_data): Likewise.
42845 (ctan_test_upward): Likewise.
42846 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
42847 (ctanh_test): Use ALL_RM_TEST.
42848 (ctanh_tonearest_test_data): Remove.
42849 (ctanh_test_tonearest): Likewise.
42850 (ctanh_towardzero_test_data): Likewise.
42851 (ctanh_test_towardzero): Likewise.
42852 (ctanh_downward_test_data): Likewise.
42853 (ctanh_test_downward): Likewise.
42854 (ctanh_upward_test_data): Likewise.
42855 (ctanh_test_upward): Likewise.
42856 (erf_test_data): Update call to AUTO_TESTS_f_f.
42857 (erfc_test_data): Likewise.
42858 (exp_test_data): Likewise.
42859 (exp_test): Use ALL_RM_TEST.
42860 (exp_tonearest_test_data): Remove.
42861 (exp_test_tonearest): Likewise.
42862 (exp_towardzero_test_data): Likewise.
42863 (exp_test_towardzero): Likewise.
42864 (exp_downward_test_data): Likewise.
42865 (exp_test_downward): Likewise.
42866 (exp_upward_test_data): Likewise.
42867 (exp_test_upward): Likewise.
42868 (exp10_test_data): Update call to AUTO_TESTS_f_f.
42869 (exp10_test): Use ALL_RM_TEST.
42870 (exp10_tonearest_test_data): Remove.
42871 (exp10_test_tonearest): Likewise.
42872 (exp10_towardzero_test_data): Likewise.
42873 (exp10_test_towardzero): Likewise.
42874 (exp10_downward_test_data): Likewise.
42875 (exp10_test_downward): Likewise.
42876 (exp10_upward_test_data): Likewise.
42877 (exp10_test_upward): Likewise.
42878 (exp2_test_data): Update call to AUTO_TESTS_f_f.
42879 (expm1_test_data): Likewise.
42880 (expm1_test): Use ALL_RM_TEST.
42881 (expm1_tonearest_test_data): Remove.
42882 (expm1_test_tonearest): Likewise.
42883 (expm1_towardzero_test_data): Likewise.
42884 (expm1_test_towardzero): Likewise.
42885 (expm1_downward_test_data): Likewise.
42886 (expm1_test_downward): Likewise.
42887 (expm1_upward_test_data): Likewise.
42888 (expm1_test_upward): Likewise.
42889 (fma_test_data): Update call to AUTO_TESTS_fff_f.
42890 (fma_test): Use ALL_RM_TEST.
42891 (fma_towardzero_test_data): Remove.
42892 (fma_test_towardzero): Likewise.
42893 (fma_downward_test_data): Likewise.
42894 (fma_test_downward): Likewise.
42895 (fma_upward_test_data): Likewise.
42896 (fma_test_upward): Likewise.
42897 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
42898 (j0_test_data): Update call to AUTO_TESTS_f_f.
42899 (j1_test_data): Likewise.
42900 (jn_test_data): Update call to AUTO_TESTS_if_f.
42901 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
42902 (log_test_data): Update call to AUTO_TESTS_f_f.
42903 (log10_test_data): Likewise.
42904 (log1p_test_data): Likewise.
42905 (log2_test_data): Likewise.
42906 (pow_test_data): Update call to AUTO_TESTS_ff_f.
42907 (pow_tonearest_test_data): Likewise.
42908 (sin_test_data): Update call to AUTO_TESTS_f_f.
42909 (sin_test): Use ALL_RM_TEST.
42910 (sin_tonearest_test_data): Remove.
42911 (sin_test_tonearest): Likewise.
42912 (sin_towardzero_test_data): Likewise.
42913 (sin_test_towardzero): Likewise.
42914 (sin_downward_test_data): Likewise.
42915 (sin_test_downward): Likewise.
42916 (sin_upward_test_data): Likewise.
42917 (sin_test_upward): Likewise.
42918 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
42919 (sinh_test_data): Update call to AUTO_TESTS_f_f.
42920 (sinh_test): Use ALL_RM_TEST.
42921 (sinh_tonearest_test_data): Remove.
42922 (sinh_test_tonearest): Likewise.
42923 (sinh_towardzero_test_data): Likewise.
42924 (sinh_test_towardzero): Likewise.
42925 (sinh_downward_test_data): Likewise.
42926 (sinh_test_downward): Likewise.
42927 (sinh_upward_test_data): Likewise.
42928 (sinh_test_upward): Likewise.
42929 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
42930 (sqrt_test): Use ALL_RM_TEST.
42931 (sqrt_tonearest_test_data): Remove.
42932 (sqrt_test_tonearest): Likewise.
42933 (sqrt_towardzero_test_data): Likewise.
42934 (sqrt_test_towardzero): Likewise.
42935 (sqrt_downward_test_data): Likewise.
42936 (sqrt_test_downward): Likewise.
42937 (sqrt_upward_test_data): Likewise.
42938 (sqrt_test_upward): Likewise.
42939 (tan_test_data): Update call to AUTO_TESTS_f_f.
42940 (tan_test): Use ALL_RM_TEST.
42941 (tan_tonearest_test_data): Remove.
42942 (tan_test_tonearest): Likewise.
42943 (tan_towardzero_test_data): Likewise.
42944 (tan_test_towardzero): Likewise.
42945 (tan_downward_test_data): Likewise.
42946 (tan_test_downward): Likewise.
42947 (tan_upward_test_data): Likewise.
42948 (tan_test_upward): Likewise.
42949 (tanh_test_data): Update call to AUTO_TESTS_f_f.
42950 (tgamma_test_data): Likewise.
42951 (y0_test_data): Likewise.
42952 (y1_test_data): Likewise.
42953 (yn_test_data): Update call to AUTO_TESTS_if_f.
42954 (main): Do not call removed functions.
42955
42956 2014-03-19 Joseph Myers <joseph@codesourcery.com>
42957
42958 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
42959 (ldexp_test_data): Remove.
42960 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
42961 scalbn_test_data.
42962 (scalb_test): Use ALL_RM_TEST.
42963
42964 2014-03-19 Andreas Schwab <schwab@suse.de>
42965
42966 * nscd/nscd.service: Also invalidate netgroup cache on reload.
42967
42968 2014-03-19 Joseph Myers <joseph@codesourcery.com>
42969
42970 [BZ #16649]
42971 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42972 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
42973 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
42974 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42975 (__ASSUME_PREADV): Undefine.
42976 (__ASSUME_PWRITEV): Likewise.
42977
42978 2014-03-18 Roland McGrath <roland@hack.frob.com>
42979
42980 * bits/mman-linux.h: Add comment about non-Linux use.
42981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
42982 bits/mman-linux.h resting place.
42983
42984 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
42985 * bits/mman-linux.h: ... here.
42986
42987 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42988
42989 * conform/conformtest.pl: Add standard definition when calling C
42990 preprocessor on data files.
42991 (checknamespace): Remove unused variable.
42992
42993 2014-03-18 Joseph Myers <joseph@codesourcery.com>
42994
42995 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
42996 minus_oflow, plus_uflow and minus_uflow in expected results.
42997 * math/libm-test.inc (scalbn_test_data): Add more tests of
42998 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
42999 minus_uflow.
43000 (scalbn_test): Use ALL_RM_TEST.
43001 (scalbln_test_data): Add more tests of negative arguments. Use
43002 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43003 (scalbln_test): Use ALL_RM_TEST.
43004
43005 2014-03-18 Roland McGrath <roland@hack.frob.com>
43006
43007 * scripts/abilist.awk: Ignore symbols marked with .hidden.
43008
43009 2014-03-18 Will Newton <will.newton@linaro.org>
43010
43011 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43012 inaccurate comment.
43013
43014 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43015
43016 * Makerules [!subdir] (check-abi): Exit with error status if a
43017 test failed.
43018
43019 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43020
43021 * math/libm-test.inc (nearbyint_test_data): Include all tests used
43022 for rint. Include results for all rounding modes.
43023 (nearbyint_test): Use ALL_RM_TEST.
43024 (rint_test_data): Include all tests used for nearbyint.
43025
43026 2014-03-17 Will Newton <will.newton@linaro.org>
43027
43028 * nptl/sysdeps/pthread/pthread.h: Revert previous
43029 change.
43030
43031 * sysdeps/generic/ldsodefs.h: Revert previous
43032 change.
43033
43034 * libio/genops.c: Revert previous change.
43035 * libio/libioP.h: Likewise.
43036 * stdio-common/vfprintf.c: Likewise.
43037
43038 * sysdeps/generic/math_private.h: Revert previous
43039 change.
43040
43041 * sysdeps/generic/math_private.h: Check whether
43042 HAVE_RM_CTX is defined with #ifdef rather
43043 than #if.
43044
43045 * argp/argp-fmtstream.h: Check whether
43046 __STRICT_ANSI__ is defined with #ifdef rather
43047 than #if.
43048 * argp/argp.h: Likewise.
43049
43050 * libio/genops.c: Check whether
43051 _IO_JUMPS_OFFSET is defined with #ifdef rather
43052 than #if.
43053 * libio/libioP.h: Likewise.
43054 * stdio-common/vfprintf.c: Likewise.
43055
43056 * sysdeps/generic/ldsodefs.h: Check whether
43057 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43058 than #if.
43059
43060 * nptl/sysdeps/pthread/pthread.h: Check
43061 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43062 its value.
43063
43064 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43065
43066 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43067 setting O_APPEND.
43068 * libio/tst-ftell-active-handler.c (do_append_test): Add a
43069 test case.
43070
43071 [BZ #16680]
43072 * libio/fileops.c (_IO_file_open): Seek to end of file but
43073 don't cache the offset.
43074 (get_file_offset): Remove function.
43075 (do_ftell): Use cached offset when available.
43076 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43077 don't cache the offset.
43078 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43079 case.
43080 (do_one_test): Call it.
43081 (do_ftell_test): Fix up expected old offset for a+ mode.
43082 * libio/wfileops.c (do_ftell_wide): Used cached offset when
43083 available.
43084
43085 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43086 up test status with function return status.
43087 (do_write_test): Likewise.
43088 (do_append_test): Likewise.
43089
43090 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43091 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43092 Remove.
43093
43094 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43095
43096 * math/gen-libm-test.pl (parse_args): Handle results specified for
43097 each rounding mode separately.
43098 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43099 tests and results from lrint_tonearest_test_data,
43100 lrint_towardzero_test_data, lrint_downward_test_data and
43101 lrint_upward_test_data.
43102 (lrint_test): Use ALL_RM_TEST.
43103 (lrint_tonearest_test_data): Remove.
43104 (lrint_test_tonearest): Likewise.
43105 (lrint_towardzero_test_data): Likewise.
43106 (lrint_test_towardzero): Likewise.
43107 (lrint_downward_test_data): Likewise.
43108 (lrint_test_downward): Likewise.
43109 (lrint_upward_test_data): Likewise.
43110 (lrint_test_upward): Likewise.
43111 (llrint_test_data): Merge in per-rounding-mode tests and results
43112 from llrint_tonearest_test_data, llrint_towardzero_test_data,
43113 llrint_downward_test_data and llrint_upward_test_data.
43114 (llrint_test): Use ALL_RM_TEST.
43115 (llrint_tonearest_test_data): Remove.
43116 (llrint_test_tonearest): Likewise.
43117 (llrint_towardzero_test_data): Likewise.
43118 (llrint_test_towardzero): Likewise.
43119 (llrint_downward_test_data): Likewise.
43120 (llrint_test_downward): Likewise.
43121 (llrint_upward_test_data): Likewise.
43122 (llrint_test_upward): Likewise.
43123 (rint_test_data): Merge in per-rounding-mode tests and results
43124 from rint_tonearest_test_data, rint_towardzero_test_data,
43125 rint_downward_test_data and rint_upward_test_data. Add
43126 per-rounding-mode results for tests not in those arrays.
43127 (rint_test): Use ALL_RM_TEST.
43128 (rint_tonearest_test_data): Remove.
43129 (rint_test_tonearest): Likewise.
43130 (rint_towardzero_test_data): Likewise.
43131 (rint_test_towardzero): Likewise.
43132 (rint_downward_test_data): Likewise.
43133 (rint_test_downward): Likewise.
43134 (rint_upward_test_data): Likewise.
43135 (rint_test_upward): Likewise.
43136 (main): Don't call removed functions.
43137
43138 2014-03-14 Roland McGrath <roland@hack.frob.com>
43139
43140 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43141 "Compiled on ..." crapola. It is anti-useful.
43142
43143 2014-03-14 Joseph Myers <joseph@codesourcery.com>
43144
43145 * scripts/evaluate-test.sh: Handle fourth argument to determine
43146 whether test run should stop on failure.
43147 * Makeconfig (stop-on-test-failure): New variable.
43148 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43149 $(stop-on-test-failure).
43150 * Makefile (tests): Give a summary of results from testing and
43151 exit with failure status if they include an ERROR or FAIL.
43152 (xtests): Likewise.
43153 * manual/install.texi (Configuring and compiling): Mention
43154 stop-on-test-failure=y.
43155 * INSTALL: Regenerated.
43156
43157 2014-03-14 Roland McGrath <roland@hack.frob.com>
43158
43159 * scripts/versionlist.awk: New file.
43160 * Makerules [$(build-shared) = yes]
43161 (postclean-generated): Add Versions.def, not Versions.def.v and
43162 Versions.def.v.i.
43163 ($(common-objpfx)Versions.def.v.i): Target removed.
43164 ($(common-objpfx)Versions.def): New target.
43165 ($(common-objpfx)Versions.all): Depend on that rather that
43166 $(common-objpfx)Versions.def.v.
43167 * Versions.def: File removed.
43168
43169 * Makeconfig (+gccwarn): Add -Wundef.
43170 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43171 a dl-sysdep.h breaking its contract.
43172 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43173 * include/stackinfo.h: New file.
43174 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43175 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43176 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43177 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43178 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43179 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43180 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43181 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43182 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43183 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43184 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43185 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43186 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43187 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43188 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43189
43190 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43191
43192 [BZ #16707]
43193 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
43194 implementation.
43195 * math/libm-test.inc (round_test_data): Add more tests.
43196
43197 [BZ #16706]
43198 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
43199 implementation.
43200 * math/libm-test.inc (nearbyint_test_data): Add more tests.
43201
43202 [BZ #16701]
43203 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43204 implementation.
43205 * math/libm-test.inc (ceil_test_data): Add more tests.
43206
43207 * math/libm-test.inc (trunc_test_data): Add more tests related to
43208 BZ#16414.
43209
43210 2014-03-14 Roland McGrath <roland@hack.frob.com>
43211
43212 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
43213 with #if rather than #ifdef.
43214 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
43215
43216 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
43217
43218 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
43219 first. Disable AVX-512 GCC support if assembler doesn't support
43220 it.
43221 * sysdeps/x86_64/configure: Regenerated.
43222
43223 2014-03-13 Carlos O'Donell <carlos@redhat.com>
43224
43225 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
43226 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
43227 (__old_pthread_attr_setstack): Likewise.
43228 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
43229 [!_STACK_GROWS_DOWN]: Likewise.
43230
43231 2014-03-13 Mike Frysinger <vapier@gentoo.org>
43232
43233 * config.make.in (have-bash2): Delete.
43234 * configure.ac (libc_cv_have_bash2): Delete.
43235 * configure: Regenerate.
43236 * elf/Makefile (common-ldd-rewrite): Rename to ...
43237 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
43238 (sh-ldd-rewrite): Delete.
43239 (bash-ldd-rewrite): Delete.
43240 (have-bash2): Delete checks.
43241 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
43242 ldd-rewrite.
43243
43244 * config.make.in (have-ksh): Delete.
43245 (KSH): Delete.
43246 * configure.ac (libc_cv_have_ksh): Delete.
43247 * configure: Regenerate.
43248
43249 * elf/Makefile: Delete $(have-ksh) check.
43250 ($(objpfx)sotruss): Change KSH to BASH.
43251 * elf/sotruss.ksh: Rename to ...
43252 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
43253 function style to match POSIX. Drop ksh vim mode setting.
43254
43255 * manual/time.texi (Specifying the Time Zone with TZ): Change
43256 Tuesday to Thursday.
43257
43258 * debug/tst-longjmp_chk2.c: Update header comment.
43259 (stackoverflow_handler): Add comment. Call assert on pass value.
43260
43261 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
43262
43263 [BZ #16194]
43264 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
43265 (HAVE_AVX512_ASM_SUPPORT): Likewise.
43266 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
43267 (La_x86_64_vector): Add zmm.
43268 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
43269 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
43270 ($(objpfx)tst-audit10): New target.
43271 ($(objpfx)tst-audit10.out): Likewise.
43272 (tst-audit10-ENV): New.
43273 (AVX512-CFLAGS): Likewise.
43274 (CFLAGS-tst-audit10.c): Likewise.
43275 (CFLAGS-tst-auditmod10a.c): Likewise.
43276 (CFLAGS-tst-auditmod10b.c): Likewise.
43277 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
43278 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
43279 * sysdeps/x86_64/configure: Regenerated.
43280 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
43281 AVX-512 zmm register support.
43282 (_dl_x86_64_save_sse): Likewise.
43283 (_dl_x86_64_restore_sse): Likewise.
43284 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
43285 size vector registers.
43286 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
43287 (ZMM_SIZE): Likewise.
43288 * sysdeps/x86_64/tst-audit10.c: New file.
43289 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
43290 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
43291
43292 2014-03-13 Roland McGrath <roland@hack.frob.com>
43293
43294 * configure.ac (HAVE_EHDR_START): New check.
43295 * configure: Regenerated.
43296 * config.h.in (HAVE_EHDR_START): New #undef.
43297 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
43298 assuming the lowest-addressed segment maps the start of the file.
43299
43300 2014-03-13 Joseph Myers <joseph@codesourcery.com>
43301
43302 * INSTALL: Regenerated.
43303
43304 2014-03-13 Will Newton <will.newton@linaro.org>
43305
43306 * manual/setjmp.texi (System V contexts): Improve
43307 clarity and grammar of documentation.
43308
43309 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
43310
43311 [BZ #16381]
43312 * elf/Makefile (tests): Add tst-pie2.
43313 (tests-pie): Add tst-pie2.
43314 * elf/tst-pie2.c: New file.
43315 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
43316 for ET_EXEC.
43317 * elf/rtld.c (map_doit): Load executable as lt_executable.
43318 (dl_main): Likewise.
43319
43320 2014-03-12 Joseph Myers <joseph@codesourcery.com>
43321
43322 [BZ #16642]
43323 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43324 (__ASSUME_PSELECT): Undefine.
43325
43326 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43327
43328 [BZ #16689]
43329 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
43330 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
43331 static build.
43332 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
43333 selector for static builds.
43334
43335 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
43336
43337 [BZ #16695]
43338 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
43339 key in the buffer.
43340
43341 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43342
43343 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
43344 IFUNC selector for static builds.
43345
43346 2014-03-11 Joseph Myers <joseph@codesourcery.com>
43347
43348 * sysdeps/mips/math_private.h [__mips_hard_float]
43349 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
43350 libc_feresetround_mips_ctx.
43351 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
43352 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
43353 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
43354
43355 [BZ #16677]
43356 * math/s_nextafter.c (__nextafter): Do not return value from
43357 overflowing computation.
43358 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
43359 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
43360 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
43361 Likewise.
43362 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
43363 Likewise.
43364 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
43365 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
43366
43367 2014-03-11 Roland McGrath <roland@hack.frob.com>
43368
43369 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
43370 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
43371 Move sfi_sp use from the load-multiple (that no longer sets sp) to
43372 the new mov targetting sp.
43373
43374 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43375
43376 [BZ #16683]
43377 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
43378 Define it for static builds as well.
43379 (NO_BZERO_IMPL): Likewise.
43380
43381 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43382
43383 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
43384 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
43385 multiarch strspn for PPC64.
43386 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
43387 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
43388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43389 (__libc_ifunc_impl_list): Likewise.
43390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
43391 multiarch optimizations
43392 * string/strspn.c (strspn): Using macro to redefine symbol name.
43393
43394 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43395 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43396
43397 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
43398 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
43399 multiarch strncat for PPC64.
43400 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
43401 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
43402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43403 (__libc_ifunc_impl_list): Likewise.
43404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
43405 multiarch optimizations
43406
43407 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43408
43409 [BZ #16639]
43410 * nscd/nscd.service: Make service type forking.
43411
43412 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43413
43414 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
43415 sign in non default rounding modes.
43416 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
43417
43418 2014-03-08 Joseph Myers <joseph@codesourcery.com>
43419
43420 * math/libm-test.inc (ALL_RM_TEST): New macro.
43421 (ceil_test): Use ALL_RM_TEST.
43422 (cimag_test): Likewise.
43423 (conj_test): Likewise.
43424 (copysign_test): Likewise.
43425 (cproj_test): Likewise.
43426 (creal_test): Likewise.
43427 (fabs_test): Likewise.
43428 (floor_test): Likewise.
43429 (fmax_test): Likewise.
43430 (fmin_test): Likewise.
43431 (fmod_test): Likewise.
43432 (fpclassify_test): Likewise.
43433 (frexp_test): Likewise.
43434 (ilogb_test): Likewise.
43435 (isfinite_test): Likewise.
43436 (finite_test): Likewise.
43437 (isgreater_test): Likewise.
43438 (isgreaterequal_test): Likewise.
43439 (isinf_test): Likewise.
43440 (isless_test): Likewise.
43441 (islessequal_test): Likewise.
43442 (islessgreater_test): Likewise.
43443 (isnan_test): Likewise.
43444 (isnormal_test): Likewise.
43445 (issignaling_test): Likewise.
43446 (isunordered_test): Likewise.
43447 (logb_test): Likewise.
43448 (logb_downward_test_data): Remove.
43449 (logb_test_downward): Likewise.
43450 (lround_test): Use ALL_RM_TEST.
43451 (llround_test): Likewise.
43452 (modf_test): Likewise.
43453 (nexttoward_test): Likewise.
43454 (remainder_test): Likewise.
43455 (drem_test): Likewise.
43456 (remainder_tonearest_test_data): Likewise.
43457 (remainder_test_tonearest): Likewise.
43458 (drem_test_tonearest): Likewise.
43459 (remainder_towardzero_test_data): Likewise.
43460 (remainder_test_towardzero): Likewise.
43461 (drem_test_towardzero): Likewise.
43462 (remainder_downward_test_data): Likewise.
43463 (remainder_test_downward): Likewise.
43464 (drem_test_downward): Likewise.
43465 (remainder_upward_test_data): Likewise.
43466 (remainder_test_upward): Likewise.
43467 (drem_test_upward): Likewise.
43468 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
43469 (round_test): Use ALL_RM_TEST.
43470 (signbit_test): Likewise.
43471 (trunc_test): Likewise.
43472 (significand_test): Likewise.
43473 (main): Don't call removed functions.
43474
43475 2014-03-07 Joseph Myers <joseph@codesourcery.com>
43476
43477 [BZ #16674]
43478 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
43479 || __USE_XOPEN2K8].
43480 (ILL_ILLOPN): Likewise.
43481 (ILL_ILLADR): Likewise.
43482 (ILL_ILLTRP): Likewise.
43483 (ILL_PRVOPC): Likewise.
43484 (ILL_PRVREG): Likewise.
43485 (ILL_COPROC): Likewise.
43486 (ILL_BADSTK): Likewise.
43487 (FPE_INTDIV): Likewise.
43488 (FPE_INTOVF): Likewise.
43489 (FPE_FLTDIV): Likewise.
43490 (FPE_FLTOVF): Likewise.
43491 (FPE_FLTUND): Likewise.
43492 (FPE_FLTRES): Likewise.
43493 (FPE_FLTINV): Likewise.
43494 (FPE_FLTSUB): Likewise.
43495 (SEGV_MAPERR): Likewise.
43496 (SEGV_ACCERR): Likewise.
43497 (BUS_ADRALN): Likewise.
43498 (BUS_ADRERR): Likewise.
43499 (BUS_OBJERR): Likewise.
43500 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43501 (TRAP_TRACE): Likewise.
43502 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43503 __USE_XOPEN2K8].
43504 (CLD_KILLED): Likewise.
43505 (CLD_DUMPED): Likewise.
43506 (CLD_TRAPPED): Likewise.
43507 (CLD_STOPPED): Likewise.
43508 (CLD_CONTINUED): Likewise.
43509 (POLL_IN): Likewise.
43510 (POLL_OUT): Likewise.
43511 (POLL_MSG): Likewise.
43512 (POLL_ERR): Likewise.
43513 (POLL_PRI): Likewise.
43514 (POLL_HUP): Likewise.
43515 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
43516 Likewise.
43517 (ILL_ILLOPN): Likewise.
43518 (ILL_ILLADR): Likewise.
43519 (ILL_ILLTRP): Likewise.
43520 (ILL_PRVOPC): Likewise.
43521 (ILL_PRVREG): Likewise.
43522 (ILL_COPROC): Likewise.
43523 (ILL_BADSTK): Likewise.
43524 (FPE_INTDIV): Likewise.
43525 (FPE_INTOVF): Likewise.
43526 (FPE_FLTDIV): Likewise.
43527 (FPE_FLTOVF): Likewise.
43528 (FPE_FLTUND): Likewise.
43529 (FPE_FLTRES): Likewise.
43530 (FPE_FLTINV): Likewise.
43531 (FPE_FLTSUB): Likewise.
43532 (SEGV_MAPERR): Likewise.
43533 (SEGV_ACCERR): Likewise.
43534 (BUS_ADRALN): Likewise.
43535 (BUS_ADRERR): Likewise.
43536 (BUS_OBJERR): Likewise.
43537 (BUS_MCEERR_AR): Likewise.
43538 (BUS_MCEERR_AO): Likewise.
43539 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43540 (TRAP_TRACE): Likewise.
43541 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43542 __USE_XOPEN2K8].
43543 (CLD_KILLED): Likewise.
43544 (CLD_DUMPED): Likewise.
43545 (CLD_TRAPPED): Likewise.
43546 (CLD_STOPPED): Likewise.
43547 (CLD_CONTINUED): Likewise.
43548 (POLL_IN): Likewise.
43549 (POLL_OUT): Likewise.
43550 (POLL_MSG): Likewise.
43551 (POLL_ERR): Likewise.
43552 (POLL_PRI): Likewise.
43553 (POLL_HUP): Likewise.
43554 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
43555 (ILL_ILLOPN): Likewise.
43556 (ILL_ILLADR): Likewise.
43557 (ILL_ILLTRP): Likewise.
43558 (ILL_PRVOPC): Likewise.
43559 (ILL_PRVREG): Likewise.
43560 (ILL_COPROC): Likewise.
43561 (ILL_BADSTK): Likewise.
43562 (FPE_INTDIV): Likewise.
43563 (FPE_INTOVF): Likewise.
43564 (FPE_FLTDIV): Likewise.
43565 (FPE_FLTOVF): Likewise.
43566 (FPE_FLTUND): Likewise.
43567 (FPE_FLTRES): Likewise.
43568 (FPE_FLTINV): Likewise.
43569 (FPE_FLTSUB): Likewise.
43570 (SEGV_MAPERR): Likewise.
43571 (SEGV_ACCERR): Likewise.
43572 (BUS_ADRALN): Likewise.
43573 (BUS_ADRERR): Likewise.
43574 (BUS_OBJERR): Likewise.
43575 (BUS_MCEERR_AR): Likewise.
43576 (BUS_MCEERR_AO): Likewise.
43577 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43578 (TRAP_TRACE): Likewise.
43579 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43580 __USE_XOPEN2K8].
43581 (CLD_KILLED): Likewise.
43582 (CLD_DUMPED): Likewise.
43583 (CLD_TRAPPED): Likewise.
43584 (CLD_STOPPED): Likewise.
43585 (CLD_CONTINUED): Likewise.
43586 (POLL_IN): Likewise.
43587 (POLL_OUT): Likewise.
43588 (POLL_MSG): Likewise.
43589 (POLL_ERR): Likewise.
43590 (POLL_PRI): Likewise.
43591 (POLL_HUP): Likewise.
43592 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
43593 Likewise.
43594 (ILL_ILLOPN): Likewise.
43595 (ILL_ILLADR): Likewise.
43596 (ILL_ILLTRP): Likewise.
43597 (ILL_PRVOPC): Likewise.
43598 (ILL_PRVREG): Likewise.
43599 (ILL_COPROC): Likewise.
43600 (ILL_BADSTK): Likewise.
43601 (ILL_BADIADDR): Likewise.
43602 (ILL_BREAK): Likewise.
43603 (FPE_INTDIV): Likewise.
43604 (FPE_INTOVF): Likewise.
43605 (FPE_FLTDIV): Likewise.
43606 (FPE_FLTOVF): Likewise.
43607 (FPE_FLTUND): Likewise.
43608 (FPE_FLTRES): Likewise.
43609 (FPE_FLTINV): Likewise.
43610 (FPE_FLTSUB): Likewise.
43611 (FPE_DECOVF): Likewise.
43612 (FPE_DECDIV): Likewise.
43613 (FPE_DECERR): Likewise.
43614 (FPE_INVASC): Likewise.
43615 (FPE_INVDEC): Likewise.
43616 (SEGV_MAPERR): Likewise.
43617 (SEGV_ACCERR): Likewise.
43618 (SEGV_PSTKOVF): Likewise.
43619 (BUS_ADRALN): Likewise.
43620 (BUS_ADRERR): Likewise.
43621 (BUS_OBJERR): Likewise.
43622 (BUS_MCEERR_AR): Likewise.
43623 (BUS_MCEERR_AO): Likewise.
43624 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43625 (TRAP_TRACE): Likewise.
43626 (TRAP_BRANCH): Likewise.
43627 (TRAP_HWBKPT): Likewise.
43628 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43629 __USE_XOPEN2K8].
43630 (CLD_KILLED): Likewise.
43631 (CLD_DUMPED): Likewise.
43632 (CLD_TRAPPED): Likewise.
43633 (CLD_STOPPED): Likewise.
43634 (CLD_CONTINUED): Likewise.
43635 (POLL_IN): Likewise.
43636 (POLL_OUT): Likewise.
43637 (POLL_MSG): Likewise.
43638 (POLL_ERR): Likewise.
43639 (POLL_PRI): Likewise.
43640 (POLL_HUP): Likewise.
43641 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
43642 (ILL_ILLOPN): Likewise.
43643 (ILL_ILLADR): Likewise.
43644 (ILL_ILLTRP): Likewise.
43645 (ILL_PRVOPC): Likewise.
43646 (ILL_PRVREG): Likewise.
43647 (ILL_COPROC): Likewise.
43648 (ILL_BADSTK): Likewise.
43649 (FPE_INTDIV): Likewise.
43650 (FPE_INTOVF): Likewise.
43651 (FPE_FLTDIV): Likewise.
43652 (FPE_FLTOVF): Likewise.
43653 (FPE_FLTUND): Likewise.
43654 (FPE_FLTRES): Likewise.
43655 (FPE_FLTINV): Likewise.
43656 (FPE_FLTSUB): Likewise.
43657 (SEGV_MAPERR): Likewise.
43658 (SEGV_ACCERR): Likewise.
43659 (BUS_ADRALN): Likewise.
43660 (BUS_ADRERR): Likewise.
43661 (BUS_OBJERR): Likewise.
43662 (BUS_MCEERR_AR): Likewise.
43663 (BUS_MCEERR_AO): Likewise.
43664 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43665 (TRAP_TRACE): Likewise.
43666 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43667 __USE_XOPEN2K8].
43668 (CLD_KILLED): Likewise.
43669 (CLD_DUMPED): Likewise.
43670 (CLD_TRAPPED): Likewise.
43671 (CLD_STOPPED): Likewise.
43672 (CLD_CONTINUED): Likewise.
43673 (POLL_IN): Likewise.
43674 (POLL_OUT): Likewise.
43675 (POLL_MSG): Likewise.
43676 (POLL_ERR): Likewise.
43677 (POLL_PRI): Likewise.
43678 (POLL_HUP): Likewise.
43679 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
43680 (ILL_ILLOPN): Likewise.
43681 (ILL_ILLADR): Likewise.
43682 (ILL_ILLTRP): Likewise.
43683 (ILL_PRVOPC): Likewise.
43684 (ILL_PRVREG): Likewise.
43685 (ILL_COPROC): Likewise.
43686 (ILL_BADSTK): Likewise.
43687 (FPE_INTDIV): Likewise.
43688 (FPE_INTOVF): Likewise.
43689 (FPE_FLTDIV): Likewise.
43690 (FPE_FLTOVF): Likewise.
43691 (FPE_FLTUND): Likewise.
43692 (FPE_FLTRES): Likewise.
43693 (FPE_FLTINV): Likewise.
43694 (FPE_FLTSUB): Likewise.
43695 (SEGV_MAPERR): Likewise.
43696 (SEGV_ACCERR): Likewise.
43697 (BUS_ADRALN): Likewise.
43698 (BUS_ADRERR): Likewise.
43699 (BUS_OBJERR): Likewise.
43700 (BUS_MCEERR_AR): Likewise.
43701 (BUS_MCEERR_AO): Likewise.
43702 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43703 (TRAP_TRACE): Likewise.
43704 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43705 __USE_XOPEN2K8].
43706 (CLD_KILLED): Likewise.
43707 (CLD_DUMPED): Likewise.
43708 (CLD_TRAPPED): Likewise.
43709 (CLD_STOPPED): Likewise.
43710 (CLD_CONTINUED): Likewise.
43711 (POLL_IN): Likewise.
43712 (POLL_OUT): Likewise.
43713 (POLL_MSG): Likewise.
43714 (POLL_ERR): Likewise.
43715 (POLL_PRI): Likewise.
43716 (POLL_HUP): Likewise.
43717 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
43718 (ILL_ILLOPN): Likewise.
43719 (ILL_ILLADR): Likewise.
43720 (ILL_ILLTRP): Likewise.
43721 (ILL_PRVOPC): Likewise.
43722 (ILL_PRVREG): Likewise.
43723 (ILL_COPROC): Likewise.
43724 (ILL_BADSTK): Likewise.
43725 (FPE_INTDIV): Likewise.
43726 (FPE_INTOVF): Likewise.
43727 (FPE_FLTDIV): Likewise.
43728 (FPE_FLTOVF): Likewise.
43729 (FPE_FLTUND): Likewise.
43730 (FPE_FLTRES): Likewise.
43731 (FPE_FLTINV): Likewise.
43732 (FPE_FLTSUB): Likewise.
43733 (SEGV_MAPERR): Likewise.
43734 (SEGV_ACCERR): Likewise.
43735 (BUS_ADRALN): Likewise.
43736 (BUS_ADRERR): Likewise.
43737 (BUS_OBJERR): Likewise.
43738 (BUS_MCEERR_AR): Likewise.
43739 (BUS_MCEERR_AO): Likewise.
43740 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43741 (TRAP_TRACE): Likewise.
43742 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43743 __USE_XOPEN2K8].
43744 (CLD_KILLED): Likewise.
43745 (CLD_DUMPED): Likewise.
43746 (CLD_TRAPPED): Likewise.
43747 (CLD_STOPPED): Likewise.
43748 (CLD_CONTINUED): Likewise.
43749 (POLL_IN): Likewise.
43750 (POLL_OUT): Likewise.
43751 (POLL_MSG): Likewise.
43752 (POLL_ERR): Likewise.
43753 (POLL_PRI): Likewise.
43754 (POLL_HUP): Likewise.
43755 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
43756 (ILL_ILLOPN): Likewise.
43757 (ILL_ILLADR): Likewise.
43758 (ILL_ILLTRP): Likewise.
43759 (ILL_PRVOPC): Likewise.
43760 (ILL_PRVREG): Likewise.
43761 (ILL_COPROC): Likewise.
43762 (ILL_BADSTK): Likewise.
43763 (ILL_DBLFLT): Likewise.
43764 (ILL_HARDWALL): Likewise.
43765 (FPE_INTDIV): Likewise.
43766 (FPE_INTOVF): Likewise.
43767 (FPE_FLTDIV): Likewise.
43768 (FPE_FLTOVF): Likewise.
43769 (FPE_FLTUND): Likewise.
43770 (FPE_FLTRES): Likewise.
43771 (FPE_FLTINV): Likewise.
43772 (FPE_FLTSUB): Likewise.
43773 (SEGV_MAPERR): Likewise.
43774 (SEGV_ACCERR): Likewise.
43775 (BUS_ADRALN): Likewise.
43776 (BUS_ADRERR): Likewise.
43777 (BUS_OBJERR): Likewise.
43778 (BUS_MCEERR_AR): Likewise.
43779 (BUS_MCEERR_AO): Likewise.
43780 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43781 (TRAP_TRACE): Likewise.
43782 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43783 __USE_XOPEN2K8].
43784 (CLD_KILLED): Likewise.
43785 (CLD_DUMPED): Likewise.
43786 (CLD_TRAPPED): Likewise.
43787 (CLD_STOPPED): Likewise.
43788 (CLD_CONTINUED): Likewise.
43789 (POLL_IN): Likewise.
43790 (POLL_OUT): Likewise.
43791 (POLL_MSG): Likewise.
43792 (POLL_ERR): Likewise.
43793 (POLL_PRI): Likewise.
43794 (POLL_HUP): Likewise.
43795 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
43796 (ILL_ILLOPN): Likewise.
43797 (ILL_ILLADR): Likewise.
43798 (ILL_ILLTRP): Likewise.
43799 (ILL_PRVOPC): Likewise.
43800 (ILL_PRVREG): Likewise.
43801 (ILL_COPROC): Likewise.
43802 (ILL_BADSTK): Likewise.
43803 (FPE_INTDIV): Likewise.
43804 (FPE_INTOVF): Likewise.
43805 (FPE_FLTDIV): Likewise.
43806 (FPE_FLTOVF): Likewise.
43807 (FPE_FLTUND): Likewise.
43808 (FPE_FLTRES): Likewise.
43809 (FPE_FLTINV): Likewise.
43810 (FPE_FLTSUB): Likewise.
43811 (SEGV_MAPERR): Likewise.
43812 (SEGV_ACCERR): Likewise.
43813 (BUS_ADRALN): Likewise.
43814 (BUS_ADRERR): Likewise.
43815 (BUS_OBJERR): Likewise.
43816 (BUS_MCEERR_AR): Likewise.
43817 (BUS_MCEERR_AO): Likewise.
43818 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43819 (TRAP_TRACE): Likewise.
43820 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43821 __USE_XOPEN2K8].
43822 (CLD_KILLED): Likewise.
43823 (CLD_DUMPED): Likewise.
43824 (CLD_TRAPPED): Likewise.
43825 (CLD_STOPPED): Likewise.
43826 (CLD_CONTINUED): Likewise.
43827 (POLL_IN): Likewise.
43828 (POLL_OUT): Likewise.
43829 (POLL_MSG): Likewise.
43830 (POLL_ERR): Likewise.
43831 (POLL_PRI): Likewise.
43832 (POLL_HUP): Likewise.
43833 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
43834 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
43835
43836 [BZ #16670]
43837 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
43838 before #include of <time.h>.
43839 [!__USE_XOPEN2K] (__need_timespec): Likewise.
43840 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
43841 (test-xfail-UNIX98/sched.h/conform): Likewise.
43842
43843 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
43844
43845 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
43846 error absence of trapping exception support.
43847 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
43848
43849 2014-03-07 Joseph Myers <joseph@codesourcery.com>
43850
43851 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
43852 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
43853 * timezone/Makefile (testdata): Move definition above include of
43854 Rules.
43855 (test-zones): New variable.
43856 (tests-special): Add zone files.
43857 (build-testdata): Use $(evaluate-test).
43858
43859 * elf/Makefile (tests-special): Rename tests to end with .out.
43860 ($(objpfx)noload-mem): Likewise.
43861 ($(objpfx)tst-leaks1-mem): Likewise.
43862 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
43863 * iconv/Makefile (xtests-special): Change test-iconvconfig to
43864 $(objpfx)test-iconvconfig.out.
43865 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
43866 set -e inside subshell and redirect output to file.
43867 * iconvdata/Makefile (generated): Rename tests to end with .out.
43868 Correct type.
43869 (tests-special): Rename tests to end with .out.
43870 ($(objpfx)mtrace-tst-loading): Likewise.
43871 * intl/Makefile (generated): Likewise.
43872 (tests-special): Likewise.
43873 ($(objpfx)mtrace-tst-gettext): Likewise.
43874 * misc/Makefile (generated): Likewise.
43875 (tests-special): Likewise.
43876 ($(objpfx)tst-error1-mem): Likewise.
43877 * nptl/Makefile (tests-special): Likewise.
43878 ($(objpfx)tst-stack3-mem): Likewise.
43879 (generated): Likewise.
43880 * posix/Makefile (generated): Likewise.
43881 (tests-special): Likewise.
43882 (xtests-special): Likewise.
43883 ($(objpfx)tst-fnmatch-mem): Likewise.
43884 ($(objpfx)bug-regex2-mem): Likewise.
43885 ($(objpfx)bug-regex14-mem): Likewise.
43886 ($(objpfx)bug-regex21-mem): Likewise.
43887 ($(objpfx)bug-regex31-mem): Likewise.
43888 ($(objpfx)tst-vfork3-mem): Likewise.
43889 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43890 ($(objpfx)tst-pcre-mem): Likewise.
43891 ($(objpfx)tst-boost-mem): Likewise.
43892 ($(objpfx)bug-ga2-mem): Likewise.
43893 ($(objpfx)bug-glob2-mem): Likewise.
43894 * resolv/Makefile (generate): Likewise.
43895 (tests-special): Likewise.
43896 (xtests-special): Likewise.
43897 (generated): Likewise.
43898 ($(objpfx)mtrace-tst-leaks): Likewise.
43899 ($(objpfx)mtrace-tst-leaks2): Likewise.
43900
43901 * scripts/merge-test-results.sh: New file.
43902 * Makefile (tests-special-notdir): New variable.
43903 (tests): Run merge-test-results.sh.
43904 (xtests): Likewise.
43905 * Rules (tests-special-notdir): New variable.
43906 (xtests-special-notdir): Likewise.
43907 (tests): Run merge-test-results.sh
43908 (xtests): Likewise.
43909
43910 * Makeconfig (test-xfail-name): New variable.
43911 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
43912 compute variable name for expected failures.
43913 * conform/Makefile (conformtest-headers-data): New variable.
43914 (conformtest-standards): Likewise.
43915 (conformtest-headers-ISO): Likewise.
43916 (conformtest-headers-ISO99): Likewise.
43917 (conformtest-headers-ISO11): Likewise.
43918 (conformtest-headers-POSIX): Likewise.
43919 (conformtest-headers-XPG3): Likewise.
43920 (conformtest-headers-XPG4): Likewise.
43921 (conformtest-headers-UNIX98): Likewise.
43922 (conformtest-headers-XOPEN2K): Likewise.
43923 (conformtest-headers-POSIX2008): Likewise.
43924 (conformtest-headers-XOPEN2K8): Likewise.
43925 (conformtest-header-list-base): Likewise.
43926 (conformtest-header-list-tests): Likewise.
43927 (conformtest-header-base): Likewise.
43928 (conformtest-header-tests): Likewise.
43929 (tests-special): Add $(conformtest-header-list-tests). If
43930 [$(fast-check) && !$(cross-compiling)], add
43931 $(conformtest-header-tests) instead of
43932 $(objpfx)run-conformtest.out.
43933 (generated): Add $(conformtest-header-list-base). If
43934 [$(fast-check) && !$(cross-compiling)], add
43935 $(conformtest-header-base). Remove previous setting.
43936 ($(conformtest-header-list-tests)): New target.
43937 (test-xfail-run-conformtest): Remove variable.
43938 ($(objpfx)run-conformtest.out): Remove target.
43939 (test-xfail-ISO11/complex.h/conform): New variable.
43940 (test-xfail-ISO11/stdalign.h/conform): Likewise.
43941 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
43942 (test-xfail-XPG3/varargs.h/conform): Likewise.
43943 (test-xfail-XPG4/varargs.h/conform): Likewise.
43944 (test-xfail-UNIX98/varargs.h/conform): Likewise.
43945 (test-xfail-XPG4/ndbm.h/conform): Likewise.
43946 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
43947 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
43948 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
43949 (test-xfail-XPG3/fcntl.h/conform): Likewise.
43950 (test-xfail-XPG3/ftw.h/conform): Likewise.
43951 (test-xfail-XPG3/grp.h/conform): Likewise.
43952 (test-xfail-XPG3/langinfo.h/conform): Likewise.
43953 (test-xfail-XPG3/limits.h/conform): Likewise.
43954 (test-xfail-XPG3/pwd.h/conform): Likewise.
43955 (test-xfail-XPG3/search.h/conform): Likewise.
43956 (test-xfail-XPG3/signal.h/conform): Likewise.
43957 (test-xfail-XPG3/stdio.h/conform): Likewise.
43958 (test-xfail-XPG3/stdlib.h/conform): Likewise.
43959 (test-xfail-XPG3/string.h/conform): Likewise.
43960 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
43961 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
43962 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
43963 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
43964 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
43965 (test-xfail-XPG3/sys/types.h/conform): Likewise.
43966 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
43967 (test-xfail-XPG3/termios.h/conform): Likewise.
43968 (test-xfail-XPG3/time.h/conform): Likewise.
43969 (test-xfail-XPG3/unistd.h/conform): Likewise.
43970 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
43971 (test-xfail-XPG4/fcntl.h/conform): Likewise.
43972 (test-xfail-XPG4/langinfo.h/conform): Likewise.
43973 (test-xfail-XPG4/netdb.h/conform): Likewise.
43974 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
43975 (test-xfail-XPG4/signal.h/conform): Likewise.
43976 (test-xfail-XPG4/stdio.h/conform): Likewise.
43977 (test-xfail-XPG4/stdlib.h/conform): Likewise.
43978 (test-xfail-XPG4/stropts.h/conform): Likewise.
43979 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
43980 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
43981 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
43982 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
43983 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
43984 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
43985 (test-xfail-XPG4/sys/time.h/conform): Likewise.
43986 (test-xfail-XPG4/sys/types.h/conform): Likewise.
43987 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
43988 (test-xfail-XPG4/termios.h/conform): Likewise.
43989 (test-xfail-XPG4/ucontext.h/conform): Likewise.
43990 (test-xfail-XPG4/unistd.h/conform): Likewise.
43991 (test-xfail-XPG4/utmpx.h/conform): Likewise.
43992 (test-xfail-POSIX/sched.h/conform): Likewise.
43993 (test-xfail-POSIX/signal.h/conform): Likewise.
43994 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
43995 (test-xfail-POSIX/tar.h/conform): Likewise.
43996 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
43997 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
43998 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
43999 (test-xfail-UNIX98/netdb.h/conform): Likewise.
44000 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44001 (test-xfail-UNIX98/sched.h/conform): Likewise.
44002 (test-xfail-UNIX98/signal.h/conform): Likewise.
44003 (test-xfail-UNIX98/stdio.h/conform): Likewise.
44004 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44005 (test-xfail-UNIX98/stropts.h/conform): Likewise.
44006 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44007 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44008 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44009 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44010 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44011 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44012 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44013 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44014 (test-xfail-UNIX98/unistd.h/conform): Likewise.
44015 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44016 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44017 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44018 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44019 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44020 (test-xfail-XOPEN2K/math.h/conform): Likewise.
44021 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44022 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44023 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44024 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44025 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44026 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44027 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44028 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44029 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44030 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44031 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44032 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44033 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44034 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44035 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44036 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44037 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44038 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44039 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44040 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44041 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44042 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44043 (test-xfail-POSIX2008/signal.h/conform): Likewise.
44044 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44045 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44046 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44047 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44048 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44049 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44050 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44051 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44052 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44053 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44054 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44055 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44056 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44057 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44058 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44059 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44060 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44061 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44062 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44063 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44064 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44065 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44066 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44067 (conformtest-cc-flags): Likewise.
44068 ($(conformtest-header-tests): New target.
44069 * conform/check-header-lists.sh: New file.
44070 * conform/run-conformtest.sh: Remove.
44071
44072 * conform/conformtest.pl: Allow ' and \ in values given for
44073 constants.
44074 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44075 inclusion.
44076 [POSIX] (sys/types.h): Likewise.
44077 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44078 inclusion.
44079 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44080 inclusion.
44081 * conform/data/signal.h-data (SIGIO): Remove expectation.
44082 [XPG3] (SIGBUS): Do not expect.
44083 [POSIX || XPG3] (SIGPOLL): Likewise.
44084 [POSIX || XPG3] (SIGPROF): Likewise.
44085 [POSIX || XPG3] (SIGSYS): Likewise.
44086 [XPG3] (SIGTRAP): Likewise.
44087 [POSIX || XPG3] (SIGURG): Likewise.
44088 [POSIX || XPG3] (SIGVTALRM): Likewise.
44089 [POSIX || XPG3] (SIGXCPU): Likewise.
44090 [POSIX || XPG3] (SIGXFSZ): Likewise.
44091 [POSIX] (SA_SIGINFO): Expect.
44092 [XPG3] (siginfo_t): Do not expect type or contents.
44093 [POSIX] (si_pid): Do not expect element.
44094 [POSIX] (si_uid): Likewise.
44095 [POSIX] (si_addr): Likewise.
44096 [POSIX] (si_status): Likewise.
44097 [POSIX] (si_band): Likewise.
44098 [XPG4] (si_value): Likewise.
44099 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44100 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44101 [POSIX || XPG3] (ILL_ILLADR): Likewise.
44102 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44103 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44104 [POSIX || XPG3] (ILL_PRVREG): Likewise.
44105 [POSIX || XPG3] (ILL_COPROC): Likewise.
44106 [POSIX || XPG3] (ILL_BADSTK): Likewise.
44107 [POSIX || XPG3] (FPE_INTDIV): Likewise.
44108 [POSIX || XPG3] (FPE_INTOVF): Likewise.
44109 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44110 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44111 [POSIX || XPG3] (FPE_FLTUND): Likewise.
44112 [POSIX || XPG3] (FPE_FLTRES): Likewise.
44113 [POSIX || XPG3] (FPE_FLTINV): Likewise.
44114 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44115 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44116 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44117 [POSIX || XPG3] (BUS_ADRALN): Likewise.
44118 [POSIX || XPG3] (BUS_ADRERR): Likewise.
44119 [POSIX || XPG3] (BUS_OBJERR): Likewise.
44120 [POSIX || XPG3] (CLD_EXITED): Likewise.
44121 [POSIX || XPG3] (CLD_KILLED): Likewise.
44122 [POSIX || XPG3] (CLD_DUMPED): Likewise.
44123 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44124 [POSIX || XPG3] (CLD_STOPPED): Likewise.
44125 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44126 [POSIX || XPG3] (POLL_IN): Likewise.
44127 [POSIX || XPG3] (POLL_OUT): Likewise.
44128 [POSIX || XPG3] (POLL_MSG): Likewise.
44129 [POSIX || XPG3] (POLL_ERR): Likewise.
44130 [POSIX || XPG3] (POLL_PRI): Likewise.
44131 [POSIX || XPG3] (POLL_HUP): Likewise.
44132 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44133 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44134 (SIG*): Do not allow.
44135 [XPG3] (si_*): Likewise.
44136 [XPG3] (SI_*): Likewise.
44137 [XPG3 || XPG4] (sigev_*): Likewise.
44138 [XPG3 || XPG4] (SIGEV_*): Likewise.
44139 [XPG3 || XPG4] (sival_*): Likewise.
44140 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44141 [POSIX || XPG3] (BUS_*): Likewise.
44142 [POSIX || XPG3] (CLD_*): Likewise.
44143 [POSIX || XPG3] (FPE_*): Likewise.
44144 [POSIX || XPG3] (ILL_*): Likewise.
44145 [POSIX || XPG3] (POLL_*): Likewise.
44146 [POSIX || XPG3] (SEGV_*): Likewise.
44147 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44148 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44149 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44150 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44151 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44152 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44153 Specify type and value.
44154 (TVERSLEN): Likewise.
44155 (REGTYPE): Likewise.
44156 (AREGTYPE): Likewise.
44157 (LNKTYPE): Likewise.
44158 (SYMTYPE): Likewise.
44159 (CHRTYPE): Likewise.
44160 (BLKTYPE): Likewise.
44161 (DIRTYPE): Likewise.
44162 (FIFOTYPE): Likewise.
44163 (CONTTYPE): Likewise.
44164 (TSUID): Likewise.
44165 (TSGID): Likewise.
44166 (TSVTX): Likewise.
44167 (TUREAD): Likewise.
44168 (TUWRITE): Likewise.
44169 (TUEXEC): Likewise.
44170 (TGREAD): Likewise.
44171 (TGWRITE): Likewise.
44172 (TGEXEC): Likewise.
44173 (TOREAD): Likewise.
44174 (TOWRITE): Likewise.
44175 (TOEXEC): Likewise.
44176 [POSIX] (TSVTX): Expect constant.
44177
44178 2014-03-06 Joseph Myers <joseph@codesourcery.com>
44179
44180 * Makefile (tests): Change dependencies to ....
44181 (tests-special): ... additions to this variable.
44182 (tests): Depend on $(tests-special).
44183 * Makerules (check-abi-list): New variable.
44184 (check-abi): Depend on $(check-abi-list).
44185 [$(subdir) = elf] (tests-special): Add
44186 $(objpfx)check-abi-libc.out.
44187 [$(build-shared) = yes && subdir] (tests-special): Add
44188 $(check-abi-list).
44189 [$(build-shared) = yes && subdir] (tests): Do not depend on
44190 check-abi.
44191 * Rules (tests): Depend on $(tests-special).
44192 (xtests): Depend on $(xtests-special).
44193 * catgets/Makefile (tests): Change dependencies to ....
44194 (tests-special): ... additions to this variable.
44195 * conform/Makefile (tests): Change dependencies to ....
44196 (tests-special): ... additions to this variable.
44197 * elf/Makefile (tests): Change dependencies to ....
44198 (tests-special): ... additions to this variable.
44199 * grp/Makefile (tests): Change dependencies to ....
44200 (tests-special): ... additions to this variable.
44201 * iconv/Makefile (xtests): Change dependencies to ....
44202 (xtests-special): ... additions to this variable.
44203 * iconvdata/Makefile (tests): Change dependencies to ....
44204 (tests-special): ... additions to this variable.
44205 * intl/Makefile (tests): Change dependencies to ....
44206 (tests-special): ... additions to this variable. Also add
44207 $(objpfx)tst-gettext.out.
44208 * io/Makefile (tests): Change dependencies to ....
44209 (tests-special): ... additions to this variable.
44210 * libio/Makefile (tests): Change dependencies to ....
44211 (tests-special): ... additions to this variable.
44212 * malloc/Makefile (tests): Change dependencies to ....
44213 (tests-special): ... additions to this variable.
44214 * misc/Makefile (tests): Change dependencies to ....
44215 (tests-special): ... additions to this variable.
44216 * nptl/Makefile (tests): Change dependencies to ....
44217 (tests-special): ... additions to this variable.
44218 * nptl_db/Makefile (tests): Change dependencies to ....
44219 (tests-special): ... additions to this variable.
44220 * posix/Makefile (tests): Change dependencies to ....
44221 (tests-special): ... additions to this variable.
44222 (xtests): Change dependencies to ....
44223 (xtests-special): ... additions to this variable.
44224 * resolv/Makefile (tests): Change dependencies to ....
44225 (tests-special): ... additions to this variable.
44226 (xtests): Change dependencies to ....
44227 (xtests-special): ... additions to this variable.
44228 * stdio-common/Makefile (tests): Change dependencies to ....
44229 (tests-special): ... additions to this variable.
44230 (do-tst-unbputc): Remove target.
44231 (do-tst-printf): Likewise.
44232 * stdlib/Makefile (tests): Change dependencies to ....
44233 (tests-special): ... additions to this variable.
44234 * string/Makefile (tests): Change dependencies to ....
44235 (tests-special): ... additions to this variable.
44236 * sysdeps/x86/Makefile (tests): Change dependencies to ....
44237 (tests-special): ... additions to this variable.
44238
44239 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
44240 whole file.
44241 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
44242 whole file.
44243 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
44244 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
44245
44246 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
44247 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
44248 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
44249 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
44250 * conform/data/libgen.h-data [XPG3]: Likewise.
44251 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
44252 * conform/data/ndbm.h-data [XPG3]: Likewise.
44253 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44254 * conform/data/netdb.h-data [XPG3]: Likewise.
44255 * conform/data/netinet/in.h-data [XPG3]: Likewise.
44256 * conform/data/poll.h-data [XPG3]: Likewise.
44257 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44258 * conform/data/strings.h-data [XPG3]: Likewise.
44259 * conform/data/stropts.h-data [XPG3]: Likewise.
44260 * conform/data/sys/mman.h-data [XPG3]: Likewise.
44261 * conform/data/sys/resource.h-data [XPG3]: Likewise.
44262 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
44263 Likewise.
44264 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
44265 * conform/data/sys/time.h-data [XPG3]: Likewise.
44266 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
44267 * conform/data/sys/uio.h-data [XPG3]: Likewise.
44268 * conform/data/sys/un.h-data [XPG3]: Likewise.
44269 * conform/data/syslog.h-data [XPG3]: Likewise.
44270 * conform/data/ucontext.h-data [XPG3]: Likewise.
44271 * conform/data/utmpx.h-data [XPG3]: Likewise.
44272 * conform/data/varargs.h-data [UNIX98]: Enable file.
44273
44274 * manual/Makefile (INSTALL_INFO): Remove variable setting.
44275
44276 * math/libm-test.inc (struct test_f_f_data): Move expected results
44277 into structure for each rounding mode.
44278 (struct test_ff_f_data): Likewise.
44279 (struct test_ff_f_data_nexttoward): Likewise.
44280 (struct test_fi_f_data): Likewise.
44281 (struct test_fl_f_data): Likewise.
44282 (struct test_if_f_data): Likewise.
44283 (struct test_fff_f_data): Likewise.
44284 (struct test_c_f_data): Likewise.
44285 (struct test_f_f1_data): Likewise.
44286 (struct test_fF_f1_data): Likewise.
44287 (struct test_ffI_f1_data): Likewise.
44288 (struct test_c_c_data): Likewise.
44289 (struct test_cc_c_data): Likewise.
44290 (struct test_f_i_data): Likewise.
44291 (struct test_ff_i_data): Likewise.
44292 (struct test_f_l_data): Likewise.
44293 (struct test_f_L_data): Likewise.
44294 (struct test_fFF_11_data): Likewise.
44295 (RM_): New macro.
44296 (RM_FE_DOWNWARD): Likewise.
44297 (RM_FE_TONEAREST): Likewise.
44298 (RM_FE_TOWARDZERO): Likewise.
44299 (RM_FE_UPWARD): Likewise.
44300 (RUN_TEST_LOOP_f_f): Update references to expected results.
44301 (RUN_TEST_LOOP_2_f): Likewise.
44302 (RUN_TEST_LOOP_fff_f): Likewise.
44303 (RUN_TEST_LOOP_c_f): Likewise.
44304 (RUN_TEST_LOOP_f_f1): Likewise.
44305 (RUN_TEST_LOOP_fF_f1): Likewise.
44306 (RUN_TEST_LOOP_fI_f1): Likewise.
44307 (RUN_TEST_LOOP_ffI_f1): Likewise.
44308 (RUN_TEST_LOOP_c_c): Likewise.
44309 (RUN_TEST_LOOP_cc_c): Likewise.
44310 (RUN_TEST_LOOP_f_i): Likewise.
44311 (RUN_TEST_LOOP_f_i_tg): Likewise.
44312 (RUN_TEST_LOOP_ff_i_tg): Likewise.
44313 (RUN_TEST_LOOP_f_b): Likewise.
44314 (RUN_TEST_LOOP_f_b_tg): Likewise.
44315 (RUN_TEST_LOOP_f_l): Likewise.
44316 (RUN_TEST_LOOP_f_L): Likewise.
44317 (RUN_TEST_LOOP_fFF_11): Likewise.
44318 * math/gen-libm-test.pl (parse_args): Output four copies of
44319 expected results for each test.
44320
44321 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44322 (__ASSUME_UTIMES): Remove.
44323 * sysdeps/unix/sysv/linux/tile/kernel-features.h
44324 (__ASSUME_UTIMES): Likewise.
44325
44326 * math/gen-auto-libm-tests.c: Update comment on output format.
44327 (output_for_one_input_case): Generate before-rounding and
44328 after-rounding information as conditions on output flags not
44329 floating-point format.
44330 * math/auto-libm-test-out: Regenerated.
44331 * math/gen-libm-test.pl (cond_value): New function.
44332 (or_cond_value): Use cond_value.
44333 (generate_testfile): Handle conditional exceptions.
44334
44335 2014-03-05 Joseph Myers <joseph@codesourcery.com>
44336
44337 * math/libm-test.inc (max_valid_error): New variable.
44338 (init_max_error): Take new argument specifying whether function
44339 results are exactly determined. Set max_valid_error and bound
44340 other variables for errors based on this argument.
44341 (set_max_error): Do not record results above max_valid_error.
44342 (check_float_internal): Only accept errors of up to 0.5ulps if
44343 also at most max_valid_error.
44344 (START): Take new argument EXACT and pass it to init_max_error.
44345 (acos_test): Update call to START.
44346 (acos_test_tonearest): Likewise.
44347 (acos_test_towardzero): Likewise.
44348 (acos_test_downward): Likewise.
44349 (acos_test_upward): Likewise.
44350 (acosh_test): Likewise.
44351 (asin_test): Likewise.
44352 (asin_test_tonearest): Likewise.
44353 (asin_test_towardzero): Likewise.
44354 (asin_test_downward): Likewise.
44355 (asin_test_upward): Likewise.
44356 (asinh_test): Likewise.
44357 (atan_test): Likewise.
44358 (atanh_test): Likewise.
44359 (atan2_test): Likewise.
44360 (cabs_test): Likewise.
44361 (cacos_test): Likewise.
44362 (cacosh_test): Likewise.
44363 (carg_test): Likewise.
44364 (casin_test): Likewise.
44365 (casinh_test): Likewise.
44366 (catan_test): Likewise.
44367 (catanh_test): Likewise.
44368 (cbrt_test): Likewise.
44369 (ccos_test): Likewise.
44370 (ccosh_test): Likewise.
44371 (ceil_test): Likewise.
44372 (cexp_test): Likewise.
44373 (cimag_test): Likewise.
44374 (clog_test): Likewise.
44375 (clog10_test): Likewise.
44376 (conj_test): Likewise.
44377 (copysign_test): Likewise.
44378 (cos_test): Likewise.
44379 (cos_test_tonearest): Likewise.
44380 (cos_test_towardzero): Likewise.
44381 (cos_test_downward): Likewise.
44382 (cos_test_upward): Likewise.
44383 (cosh_test): Likewise.
44384 (cosh_test_tonearest): Likewise.
44385 (cosh_test_towardzero): Likewise.
44386 (cosh_test_downward): Likewise.
44387 (cosh_test_upward): Likewise.
44388 (cpow_test): Likewise.
44389 (cproj_test): Likewise.
44390 (creal_test): Likewise.
44391 (csin_test): Likewise.
44392 (csinh_test): Likewise.
44393 (csqrt_test): Likewise.
44394 (ctan_test): Likewise.
44395 (ctan_test_tonearest): Likewise.
44396 (ctan_test_towardzero): Likewise.
44397 (ctan_test_downward): Likewise.
44398 (ctan_test_upward): Likewise.
44399 (ctanh_test): Likewise.
44400 (ctanh_test_tonearest): Likewise.
44401 (ctanh_test_towardzero): Likewise.
44402 (ctanh_test_downward): Likewise.
44403 (ctanh_test_upward): Likewise.
44404 (erf_test): Likewise.
44405 (erfc_test): Likewise.
44406 (exp_test): Likewise.
44407 (exp_test_tonearest): Likewise.
44408 (exp_test_towardzero): Likewise.
44409 (exp_test_downward): Likewise.
44410 (exp_test_upward): Likewise.
44411 (exp10_test): Likewise.
44412 (exp10_test_tonearest): Likewise.
44413 (exp10_test_towardzero): Likewise.
44414 (exp10_test_downward): Likewise.
44415 (exp10_test_upward): Likewise.
44416 (pow10_test): Likewise.
44417 (exp2_test): Likewise.
44418 (expm1_test): Likewise.
44419 (expm1_test_tonearest): Likewise.
44420 (expm1_test_towardzero): Likewise.
44421 (expm1_test_downward): Likewise.
44422 (expm1_test_upward): Likewise.
44423 (fabs_test): Likewise.
44424 (fdim_test): Likewise.
44425 (floor_test): Likewise.
44426 (fma_test): Likewise.
44427 (fma_test_towardzero): Likewise.
44428 (fma_test_downward): Likewise.
44429 (fma_test_upward): Likewise.
44430 (fmax_test): Likewise.
44431 (fmin_test): Likewise.
44432 (fmod_test): Likewise.
44433 (fpclassify_test): Likewise.
44434 (frexp_test): Likewise.
44435 (hypot_test): Likewise.
44436 (ilogb_test): Likewise.
44437 (isfinite_test): Likewise.
44438 (finite_test): Likewise.
44439 (isgreater_test): Likewise.
44440 (isgreaterequal_test): Likewise.
44441 (isinf_test): Likewise.
44442 (isless_test): Likewise.
44443 (islessequal_test): Likewise.
44444 (islessgreater_test): Likewise.
44445 (isnan_test): Likewise.
44446 (isnormal_test): Likewise.
44447 (issignaling_test): Likewise.
44448 (isunordered_test): Likewise.
44449 (j0_test): Likewise.
44450 (j1_test): Likewise.
44451 (jn_test): Likewise.
44452 (ldexp_test): Likewise.
44453 (lgamma_test): Likewise.
44454 (gamma_test): Likewise.
44455 (lrint_test): Likewise.
44456 (lrint_test_tonearest): Likewise.
44457 (lrint_test_towardzero): Likewise.
44458 (lrint_test_downward): Likewise.
44459 (lrint_test_upward): Likewise.
44460 (llrint_test): Likewise.
44461 (llrint_test_tonearest): Likewise.
44462 (llrint_test_towardzero): Likewise.
44463 (llrint_test_downward): Likewise.
44464 (llrint_test_upward): Likewise.
44465 (log_test): Likewise.
44466 (log10_test): Likewise.
44467 (log1p_test): Likewise.
44468 (log2_test): Likewise.
44469 (logb_test): Likewise.
44470 (logb_test_downward): Likewise.
44471 (lround_test): Likewise.
44472 (llround_test): Likewise.
44473 (modf_test): Likewise.
44474 (nearbyint_test): Likewise.
44475 (nextafter_test): Likewise.
44476 (nexttoward_test): Likewise.
44477 (pow_test): Likewise.
44478 (pow_test_tonearest): Likewise.
44479 (pow_test_towardzero): Likewise.
44480 (pow_test_downward): Likewise.
44481 (pow_test_upward): Likewise.
44482 (remainder_test): Likewise.
44483 (drem_test): Likewise.
44484 (remainder_test_tonearest): Likewise.
44485 (drem_test_tonearest): Likewise.
44486 (remainder_test_towardzero): Likewise.
44487 (drem_test_towardzero): Likewise.
44488 (remainder_test_downward): Likewise.
44489 (drem_test_downward): Likewise.
44490 (remainder_test_upward): Likewise.
44491 (drem_test_upward): Likewise.
44492 (remquo_test): Likewise.
44493 (rint_test): Likewise.
44494 (rint_test_tonearest): Likewise.
44495 (rint_test_towardzero): Likewise.
44496 (rint_test_downward): Likewise.
44497 (rint_test_upward): Likewise.
44498 (round_test): Likewise.
44499 (scalb_test): Likewise.
44500 (scalbn_test): Likewise.
44501 (scalbln_test): Likewise.
44502 (signbit_test): Likewise.
44503 (sin_test): Likewise.
44504 (sin_test_tonearest): Likewise.
44505 (sin_test_towardzero): Likewise.
44506 (sin_test_downward): Likewise.
44507 (sin_test_upward): Likewise.
44508 (sincos_test): Likewise.
44509 (sinh_test): Likewise.
44510 (sinh_test_tonearest): Likewise.
44511 (sinh_test_towardzero): Likewise.
44512 (sinh_test_downward): Likewise.
44513 (sinh_test_upward): Likewise.
44514 (sqrt_test): Likewise.
44515 (sqrt_test_tonearest): Likewise.
44516 (sqrt_test_towardzero): Likewise.
44517 (sqrt_test_downward): Likewise.
44518 (sqrt_test_upward): Likewise.
44519 (tan_test): Likewise.
44520 (tan_test_tonearest): Likewise.
44521 (tan_test_towardzero): Likewise.
44522 (tan_test_downward): Likewise.
44523 (tan_test_upward): Likewise.
44524 (tanh_test): Likewise.
44525 (tgamma_test): Likewise.
44526 (trunc_test): Likewise.
44527 (y0_test): Likewise.
44528 (y1_test): Likewise.
44529 (yn_test): Likewise.
44530 (significand_test): Likewise.
44531
44532 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
44533 individual tests in comment.
44534 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
44535 (prev_max_error): New variable.
44536 (prev_real_max_error): Likewise.
44537 (prev_imag_max_error): Likewise.
44538 (compare_ulp_data): Don't refer to test names in comment.
44539 (find_test_ulps): Remove function.
44540 (find_function_ulps): Likewise.
44541 (find_complex_function_ulps): Likewise.
44542 (init_max_error): Take function name as argument. Look up ulps
44543 for that function.
44544 (print_ulps): Remove function.
44545 (print_max_error): Use prev_max_error instead of calling
44546 find_function_ulps.
44547 (print_complex_max_error): Use prev_real_max_error and
44548 prev_imag_max_error instead of calling find_complex_function_ulps.
44549 (check_float_internal): Take max_ulp parameter instead of calling
44550 find_test_ulps. Don't call print_ulps.
44551 (check_float): Update call to check_float_internal.
44552 (check_complex): Update calls to check_float_internal.
44553 (START): Pass argument to init_max_error.
44554 * math/gen-libm-test.pl (%results): Don't include "kind"
44555 information.
44556 (parse_ulps): Don't handle ulps of individual tests.
44557 (print_ulps_file): Likewise.
44558 (output_ulps): Likewise.
44559 * math/README.libm-test: Update.
44560 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
44561 individual tests.
44562 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
44563 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
44564 * sysdeps/arm/libm-test-ulps: Likewise.
44565 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
44566 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
44567 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
44568 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
44569 * sysdeps/microblaze/libm-test-ulps: Likewise.
44570 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
44571 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44572 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44573 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
44574 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44575 * sysdeps/sh/libm-test-ulps: Likewise.
44576 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44577 * sysdeps/tile/libm-test-ulps: Likewise.
44578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44579
44580 2014-03-04 Joseph Myers <joseph@codesourcery.com>
44581
44582 * math/libm-test.inc (print_complex_max_error): Check separately
44583 whether real and imaginary errors are within allowed range and
44584 pass 0 to print_complex_function_ulps instead of value within
44585 allowed range.
44586
44587 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44588
44589 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
44590 formatting.
44591 (get_handles_fopen): Likewise.
44592 (do_write_test): Likewise.
44593
44594 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
44595
44596 * libio/fileops.c (do_ftell): Use cached offset when
44597 available.
44598 * libio/iofwide.c (do_ftell_wide): Likewise.
44599 * libio/iofdopen.c (_IO_new_fdopen): Don't use
44600 _IO_file_attach.
44601 * libio/wfileops.c (_IO_fwide): Don't cache offset.
44602
44603 [BZ #16532]
44604 * libio/libioP.h (get_file_offset): New function.
44605 * libio/fileops.c (get_file_offset): Likewise.
44606 (do_ftell): Likewise.
44607 (_IO_new_file_seekoff): Split out ftell logic.
44608 * libio/wfileops.c (do_ftell_wide): Likewise.
44609 (_IO_wfile_seekoff): Split out ftell logic.
44610 * libio/tst-ftell-active-handler.c: New test case.
44611 * libio/Makefile (tests): Add it.
44612
44613 2014-03-03 Roland McGrath <roland@hack.frob.com>
44614
44615 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
44616 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
44617
44618 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
44619
44620 [BZ #16639]
44621 * nscd/connections.c (nscd_init): Call do_exit.
44622 (start_threads): Call do_exit and notify_parent.
44623 (begin_drop_privileges): Call do_exit.
44624 (finish_drop_privileges): Likewise.
44625 * nscd/selinux.c (preserve_capabilities): Likewise.
44626 (install_real_capabilities): Likewise.
44627 (nscd_selinux_enabled): Likewise.
44628 (avc_create_thread): Likewise.
44629 (avc_alloc_lock): Likewise.
44630 (nscd_avc_init): Likewise.
44631 * nscd/nscd.c (parent_fd): New static variable.
44632 (main): Create a pipe between parent and child processes.
44633 Skip closing parent_fd.
44634 (monitor_child): New function.
44635 (do_exit): Likewise.
44636 (notify_parent): Likewise.
44637 * nscd/nscd.h (notify_parent): Likewise.
44638 (do_exit): Likewise.
44639
44640 2014-03-03 Carlos O'Donell <carlos@redhat.com>
44641
44642 * malloc/malloc.c (__libc_calloc): Revert last change.
44643
44644 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44645
44646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44647
44648 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44649
44650 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
44651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
44652 implementation.
44653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44654 (__libc_ifunc_impl_list): Likewise.
44655 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
44656 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
44657 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
44658 * string/strrchr.c: Define STRRCHR.
44659
44660 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
44661
44662 * benchtest/bench-strtok.c (simple_strtok): Delete.
44663 (strtok_string): Use as benchmark.
44664 * string/strtok (STRTOK): New macro.
44665
44666 2014-02-28 Carlos O'Donell <carlos@redhat.com>
44667
44668 * manual/threads.texi: Add header and standard comments to all
44669 functions.
44670
44671 * elf/dl-lookup.c (check_match): New function.
44672 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
44673 (do_lookup_x): Remove nested function check_match. Use non-nested
44674 function check_match.
44675
44676 2014-02-28 Roland McGrath <roland@hack.frob.com>
44677
44678 * csu/Makefile (generated, before-compile): Use += rather than =.
44679 * catgets/Makefile (generated, generated-dirs): Likewise.
44680 * debug/Makefile (generated): Likewise.
44681 * dlfcn/Makefile (generated): Likewise.
44682 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
44683 * iconvdata/Makefile (before-compile, generated): Likewise.
44684 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
44685 * libio/Makefile (generated): Likewise.
44686 * malloc/Makefile (generated): Likewise.
44687 * manual/Makefile (generated, generated-dirs): Likewise.
44688 * misc/Makefile (generated): Likewise.
44689 * posix/Makefile (generated): Likewise.
44690 * resolv/Makefile (generated): Likewise.
44691 * sunrpc/Makefile (generated, generated-dirs): Likewise.
44692 * timezone/Makefile (generated, generated-dirs): Likewise.
44693
44694 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
44695
44696 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44697
44698 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44699 power8 implementation.
44700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
44701 file: POWER8 llround ifunc implementation.
44702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
44703 (__lllround): Add POWER8 implementation.
44704 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
44705 POWER8 llround implementation.
44706
44707 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
44708 power8 implementation.
44709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
44710 file: POWER8 llrint ifunc implementation.
44711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
44712 Add POWER8 implementation.
44713 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
44714 POWER8 llrint implementation.
44715
44716 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
44717 power8 implementation.
44718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
44719 file: POWER8 finite ifunc implementation.
44720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
44721 Add POWER8 implementation.
44722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
44723 Likewise.
44724 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
44725 POWER8 finite implementation.
44726 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
44727
44728 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
44729 power8 implementation.
44730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
44731 file: POWER8 isinf ifunc implementation.
44732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
44733 POWER8 implementation.
44734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
44735 Likewise.
44736 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
44737 isinf implementation.
44738 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
44739
44740 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
44741 (INIT_ARCH): Add hwcap2 initialization.
44742 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44743 power8 implementation.
44744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
44745 file: POWER8 isnan ifunc implementation.
44746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
44747 POWER8 implementation.
44748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
44749 Likewise.
44750 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
44751 isnan implementation.
44752 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
44753
44754 2014-02-27 Joey Ye <joey.ye@arm.com>
44755
44756 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44757 (_FP_NANFRAC_Q): Set to zero.
44758
44759 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
44760
44761 [BZ #16623]
44762 * math/auto-libm-test-in: New test inputs.
44763 * math/auto-libm-test-out: Regenerate.
44764 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
44765 and DA.
44766 (__cos): Likewise.
44767 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44768
44769 2014-02-27 Joseph Myers <joseph@codesourcery.com>
44770
44771 * scripts/evaluate-test.sh: Take new argument indicating whether
44772 failure is expected.
44773 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
44774 indicating whether failure is expected.
44775 * conform/Makefile (test-xfail-run-conformtest): New variable.
44776 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
44777 level.
44778 * posix/Makefile (test-xfail-annexc): New variable.
44779 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
44780
44781 2014-02-26 Joseph Myers <joseph@codesourcery.com>
44782
44783 * argp/Makefile: Include Makeconfig immediately after defining
44784 subdir.
44785 * assert/Makefile: Likewise.
44786 * benchtests/Makefile: Likewise.
44787 * catgets/Makefile: Likewise.
44788 * conform/Makefile: Likewise.
44789 * crypt/Makefile: Likewise.
44790 * csu/Makefile: Likewise.
44791 (all): Remove target.
44792 * ctype/Makefile: Include Makeconfig immediately after defining
44793 subdir.
44794 * debug/Makefile: Likewise.
44795 * dirent/Makefile: Likewise.
44796 * dlfcn/Makefile: Likewise.
44797 * gmon/Makefile: Likewise.
44798 * gnulib/Makefile: Likewise.
44799 * grp/Makefile: Likewise.
44800 * gshadow/Makefile: Likewise.
44801 * hesiod/Makefile: Likewise.
44802 * hurd/Makefile: Likewise.
44803 (all): Remove target.
44804 * iconvdata/Makefile: Include Makeconfig immediately after
44805 defining subdir.
44806 * inet/Makefile: Likewise.
44807 * intl/Makefile: Likewise.
44808 * io/Makefile: Likewise.
44809 * libio/Makefile: Likewise.
44810 (all): Remove target.
44811 * locale/Makefile: Include Makeconfig immediately after defining
44812 subdir.
44813 * login/Makefile: Likewise.
44814 * mach/Makefile: Likewise.
44815 (all): Remove target.
44816 * malloc/Makefile: Include Makeconfig immediately after defining
44817 subdir.
44818 (all): Remove target.
44819 * manual/Makefile: Include Makeconfig immediately after defining
44820 subdir.
44821 * math/Makefile: Likewise.
44822 * misc/Makefile: Likewise.
44823 * nis/Makefile: Likewise.
44824 * nss/Makefile: Likewise.
44825 * po/Makefile: Likewise.
44826 (all): Remove target.
44827 * posix/Makefile: Include Makeconfig immediately after defining
44828 subdir.
44829 * pwd/Makefile: Likewise.
44830 * resolv/Makefile: Likewise.
44831 * resource/Makefile: Likewise.
44832 * rt/Makefile: Likewise.
44833 * setjmp/Makefile: Likewise.
44834 * shadow/Makefile: Likewise.
44835 * signal/Makefile: Likewise.
44836 * socket/Makefile: Likewise.
44837 * soft-fp/Makefile: Likewise.
44838 * stdio-common/Makefile: Likewise.
44839 * stdlib/Makefile: Likewise.
44840 * streams/Makefile: Likewise.
44841 * string/Makefile: Likewise.
44842 * sunrpc/Makefile: Likewise.
44843 (all): Remove target.
44844 * sysvipc/Makefile: Include Makeconfig immediately after defining
44845 subdir.
44846 * termios/Makefile: Likewise.
44847 * time/Makefile: Likewise.
44848 * timezone/Makefile: Likewise.
44849 (all): Remove target.
44850 * wcsmbs/Makefile: Include Makeconfig immediately after defining
44851 subdir.
44852 * wctype/Makefile: Likewise.
44853
44854 2014-02-26 Steve Ellcey <sellcey@mips.com>
44855
44856 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
44857 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
44858 (libc_feholdexcept_setround_mips): Ditto.
44859 (libc_feholdsetround): New.
44860 (libc_feholdsetroundf): New.
44861 (libc_feholdsetroundl): New.
44862 (libc_feupdateenv_test_mips): New.
44863 (libc_feupdateenv_test): New.
44864 (libc_feupdateenv_testf): New.
44865 (libc_feupdateenv_testl): New.
44866 (libc_feresetround): New.
44867 (libc_feresetroundf): New.
44868 (libc_feresetroundl): New.
44869 (libc_fetestexcept_mips): New.
44870 (libc_fetestexcept): New.
44871 (libc_fetestexceptf): New.
44872 (libc_fetestexceptl): New.
44873 (HAVE_RM_CTX): New.
44874 (libc_feholdexcept_setround_mips_ctx): New.
44875 (libc_feholdexcept_setround_ctx): New.
44876 (libc_feholdexcept_setroundf_ctx): New.
44877 (libc_feholdexcept_setroundl_ctx): New.
44878 (libc_fesetenv_mips_ctx): New.
44879 (libc_fesetenv_ctx): New.
44880 (libc_fesetenv_ctxf): New.
44881 (libc_fesetenv_ctxl): New.
44882 (libc_feupdateenv_mips_ctx): New.
44883 (libc_feupdateenv_ctx): New.
44884 (libc_feupdateenvf_ctx): New.
44885 (libc_feupdateenvl_ctx): New.
44886 (libc_feholdsetround_mips_ctx): New.
44887 (libc_feholdsetround_ctx): New.
44888 (libc_feholdsetroundf_ctx): New.
44889 (libc_feholdsetroundl_ctx): New.
44890 (libc_feresetround_mips_ctx): New.
44891 (libc_feresetround_ctx): New.
44892 (libc_feresetroundf_ctx): New.
44893 (libc_feresetroundl_ctx): New.
44894
44895 2014-02-26 Carlos O'Donell <carlos@redhat.com>
44896
44897 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
44898
44899 * manual/ipc.texi: New file.
44900 * manual/Makefile (chapters): Add ipc.
44901 * manual/job.texi: Add "Inter-Process Communication" to next.
44902 * manual/process.texi: Add "Inter-Process Communication" to prev.
44903
44904 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44905
44906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44907
44908 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
44909
44910 * malloc/malloc.c (__libc_calloc): Simplify implementation.
44911
44912 * manual/arith.texi: Fix spaces after sentences.
44913 * manual/charset.texi: Likewise.
44914 * manual/errno.texi: Likewise.
44915 * manual/install.texi: Likewise.
44916 * manual/llio.texi: Likewise.
44917 * manual/locale.texi: Likewise.
44918 * manual/maint.texi: Likewise.
44919 * manual/math.texi: Likewise.
44920 * manual/memory.texi: Likewise.
44921 * manual/message.texi: Likewise.
44922 * manual/probes.texi: Likewise.
44923 * manual/resource.texi: Likewise.
44924 * manual/signal.texi: Likewise.
44925 * manual/socket.texi: Likewise.
44926 * manual/stdio.texi: Likewise.
44927 * manual/string.texi: Likewise.
44928 * manual/time.texi: Likewise.
44929 * manual/users.texi: Likewise.
44930
44931 2014-02-25 Carlos O'Donell <carlos@redhat.com>
44932
44933 [BZ #16632]
44934 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
44935 _DEFAULT_SOURCE is defined.
44936
44937 2014-02-25 Ulrich Drepper <drepper@gmail.com>
44938 Carlos O'Donell <carlos@redhat.com>
44939
44940 [BZ #16613]
44941 * elf/dl-tls.c (_dl_count_modids): New function.
44942 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
44943 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
44944 audit library and increment generation counter.
44945 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
44946 * elf/tst-audit9.c: New file.
44947 * elf/tst-auditmod9a.c: New file.
44948 * elf/tst-auditmod9b.c: New file.
44949 * elf/Makefile: Add rules to build and run tst-audit9.
44950
44951 2014-02-25 Florian Weimer <fweimer@redhat.com>
44952
44953 [BZ #15347]
44954 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
44955
44956 2014-02-25 Will Newton <will.newton@linaro.org>
44957
44958 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
44959 (__longjmp): Restore sp and lr before restoring callee
44960 saved registers. Add longjmp and longjmp_target
44961 SystemTap probe point.
44962 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
44963 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
44964 Define to zero to match jmpbuf layout.
44965 * sysdeps/arm/setjmp.S: Include stap-probe.h.
44966 (__sigsetjmp): Save sp and lr before saving callee
44967 saved registers. Add setjmp SystemTap probe point.
44968
44969 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
44970
44971 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44972
44973 2014-02-24 Andreas Schwab <schwab@suse.de>
44974
44975 [BZ #15804]
44976 * elf/pldd.c (wait_for_ptrace_stop): New function.
44977 (main): Call it after attaching.
44978
44979 2014-02-22 Roland McGrath <roland@hack.frob.com>
44980
44981 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
44982 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
44983 Versions files is now verboten.
44984 * hurd/Versions (libc: GLIBC_2.0):
44985 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
44986 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
44987 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
44988 * mach/Versions: Likewise.
44989
44990 * csu/Versions: Remove unused %include.
44991 * resolv/Versions: Likewise.
44992
44993 2014-02-21 Joseph Myers <joseph@codesourcery.com>
44994
44995 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
44996 ($(objpfx)check-local-headers.out): Likewise.
44997 ($(objpfx)begin-end-check.out): Likewise.
44998 * Makerules (check-abi-%.out): Likewise.
44999 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45000 ($(objpfx)test2.cat): Likewise.
45001 ($(objpfx)de/libc.cat): Likewise.
45002 ($(objpfx)test-gencat.out): Likewise.
45003 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45004 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45005 ($(objpfx)noload-mem): Likewise.
45006 ($(objpfx)tst-pathopt.out): Likewise.
45007 ($(objpfx)tst-rtld-load-self.out): Likewise.
45008 ($(objpfx)tst-array1-cmp.out): Likewise.
45009 ($(objpfx)tst-array1-static-cmp.out): Likewise.
45010 ($(objpfx)tst-array2-cmp.out): Likewise.
45011 ($(objpfx)tst-array3-cmp.out): Likewise.
45012 ($(objpfx)tst-array4-cmp.out): Likewise.
45013 ($(objpfx)tst-array5-cmp.out): Likewise.
45014 ($(objpfx)tst-array5-static-cmp.out): Likewise.
45015 ($(objpfx)check-textrel.out): Likewise.
45016 ($(objpfx)check-execstack.out): Likewise.
45017 ($(objpfx)check-localplt.out): Likewise.
45018 ($(objpfx)order2-cmp.out): Likewise.
45019 ($(objpfx)tst-leaks1-mem): Likewise.
45020 ($(objpfx)tst-leaks1-static-mem): Likewise.
45021 ($(objpfx)tst-initorder-cmp.out): Likewise.
45022 ($(objpfx)tst-initorder2-cmp.out): Likewise.
45023 ($(objpfx)tst-unused-dep.out): Likewise.
45024 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45025 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45026 * iconv/Makefile (test-iconvconfig): Likewise.
45027 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45028 ($(objpfx)iconv-test.out): Likewise.
45029 ($(objpfx)tst-tables.out): Likewise.
45030 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45031 ($(objpfx)tst-gettext.out): Likewise.
45032 ($(objpfx)tst-translit.out): Likewise.
45033 ($(objpfx)tst-gettext2.out): Likewise.
45034 ($(objpfx)tst-gettext4.out): Likewise.
45035 ($(objpfx)tst-gettext6.out): Likewise.
45036 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45037 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45038 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45039 ($(objpfx)tst-fopenloc-mem.out): Likewise.
45040 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45041 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45042 * posix/Makefile ($(objpfx)globtest.out): Likewise.
45043 ($(objpfx)wordexp-tst.out): Likewise.
45044 ($(objpfx)annexc.out): Likewise.
45045 ($(objpfx)tst-fnmatch-mem): Likewise.
45046 ($(objpfx)bug-regex2-mem): Likewise.
45047 ($(objpfx)bug-regex14-mem): Likewise.
45048 ($(objpfx)bug-regex21-mem): Likewise.
45049 ($(objpfx)bug-regex31-mem): Likewise.
45050 ($(objpfx)tst-vfork3-mem): Likewise.
45051 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45052 ($(objpfx)tst-pcre-mem): Likewise.
45053 ($(objpfx)tst-boost-mem): Likewise.
45054 ($(objpfx)tst-getconf.out): Likewise.
45055 ($(objpfx)bug-ga2-mem): Likewise.
45056 ($(objpfx)bug-glob2-mem): Likewise.
45057 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45058 ($(objpfx)mtrace-tst-leaks2): Likewise.
45059 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45060 ($(objpfx)tst-printf.out): Likewise.
45061 ($(objpfx)tst-setvbuf1.out): Likewise.
45062 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45063 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45064 ($(objpfx)tst-fmtmsg.out): Likewise.
45065 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45066 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45067
45068 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45069 * bits/sigaction.h [__USE_MISC]: Likewise.
45070 * bits/waitstatus.h: Update #endif comments.
45071 * ctype/ctype.h: Likewise.
45072 * dirent/dirent.h: Likewise.
45073 [__USE_MISC]: Remove redundant conditionals.
45074 * grp/grp.h: Update #endif comments.
45075 [__USE_GNU]: Remove redundant conditionals.
45076 [__USE_MISC]: Likewise.
45077 * inet/netinet/in.h [__USE_GNU]: Likewise.
45078 * io/sys/stat.h [__USE_MISC]: Likewise.
45079 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45080 * libio/bits/stdio.h: Update #endif comments.
45081 [__USE_MISC]: Remove redundant conditionals.
45082 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45083 * libio/stdio.h: Update #endif comments.
45084 [__USE_MISC]: Remove redundant conditionals.
45085 * math/bits/math-finite.h [__USE_MISC]: Likewise.
45086 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45087 * math/math.h: Update #else and #endif comments.
45088 [__USE_MISC]: Remove redundant conditionals.
45089 * misc/sys/uio.h: Update #endif comments.
45090 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45091 * posix/glob.h [__USE_MISC]: Likewise.
45092 * posix/sys/types.h: Update #endif comments.
45093 [__USE_MISC]: Remove redundant conditionals.
45094 * posix/sys/wait.h: Update #endif comments.
45095 [__USE_MISC]: Remove redundant conditionals.
45096 * posix/unistd.h: Update #endif comments.
45097 [__USE_MISC]: Remove redundant conditionals.
45098 * pwd/pwd.h [__USE_GNU]: Likewise.
45099 [__USE_MISC]: Likewise.
45100 * resolv/netdb.h [__USE_GNU]: Likewise.
45101 * signal/signal.h: Update #endif comments.
45102 [__USE_MISC]: Remove redundant conditionals.
45103 * stdlib/stdlib.h: Update #else and #endif comments.
45104 [__USE_MISC]: Remove redundant conditionals.
45105 [__USE_GNU]: Likewise.
45106 * string/bits/string2.h [__USE_MISC]: Likewise.
45107 * string/string.h: Update #endif comments.
45108 [__USE_MISC]: Remove redundant conditionals.
45109 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45110 Likewise.
45111 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45112 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45113 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45114 Likewise.
45115 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45116 Likewise.
45117 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45118 comments.
45119 [__USE_MISC]: Remove redundant conditionals.
45120 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45121 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45122 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45123 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45124 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45125 Likewise.
45126 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45127 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45128 Likewise.
45129 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45130 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45131 Likewise.
45132 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45133 Likewise.
45134 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45135 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45136 Likewise.
45137 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45138 Likewise.
45139 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45140 * sysdeps/x86/bits/string.h: Update #endif comments.
45141 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45142 conditionals.
45143 * time/sys/time.h: Update #endif comments.
45144 * time/time.h: Likewise.
45145 [__USE_MISC]: Remove redundant conditionals.
45146
45147 2014-02-21 Yury Gribov <y.gribov@samsung.com>
45148
45149 [BZ #16600]
45150 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45151
45152 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
45153
45154 * Versions.def (librt): Add GLIBC_2.17.
45155
45156 2014-02-21 Adam Conrad <adconrad@0c3.net>
45157
45158 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45159 synonym for _SYS_AUXV_H to allow direct inclusion.
45160 * sysdeps/sparc/bits/hwcap.h: Likewise.
45161 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45162 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45163 * sysdeps/sparc/sysdep.h: Likewise.
45164
45165 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45166
45167 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45168
45169 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45170
45171 * benchtests/bench-strrchr.c: Print length instead of position.
45172
45173 2014-02-20 Joseph Myers <joseph@codesourcery.com>
45174
45175 [BZ #16611]
45176 * sysdeps/unix/sysv/linux/kernel-features.h
45177 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45178 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45179 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45180 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45181 Likewise.
45182 [__i386__ || __powerpc__ || __sh__ || __sparc__]
45183 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45184 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45185 (__ASSUME_SENDMMSG): Define instead of using previous
45186 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45187 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45188 (__ASSUME_SENDMMSG_SYSCALL): Define.
45189 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45190 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45191 Likewise.
45192 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45193 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45194 Likewise.
45195 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45196 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45197 Likewise.
45198 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
45199 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45200 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45201 [__ASSUME_SENDMMSG]: Change conditionals to
45202 [__ASSUME_SENDMMSG_SOCKETCALL].
45203 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45204 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
45205 Define.
45206 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45207 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
45208 Likewise.
45209 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
45210 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45211 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45212 [!__ASSUME_SENDMMSG]: Change conditional to
45213 [!__ASSUME_SENDMMSG_SOCKETCALL].
45214 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45215 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45216 Define.
45217
45218 [BZ #16610]
45219 * sysdeps/unix/sysv/linux/kernel-features.h
45220 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
45221 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
45222 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
45223 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
45224 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45225 [__i386__ || __sparc__]
45226 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45227 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
45228 (__ASSUME_RECVMMSG): Define instead of using previous
45229 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
45230 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45231 (__ASSUME_RECVMMSG_SYSCALL): Define.
45232 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45233 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45234 Likewise.
45235 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45236 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45237 Likewise.
45238 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45239 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45240 Likewise.
45241 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
45242 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45243 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45244 [__ASSUME_RECVMMSG]: Change condition to
45245 [__ASSUME_RECVMMSG_SOCKETCALL].
45246 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45247 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45248 Define.
45249 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45250 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45251 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45252 Likewise.
45253 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
45254 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45255 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45256 [!__ASSUME_RECVMMSG]: Change condition to
45257 [!__ASSUME_RECVMMSG_SOCKETCALL].
45258 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45259 (__ASSUME_RECVMMSG_SYSCALL): Define.
45260
45261 [BZ #16609]
45262 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
45263 __powerpc__ || __s390__ || __sh__ || __sparc__]
45264 (__ASSUME_SOCKETCALL): Define.
45265 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
45266 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
45267 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
45268 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
45269 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45270 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45271 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
45272 (__ASSUME_ACCEPT4): Define instead of using previous
45273 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
45274 __powerpc__ || __sparc__ || __s390__)] condition.
45275 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45276 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45277 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
45278 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45279 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45280 [!__ASSUME_ACCEPT4]: Change condition to
45281 [!__ASSUME_ACCEPT4_SOCKETCALL].
45282 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45283 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
45284 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
45285 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45286 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
45287 __ASSUME_ACCEPT4_SYSCALL.
45288 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
45289 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
45290 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45291 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
45292 __ASSUME_ACCEPT4_SYSCALL.
45293 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
45294 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45295 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45296 [__ASSUME_ACCEPT4]: Change condition to
45297 [__ASSUME_ACCEPT4_SOCKETCALL].
45298 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45299 (__ASSUME_SOCKETCALL): Define.
45300 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
45301 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45302 (__ASSUME_SOCKETCALL): Define.
45303 (__ASSUME_ACCEPT4): Remove.
45304 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
45305 Define.
45306 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45307 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
45308 Likewise.
45309 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45310 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45311
45312 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
45313 macro.
45314 (HWCAP_ARM_LPAE): Likewise.
45315 (HWCAP_ARM_EVTSTRM): Likewise.
45316 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
45317 Add vpfd32, lpae and evtstrm.
45318 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
45319 Increase to 22.
45320
45321 2014-02-19 Joseph Myers <joseph@codesourcery.com>
45322
45323 * math/auto-libm-test-in: Add tests of clog10.
45324 * math/auto-libm-test-out: Regenerated.
45325 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
45326 * sysdeps/i386/fpu/libm-test-ulps: Update.
45327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45328
45329 2014-02-18 Andreas Schwab <schwab@suse.de>
45330
45331 [BZ #16574]
45332 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
45333 Store non-zero if the second buffer was newly allocated.
45334 (send_dg): Likewise.
45335 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
45336 to send_vc and send_dg.
45337 (res_nsend): Pass NULL for ansp2_malloced.
45338 * resolv/res_query.c (__libc_res_nquery): Add parameter
45339 answerp2_malloced and pass it down to __libc_res_nsend.
45340 (res_nquery): Pass additional NULL to __libc_res_nquery.
45341 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
45342 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
45343 second answer buffer if answerp2_malloced was set.
45344 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
45345 (__libc_res_nquerydomain): Add parameter
45346 answerp2_malloced and pass it down to __libc_res_nquery.
45347 (res_nquerydomain): Pass additional NULL to
45348 __libc_res_nquerydomain.
45349 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
45350 additional NULL to __libc_res_nsend and __libc_res_nquery.
45351 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
45352 additional NULL to __libc_res_nsearch.
45353 (_nss_dns_gethostbyname4_r): Revert last change. Use new
45354 parameter of __libc_res_nsearch to check for separately allocated
45355 second buffer.
45356 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
45357 __libc_res_nquery.
45358 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
45359 additional NULL to __libc_res_nquery.
45360 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
45361 __libc_res_nsearch.
45362 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
45363 * include/resolv.h: Update prototypes of __libc_res_nquery,
45364 __libc_res_nsearch, __libc_res_nsend.
45365
45366 2014-02-18 Joseph Myers <joseph@codesourcery.com>
45367
45368 * math/auto-libm-test-in: Add tests of fma.
45369 * math/auto-libm-test-out: Regenerated.
45370 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
45371 (fma_towardzero_test_data): Likewise.
45372 (fma_downward_test_data): Likewise.
45373 (fma_upward_test_data): Likewise.
45374 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
45375 mpc_mode.
45376 (rounding_modes): Add values for new field.
45377 (func_calc_method): Add value mpfr_fff_f.
45378 (func_calc_desc): Add mpfr_fff_f union field.
45379 (test_function): Add field exact_args.
45380 (FUNC): Add macro argument EXACT_ARGS.
45381 (FUNC_mpfr_f_f): Update call to FUNC.
45382 (FUNC_mpfr_f_f): Likewise.
45383 (FUNC_mpfr_ff_f): Likewise.
45384 (FUNC_mpfr_if_f): Likewise.
45385 (FUNC_mpc_c_f): Likewise.
45386 (FUNC_mpc_c_c): Likewise.
45387 (test_functions): Add fma. Update calls to FUNC.
45388 (handle_input_arg): Add argument exact_args.
45389 (add_test): Update call to handle_input_arg.
45390 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
45391 (output_for_one_input_case): Update call to calc_generic_results.
45392 Recalculate exact zero results in each rounding mode.
45393
45394 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
45395 non-negative before setting low bit.
45396 * math/auto-libm-test-in: Mark one asin test possibly having
45397 spurious underflow.
45398 * math/auto-libm-test-out: Regenerated.
45399 * sysdeps/i386/fpu/libm-test-ulps: Update.
45400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45401
45402 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
45403
45404 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
45405 * sysdeps/unix/sysv/linux/microblaze: Move directory from
45406 ports/sysdeps/unix/sysv/linux/microblaze.
45407 * README: Add missing listing for microblaze*-*-linux-gnu.
45408
45409 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
45410
45411 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
45412 duplicate code
45413
45414 2014-02-16 Mike Frysinger <vapier@gentoo.org>
45415
45416 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
45417 * sysdeps/unix/sysv/linux/ia64: Move directory from
45418 ports/sysdeps/unix/sysv/linux/ia64.
45419 * README: Update listing for ia64-*-linux-gnu.
45420
45421 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
45422 Joseph Myers <joseph@codesourcery.com>
45423
45424 * Makeconfig (test-name): New variable.
45425 (evaluate-test): Likewise.
45426 * Makerules (do-test-clean): Remove .test-result files.
45427 (common-mostlyclean): Likewise.
45428 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
45429 * scripts/evaluate-test.sh: New file.
45430
45431 2014-02-14 Joseph Myers <joseph@codesourcery.com>
45432
45433 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
45434 separate $(objpfx)tst-fopenloc-cmp.out and
45435 $(objpfx)tst-fopenloc-mem.out targets.
45436 (tests): Update dependencies.
45437 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
45438 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
45439 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
45440 (tst-rxspencer-no-utf8-ARGS): New variable.
45441 (tst-rxspencer-no-utf8-ENV): Likewise.
45442 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
45443 instead of $(objpfx)tst-rxspencer-mem.
45444 ($(objpfx)tst-rxspencer-mem): Change target to
45445 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
45446 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
45447 * posix/tst-rxspencer-no-utf8.c: New file.
45448
45449 * elf/Makefile ($(objpfx)order.out): Remove rule.
45450 [$(run-built-tests) = yes] (tests): Depend on
45451 $(objpfx)order-cmp.out.
45452 ($(objpfx)order-cmp.out): New rule.
45453 [$(run-built-tests) = yes] (tests): Depend on
45454 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
45455 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
45456 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
45457 $(objpfx)tst-array5-static-cmp.out.
45458 ($(objpfx)tst-array1.out): Remove rule.
45459 ($(objpfx)tst-array1-cmp.out): New rule.
45460 ($(objpfx)tst-array1-static.out): Remove rule.
45461 ($(objpfx)tst-array1-static-cmp.out): New rule.
45462 ($(objpfx)tst-array2.out): Remove rule.
45463 ($(objpfx)tst-array2-cmp.out): New rule.
45464 ($(objpfx)tst-array3.out): Remove rule.
45465 ($(objpfx)tst-array3-cmp.out): New rule.
45466 ($(objpfx)tst-array4.out): Remove rule.
45467 ($(objpfx)tst-array4-cmp.out): New rule.
45468 ($(objpfx)tst-array5.out): Remove rule.
45469 ($(objpfx)tst-array5-cmp.out): New rule.
45470 ($(objpfx)tst-array5-static.out): Remove rule.
45471 ($(objpfx)tst-array5-static-cmp.out): New rule.
45472 [$(run-built-tests) = yes] (tests): Depend on
45473 $(objpfx)order2-cmp.out.
45474 ($(objpfx)order2.out): Remove rule.
45475 ($(objpfx)order2-cmp.out): New rule.
45476 ($(objpfx)tst-initorder.out): Remove rule.
45477 [$(run-built-tests) = yes] (tests): Depend on
45478 $(objpfx)tst-initorder-cmp.out.
45479 ($(objpfx)tst-initorder-cmp.out): New rule.
45480 ($(objpfx)tst-initorder2.out): Remove rule.
45481 [$(run-built-tests) = yes] (tests): Depend on
45482 $(objpfx)tst-initorder2-cmp.out.
45483 ($(objpfx)tst-initorder2-cmp.out): New rule.
45484 [$(run-built-tests) = yes] (tests): Depend on
45485 $(objpfx)tst-unused-dep-cmp.out.
45486 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
45487 ($(objpfx)tst-unused-dep-cmp.out): New rule.
45488 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
45489 on $(objpfx)tst-setvbuf1-cmp.out.
45490 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
45491 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
45492 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
45493 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
45494 ($(objpfx)tst-svc.out): Remove rule.
45495 ($(objpfx)tst-svc-cmp.out): New rule.
45496
45497 2014-02-13 Joseph Myers <joseph@codesourcery.com>
45498
45499 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
45500 * ctype/ctype.h [__USE_MISC]: Likewise.
45501 * dirent/dirent.h [__USE_MISC]: Likewise.
45502 * grp/grp.h [__USE_MISC]: Likewise.
45503 * io/fcntl.h [__USE_MISC]: Likewise.
45504 * io/sys/stat.h [__USE_MISC]: Likewise.
45505 * libio/stdio.h [__USE_MISC]: Likewise.
45506 * posix/unistd.h [__USE_MISC]: Likewise.
45507 * pwd/pwd.h [__USE_MISC]: Likewise.
45508 * stdlib.h [__USE_MISC]: Likewise.
45509 * string/bits/string2.h [__USE_MISC]: Likewise.
45510 * string/string.h [__USE_MISC]: Likewise.
45511 * time/time.h [__USE_MISC]: Likewise.
45512
45513 2014-02-13 Andreas Schwab <schwab@suse.de>
45514
45515 [BZ #16574]
45516 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
45517 second answer buffer if it was separately allocated.
45518
45519 2014-02-12 Joseph Myers <joseph@codesourcery.com>
45520
45521 * sysdeps/mips/math-tests.h: Include <features.h>.
45522 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45523 (ROUNDING_TESTS_long_double): Do not define.
45524 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45525 (EXCEPTION_TESTS_long_double): Likewise.
45526 * sysdeps/mips/mips64/libm-test-ulps: Update.
45527
45528 * include/features.h (__USE_BSD): Remove macro definitions.
45529 (__USE_SVID): Likewise.
45530 (_BSD_SOURCE): Likewise.
45531 (_SVID_SOURCE): Likewise.
45532 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
45533 from definition of _DEFAULT_SOURCE.
45534 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
45535 [_DEFAULT_SOURCE].
45536 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
45537 * bits/mman.h [__USE_BSD]: Likewise.
45538 * bits/termios.h [__USE_BSD]: Likewise.
45539 * bits/waitstatus.h [__USE_BSD]: Likewise.
45540 * ctype/ctype.h [__USE_SVID]: Likewise.
45541 * dirent/dirent.h [__USE_BSD]: Likewise.
45542 * grp/grp.h [__USE_SVID]: Likewise.
45543 [__USE_BSD]: Likewise.
45544 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
45545 * io/fcntl.h [__USE_BSD]: Likewise.
45546 * io/ftw.h [__USE_BSD]: Likewise.
45547 * io/sys/stat.h [__USE_BSD]: Likewise.
45548 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
45549 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
45550 * libio/stdio.h [__USE_SVID]: Likewise.
45551 [__USE_BSD]: Likewise.
45552 * math/math.h [__USE_SVID]: Likewise.
45553 [__USE_BSD]: Likewise.
45554 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
45555 * misc/bits/syslog.h [__USE_BSD]: Likewise.
45556 * misc/search.h [__USE_SVID]: Likewise.
45557 * misc/sys/mman.h [__USE_BSD]: Likewise.
45558 * misc/sys/syslog.h [__USE_BSD]: Likewise.
45559 * misc/sys/uio.h [__USE_BSD]: Likewise.
45560 * posix/bits/unistd.h [__USE_BSD]: Likewise.
45561 * posix/glob.h [__USE_BSD]: Likewise.
45562 * posix/regex.h [__USE_BSD]: Likewise.
45563 * posix/sys/types.h [__USE_BSD]: Likewise.
45564 [__USE_SVID]: Likewise.
45565 * posix/sys/utsname.h [__USE_SVID]: Likewise.
45566 * posix/sys/wait.h [__USE_BSD]: Likewise.
45567 [__USE_SVID]: Likewise.
45568 * posix/unistd.h [__USE_BSD]: Likewise.
45569 [__USE_SVID]: Likewise.
45570 * pwd/pwd.h [__USE_SVID]: Likewise.
45571 * resolv/netdb.h [__USE_BSD]: Likewise.
45572 * setjmp/setjmp.h [__USE_BSD]: Likewise.
45573 * signal/signal.h [__USE_BSD]: Likewise.
45574 [__USE_SVID]: Likewise.
45575 * socket/sys/socket.h [__USE_BSD]: Likewise.
45576 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
45577 * stdlib/stdlib.h [__USE_BSD]: Likewise.
45578 [__USE_SVID]: Likewise.
45579 * string/bits/string2.h [__USE_BSD]: Likewise.
45580 [__USE_SVID]: Likewise.
45581 * string/bits/string3.h [__USE_BSD]: Likewise.
45582 * string/endian.h [__USE_BSD]: Likewise.
45583 * string/string.h [__USE_SVID]: Likewise.
45584 [__USE_BSD]: Likewise.
45585 * string/strings.h [__USE_BSD]: Likewise.
45586 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
45587 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
45588 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
45589 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
45590 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
45591 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
45592 Likewise.
45593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
45594 Likewise.
45595 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
45596 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
45597 Likewise.
45598 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
45599 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
45600 Likewise.
45601 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
45602 Likewise.
45603 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
45604 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
45605 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
45606 Likewise.
45607 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
45608 Likewise.
45609 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
45610 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
45611 * termios/termios.h [__USE_BSD]: Likewise.
45612 * time/sys/time.h [__USE_BSD]: Likewise.
45613 * time/time.h [__USE_BSD]: Likewise.
45614 [__USE_SVID]: Likewise.
45615
45616 * Makefile (subdir_targets): Remove subdir_lint.out.
45617
45618 * stdio-common/Makefile (do-tst-unbputc): Remove target.
45619 (do-tst-printf): Likewise.
45620 (tests): Depend directly on $(objpfx)tst-unbputc.out and
45621 $(objpfx)tst-printf.out.
45622
45623 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
45624
45625 * Makerules (check-abi-%): Change target to
45626 $(objpfx)check-abi-%.out.
45627 (check-abi target): Update dependencies.
45628 (check-abi-pattern variable): Redirect output of diff to $@.
45629 (check-abi variable): Likewise.
45630 * elf/Makefile (check-abi): Update dependencies.
45631
45632 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
45633 unused.
45634 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
45635 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
45636 subnormal range.
45637 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
45638 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
45639 value has largest subnormal exponent.
45640 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
45641 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
45642 * sysdeps/aarch64/soft-fp/sfp-machine.h
45643 (_FP_TININESS_AFTER_ROUNDING): New macro.
45644 * sysdeps/alpha/soft-fp/sfp-machine.h
45645 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45646 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45647 Likewise.
45648 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
45649 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45650 * sysdeps/mips/soft-fp/sfp-machine.h
45651 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45652 * sysdeps/powerpc/soft-fp/sfp-machine.h
45653 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45654 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45655 Likewise.
45656 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45657 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45658 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45659 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45660 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45661 Likewise.
45662
45663 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
45664
45665 [BZ #16545]
45666 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
45667 model 1.
45668
45669 2014-02-12 Richard Henderson <rth@redhat.com>
45670
45671 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
45672 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
45673 * sysdeps/unix/sysv/linux/alpha: Move directory from
45674 ports/sysdeps/unix/sysv/linux/alpha.
45675 * README: Update listing for alpha-*-linux-gnu.
45676
45677 2014-02-11 Joseph Myers <joseph@codesourcery.com>
45678
45679 * include/features.h: Update comment documenting feature test
45680 macros.
45681 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
45682 _DEFAULT_SOURCE.
45683 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
45684 (_SVID_SOURCE): Likewise.
45685 (_DEFAULT_SOURCE): Update description of default features.
45686 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
45687 with _GNU_SOURCE.
45688 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
45689 (S_ISVTX): Likewise.
45690 * manual/math.texi (Mathematical Constants): Likewise.
45691 * manual/signal.texi (Interrupted Primitives): Likewise.
45692 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
45693 * math/test-matherr.c (_SVID_SOURCE): Do not define.
45694 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
45695 Don't refer to _SVID_SOURCE in warning text.
45696
45697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45698
45699 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
45700 already defined.
45701 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
45702 * sysdeps/mips/dl-lookup.c: Remove.
45703 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
45704
45705 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
45706
45707 [BZ #16447]
45708 * math/auto-libm-test-in: Add testcase for expl.
45709 * math/auto-libm-test-out: Regenerate.
45710 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
45711 calculation of unsafe.
45712 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
45713
45714 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
45715
45716 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
45717 * sysdeps/unix/sysv/linux/aarch64: Move directory from
45718 ports/sysdeps/unix/sysv/linux/aarch64.
45719 * README: Update listing for aarch64*-*-linux-gnu.
45720
45721 2014-02-11 Will Newton <will.newton@linaro.org>
45722
45723 * manual/probes.texi (Mathematical Function Probes): Use
45724 "triggered" instead of "hit".
45725
45726 * manual/probes.texi (Internal Probes): Add documentation
45727 of setjmp, longjmp and longjmp_target probes.
45728
45729 * include/stap-probe.h: Add comment about probe argument
45730 format.
45731
45732 * malloc/mtrace.c (attribute_hidden): Remove unused macro
45733 definition. (tr_where, tr_freehook, tr_mallochook,
45734 tr_reallochook, tr_memalignhook): Use ANSI protoype.
45735
45736 2014-02-11 David S. Miller <davem@davemloft.net>
45737
45738 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
45739 processing int_tests.
45740
45741 2014-02-10 Joseph Myers <joseph@codesourcery.com>
45742
45743 * sysdeps/mips: Move directory from ports/sysdeps/mips.
45744 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
45745 * sysdeps/unix/sysv/linux/mips: Move directory from
45746 ports/sysdeps/unix/sysv/linux/mips.
45747 * README: Update listing for mips-*-linux-gnu and
45748 mips64-*-linux-gnu.
45749
45750 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
45751
45752 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
45753 * sysdeps/unix/sysv/linux/m68k: Move directory from
45754 ports/sysdeps/unix/sysv/linux/m68k.
45755 * README: Update listing for m68k-*-linux-gnu.
45756
45757 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
45758
45759 * sysdeps/tile: Move directory from ports/sysdeps/tile.
45760 * sysdeps/unix/sysv/linux/generic: Move directory from
45761 ports/sysdeps/unix/sysv/linux/generic.
45762 * sysdeps/unix/sysv/linux/tile: Move directory from
45763 ports/sysdeps/unix/sysv/linux/tile.
45764 * README: Update listing for tile*-*-linux-gnu.
45765
45766 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
45767
45768 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
45769 __builtin_expect.
45770 * benchtests/bench-memmem.c (simple_memmem): Likewise.
45771 * catgets/open_catalog.c (__open_catalog): Likewise.
45772 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
45773 * debug/confstr_chk.c: Likewise.
45774 * debug/fread_chk.c (__fread_chk): Likewise.
45775 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
45776 * debug/getgroups_chk.c: Likewise.
45777 * debug/mbsnrtowcs_chk.c: Likewise.
45778 * debug/mbsrtowcs_chk.c: Likewise.
45779 * debug/mbstowcs_chk.c: Likewise.
45780 * debug/memcpy_chk.c: Likewise.
45781 * debug/memmove_chk.c: Likewise.
45782 * debug/mempcpy_chk.c: Likewise.
45783 * debug/memset_chk.c: Likewise.
45784 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45785 * debug/strcat_chk.c (__strcat_chk): Likewise.
45786 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
45787 * debug/strncat_chk.c (__strncat_chk): Likewise.
45788 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
45789 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
45790 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
45791 * debug/wcpncpy_chk.c: Likewise.
45792 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45793 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
45794 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
45795 * debug/wcsncpy_chk.c: Likewise.
45796 * debug/wcsnrtombs_chk.c: Likewise.
45797 * debug/wcsrtombs_chk.c: Likewise.
45798 * debug/wcstombs_chk.c: Likewise.
45799 * debug/wmemcpy_chk.c: Likewise.
45800 * debug/wmemmove_chk.c: Likewise.
45801 * debug/wmempcpy_chk.c: Likewise.
45802 * debug/wmemset_chk.c: Likewise.
45803 * dirent/scandirat.c (SCANDIRAT): Likewise.
45804 * dlfcn/dladdr1.c (dladdr1): Likewise.
45805 * dlfcn/dladdr.c (dladdr): Likewise.
45806 * dlfcn/dlclose.c (dlclose_doit): Likewise.
45807 * dlfcn/dlerror.c (__dlerror): Likewise.
45808 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
45809 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
45810 * dlfcn/dlopen.c (dlopen_doit): Likewise.
45811 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
45812 * dlfcn/dlsym.c (dlsym_doit): Likewise.
45813 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
45814 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
45815 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
45816 Likewise.
45817 * elf/dl-conflict.c: Likewise.
45818 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
45819 * elf/dl-dst.h: Likewise.
45820 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
45821 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
45822 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
45823 * elf/dl-init.c (call_init, _dl_init): Likewise.
45824 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
45825 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
45826 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
45827 Likewise.
45828 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
45829 Likewise.
45830 * elf/dl-minimal.c (__libc_memalign): Likewise.
45831 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
45832 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45833 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
45834 * elf/dl-sym.c (do_sym): Likewise.
45835 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
45836 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
45837 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
45838 * elf/dl-writev.h (_dl_writev): Likewise.
45839 * elf/ldconfig.c (search_dir): Likewise.
45840 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
45841 (dl_main): Likewise.
45842 * elf/setup-vdso.h (setup_vdso): Likewise.
45843 * grp/compat-initgroups.c (compat_call): Likewise.
45844 * grp/fgetgrent.c (fgetgrent): Likewise.
45845 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
45846 * grp/putgrent.c (putgrent): Likewise.
45847 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45848 Likewise.
45849 * hurd/hurdinit.c: Likewise.
45850 * iconvdata/8bit-gap.c (struct): Likewise.
45851 * iconvdata/ansi_x3.110.c : Likewise.
45852 * iconvdata/big5.c : Likewise.
45853 * iconvdata/big5hkscs.c : Likewise.
45854 * iconvdata/cp1255.c: Likewise.
45855 * iconvdata/cp1258.c : Likewise.
45856 * iconvdata/cp932.c : Likewise.
45857 * iconvdata/euc-cn.c: Likewise.
45858 * iconvdata/euc-jisx0213.c : Likewise.
45859 * iconvdata/euc-jp.c: Likewise.
45860 * iconvdata/euc-jp-ms.c : Likewise.
45861 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
45862 * iconvdata/gb18030.c : Likewise.
45863 * iconvdata/gbbig5.c (const): Likewise.
45864 * iconvdata/gbgbk.c: Likewise.
45865 * iconvdata/gbk.c : Likewise.
45866 * iconvdata/ibm1364.c : Likewise.
45867 * iconvdata/ibm930.c : Likewise.
45868 * iconvdata/ibm932.c: Likewise.
45869 * iconvdata/ibm933.c : Likewise.
45870 * iconvdata/ibm935.c : Likewise.
45871 * iconvdata/ibm937.c : Likewise.
45872 * iconvdata/ibm939.c : Likewise.
45873 * iconvdata/ibm943.c: Likewise.
45874 * iconvdata/iso_11548-1.c: Likewise.
45875 * iconvdata/iso-2022-cn.c : Likewise.
45876 * iconvdata/iso-2022-cn-ext.c : Likewise.
45877 * iconvdata/iso-2022-jp-3.c: Likewise.
45878 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
45879 * iconvdata/iso-2022-kr.c : Likewise.
45880 * iconvdata/iso646.c (gconv_end): Likewise.
45881 * iconvdata/iso_6937-2.c : Likewise.
45882 * iconvdata/iso_6937.c : Likewise.
45883 * iconvdata/iso8859-1.c: Likewise.
45884 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
45885 * iconvdata/shift_jisx0213.c : Likewise.
45886 * iconvdata/sjis.c : Likewise.
45887 * iconvdata/t.61.c : Likewise.
45888 * iconvdata/tcvn5712-1.c : Likewise.
45889 * iconvdata/tscii.c: Likewise.
45890 * iconvdata/uhc.c : Likewise.
45891 * iconvdata/unicode.c (gconv_end): Likewise.
45892 * iconvdata/utf-16.c (gconv_end): Likewise.
45893 * iconvdata/utf-32.c (gconv_end): Likewise.
45894 * iconvdata/utf-7.c (base64): Likewise.
45895 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
45896 * iconv/gconv_close.c (__gconv_close): Likewise.
45897 * iconv/gconv_open.c (__gconv_open): Likewise.
45898 * iconv/gconv_simple.c (internal_ucs4_loop_single)
45899 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
45900 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
45901 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
45902 (ucs4le_internal_loop_single): Likewise.
45903 * iconv/iconv.c (iconv): Likewise.
45904 * iconv/iconv_close.c: Likewise.
45905 * iconv/loop.c (SINGLE): Likewise.
45906 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
45907 * include/atomic.h: Likewise.
45908 * inet/inet6_option.c (option_alloc): Likewise.
45909 * intl/bindtextdom.c (set_binding_values): Likewise.
45910 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
45911 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
45912 * intl/localealias.c (read_alias_file): Likewise.
45913 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
45914 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
45915 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
45916 * libio/fmemopen.c (fmemopen): Likewise.
45917 * libio/iofgets.c (_IO_fgets): Likewise.
45918 * libio/iofgets_u.c (fgets_unlocked): Likewise.
45919 * libio/iofgetws.c (fgetws): Likewise.
45920 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
45921 * libio/iogetdelim.c (_IO_getdelim): Likewise.
45922 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
45923 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
45924 * locale/findlocale.c (_nl_find_locale): Likewise.
45925 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
45926 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
45927 Likewise.
45928 * locale/setlocale.c (setlocale): Likewise.
45929 * login/programs/pt_chown.c (main): Likewise.
45930 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
45931 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
45932 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
45933 (mmap, mmap64, mremap, munmap): Likewise.
45934 * math/e_exp2l.c: Likewise.
45935 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
45936 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
45937 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
45938 * math/s_catan.c (__catan): Likewise.
45939 * math/s_catanf.c (__catanf): Likewise.
45940 * math/s_catanh.c (__catanh): Likewise.
45941 * math/s_catanhf.c (__catanhf): Likewise.
45942 * math/s_catanhl.c (__catanhl): Likewise.
45943 * math/s_catanl.c (__catanl): Likewise.
45944 * math/s_ccosh.c (__ccosh): Likewise.
45945 * math/s_ccoshf.c (__ccoshf): Likewise.
45946 * math/s_ccoshl.c (__ccoshl): Likewise.
45947 * math/s_cexp.c (__cexp): Likewise.
45948 * math/s_cexpf.c (__cexpf): Likewise.
45949 * math/s_cexpl.c (__cexpl): Likewise.
45950 * math/s_clog10.c (__clog10): Likewise.
45951 * math/s_clog10f.c (__clog10f): Likewise.
45952 * math/s_clog10l.c (__clog10l): Likewise.
45953 * math/s_clog.c (__clog): Likewise.
45954 * math/s_clogf.c (__clogf): Likewise.
45955 * math/s_clogl.c (__clogl): Likewise.
45956 * math/s_csin.c (__csin): Likewise.
45957 * math/s_csinf.c (__csinf): Likewise.
45958 * math/s_csinh.c (__csinh): Likewise.
45959 * math/s_csinhf.c (__csinhf): Likewise.
45960 * math/s_csinhl.c (__csinhl): Likewise.
45961 * math/s_csinl.c (__csinl): Likewise.
45962 * math/s_csqrt.c (__csqrt): Likewise.
45963 * math/s_csqrtf.c (__csqrtf): Likewise.
45964 * math/s_csqrtl.c (__csqrtl): Likewise.
45965 * math/s_ctan.c (__ctan): Likewise.
45966 * math/s_ctanf.c (__ctanf): Likewise.
45967 * math/s_ctanh.c (__ctanh): Likewise.
45968 * math/s_ctanhf.c (__ctanhf): Likewise.
45969 * math/s_ctanhl.c (__ctanhl): Likewise.
45970 * math/s_ctanl.c (__ctanl): Likewise.
45971 * math/w_pow.c: Likewise.
45972 * math/w_powf.c: Likewise.
45973 * math/w_powl.c: Likewise.
45974 * math/w_scalb.c (sysv_scalb): Likewise.
45975 * math/w_scalbf.c (sysv_scalbf): Likewise.
45976 * math/w_scalbl.c (sysv_scalbl): Likewise.
45977 * misc/error.c (error_tail): Likewise.
45978 * misc/pselect.c (__pselect): Likewise.
45979 * nis/nis_callback.c (__nis_create_callback): Likewise.
45980 * nis/nis_call.c (__nisfind_server): Likewise.
45981 * nis/nis_creategroup.c (nis_creategroup): Likewise.
45982 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
45983 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
45984 * nis/nis_getservlist.c (nis_getservlist): Likewise.
45985 * nis/nis_lookup.c (nis_lookup): Likewise.
45986 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
45987 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
45988 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
45989 * nis/nis_xdr.c (xdr_endpoint): Likewise.
45990 * nis/nss_compat/compat-grp.c (getgrent_next_file)
45991 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
45992 * nis/nss_compat/compat-initgroups.c (add_group)
45993 (internal_getgrent_r): Likewise.
45994 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
45995 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
45996 * nis/nss_compat/compat-spwd.c (getspent_next_file)
45997 (internal_getspnam_r): Likewise.
45998 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
45999 (_nss_nis_getaliasbyname_r): Likewise.
46000 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46001 (_nss_nis_getntohost_r): Likewise.
46002 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46003 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46004 (_nss_nis_getgrgid_r): Likewise.
46005 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46006 (internal_nis_gethostent_r, internal_gethostbyname2_r)
46007 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46008 (_nss_nis_gethostbyname4_r): Likewise.
46009 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46010 (initgroups_netid): Likewise.
46011 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46012 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46013 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46014 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46015 (_nss_nis_getprotobynumber_r): Likewise.
46016 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46017 (_nss_nis_getsecretkey): Likewise.
46018 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46019 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46020 (_nss_nis_getpwuid_r): Likewise.
46021 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46022 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46023 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46024 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46025 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46026 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46027 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46028 Likewise.
46029 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46030 (_nss_nisplus_getntohost_r): Likewise.
46031 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46032 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46033 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46034 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46035 Likewise.
46036 * nis/nss_nisplus/nisplus-initgroups.c
46037 (_nss_nisplus_initgroups_dyn): Likewise.
46038 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46039 (_nss_nisplus_getnetbyaddr_r): Likewise.
46040 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46041 (_nss_nisplus_getprotobynumber_r): Likewise.
46042 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46043 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46044 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46045 Likewise.
46046 * nis/nss_nisplus/nisplus-service.c
46047 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46048 (_nss_nisplus_getservbyport_r): Likewise.
46049 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46050 (_nss_nisplus_getspnam_r): Likewise.
46051 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46052 Likewise.
46053 * nscd/aicache.c (addhstaiX): Likewise.
46054 * nscd/cache.c (cache_search, prune_cache): Likewise.
46055 * nscd/connections.c (register_traced_file, send_ro_fd)
46056 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46057 (main_loop_epoll): Likewise.
46058 * nscd/grpcache.c (addgrbyX): Likewise.
46059 * nscd/hstcache.c (addhstbyX): Likewise.
46060 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46061 * nscd/mem.c (gc, mempool_alloc): Likewise.
46062 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46063 (addinnetgrX): Likewise.
46064 * nscd/nscd-client.h (__nscd_acquire_maplock)
46065 (__nscd_drop_map_ref): Likewise.
46066 * nscd/nscd_getai.c (__nscd_getai): Likewise.
46067 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46068 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46069 Likewise.
46070 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46071 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46072 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46073 (__nscd_get_map_ref): Likewise.
46074 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46075 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46076 Likewise.
46077 * nscd/pwdcache.c (addpwbyX): Likewise.
46078 * nscd/selinux.c (preserve_capabilities): Likewise.
46079 * nscd/servicescache.c (addservbyX): Likewise.
46080 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46081 * posix/fnmatch.c (fnmatch): Likewise.
46082 * posix/getopt.c (_getopt_internal_r): Likewise.
46083 * posix/glob.c (glob, glob_in_dir): Likewise.
46084 * posix/wordexp.c (exec_comm_child): Likewise.
46085 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46086 (getanswer_r, gaih_getanswer_slice): Likewise.
46087 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46088 * resolv/res_init.c: Likewise.
46089 * resolv/res_mkquery.c (res_nmkquery): Likewise.
46090 * resolv/res_query.c (__libc_res_nquery): Likewise.
46091 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46092 Likewise.
46093 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46094 * stdio-common/perror.c (perror): Likewise.
46095 * stdio-common/printf_fp.c (___printf_fp): Likewise.
46096 * stdio-common/tmpnam.c (tmpnam): Likewise.
46097 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46098 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46099 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46100 Likewise.
46101 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46102 * stdlib/putenv.c (putenv): Likewise.
46103 * stdlib/setenv.c (__add_to_environ): Likewise.
46104 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46105 * stdlib/strtol_l.c (INTERNAL): Likewise.
46106 * string/memmem.c (memmem): Likewise.
46107 * string/strerror.c (strerror): Likewise.
46108 * string/strnlen.c (__strnlen): Likewise.
46109 * string/test-memmem.c (simple_memmem): Likewise.
46110 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46111 * sunrpc/pm_getport.c (__get_socket): Likewise.
46112 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46113 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46114 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46115 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46116 Likewise.
46117 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46118 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46119 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46120 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46121 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46122 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46123 Likewise.
46124 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46125 Likewise.
46126 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46127 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46128 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46129 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46130 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46131 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46132 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46133 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46134 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46135 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46136 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46137 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46138 Likewise.
46139 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46140 Likewise.
46141 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46142 Likewise.
46143 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46144 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46145 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46146 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46147 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46148 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46149 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46150 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46151 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46152 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46153 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46154 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46155 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46156 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46157 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46158 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46159 Likewise.
46160 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46161 Likewise.
46162 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46163 Likewise.
46164 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46165 Likewise.
46166 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46168 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46169 Likewise.
46170 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46171 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46172 * sysdeps/posix/opendir.c (__opendirat): Likewise.
46173 * sysdeps/posix/sleep.c: Likewise.
46174 * sysdeps/posix/tempname.c: Likewise.
46175 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46176 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46177 Likewise.
46178 * sysdeps/powerpc/powerpc32/dl-machine.h
46179 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46180 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46181 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46182 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46183 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46184 Likewise.
46185 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46186 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46187 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46188 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
46189 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46190 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
46191 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
46192 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
46193 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46194 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
46195 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
46196 (elf_machine_lazy_rel): Likewise.
46197 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46198 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
46199 (elf_machine_lazy_rel): Likewise.
46200 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
46201 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
46202 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
46203 * sysdeps/unix/grantpt.c (grantpt): Likewise.
46204 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
46205 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
46206 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
46207 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46208 Likewise.
46209 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
46210 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
46211 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
46212 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
46213 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46214 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46215 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
46216 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
46217 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
46218 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46219 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46220 Likewise.
46221 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
46222 (__posix_fallocate64_l64): Likewise.
46223 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
46224 (posix_fallocate): Likewise.
46225 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
46226 Likewise.
46227 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46228 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
46229 (getifaddrs_internal): Likewise.
46230 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
46231 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
46232 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
46233 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
46234 * sysdeps/unix/sysv/linux/posix_fallocate64.c
46235 (__posix_fallocate64_l64): Likewise.
46236 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
46237 Likewise.
46238 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
46239 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
46240 (__get_clockfreq): Likewise.
46241 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
46242 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
46243 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
46244 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46245 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46246 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
46247 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
46248 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
46249 Likewise.
46250 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
46251 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
46252 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
46253 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
46254 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46255 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
46256 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
46257 Likewise.
46258 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46259 (posix_fallocate): Likewise.
46260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46261 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
46262 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
46263 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
46264 (elf_machine_rela, elf_machine_rela_relative)
46265 (elf_machine_lazy_rel): Likewise.
46266 * time/asctime.c (asctime_internal): Likewise.
46267 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
46268 * time/tzset.c (__tzset_parse_tz): Likewise.
46269 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46270 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46271 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
46272 * wcsmbs/wcsmbsload.h: Likewise.
46273
46274 [BZ #15894]
46275 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
46276
46277 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
46278 (arena_get2): Remove THREAD_STATS conditionals.
46279 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
46280 (__malloc_stats, int): Likewise.
46281
46282 2014-02-08 Mike Frysinger <vapier@gentoo.org>
46283
46284 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
46285 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
46286
46287 * manual/setjmp.texi: Fix typos/grammar errors.
46288
46289 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
46290 Only return early when n is <= 0. Delete unused return statement.
46291
46292 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
46293 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
46294 * debug/tst-longjmp_chk3.c: New file.
46295
46296 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
46297 (test_main): Replace code with set_fortify_handler call.
46298 * debug/test-strcpy_chk.c: Likewise.
46299 * debug/tst-chk1.c: Likewise.
46300 * debug/tst-longjmp_chk.c: Likewise.
46301 * test-skeleton.c: Include fcntl.h & paths.h
46302 (set_fortify_handler): Define.
46303
46304 * debug/tst-longjmp_chk.c: Add header comment and include
46305 ../test-skeleton.c.
46306 (do_test): Mark static.
46307 (TEST_FUNCTION): Define.
46308
46309 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
46310 (IP_PMTUDISC_INTERFACE): Likewise.
46311 (IP_MULTICAST_IF): Likewise.
46312 (IP_MULTICAST_TTL): Likewise.
46313 (IP_MULTICAST_LOOP): Likewise.
46314 (IP_ADD_MEMBERSHIP): Likewise.
46315 (IP_DROP_MEMBERSHIP): Likewise.
46316 (IP_UNBLOCK_SOURCE): Likewise.
46317 (IP_BLOCK_SOURCE): Likewise.
46318 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
46319 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
46320 (IP_MSFILTER): Likewise.
46321 (MCAST_JOIN_GROUP): Likewise.
46322 (MCAST_BLOCK_SOURCE): Likewise.
46323 (MCAST_UNBLOCK_SOURCE): Likewise.
46324 (MCAST_LEAVE_GROUP): Likewise.
46325 (MCAST_JOIN_SOURCE_GROUP): Likewise.
46326 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
46327 (MCAST_MSFILTER): Likewise.
46328 (IP_MULTICAST_ALL): Likewise.
46329 (IP_UNICAST_IF): Likewise.
46330
46331 * timezone/Makefile: Delete $(have-ksh) check.
46332 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
46333 * timezone/tzselect.ksh: Add +x mode bits.
46334
46335 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
46336 (ANON_INODE_FS_MAGIC): Likewise.
46337 (BDEVFS_MAGIC): Likewise.
46338 (BINFMTFS_MAGIC): Likewise.
46339 (BTRFS_TEST_MAGIC): Likewise.
46340 (CRAMFS_MAGIC_WEND): Likewise.
46341 (DEBUGFS_MAGIC): Likewise.
46342 (ECRYPTFS_SUPER_MAGIC): Likewise.
46343 (EXT3_SUPER_MAGIC): Likewise.
46344 (EXT4_SUPER_MAGIC): Likewise.
46345 (FUTEXFS_SUPER_MAGIC): Likewise.
46346 (HOSTFS_SUPER_MAGIC): Likewise.
46347 (HUGETLBFS_MAGIC): Likewise.
46348 (MINIX3_SUPER_MAGIC): Likewise.
46349 (MTD_INODE_FS_MAGIC): Likewise.
46350 (NILFS_SUPER_MAGIC): Likewise.
46351 (OPENPROM_SUPER_MAGIC): Likewise.
46352 (PIPEFS_MAGIC): Likewise.
46353 (PSTOREFS_MAGIC): Likewise.
46354 (QNX6_SUPER_MAGIC): Likewise.
46355 (RAMFS_MAGIC): Likewise.
46356 (REISERFS_SUPER_MAGIC_STRING): Likewise.
46357 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
46358 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
46359 (SECURITYFS_MAGIC): Likewise.
46360 (SELINUX_MAGIC): Likewise.
46361 (SMACK_MAGIC): Likewise.
46362 (SOCKFS_MAGIC): Likewise.
46363 (SQUASHFS_MAGIC): Likewise.
46364 (STACK_END_MAGIC): Likewise.
46365 (TMPFS_MAGIC): Likewise.
46366 (USBDEVICE_SUPER_MAGIC): Likewise.
46367 (V9FS_MAGIC): Likewise.
46368 (XENFS_SUPER_MAGIC): Likewise.
46369 (CRAMFS_MAGIC): Fix typo in comment.
46370 (EXT2_SUPER_MAGIC): Update comment.
46371 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
46372
46373 2014-02-08 Joseph Myers <joseph@codesourcery.com>
46374
46375 * sysdeps/arm: Move directory from ports/sysdeps/arm.
46376 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
46377 * sysdeps/unix/sysv/linux/arm: Move directory from
46378 ports/sysdeps/unix/sysv/linux/arm.
46379 * README: Update listing for arm-*-linux-gnueabi.
46380
46381 * README: Remove mention of am33.
46382
46383 2014-02-07 Roland McGrath <roland@hack.frob.com>
46384
46385 * bits/sigset.h (__sigemptyset): Use a statement expression rather
46386 than the comma operator, to avoid "rhs of comma has no effect"
46387 compiler warnings.
46388 (__sigfillset, __sigandset, __sigorset): Likewise.
46389 * include/signal.h (__sigemptyset): Likewise.
46390 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
46391
46392 2014-02-07 Allan McRae <allan@archlinux.org>
46393
46394 * version.h (RELEASE): Set to "development".
46395 (VERSION): Set to "2.19.90"
46396 * NEWS: Add 2.20 section.
46397
46398 2014-02-06 Carlos O'Donell <carlos@redhat.com>
46399
46400 [BZ #16529]
46401 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
46402
46403 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
46404
46405 * manual/contrib.texi: Update entry for Carlos O'Donell,
46406 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
46407
46408 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
46409
46410 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
46411
46412 * sysdeps/unix/sysv/linux/kernel-features.h
46413 [__LINUX_KERNEL_VERSION >= 0x020621]
46414 (__ASSUME_PROC_PID_TASK_COMM): Define.
46415
46416 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46417
46418 [BZ #16398]
46419 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
46420 conversion when destination buffer does not have enough space.
46421 * libio/tst-ftell-partial-wide.c: New test case.
46422 * libio/Makefile (tests): Add tst-ftell-partial-wide.
46423
46424 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
46425 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
46426 Leonard and Allan McRae.
46427
46428 2014-02-04 David S. Miller <davem@davemloft.net>
46429
46430 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
46431 32-bit.
46432
46433 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46434
46435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46436 New file
46437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46438 New file
46439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46440 New file.
46441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46442 New file.
46443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46444 New file.
46445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46446 New file.
46447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46448 New file.
46449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46450 New file.
46451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46452 New file.
46453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46454 New file.
46455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46456 New file.
46457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46458 New file.
46459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46460 New file.
46461
46462 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46463
46464 * nptl/shlib-versions: Change powerpc*le start to 2.17.
46465 * shlib-versions: Likewise.
46466
46467 2014-02-04 Roland McGrath <roland@hack.frob.com>
46468 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46469
46470 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
46471 (abilist-pattern): New variable, set to %-le.abilist.
46472
46473 * Makerules (abilist-pattern): New variable.
46474 (vpath): Use $(abilist-pattern) in place of %.abilist.
46475 (check-abi-% pattern rule): Likewise.
46476 (check-abi, update-abi): Likewise.
46477
46478 2014-02-04 Eric Wong <normalperson@yhbt.net>
46479
46480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46481
46482 2014-02-03 Carlos O'Donell <carlos@redhat.com>
46483
46484 * manual/startup.texi: Add next, previous, and top entries for
46485 the `Program Arguments' and `Environment Variables' nodes.
46486
46487 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
46488
46489 * manual/macros.texi: Add comments before MTASC-safety macros.
46490
46491 * manual/users.texi: Document MTASC-safety properties.
46492
46493 * manual/threads.texi (pthread_key_create, pthread_key_delete)
46494 (pthread_getspecific, pthread_setspecific): Format with
46495 @deftypefun, and add @safety note.
46496 * manual/signal.texi: Move comments that analyze the above
46497 functions to their home place.
46498
46499 2014-02-03 Allan McRae <allan@archlinux.org>
46500
46501 * po/sl.po: Update Slovenian translation from translation project.
46502
46503 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
46504
46505 * manual/time.texi (timegm): Add missing blank after @c.
46506 Reported by Joseph Myers <joseph@codesourcery.com>.
46507
46508 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
46509
46510 * manual/check-safety.sh: New.
46511 * manual/Makefile ($(objpfx)stamp-summary): Run it.
46512
46513 * manual/terminal.texi: Document MTASC-safety properties.
46514
46515 * manual/filesys.texi: Document MTASC-safety properties.
46516
46517 * manual/errno.texi: Document MTASC-safety properties.
46518
46519 * manual/intro.texi: Document safety identifiers and
46520 conditionals.
46521
46522 * manual/string.texi (wcstok): Fix prototype.
46523 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
46524
46525 * manual/time.texi: Document MTASC-safety properties.
46526
46527 * manual/string.texi: Document MTASC-safety properties.
46528
46529 * manual/threads.texi: Document MTASC-safety properties.
46530
46531 * manual/stdio.texi: Document MTASC-safety properties.
46532
46533 * manual/syslog.texi: Document MTASC-safety properties.
46534
46535 * manual/sysinfo.texi: Document MTASC-safety properties.
46536
46537 * manual/startup.texi: Document MTASC-safety properties.
46538
46539 * manual/socket.texi: Document MTASC-safety properties.
46540
46541 * manual/signal.texi: Document MTASC-safety properties.
46542
46543 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
46544
46545 * manual/setjmp.texi: Document MTASC-safety properties.
46546
46547 * manual/search.texi: Document MTASC-safety properties.
46548
46549 * manual/resource.texi: Document MTASC-safety properties.
46550
46551 * manual/process.texi: Document MTASC-safety properties.
46552
46553 * manual/platform.texi: Document MTASC-safety properties.
46554
46555 * manual/pipe.texi: Document MTASC-safety properties.
46556
46557 * manual/pattern.texi: Document MTASC-safety properties.
46558
46559 * manual/message.texi: Document MTASC-safety properties.
46560
46561 [BZ #12751]
46562 * manual/memory.texi: Document MTASC-safety properties.
46563
46564 * manual/math.texi: Document MTASC-safety properties.
46565
46566 * manual/locale.texi: Document MTASC-safety properties.
46567
46568 * manual/llio.texi: Document MTASC-safety properties.
46569
46570 * manual/libdl.texi: New.
46571
46572 * manual/lang.texi: Document MTASC-safety properties.
46573
46574 * manual/job.texi: Document MTASC-safety properties.
46575
46576 * manual/getopt.texi: Document MTASC-safety properties.
46577
46578 * manual/ctype.texi: Document MTASC-safety properties.
46579
46580 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
46581
46582 [BZ #16046]
46583 * csu/libc-tls.c (static_map): Remove variable.
46584 (__libc_setup_tls): Use main executable's link map for TLS data.
46585 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
46586 casing for LM_ID_BASE and GL(dl_nns).
46587 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
46588 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
46589 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
46590 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
46591 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
46592 member.
46593 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
46594 l_phnum members.
46595
46596 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
46597
46598 * manual/debug.texi: Document MTASC-safety properties.
46599
46600 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
46601
46602 [BZ #16510]
46603 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
46604 of __x86_64__ when disabling x87 inline functions.
46605
46606 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
46607
46608 * manual/charset.texi: Document MTASC-safety properties.
46609
46610 * manual/crypt.texi: Document MTASC-safety properties.
46611
46612 * manual/conf.texi: Document MTASC-safety properties.
46613
46614 * manual/arith.texi: Document MTASC-safety properties.
46615
46616 * manual/argp.texi: Document MTASC-safety properties.
46617
46618 * manual/macros.texi: Introduce macros to document multi
46619 thread, asynchronous signal and asynchronous cancellation
46620 safety properties.
46621 * manual/intro.texi: Introduce the properties themselves.
46622
46623 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46624
46625 * sysdeps/sh/sh4/Makefile: New file.
46626
46627 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
46628
46629 * math/gen-libm-test.pl ($srcdir): New variable.
46630 ($auto_input): Use it.
46631
46632 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
46633
46634 [BZ #16506]
46635 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
46636 access beyond array bounds when parsing netgroups file.
46637
46638 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
46639 the old buffer before realloc.
46640
46641 2014-01-27 Allan McRae <allan@archlinux.org>
46642
46643 * po/fr.po: Update French translation from translation project.
46644
46645 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46646
46647 * sysdeps/sh/libm-test-ulps: Regenerate.
46648
46649 2014-01-24 David S. Miller <davem@davemloft.net>
46650
46651 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
46652
46653 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46654
46655 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
46656 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
46657
46658 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
46659
46660 [BZ #16474]
46661 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
46662 string pointers after reallocation.
46663
46664 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46665
46666 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
46667 __SH4A__ instead of __SH_FPU_ANY__.
46668
46669 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46670
46671 * sysdeps/sh/fpu_control.h: New file.
46672 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
46673 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
46674 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
46675 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
46676 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
46677 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
46678 * sysdeps/sh/sys/ucontext.h: Remove.
46679 * sysdeps/sh/sys: Remove directory.
46680
46681 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46682
46683 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
46684 s390/sys/ucontext.h.
46685 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
46686 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
46687
46688 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
46689
46690 [BZ #15605]
46691 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
46692
46693 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46694
46695 [BZ#16431]
46696 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46697 Adjust the vDSO correctly for internal calls.
46698 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
46699
46700 2014-01-20 Allan McRae <allan@archlinux.org>
46701
46702 * po/ca.po: Update Catalan translation from translation project.
46703
46704 2014-01-16 Mike Frysinger <vapier@gentoo.org>
46705
46706 * sysdeps/s390/sotruss-lib.c: New file.
46707
46708 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46709
46710 [BZ#16430]
46711 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
46712 (__GI___gettimeofday): Alias for a different internal symbol to avoid
46713 local calls issues by not having a PLT stub required for IFUNC calls.
46714 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
46715
46716 2014-01-16 Joseph Myers <joseph@codesourcery.com>
46717
46718 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
46719 * math/test-fpucw-static.c: Likewise.
46720
46721 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46722
46723 [BZ #16453]
46724 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
46725
46726 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46727
46728 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
46729 implementation for powerpc.
46730
46731 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
46732
46733 [BZ #14782]
46734 * sysdeps/posix/system.c (__libc_system): Do not enable
46735 asynchronous cancellation.
46736
46737 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46738
46739 [BZ #16427]
46740 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
46741 handling only for numbers special also in the IEEE case.
46742
46743 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46744
46745 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46746
46747 2014-01-11 Allan McRae <allan@archlinux.org>
46748
46749 * po/bg.po: Update Bulgarian translation from translation project.
46750
46751 * po/de.po: Update German translation from translation project.
46752
46753 2014-01-10 Roland McGrath <roland@hack.frob.com>
46754
46755 * sysdeps/generic/gcc-compat.h: New file.
46756
46757 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46758
46759 * benchtests/asin-inputs: Correct slow inputs.
46760 * benchtests/acos-inputs: Likewise.
46761
46762 2014-01-10 Allan McRae <allan@archlinux.org>
46763
46764 * po:sv.po: Update Swedish translation from translation project.
46765
46766 * po/vi.po: Update Vietnamese translation from translation project.
46767
46768 * po/eo.po: Update Esperanto translation from translation project.
46769
46770 * po/cs.po: Update Czech translation from translation project.
46771
46772 * po/nl.po: Update Dutch translation from translation project.
46773
46774 * po/pl.po: Update Polish translation from translation project.
46775
46776 * po/ru.po: Update Russian translation from translation project.
46777
46778 * po/uk.po: Update Ukrainian translation from translation project.
46779
46780 2014-01-08 Brooks Moses <bmoses@google.com>
46781
46782 * elf/dl-load.c: Fix comment typo.
46783
46784 2014-01-08 Carlos O'Donell <carlos@redhat.com>
46785
46786 * po/header.pot: Rename to...
46787 * po/pot.header: ... this.
46788 * po/Makefile: Use pot.header.
46789
46790 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
46791 Maxim Kuvyrkov <maxim@kugelworks.com>
46792
46793 [BZ #16394]
46794 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
46795 SRC and DEST against LEN.
46796
46797 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46798
46799 [BZ #16414]
46800 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
46801 implementation.
46802 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
46803
46804 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46805
46806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46807
46808 2014-01-08 Joseph Myers <joseph@codesourcery.com>
46809
46810 [BZ #16408]
46811 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
46812 for large positive arguments.
46813
46814 2014-01-07 Joseph Myers <joseph@codesourcery.com>
46815
46816 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46817
46818 * math/auto-libm-test-in: Mark various tests with
46819 xfail-rounding:ldbl-128ibm.
46820 * math/auto-libm-test-out: Regenerated.
46821
46822 [BZ #16407]
46823 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
46824 Increase overflow threshold.
46825
46826 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
46827
46828 [BZ #14286]
46829 * stdio-common/vfprintf.c: Check for integer overflow.
46830
46831 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46832
46833 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
46834 the first argument and return value of __tls_get_addr_internal.
46835
46836 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46837
46838 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
46839 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
46840
46841 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46842
46843 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
46844 * sysdeps/s390/rtld-global-offsets.sym: New file.
46845 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
46846 GLIBC_2.19 symbol.
46847 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
46848 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
46849 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46850 ... this.
46851 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
46852 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46853 ... this.
46854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46855 Regenerate.
46856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46857 Regenerate.
46858 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
46859 halfs of GPRs for high_gprs contexts.
46860 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
46861 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
46862 field.
46863 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
46864 uc_flags field.
46865 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
46866 64 bit versions:
46867 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
46868 for high GPRs (uc_high_gprs) and for future extensions
46869 (__reserved).
46870 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
46871 for future extensions (__reserved).
46872 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
46873 64 bit versions:
46874 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
46875 SC_HIGHGPRS offset definition.
46876 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
46877 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
46878
46879 * Versions.def: Add GLIBC_2.19 for libpthread.
46880 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
46881 siglongjmp for libpthread with GLIBC_2.19 symver.
46882 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
46883 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
46884 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
46885 * sysdeps/s390/__longjmp.c: New file.
46886 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
46887 * sysdeps/s390/longjmp.c: New file.
46888 * sysdeps/s390/setjmp.S: New file.
46889 * sysdeps/s390/sigjmp.S: New file.
46890 * sysdeps/s390/v1-longjmp.c: New file.
46891 * sysdeps/s390/v1-setjmp.h: New file.
46892 * sysdeps/s390/v1-sigjmp.c: New file.
46893 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
46894 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
46895 GLIBC_2.19 version.
46896 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
46897 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
46898 versioned symbols for ____longjmp_chk.
46899 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46900 Likewise.
46901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46902 Regenerate.
46903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46904 Regenerate.
46905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46906 Regenerate.
46907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46908 Regenerate.
46909 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
46910 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
46911 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
46912 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
46913 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
46914 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
46915 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
46916 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
46917 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
46918 * sysdeps/s390/rtld-__longjmp.c: New file.
46919 * sysdeps/s390/rtld-setjmp.S: New file.
46920
46921 2014-01-06 Joseph Myers <joseph@codesourcery.com>
46922
46923 [BZ #16400]
46924 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
46925 Return -__logl (x) for small positive arguments without evaluating
46926 a polynomial.
46927
46928 2014-01-06 Mike Frysinger <vapier@gentoo.org>
46929
46930 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
46931 Rename to ...
46932 (__ptrace_peeksiginfo_args): ... this.
46933 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46934 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46935 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46936
46937 2014-01-06 Allan McRae <allan@archlinux.org>
46938
46939 * inet/netinet/in.h: Fix typo in comment.
46940
46941 2014-01-05 Andreas Jaeger <aj@suse.de>
46942
46943 * sysdeps/i386/fpu/libm-test-ulps: Update.
46944
46945 2014-01-05 Allan McRae <allan@archlinux.org>
46946
46947 * po/libc.pot: Regenerated.
46948
46949 * malloc/memusagestat.c: Fix gettext call formatting.
46950
46951 2014-01-04 Sami Kerola <kerolasa@iki.fi>
46952
46953 * nscd/nscd.c: Improve usage() output.
46954
46955 2014-01-04 Mike Frysinger <vapier@gentoo.org>
46956
46957 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
46958 * sysdeps/unix/sysv/linux/configure: Regenerated.
46959 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
46960 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
46961
46962 2014-01-03 Joseph Myers <joseph@codesourcery.com>
46963
46964 [BZ #16390]
46965 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46966 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
46967
46968 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46969
46970 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
46971 extra tokens at end of #undef directive.
46972 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
46973 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
46974 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
46975
46976 2014-01-03 Joseph Myers <joseph@codesourcery.com>
46977
46978 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46979
46980 * math/auto-libm-test-in: Mark various tests with
46981 xfail-rounding:ldbl-128ibm.
46982 * math/auto-libm-test-out: Regenerated.
46983
46984 2014-01-02 Joseph Myers <joseph@codesourcery.com>
46985
46986 [BZ #16386]
46987 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
46988 numbers with subnormal high part when calculating exponent.
46989
46990 [BZ #16385]
46991 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
46992 fabs.
46993
46994 [BZ #16384]
46995 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
46996 M_LN2l.
46997 (__ieee754_acoshl): Use __log1pl not __log1p.
46998
46999 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
47000
47001 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47002 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47003 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47004 (grow_heap, heap_trim, _int_new_arena, get_free_list)
47005 (reused_arena, arena_get2): Convert to GNU style.
47006 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47007 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47008 (memalign_check, __malloc_set_state): Likewise.
47009 * malloc/mallocbug.c (main): Likewise.
47010 * malloc/malloc.c (__malloc_assert, malloc_init_state)
47011 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47012 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47013 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47014 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47015 (__posix_memalign, malloc_info): Likewise.
47016 * malloc/malloc.h: Likewise.
47017 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47018 (mallochook, memalignhook, reallochook, mabort): Likewise.
47019 * malloc/mcheck.h: Likewise.
47020 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47021 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47022 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47023 * malloc/morecore.c (__default_morecore): Likewise.
47024 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47025 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47026 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47027 (print_and_abort): Likewise.
47028 * malloc/obstack.h: Likewise.
47029 * malloc/set-freeres.c (__libc_freeres): Likewise.
47030 * malloc/tst-mallocstate.c (main): Likewise.
47031 * malloc/tst-mtrace.c (main): Likewise.
47032 * malloc/tst-realloc.c (do_test): Likewise.
47033
47034 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47035
47036 [BZ #16366]
47037 * nscd/netgroupcache.c (do_notfound): New function.
47038 (addgetnetgrentX): Use it.
47039
47040 [BZ # 16365]
47041 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47042 NSS_STATUS_NOTFOUND.
47043
47044 2014-01-01 Joseph Myers <joseph@codesourcery.com>
47045
47046 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47048
47049 2014-01-01 Allan McRae <allan@archlinux.org>
47050
47051 * scripts/update-copyrights: Update configure input file suffix.
47052
47053 * NEWS: Update copyright year.
47054 * catgets/gencat.c: Likewise.
47055 * csu/version.c: Likewise.
47056 * debug/catchsegv.sh: Likewise.
47057 * debug/pcprofiledump.c: Likewise.
47058 * debug/xtrace.sh: Likewise.
47059 * elf/ldconfig.c: Likewise.
47060 * elf/ldd.bash.in: Likewise.
47061 * elf/pldd.c: Likewise.
47062 * elf/sotruss.ksh: Likewise.
47063 * elf/sprof.c: Likewise.
47064 * iconv/iconv_prog.c: Likewise.
47065 * iconv/iconvconfig.c: Likewise.
47066 * locale/programs/locale.c: Likewise.
47067 * locale/programs/localedef.c: Likewise.
47068 * login/programs/pt_chown.c: Likewise.
47069 * malloc/memusage.sh: Likewise.
47070 * malloc/memusagestat.c: Likewise.
47071 * malloc/mtrace.pl: Likewise.
47072 * manual/libc.texinfo: Likewise.
47073 * nscd/nscd.c: Likewise.
47074 * nss/getent.c: Likewise.
47075 * nss/makedb.c: Likewise.
47076 * posix/getconf.c: Likewise.
47077 * scripts/test-installation.pl: Likewise.
47078
47079 * All files with FSF copyright notices: Update copyright dates
47080 using scripts/update-copyrights.
47081 * intl/plural.c: Regenerated.
47082 * locale/programs/charmap-kw.h: Likewise.
47083 * locale/programs/locfile-kw.h: Likewise.
47084
47085 2013-12-31 Mike Frysinger <vapier@gentoo.org>
47086
47087 * sysdeps/unix/sysv/linux/configure: Regenerated.
47088 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47089 the linux/fanotify.h header.
47090 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47091 HAVE_LINUX_FANOTIFY_H is defined.
47092
47093 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47094
47095 * benchtests/cos-inputs: New inputs.
47096 * benchtests/sin-inputs: Likewise.
47097
47098 * benchtests/atan-inputs: New inputs. Fix name of multiple
47099 precision fallback inputs.
47100
47101 * benchtests/atanh-inputs: New inputs.
47102 * benchtests/tanh-inputs: Likewise.
47103
47104 * benchtests/acosh-inputs: New inputs.
47105 * benchtests/asinh-inputs: Likewise.
47106
47107 * benchtests/cosh-inputs: New inputs.
47108 * benchtests/sinh-inputs: Likewise.
47109
47110 * benchtests/acos-inputs: Add more inputs.
47111 * benchtests/asin-inputs: Likewise.
47112
47113 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
47114
47115 [BZ #16375]
47116 * manual/arith.texi: Fix spelling.
47117 * manual/charset.texi: Likewise.
47118 * manual/errno.texi: Likewise.
47119 * manual/filesys.texi: Likewise.
47120 * manual/lang.texi: Likewise.
47121 * manual/llio.texi: Likewise.
47122 * manual/locale.texi: Likewise.
47123 * manual/message.texi: Likewise.
47124 * manual/resource.texi: Likewise.
47125 * manual/search.texi: Likewise.
47126 * manual/setjmp.texi: Likewise.
47127 * manual/stdio.texi: Likewise.
47128 * manual/string.texi: Likewise.
47129 * manual/sysinfo.texi: Likewise.
47130 * manual/time.texi: Likewise.
47131
47132 2013-12-27 Carlos O'Donell <carlos@redhat.com>
47133
47134 * po/sl.po: New file.
47135
47136 2013-12-27 Mike Frysinger <vapier@gentoo.org>
47137
47138 * .gitignore: Add core/.gdbinit/.gdb_history.
47139
47140 2013-12-27 Allan McRae <allan@archlinux.org>
47141
47142 [BZ #16369]
47143 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47144 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47145
47146 2013-12-24 Brooks Moses <bmoses@google.com>
47147
47148 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47149 all compilers that claim C++98 compliance, not just GCC.
47150 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47151 Likewise.
47152
47153 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47154
47155 * NEWS: Restore accidentally deleted bug-fix entries.
47156
47157 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47158 Ondřej Bílka <neleai@seznam.cz>
47159
47160 [BZ #15073]
47161 * malloc/malloc.c (_int_free): Perform sanity check only if we
47162 have_lock.
47163
47164 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
47165
47166 [BZ #12986]
47167 * manual/stdio.texi (String Input Conversions): Clarify that character
47168 classes are not supported.
47169
47170 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47171
47172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47173
47174 2013-12-22 Joseph Myers <joseph@codesourcery.com>
47175
47176 [BZ #16337]
47177 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47178 Calculate results for small negative arguments directly rather
47179 than using reflection formula with special underflow handling.
47180
47181 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47182 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47183 sysdeps/unix/bsd/bsd4.4/syscalls.list.
47184 (fchflags): Likewise.
47185 (revoke): Likewise.
47186 (setlogin): Likewise.
47187 (sigaltstack): Likewise.
47188 (wait4): Likewise.
47189 (sigblock): Remove.
47190 (sigsetmask): Likewise.
47191 (wait3): Likewise.
47192 (waitpid): Likewise.
47193 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
47194 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
47195 file.
47196 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
47197 * sysdeps/unix/bsd/Makefile: ... here.
47198 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47199 * sysdeps/unix/bsd/Versions: ... here.
47200 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
47201 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
47202 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47203 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
47204 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
47205 * sysdeps/unix/bsd/sigblock.c: ... here.
47206 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
47207 * sysdeps/unix/bsd/sigsetmask.c: ... here.
47208 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
47209 * sysdeps/unix/bsd/sigvec.c: ... here.
47210 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
47211 * sysdeps/unix/bsd/tcdrain.c: ... here.
47212 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
47213 * sysdeps/unix/bsd/tcgetattr.c: ... here.
47214 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
47215 * sysdeps/unix/bsd/tcsetattr.c: ... here.
47216 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
47217 * sysdeps/unix/bsd/wait.c: ... here.
47218 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
47219 * sysdeps/unix/bsd/wait3.c: ... here.
47220 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
47221 * sysdeps/unix/bsd/waitpid.c: ... here.
47222
47223 2013-12-21 Joseph Myers <joseph@codesourcery.com>
47224
47225 [BZ #16356]
47226 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
47227 round-to-nearest for [!USE_AS_EXPM1L].
47228 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
47229 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
47230 more tests of exp and exp10. Expect some exp10 tests to miss
47231 exceptions or fail in directed rounding modes.
47232 * math/auto-libm-test-out: Regenerated.
47233 * math/libm-test.inc (exp10_tonearest_test_data): New array.
47234 (exp10_test_tonearest): New function.
47235 (exp10_towardzero_test_data): New array.
47236 (exp10_test_towardzero): New function.
47237 (exp10_downward_test_data): New array.
47238 (exp10_test_downward): New function.
47239 (exp10_upward_test_data): New array.
47240 (exp10_test_upward): New function.
47241 (main): Call the new functions.
47242 * sysdeps/i386/fpu/libm-test-ulps: Update.
47243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47244
47245 2013-12-20 Joseph Myers <joseph@codesourcery.com>
47246
47247 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
47248 asinh, atan, atan2, atanh, cbrt, cos and cosh.
47249 * math/auto-libm-test-out: Regenerated.
47250 * math/libm-test.inc (acosh_test_data): Add more tests.
47251 (atanh_test_data): Likewise.
47252 (ceil_test_data): Likewise.
47253 (copysign_test_data): Likewise.
47254 * sysdeps/i386/fpu/libm-test-ulps: Update.
47255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47256
47257 * timezone/checktab.awk: Update from tzcode 2013i.
47258 * timezone/private.h: Likewise.
47259 * timezone/scheck.c: Likewise.
47260 * timezone/tzfile.h: Likewise.
47261 * timezone/tzselect.ksh: Likewise.
47262 * timezone/zdump.c: Likewise.
47263 * timezone/zic.c: Likewise.
47264
47265 * math/auto-libm-test-in: Add tests of cpow.
47266 * math/auto-libm-test-out: Regenerated.
47267 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
47268 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47269 mpc_cc_c.
47270 (func_calc_desc): Add mpc_cc_c union field.
47271 (test_functions): Add cpow.
47272 (special_fill_2pi): New function.
47273 (special_real_inputs): Add 2pi.
47274 (calc_generic_results): Handle mpc_cc_c.
47275 * sysdeps/i386/fpu/libm-test-ulps: Update.
47276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47277
47278 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
47279 csqrt, ctan and ctanh.
47280 * math/auto-libm-test-out: Regenerated.
47281 * math/libm-test.inc (TEST_COND_x86_64): New macro.
47282 (TEST_COND_x86): Likewise.
47283 (ccos_test_data): Use AUTO_TESTS_c_c.
47284 (ccosh_test_data): Likewise.
47285 (cexp_test_data): Likewise.
47286 (clog_test_data): Likewise.
47287 (csqrt_test_data): Likewise.
47288 (ctan_test_data): Likewise.
47289 (ctan_tonearest_test_data): Likewise.
47290 (ctan_towardzero_test_data): Likewise.
47291 (ctan_downward_test_data): Likewise.
47292 (ctan_upward_test_data): Likewise.
47293 (ctanh_test_data): Likewise.
47294 (ctanh_tonearest_test_data): Likewise.
47295 (ctanh_towardzero_test_data): Likewise.
47296 (ctanh_downward_test_data): Likewise.
47297 (ctanh_upward_test_data): Likewise.
47298 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47299 mpc_c_c.
47300 (func_calc_desc): Add mpc_c_c union field.
47301 (FUNC_mpc_c_c): New macro.
47302 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
47303 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
47304 ctanh.
47305 (special_fill_min_subnorm_p120): New function.
47306 (special_real_inputs): Add min_subnorm_p120.
47307 (calc_generic_results): Handle mpc_c_c.
47308 * sysdeps/i386/fpu/libm-test-ulps: Update.
47309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47310
47311 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
47312
47313 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
47314 (do_sin_slow): New functions.
47315 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
47316 (cslow2, csloww1, csloww2): Use the new functions.
47317
47318 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
47319 Use M to change sign of result instead of X. Assume X is
47320 positive.
47321 (csloww1): Likewise.
47322 (__sin): Adjust.
47323 (__cos): Adjust.
47324
47325 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
47326 arguments A and DA.
47327 (__sin): Adjust.
47328 (__cos): Likewise.
47329
47330 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
47331 (__cos): Likewise.
47332 (sloww1): Don't adjust sign of DX.
47333 (csloww1): Likewise.
47334 (sloww2): Use X directly and don't adjust sign of DX.
47335 (csloww2): Likewise.
47336
47337 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47338
47339 * math/auto-libm-test-in: Add tests of cabs and carg.
47340 * math/auto-libm-test-out: Regenerated.
47341 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
47342 (carg_test_data): Likewise.
47343 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47344 mpc_c_f.
47345 (func_calc_desc): Add mpc_c_f union field.
47346 (test_functions): Add cabs and carg.
47347 (calc_generic_results): Handle mpc_c_f.
47348
47349 * sysdeps/powerpc/powerpc32/libgcc-compat.S
47350 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
47351 as a macro and a compat symbol.
47352 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
47353 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
47354 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
47355 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
47356 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
47357 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
47358 not use .hidden.
47359 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
47360 Likewise.
47361 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
47362 Likewise.
47363 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
47364 Likewise.
47365 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
47366 Likewise.
47367 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
47368 Likewise.
47369 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
47370 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
47371 from GLIBC_2.3.2.
47372
47373 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47374
47375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47376
47377 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47378
47379 * manual/texinfo.tex: Update to version 2013-11-26.10 with
47380 trailing whitespace removed.
47381 * scripts/config.guess: Update to version 2013-11-29.
47382 * scripts/config.sub: Update to version 2013-10-01.
47383
47384 * math/auto-libm-test-in: Add tests of sincos.
47385 * math/auto-libm-test-out: Regenerated.
47386 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
47387 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47388 mpfr_f_11.
47389 (func_calc_desc): Add mpfr_f_11 union field.
47390 (test_functions): Add sincos.
47391 (calc_generic_results): Handle mpfr_f_11.
47392 * sysdeps/i386/fpu/libm-test-ulps: Update.
47393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47394
47395 2013-12-19 Andreas Schwab <schwab@suse.de>
47396
47397 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
47398 CALL_MCOUNT.
47399 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47400 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
47401 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
47402
47403 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47404
47405 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
47406 * sysdeps/i386/fpu/libm-test-ulps: Update.
47407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47408
47409 [BZ #16293]
47410 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
47411 round-to-nearest mode when using frndint.
47412 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
47413 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47414 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47415 Likewise.
47416 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
47417 sinh test to fail.
47418 * math/auto-libm-test-out: Regenerated.
47419 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
47420 (TEST_COND_x86): Likewise.
47421 (expm1_tonearest_test_data): New array.
47422 (expm1_test_tonearest): New function.
47423 (expm1_towardzero_test_data): New array.
47424 (expm1_test_towardzero): New function.
47425 (expm1_downward_test_data): New array.
47426 (expm1_test_downward): New function.
47427 (expm1_upward_test_data): New array.
47428 (expm1_test_upward): New function.
47429 (main): Run the new test functions.
47430 * sysdeps/i386/fpu/libm-test-ulps: Update.
47431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47432
47433 * include/features.h: Update comment documenting feature test
47434 macros. Mention _DEFAULT_SOURCE in comment.
47435 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
47436 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
47437 _BSD_SOURCE and _SVID_SOURCE.
47438 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
47439 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
47440 !_SVID_SOURCE]: Likewise.
47441 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47442 (__USE_POSIX_IMPLICITLY): Define.
47443 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47444 (_POSIX_SOURCE): Undefine and redefine.
47445 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47446 (_POSIX_C_SOURCE): Likewise.
47447 * manual/creature.texi (_DEFAULT_SOURCE): Document.
47448 (Feature Test Macros): Update documentation of default features.
47449
47450 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47451
47452 * benchtests/Makefile: Add bench-strtok.
47453 * benchtests/bench-strtok.c: New file: strtok benchtest.
47454
47455 2013-12-19 Allan McRae <allan@archlinux.org>
47456
47457 * manual/install.texi: Suppress menu for plain text output.
47458 * INSTALL: Regenerated.
47459
47460 2013-12-18 Brooks Moses <bmoses@google.com>
47461
47462 [BZ #15846]
47463 * misc/getauxval.c: Include errno.h.
47464 (__getauxval): Set errno to ENOENT if the requested type is not
47465 found.
47466 * misc/sys/auxv.h (getauxval): Document that it may set errno;
47467 don't declare with __attribute_const__.
47468 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
47469 * manual/startup.texi: Document that getauxval sets errno.
47470
47471 2013-12-18 Joseph Myers <joseph@codesourcery.com>
47472
47473 * math/auto-libm-test-in: Add tests of jn and yn.
47474 * math/auto-libm-test-out: Regenerated.
47475 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
47476 (yn_test_data): Likewise.
47477 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47478 mpfr_if_f.
47479 (func_calc_desc): Add mpfr_if_f union field.
47480 (FUNC_mpfr_if_f): New macro.
47481 (test_functions): Add jn and yn.
47482 (calc_generic_results): Assert type of second input for
47483 mpfr_ff_f. Handle mpfr_if_f.
47484 (output_for_one_input_case): Disable all checking for arguments
47485 fitting floating-point types in case of an integer argument.
47486 * sysdeps/i386/fpu/libm-test-ulps: Update.
47487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47488
47489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47490 Don't expect fegetround reference in libm.so.
47491
47492 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
47493
47494 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
47495 $(config-cflags-nofma).
47496
47497 2013-12-18 Joseph Myers <joseph@codesourcery.com>
47498
47499 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
47500 * math/auto-libm-test-out: Regenerated.
47501
47502 [BZ #16338]
47503 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
47504 to determine exponent and adjust argument to have exponent of -1.
47505 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
47506 log2.
47507 * math/auto-libm-test-out: Regenerated.
47508 * sysdeps/i386/fpu/libm-test-ulps: Update.
47509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47510
47511 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
47512
47513 * manual/probes.texi: Remove cases when per-thread arenas are
47514 disabled.
47515
47516 2013-12-18 Andreas Schwab <schwab@suse.de>
47517
47518 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
47519 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
47520 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
47521 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
47522 * sysdeps/i386/i686/multiarch/Makefile: Update.
47523 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
47524
47525 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47526
47527 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
47528 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
47529
47530 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
47531
47532 [BZ #15968]
47533 Support TZ transition times < 00:00:00.
47534 This is needed for version-3 tz-format files; it supports time
47535 stamps past 2037 for America/Godthab (the only entry in the tz
47536 database for which this change is relevant).
47537 * manual/time.texi (TZ Variable): Document transition times
47538 from -167:59:59 through -00:00:01.
47539 * time/tzset.c (tz_rule): Time of day is now signed.
47540 (__tzset_parse_tz): Parse negative time of day.
47541
47542 Document TZ transition times >= 25:00:00.
47543 * manual/time.texi (TZ Variable): Document transition times from
47544 25:00:00 through 167:59:59. These are already supported, and this
47545 support will help with version-3 tz-format files.
47546
47547 * manual/time.texi (TZ Variable): Modernize North America example
47548 to reflect current (i.e., 2007-and-later) daylight saving rules.
47549
47550 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
47551
47552 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47553
47554 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
47555 * sysdeps/unix/bsd/bits/stat.h: Likewise.
47556 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
47557 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47558 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
47559 * sysdeps/unix/bsd/bsdstat.h: Likewise.
47560 * sysdeps/unix/bsd/clock.c: Likewise.
47561 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
47562 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
47563 * sysdeps/unix/bsd/init-posix.c: Likewise.
47564 * sysdeps/unix/bsd/poll.c: Likewise.
47565 * sysdeps/unix/bsd/ptsname.c: Likewise.
47566 * sysdeps/unix/bsd/seekdir.c: Likewise.
47567 * sysdeps/unix/bsd/setegid.c: Likewise.
47568 * sysdeps/unix/bsd/seteuid.c: Likewise.
47569 * sysdeps/unix/bsd/setgid.c: Likewise.
47570 * sysdeps/unix/bsd/setrgid.c: Likewise.
47571 * sysdeps/unix/bsd/setruid.c: Likewise.
47572 * sysdeps/unix/bsd/setsid.c: Likewise.
47573 * sysdeps/unix/bsd/setuid.c: Likewise.
47574 * sysdeps/unix/bsd/sigaction.c: Likewise.
47575 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
47576 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
47577 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
47578 * sysdeps/unix/bsd/telldir.c: Likewise.
47579 * sysdeps/unix/bsd/times.c: Likewise.
47580 * sysdeps/unix/bsd/usleep.c: Likewise.
47581
47582 * misc/Makefile (install-lib): Remove libbsd-compat.a.
47583 ($(objpfx)libbsd-compat.a): Remove rule.
47584
47585 * include/features.h (__FAVOR_BSD): Do not define.
47586 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
47587 features conflicting with POSIX.
47588 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
47589 (_BSD_SOURCE): Remove description of not being a subset of other
47590 feature test macros.
47591 * manual/job.texi (getpgrp): Do not document BSD version.
47592 (getpgid): Do not document by reference to BSD getpgrp.
47593 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
47594 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
47595 * signal/signal.h [__FAVOR_BSD]: Likewise.
47596 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
47597 instead of making contents conditional on [__FAVOR_BSD].
47598 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
47599
47600 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47601
47602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47603
47604 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47605
47606 [BZ #16314]
47607 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
47608 values below 2**-450, not 2**-500.
47609 * math/auto-libm-test-in: Don't allow spurious underflow from
47610 hypot.
47611 * math/auto-libm-test-out: Regenerated.
47612
47613 [BZ #16316]
47614 [BZ #16330]
47615 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
47616 values of ha and hb and sort them after adjusting subnormal
47617 arguments.
47618 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
47619 Likewise.
47620 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
47621 values of ea and eb and sort them after adjusting subnormal
47622 arguments.
47623 * math/auto-libm-test-in: Do not expect some hypot tests of
47624 subnormals to fail. Add more hypot tests.
47625 * math/auto-libm-test-out: Regenerated.
47626
47627 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47628
47629 [BZ #13304]
47630 * sysdeps/sh/s_fma.c: New file.
47631 * sysdeps/sh/s_fmaf.c: New file.
47632 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
47633 version.
47634 * sysdeps/sh/Implies: Add sh/soft-fp.
47635
47636 2013-12-16 Roland McGrath <roland@hack.frob.com>
47637
47638 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
47639 level of indirection to members `objname', `errstring', `malloced'.
47640 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
47641 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
47642 it as the __longjmp argument (just pass 1 instead).
47643 (_dl_catch_error): Initialize C with argument pointers and address of
47644 volatile local ERRCODE rather than copying values out of C at return.
47645
47646 2013-12-16 Joseph Myers <joseph@codesourcery.com>
47647
47648 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
47649 * math/auto-libm-test-out: Regenerated.
47650 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
47651 (hypot_test_data): Likewise.
47652 (pow_test_data): Likewise.
47653 (pow_tonearest_test_data): Likewise.
47654 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47655 mpfr_ff_f.
47656 (func_calc_desc): Add mpfr_ff_f union field.
47657 (FUNC_mpfr_ff_f): New macro.
47658 (test_functions): Add atan2, hypot and pow.
47659 (special_fill_min): New function.
47660 (special_fill_minus_min): Likewise.
47661 (special_fill_min_subnorm): Likewise.
47662 (special_fill_minus_min_subnorm): Likewise.
47663 (special_real_inputs): Add min, -min, min_subnorm and
47664 -min_subnorm.
47665 (calc_generic_results): Handle mpfr_ff_f.
47666 * sysdeps/i386/fpu/libm-test-ulps: Update.
47667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47668
47669 2013-12-16 Will Newton <will.newton@linaro.org>
47670
47671 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
47672 (Aligned Memory Blocks): Add documentation for aligned_alloc
47673 and suggest it as an alternative to posix_memalign.
47674 (Hooks for Malloc): Document __memalign_hook is also called
47675 for aligned_alloc. (Summary of Malloc): Add summary for
47676 aligned alloc. Document __memalign_hook is also called
47677 for aligned_alloc.
47678
47679 2013-12-16 Will Newton <will.newton@linaro.org>
47680
47681 * manual/memory.texi (Malloc Examples): Clarify default
47682 alignment documentation. Suggest posix_memalign rather
47683 than memalign or valloc.
47684 (Aligned Memory Blocks): Remove suggestion to use memalign
47685 or valloc. Remove obsolete comment about BSD.
47686 Document memalign errno values and mark the function obsolete.
47687 Document posix_memalign returned error codes. Mark valloc
47688 as obsolete. (Hooks for Malloc): __memalign_hook is also
47689 called for posix_memalign and valloc.
47690 (Summary of Malloc): Add posix_memalign to function summary.
47691 __memalign_hook is also called for posix_memalign and valloc.
47692
47693 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47694
47695 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
47696 TAYLOR_SIN.
47697 (__sin): Adjust.
47698 (__cos): Likewise.
47699 (sloww): Use mynumber union. Expand ternary operator into
47700 if-else statements.
47701 (cslow): use mynumber union.
47702
47703 2013-12-16 Allan McRae <allan@archlinux.org>
47704
47705 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
47706 * configure: Regenerated.
47707
47708 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
47709
47710 [BZ #14120]
47711 * configure.ac: Added --enable-maintainer-mode. Check for
47712 autoconf when enabled.
47713 * configure: Regenerated.
47714
47715 * nscd/nscd.service: New file.
47716 * nscd/nscd.tmpfiles: New file.
47717
47718 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
47719
47720 [BZ #12100]
47721 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
47722 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
47723 * sysdeps/x86_64/multiarch/strstr.c: ... here.
47724 (strstr): Add __strstr_sse2_unaligned ifunc.
47725 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
47726 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
47727 (strcasestr): Remove __strcasestr_sse42 ifunc.
47728 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
47729 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47730 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47731
47732 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47733
47734 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
47735 * sysdeps/sh/bits/fenv.h: ... here.
47736 * sysdeps/sh/sh4/fpu/bits: Remove directory.
47737
47738 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47739
47740 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
47741
47742 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
47743 hypotf multiarch implementations.
47744 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
47745 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
47746 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
47747 multiarch hypot for PPC64.
47748 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
47749 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
47750 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
47751 multiarch hypotf for PPC64.
47752
47753 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
47754 modff multiarch implementations.
47755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
47756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
47757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
47758 multiarch modf for PPC64.
47759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
47760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
47761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
47762 multiarch modff for PPC64.
47763
47764 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
47765 and logl multiarch implementations.
47766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
47767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
47768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
47769 multiarch logb for PPC64.
47770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
47771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
47772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
47773 multiarch logb for PPC64.
47774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
47775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
47776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
47777 multiarch logb for PPC64.
47778
47779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
47780 isinff multiarch implementation.
47781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
47782 file.
47783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
47784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
47785 multiarch isinf for PPC64.
47786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
47787 file.
47788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
47789 multiarch isinff for PPC64.
47790
47791 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
47792 finitef multiarch implementation.
47793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
47794 file.
47795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
47796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
47797 multiarch finite for PPC64.
47798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
47799 file.
47800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
47801 multiarch finitef for PPC64.
47802
47803 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
47804 lrint multiarch implementation.
47805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
47806 file.
47807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
47808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
47809 multiarch llrint for PPC64.
47810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
47811 multiarch lrint for PPC64.
47812
47813 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
47814 copysignf multiarch implementation.
47815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
47816 file.
47817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
47818 file.
47819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
47820 multiarch copysign for PPC64.
47821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
47822 multiarch copysignf for PPC64.
47823
47824 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
47825 multiarch implementation.
47826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
47827 file.
47828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
47829 file.
47830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
47831 file.
47832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
47833 file.
47834 multiarch llround for PPC64.
47835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
47836 multiarch trunc for PPC64.
47837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
47838 multiarch truncf for PPC64.
47839
47840 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
47841 multiarch implementation.
47842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
47843 file.
47844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
47845 file.
47846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
47847 file.
47848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
47849 file.
47850 multiarch llround for PPC64.
47851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
47852 multiarch round for PPC64.
47853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
47854 multiarch roundf for PPC64.
47855
47856 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
47857 multiarch implementation.
47858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
47859 file.
47860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
47861 file.
47862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
47863 file.
47864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
47865 file.
47866 multiarch llround for PPC64.
47867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
47868 multiarch floor for PPC64.
47869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
47870 multiarch floorf for PPC64.
47871
47872 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
47873 multiarch implementation.
47874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
47875 file.
47876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
47877 file.
47878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
47879 file.
47880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
47881 file.
47882 multiarch llround for PPC64.
47883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
47884 multiarch ceil for PPC64.
47885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
47886 multiarch ceilf for PPC64.
47887
47888 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
47889 multiarch implementation.
47890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
47891 file.
47892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
47893 file.
47894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
47895 file.
47896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
47897 multiarch llround for PPC64.
47898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
47899 multiarch lround for PPC64.
47900
47901 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
47902 multiarch implementation.
47903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
47904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
47905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
47906 file.
47907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
47908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
47909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
47910 multiarch isnan for PPC64.
47911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
47912 multiarch isnanf for PPC64.
47913
47914 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
47915 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
47916 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
47917 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
47918 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
47919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
47920
47921 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
47922 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47923 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47924 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47925
47926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
47927 multiarch implementations.
47928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47929 (__libc_ifunc_impl_list): Likewise.
47930 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
47931 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
47932 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
47933 multiarch stpcpy for PPC64.
47934
47935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
47936 multiarch implementations.
47937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47938 (__libc_ifunc_impl_list): Likewise.
47939 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
47940 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
47941 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
47942 multiarch strcpy for PPC64.
47943
47944 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
47945 redefine function name.
47946 (_wordcopy_fwd_dest_aligned): Likewise.
47947 (_wordcopy_bwd_aligned): Likewise.
47948 (_wordcopy_bwd_dest_aligned): Likewise.
47949 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
47950 multiarch implementations.
47951 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47952 (__libc_ifunc_impl_list): Likewise.
47953 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
47954 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
47955 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
47956 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
47957 multiarch wcscpy for PPC64.
47958
47959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
47960 multiarch implementations.
47961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47962 (__libc_ifunc_impl_list): Likewise.
47963 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
47964 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
47965 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
47966 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
47967 multiarch wcscpy for PPC64.
47968
47969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
47970 multiarch implementations.
47971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47972 (__libc_ifunc_impl_list): Likewise.
47973 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
47974 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
47975 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
47976 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
47977 multiarch wcsrchr for PPC64.
47978
47979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
47980 multiarch implementations.
47981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47982 (__libc_ifunc_impl_list): Likewise.
47983 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
47984 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
47985 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
47986 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
47987 multiarch wcschr for PPC64.
47988
47989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
47990 multiarch implementations.
47991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47992 (__libc_ifunc_impl_list): Likewise.
47993 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
47994 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
47995 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
47996 multiarch strchrnul for PPC64.
47997
47998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
47999 implementations.
48000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48001 (__libc_ifunc_impl_list): Likewise.
48002 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48003 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48004 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48005 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48006 strchr for PPC64.
48007
48008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48009 implementations.
48010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48011 (__libc_ifunc_impl_list): Likewise.
48012 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48013 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48014 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48015 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48016 strncmp for PPC64.
48017
48018 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48019 multiarch implementations.
48020 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48021 (__libc_ifunc_impl_list): Likewise.
48022 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48023 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48024 strncasecmp for PPC64.
48025 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48026 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48027 multiarch strncasecmp_l for PPC64.
48028
48029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48030 multiarch implementations.
48031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48032 (__libc_ifunc_impl_list): Likewise.
48033 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48034 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48035 multiarch strcasecmp for PPC64.
48036 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48037 file.
48038 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48039 multiarch strcasecmp_l for PPC64.
48040
48041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48042 implementations.
48043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48044 (__libc_ifunc_impl_list): Likewise.
48045 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48046 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48047 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48048 strnlen for PPC64.
48049
48050 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48051 implementations.
48052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48053 (__libc_ifunc_impl_list): Likewise.
48054 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48055 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48056 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48057 strlen for PPC64.
48058
48059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48060 implementations.
48061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48062 (__libc_ifunc_impl_list): Likewise.
48063 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48064 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48065 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48066 rawmemrchr for PPC64.
48067
48068 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48069 implementation.
48070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48071 (__libc_ifunc_impl_list): Likewise.
48072 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48073 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48074 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48075 memrchr for PPC64.
48076
48077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48078 implementation.
48079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48080 (__libc_ifunc_impl_list): Likewise.
48081 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48082 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48083 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48084 memchr for PPC64.
48085
48086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48087 implementation.
48088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48089 (__libc_ifunc_impl_list): Likewise.
48090 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48091 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48092 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48093 mempcpy for PPC64.
48094
48095 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48096 avoid cretion of __bzero symbol.
48097 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48098 Likewise.
48099 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48100 Likewise.
48101 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48102 Likewise.
48103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48104 multiarch implementations.
48105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48106 (__libc_ifunc_impl_list): Likewise.
48107 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48108 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48109 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48110 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48111 bzero for PPC32.
48112 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48113 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48114 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48115 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48116 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48117 memset for PPC64.
48118 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48119
48120 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48122 implementations.
48123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48124 (__libc_ifunc_impl_list): Likewise.
48125 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48126 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48127 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48128 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48129 memcmp for PPC64.
48130
48131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48132 multiarch for POWER/PPC64.
48133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48134 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48135 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48136 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48137 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48138 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48139 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48140 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48141 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48142 memcpy for PPC64.
48143
48144 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48145 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48146 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48147 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48148 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48149 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48150 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48151 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48152 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48153 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48154 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48155 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48156 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48157 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48158 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48166
48167 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48168
48169 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48170
48171 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
48172
48173 * benchtests/Makefile (bench): Add exp2 and log2.
48174 (LDLIBS-bench-exp2): Add -lm.
48175 (LDLIBS-bench-log2): Likewise.
48176 * benchtests/exp2-inputs: New inputs file.
48177 * benchtests/log2-inputs: New inputs file.
48178 * benchtests/log-inputs: Add new inputs.
48179 * benchtests/tan-inputs: Likewise.
48180
48181 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48182
48183 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48184 definition...
48185 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48186 (csloww2): ... from here.
48187
48188 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48189 instead of structures.
48190 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
48191 (POLYNOMIAL): Likewise.
48192 (TAYLOR_SLOW): Likewise.
48193 (__sin): Likewise.
48194 (__cos): Likewise.
48195 (slow1): Likewise.
48196 (slow2): Likewise.
48197 (sloww): Likewise.
48198 (sloww1); Likewise.
48199 (sloww2): Likewise.
48200 (bsloww1): Likewise.
48201 (bsloww2): Likewise.
48202 (cslow2): Likewise.
48203 (csloww): Likewise.
48204 (csloww1): Likewise.
48205 (csloww2): Likewise.
48206
48207 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
48208
48209 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
48210 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
48211 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
48212 * malloc/hooks.c (realloc_check): Likewise.
48213
48214 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48215 * malloc/arena.c: Remove PER_THREAD conditional.
48216 [!PER_THREAD]: Remove code.
48217 (ptmalloc_unlock_all2): Likewise.
48218 (ptmalloc_init): Likewise.
48219 (_int_new_arena): Likewise.
48220 (arena_get2): Likewise.
48221 * malloc/hooks.c (__malloc_get_state): Likewise.
48222 (__malloc_set_state): Likewise.
48223 * malloc/malloc.c: Likewise.
48224 (struct malloc_state): Likewise.
48225 (struct malloc_par): Likewise.
48226 (__libc_realloc): Likewise.
48227 (__libc_mallopt): Likewise.
48228
48229 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48230
48231 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
48232
48233 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
48234
48235 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
48236 macro to a function. Check for zero perturb_byte.
48237 (_int_malloc, _int_free): Remove zero perturb_byte checks.
48238
48239 * malloc/malloc.c: (force_reg): Remove.
48240 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
48241 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
48242 force_reg by atomic_forced_read.
48243 * malloc/arena.c (ptmalloc_init): Likewise.
48244 * malloc/hooks.c (top_check): Likewise.
48245
48246 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48247
48248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48249
48250 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
48251
48252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48253
48254 2013-12-08 Joseph Myers <joseph@codesourcery.com>
48255
48256 * math/auto-libm-test-in: Add tests of lgamma.
48257 * math/auto-libm-test-out: Regenerated.
48258 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
48259 (M_LOG_2_SQRT_PIl): Likewise.
48260 (lgamma_test_data): Use AUTO_TESTS_f_f1.
48261 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48262 mpfr_f_f1.
48263 (func_calc_desc): Add mpfr_f_f1 union field.
48264 (ARGS1): New macro.
48265 (ARGS2): Likewise.
48266 (ARGS3): Likewise.
48267 (ARGS4): Likewise.
48268 (RET1): Likewise.
48269 (RET2): Likewise.
48270 (CALC): Likewise.
48271 (FUNC): Likewise.
48272 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
48273 (test_functions): Add lgamma.
48274 (calc_generic_results): Handle mpfr_f_f1.
48275 * sysdeps/i386/fpu/libm-test-ulps: Update.
48276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48277
48278 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48279
48280 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
48281 __mpn_add_n for PowerPC64/POWER7.
48282 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
48283 __mpn_sub_n for PowerPC64/POWER7.
48284
48285 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
48286 __mpn_addmul_1 for PowerPC64.
48287 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
48288 __mpn_submul_1 for PowerPC64.
48289 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
48290 for PowerPC64.
48291 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
48292 for PowerPC64.
48293
48294 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
48295
48296 [BZ #15089]
48297 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
48298
48299 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48300
48301 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
48302
48303 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
48304 add multiarch folders.
48305 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
48306 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
48307 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
48308 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
48309 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
48310 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
48311 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
48312 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
48313 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
48314 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
48315 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
48316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
48317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
48318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
48319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
48320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
48321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
48322
48323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48324 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
48325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
48326 New file.
48327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
48328 New file.
48329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
48330 multiarch __ieee754_hypot for PowerPC32.
48331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
48332 New file.
48333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
48334 New file.
48335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
48336 multiarch __ieee754_hypotf for PowerPC32.
48337
48338 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
48339 long_double_symbol only if __logbl is defined.
48340 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
48341 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
48342 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
48343 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
48344 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
48345 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
48346 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
48347 path for implementation.
48348 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
48349 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
48350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
48351 logb, and logbl multiarch implementations for PowerPC32.
48352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
48353 file.
48354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
48355 file.
48356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
48357 multiarch logb for PowerPC32.
48358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
48359 file.
48360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
48361 file.
48362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
48363 multiarch logbf for PowerPC32.
48364 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
48365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
48366 file.
48367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
48368 multiarch logbl implementation for PowerPC32.
48369
48370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
48371 and modff multiarch implementations.
48372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
48373 New file.
48374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
48375 New file.
48376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
48377 multiarch modf for PowerPC32.
48378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
48379 New file.
48380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
48381 New file.
48382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
48383 multiarch modff for PowerPC32.
48384
48385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
48386 and lrintf multiarch implementations.
48387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
48388 New file.
48389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
48390 New file.
48391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
48392 multiarch lrint for PowerPC32.
48393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
48394 file: multiarch lrintf for PowerPC32.
48395
48396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
48397 and lroundf multiarch implementations.
48398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
48399 New file.
48400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
48401 New file.
48402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
48403 New file.
48404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
48405 multiarch lround for PowerPC32.
48406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
48407 file: multiarch lroundf for PowerPC32.
48408
48409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48410 copysign and copysignf multiarch implementations.
48411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
48412 New file.
48413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
48414 New file.
48415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
48416 file: multiarch copysign for PowerPC32.
48417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
48418 file: multiarch copysignf for PowerPC32.
48419
48420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
48421 and truncf multiarch implementations.
48422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
48423 New file.
48424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
48425 file.
48426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
48427 multiarch trunc for PowerPC32.
48428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
48429 New file.
48430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
48431 New file.
48432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
48433 multiarch truncf for PowerPC32.
48434
48435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
48436 and roundf multiarch implementations.
48437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
48438 New file.
48439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
48440 file.
48441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
48442 multiarch round for PowerPC32.
48443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
48444 New file.
48445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
48446 New file.
48447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
48448 multiarch roundf for PowerPC32.
48449
48450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
48451 and floorf multiarch implementations.
48452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
48453 New file.
48454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
48455 file.
48456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
48457 multiarch floor for PowerPC32.
48458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
48459 New file.
48460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
48461 New file.
48462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
48463 multiarch floorf for PowerPC32.
48464
48465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
48466 and ceilf multiarch implementations.
48467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
48468 New file.
48469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
48470 file.
48471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
48472 multiarch ceil for PowerPC32.
48473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
48474 New file.
48475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
48476 file.
48477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
48478 multiarch ceilf for PowerPC32.
48479
48480 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
48481 is defined.
48482 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
48483 FINITEF is defined.
48484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
48485 and finitef multiarch implementations.
48486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
48487 New file.
48488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
48489 file.
48490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
48491 multiarch finite for PowerPC32.
48492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
48493 New file.
48494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
48495 file: multiarch finitef for PowerPC32.
48496
48497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
48498 and isinff multiarch implementations.
48499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
48500 file.
48501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
48502 file.
48503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
48504 multiarch isinf for PowerPC32.
48505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
48506 New file.
48507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
48508 multiarch isinff for PowerPC32.
48509
48510 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
48511 alias when __isnan is defined.
48512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
48513 and isnanf multiarch implementations.
48514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
48515 file.
48516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
48517 file.
48518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
48519 file.
48520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
48521 file.
48522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
48523 multiarch isnan for PowerPC32.
48524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
48525 New file.
48526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
48527 New file.
48528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
48529 multiarch isnanf for PowerPC32.
48530
48531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
48532 and sqrtf multiarch implementations.
48533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
48534 file.
48535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
48536 file.
48537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
48538 multiarch sqrt for PowerPC32.
48539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
48540 file.
48541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
48542 file.
48543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
48544 multiarch sqrtf for PowerPC32.
48545
48546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
48547 and llroundf multiarch implementations.
48548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
48549 New file.
48550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
48551 New file.
48552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
48553 New file.
48554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
48555 file: multiarch llround for PowerPC32.
48556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
48557 file: multiarch llroundf for PowerPC32.
48558
48559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
48560 multiarch PowerPC32 fpu implementations.
48561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
48562 New file.
48563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
48564 New file.
48565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
48566 multiarch llrint for PowerPC32.
48567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
48568 New file.
48569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
48570 New file.
48571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
48572 file.
48573
48574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
48575
48576 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
48577 file.
48578 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
48579 file.
48580 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
48581 file.
48582 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
48583 multiarch wordcopy for PPC32.
48584 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48585 wordcopy objects.
48586 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48587 (__libc_ifunc_impl_list): Likewise.
48588 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
48589 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
48590 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
48591 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
48592 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
48593 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
48594
48595 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
48596 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
48597 file.
48598 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
48599 file.
48600 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
48601 file.
48602 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
48603 multiarch wcscpy for PPC32.
48604 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48605 multiarch objects.
48606 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48607 (__libc_ifunc_impl_list): Likewise.
48608 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48609 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48610 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
48611 sysdeps/powerpc/power6/wcscpy.c.
48612
48613 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
48614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
48615 file.
48616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
48617 file.
48618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
48619 file.
48620 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
48621 multiarch wcsrchr for PPC32.
48622 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48623 multiarch objects.
48624 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48625 (__libc_ifunc_impl_list): Likewise.
48626 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48627 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48628 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
48629 sysdeps/powerpc/power6/wcsrchr.c.
48630
48631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
48632 file.
48633 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
48634 file.
48635 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
48636 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
48637 multiarch wcschr for PPc32.
48638 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48639 multiarch objects.
48640 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48641 (__libc_ifunc_impl_list): Likewise.
48642 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
48643 * sysdeps/powerpc/power6/wcschr.c: ... to here.
48644 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
48645 sysdeps/powerpc/power6/wcschr.c.
48646
48647 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
48648 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
48649 file.
48650 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
48651 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
48652 file: multiarch strchr for PPC32.
48653 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
48654 multiarch objects.
48655 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48656 (__libc_ifunc_impl_list): Likewise.
48657
48658 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
48659 name.
48660 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
48661 file.
48662 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
48663 file.
48664 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
48665 multiarch strchrnul for PPC32.
48666 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
48667 multiarch objects.
48668 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48669 (__libc_ifunc_impl_list): Likewise.
48670
48671 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
48672 file.
48673 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
48674 multiarch strncasecmp for PPC32.
48675 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
48676 file.
48677 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
48678 multiarch strncasecmp_l for PPC32.
48679 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
48680 strncasecmp multiarch objects.
48681 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48682 (__libc_ifunc_impl_list): Likewise.
48683
48684 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
48685 file.
48686 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
48687 multiarch strncasecmp for PPC32.
48688 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
48689 New file.
48690 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
48691 multiarch strcasecmp_l for PPC32.
48692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
48693 multiarch objects.
48694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48695 (__libc_ifunc_impl_list): Likewise.
48696
48697 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
48698 file.
48699 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
48700 file.
48701 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
48702 multiarch strncmp for PPC32.
48703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
48704 multiarch objects.
48705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48706 (__libc_ifunc_impl_list): Likewise.
48707
48708 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
48709 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
48710 file.
48711 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
48712 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
48713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
48714 multiarch objects.
48715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48716 (__libc_ifunc_impl_list): Likewise.
48717
48718 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
48719 file.
48720 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
48721 file.
48722 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
48723 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
48724 multiarch objects.
48725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48726 (__libc_ifunc_impl_list): Likewise.
48727
48728 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
48729 file.
48730 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
48731 file.
48732 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
48733 multiarch rawmemchr for PPC32.
48734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
48735 multiarch objects.
48736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48737 (__libc_ifunc_impl_list): Likewise.
48738
48739 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
48740 file.
48741 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
48742 file.
48743 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
48744 file: memrchr multiarch for PPC32.
48745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
48746 multiarch objects.
48747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48748 (__libc_ifunc_impl_list): Likewise.
48749
48750 * string/memchr.c (__memchr): Using macro to redefine symbol name.
48751 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
48752 file.
48753 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
48754 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
48755 multiarch memchr for PPC32.
48756 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
48757 multiarch objects.
48758 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48759 (__libc_ifunc_impl_list): Likewise.
48760
48761 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
48762 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
48763 file.
48764 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
48765 file.
48766 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
48767 file: multiarch mempcpy for PPC32.
48768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
48769 multiarch objects.
48770 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48771 (__libc_ifunc_impl_list): Likewise.
48772
48773 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
48774 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
48775 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
48776 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
48777 multiarch bzero for PPC32.
48778 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
48779 file.
48780 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
48781 file.
48782 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
48783 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
48784 file: multiarch memset for PPC32.
48785 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
48786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
48787 memset multiarch objects.
48788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48789 (__libc_ifunc_impl_list): Likewise.
48790
48791 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
48792 file.
48793 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
48794 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
48795 memcmp for PPC32.
48796 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
48797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
48798 multiarch objects.
48799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48800 (__libc_ifunc_impl_list): Likewise.
48801
48802 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
48803 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
48804 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
48805 file.
48806 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
48807 file.
48808 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
48809 file.
48810 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
48811 multiarch memcpy for PPC32.
48812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
48813 multiarch objects.
48814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48815 (__libc_ifunc_impl_list): Likewise.
48816
48817 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
48818 support multiarch for POWER/PPC32.
48819 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
48820 Likewise.
48821 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
48822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
48823 Implies file to make multiarch folder appers before the fpu and
48824 default folder for power4 configuration.
48825
48826 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48827
48828 * scripts/bench.pl: Append volatile keyword to type.
48829
48830 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48831
48832 * sysdeps/sh/sotruss-lib.c: New file.
48833 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
48834
48835 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48836
48837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48838
48839 2013-12-05 Joseph Myers <joseph@codesourcery.com>
48840
48841 [BZ #6810]
48842 * math/w_tgamma.c: Include <errno.h>.
48843 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
48844 * math/w_tgammaf.c: Include <errno.h>.
48845 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
48846 * math/w_tgammal.c: Include <errno.h>.
48847 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
48848 * math/auto-libm-test-in: Do not allow missing errno on tgamma
48849 underflow. Add more tgamma tests.
48850 * math/auto-libm-test-out: Regenerated.
48851 * sysdeps/i386/fpu/libm-test-ulps: Update.
48852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48853
48854 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
48855 sin, sinh, tan, tanh, tgamma, y0 and y1.
48856 * math/auto-libm-test-out: Regenerated.
48857 * math/libm-test.inc (TEST_COND_x86_64): New macro.
48858 (TEST_COND_x86): Likewise.
48859 (M_E2l): Remove macro.
48860 (M_E3l): Likewise.
48861 (M_2_SQRT_PIl): Likewise.
48862 (M_SQRT_PIl): Likewise.
48863 (M_1_DIV_El): Likewise.
48864 (log_test_data): Use AUTO_TESTS_f_f.
48865 (log10_test_data): Likewise.
48866 (log1p_test_data): Likewise.
48867 (log2_test_data): Likewise.
48868 (sin_test_data): Likewise.
48869 (sin_tonearest_test_data): Likewise.
48870 (sin_towardzero_test_data): Likewise.
48871 (sin_downward_test_data): Likewise.
48872 (sin_upward_test_data): Likewise.
48873 (sinh_test_data): Likewise.
48874 (sinh_tonearest_test_data): Likewise.
48875 (sinh_towardzero_test_data): Likewise.
48876 (sinh_downward_test_data): Likewise.
48877 (sinh_upward_test_data): Likewise.
48878 (tan_test_data): Likewise.
48879 (tan_tonearest_test_data): Likewise.
48880 (tan_towardzero_test_data): Likewise.
48881 (tan_downward_test_data): Likewise.
48882 (tan_upward_test_data): Likewise.
48883 (tanh_test_data): Likewise.
48884 (tgamma_test_data): Likewise.
48885 (y0_test_data): Likewise.
48886 (y1_test_data): Likewise.
48887 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
48888 (special_real_inputs): Add pi/4.
48889 * sysdeps/i386/fpu/libm-test-ulps: Update.
48890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48891
48892 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48893
48894 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
48895 "longjmp_target" static probes.
48896 (__longjmp): Rename to __longjmp_symbol.
48897 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48898 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
48899 on which longjmp to generate.
48900 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48901 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
48902 probe.
48903 (__sigsetjmp): Rename to __sigsetjmp_symbol.
48904 (__sigjmp_save): Rename to __sigjmp_save_symbol.
48905 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
48906 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
48907 and __sigjmp_save_symbol based on which sigsetjmp to generated.
48908 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
48910 __longjmp_symbol based on which __longjmp to generate.
48911 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
48912 probe.
48913 (setjmp): Rename to setjmp_symbol.
48914 (__sigsetjmp): Rename to __sigsetjmp_symbol.
48915 (_setjmp): Rename to _setjmp_symbol.
48916 (__sigsetjmp): Rename to __sigsetjmp_symbol.
48917 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
48918 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
48919 which setjmp to generate.
48920 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
48921 "longjmp_target" static probes.
48922
48923 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
48924
48925 * benchtests/README: Add note about output arguments.
48926 * benchtests/bench-sincos.c: Remove file.
48927 * benchtests/sincos-inputs: New file.
48928 * scripts/bench.pl: Identify output arguments and define
48929 static variables for them.
48930
48931 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
48932
48933 [BZ #15941]
48934 * Makefile (INSTALL): Add install-plain.texi as the primary
48935 dependency.
48936 * manual/install-plain.texi: New file.
48937 * manual/install.texi: Include node directive only for
48938 non-plaintext output.
48939
48940 2013-12-04 Joseph Myers <joseph@codesourcery.com>
48941
48942 * stdlib/longlong.h: Update from GCC.
48943
48944 [BZ #6807]
48945 [BZ #15901]
48946 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
48947 * math/w_j0f.c (y0f): Likewise.
48948 * math/w_j0l.c (__y0l): Likewise.
48949 * math/w_j1.c (y1): Likewise.
48950 * math/w_j1f.c (y1f): Likewise.
48951 * math/w_j1l.c (__y1l): Likewise.
48952 * math/w_jn.c (yn): Likewise.
48953 * math/w_jnf.c (ynf): Likewise.
48954 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
48955 Bessel function pole errors in _POSIX_ mode. Use NAN as return
48956 value for Bessel function domain errors outside _SVID_ mode.
48957 Adjust sign of return value for yn (negative integer, 0).
48958 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
48959 by zero in return for negative x and set sign appropriately for
48960 negative n.
48961 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
48962 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48963 * math/libm-test.inc (y0_test_data): Add more tests and adjust
48964 expectations in error cases.
48965 (y1_test_data): Likewise.
48966 (yn_test_data): Likewise.
48967 * sysdeps/i386/fpu/libm-test-ulps: Update.
48968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48969
48970 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
48971
48972 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
48973 "64" to "64-v1". Add "64-v2".
48974 (abi-64-options): Rename to ...
48975 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
48976 (abi-64-condition): Rename to ...
48977 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
48978 (abi-64-ld-soname): Rename to ...
48979 (abi-64-v1-ld-soname): ... this.
48980 (abi-64-v2-options): Define.
48981 (abi-64-v2-condition): Likewise.
48982 (abi-64-v2-ld-soname): Likewise.
48983 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
48984 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
48985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
48986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
48987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
48988
48989 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
48990 Alan Modra <amodra@gmail.com>
48991
48992 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
48993 New versions for use with the ELFv2 ABI.
48994 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
48995 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
48996 declaration.
48997 (struct La_ppc64v2_retval): Likewise.
48998 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
48999 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49000 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49001 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49002 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49003 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49004 Do not save or restore CR.
49005 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49006 (_dl_profile_resolve): Do no save or restore CR. Support extended
49007 return values for ELFv2 ABI. Fix location of FPR return registers.
49008 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49009 updated values for _CALL_ELF == 2.
49010 (La_regs, La_retval, int_retval): Likewise.
49011
49012 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49013
49014 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49015 (FRAME_MIN_SIZE_PARM): Likewise.
49016 (FRAME_BACKCHAIN): Likewise.
49017 (FRAME_CR_SAVE): Likewise.
49018 (FRAME_LR_SAVE): Likewise.
49019 (FRAME_TOC_SAVE): Likewise.
49020 (FRAME_PARM_SAVE): Likewise.
49021 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49022 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49023 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49024 (call_mcount_parm_offset): New macro.
49025 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49026 (PROF): Use symbolic stack frame offsets.
49027 (TAIL_CALL_SYSCALL_ERROR): Likewise.
49028 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49029 Redefine in terms of FRAME_MIN_SIZE.
49030 (_dl_runtime_resolve): Use symbolic stack frame offsets.
49031 (_dl_profile_resolve): Likewise. Update comment.
49032 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49033 symbols stack frame offsets.
49034 (__sigsetjmp): Likewise.
49035 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49036 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49037 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49038 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49039
49040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49041 (FRAME_BACKCHAIN): Remove.
49042 (FRAME_CR_SAVE): Likewise.
49043 (FRAME_LR_SAVE): Likewise.
49044 (FRAME_COMPILER_DW): Likewise.
49045 (FRAME_LINKER_DW): Likewise.
49046 (FRAME_TOC_SAVE): Likewise.
49047 (FRAME_PARM_SAVE): Likewise.
49048 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49049 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49050 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49052 (CHECK_SP): Use symbolic stack frame offsets.
49053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49054 zone" instead of caller's parameter save area for temp storage.
49055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49056 Likewise. Also, use symbolic stack frame offsets.
49057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49058 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49059 our own stack frame instead of the caller's.
49060 (__socket): Use symbolic stack frame offsets.
49061
49062 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49063 Alan Modra <amodra@gmail.com>
49064
49065 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49066 Define.
49067 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49068 (PPC64_LOCAL_ENTRY_OFFSET): Define.
49069 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49070 New function.
49071 (elf_machine_fixup_plt): Call it.
49072 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
49073 reloc arguments.
49074 (elf_machine_rela): Update call to elf_machine_plt_conflict.
49075 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49076 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49077 r2 before calling target.
49078
49079 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49080 Alan Modra <amodra@gmail.com>
49081
49082 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49083 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49084 versions of macros to support ELFv2 ABI.
49085 (LOCALENTRY): New macro.
49086 (ENTRY, EALIGN): Use it.
49087 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49088 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49089 fall through into ENTRY entry point.
49090 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49091 Only define if _CALL_ELF != 2.
49092
49093 (elf_machine_matches_host): Verify ABI version matches.
49094 (RTLD_START): Use LOCALENTRY.
49095 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49096 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49097 (PLT_ENTRY_WORDS): New macro.
49098 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49099 (elf_machine_runtime_setup): Support ELFv2 ABI.
49100 (elf_machine_fixup_plt): Likewise.
49101 (elf_machine_plt_conflict): Likewise.
49102 (resolve_ifunc): Likewise.
49103 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49104 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49105 Likewise.
49106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49107 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49109 (makecontext): Support ELFv2 ABI.
49110 * elf/elf.h (EF_PPC64_ABI): Define.
49111
49112 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49113
49114 * sysdeps/powerpc/powerpc64/sysdep.h
49115 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49116 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49117 (ENTRY) [ASSEMBLER]: ... but instead here ...
49118 (EALIGN) [ASSEMBLER]: ... and here.
49119 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49120 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49121 (ENTRY_2) [!ASSEMBLER]: Use it.
49122 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49123 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
49124 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49125 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49126 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49128 Use PPC64_LOAD_FUNCPTR.
49129
49130 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49131
49132 2013-12-04 Alan Modra <amodra@gmail.com>
49133
49134 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49135 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49136 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49137 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49138
49139 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49140 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49141 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49142 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49143 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49144 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49145
49146 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49147
49148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49149 (__makecontext): Fix incorrect CFI when backtracing out of
49150 context created via makecontext.
49151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49152 (__setcontext): Fix incorrect CFI during switch to new context.
49153 (__novec_setcontext): Likewise.
49154
49155 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49156
49157 [BZ #4772]
49158 * time/strptime_l.c (__strptime_internal): Allow modifiers
49159 in strptime.
49160 * time/tst-strptime.c (day_tests): Add testcase.
49161
49162 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49163
49164 * scripts/bench.pl: Skip over blank lines.
49165
49166 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
49167
49168 [BZ #926]
49169 * manual/time.texi (Calendar Time): Clarify what timezone functions
49170 use.
49171
49172 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49173
49174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49175
49176 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49177
49178 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49179 implementation.
49180 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49181 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49182 * debug/memset_chk.c (__memset_chk): Likewise.
49183 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49184 * debug/strncpy_chk.c: Likewise.
49185
49186 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49187
49188 [BZ #15268]
49189 [BZ #15425]
49190 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
49191 (__ieee754_exp): For possibly underflowing results, check size of
49192 result and force underflow exception if required.
49193 * math/auto-libm-test-in: Add more tests of exp.
49194 * math/auto-libm-test-out: Regenerated.
49195 * sysdeps/i386/fpu/libm-test-ulps: Update.
49196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49197
49198 [BZ #16283]
49199 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
49200 * math/w_exp2f.c (__exp2f): Likewise.
49201 * math/w_exp2l.c (__exp2l): Likewise.
49202 * math/auto-libm-test-in: Do not allow missing errno on exp2
49203 underflow.
49204 * math/auto-libm-test-out: Regenerated.
49205
49206 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
49207
49208 [BZ #16274]
49209 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
49210 handle filename validation.
49211 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
49212 (do_open): Delete.
49213
49214 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49215
49216 [BZ #6786]
49217 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
49218 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
49219 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
49220 <float.h>.
49221 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
49222 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
49223 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49224 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
49225 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49226 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
49227 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49228 * math/auto-libm-test-in: Don't allow missing errno from erfc.
49229 Add more erfc tests.
49230 * math/auto-libm-test-out: Regenerated.
49231 * sysdeps/i386/fpu/libm-test-ulps: Update.
49232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49233
49234 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
49235 exp2, expm1, j0 and j1.
49236 * math/auto-libm-test-out: Regenerated.
49237 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
49238 (erfc_test_data): Likewise.
49239 (exp_test_data): Likewise.
49240 (exp_tonearest_test_data): Likewise.
49241 (exp_towardzero_test_data): Likewise.
49242 (exp_downward_test_data): Likewise.
49243 (exp_upward_test_data): Likewise.
49244 (exp10_test_data): Likewise.
49245 (exp2_test_data): Likewise.
49246 (expm1_test_data): Likewise.
49247 (j0_test_data): Likewise.
49248 (j1_test_data): Likewise.
49249 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
49250 (input_flag_type): Add flag_xfail_rounding.
49251 (input_flags): Add xfail-rounding.
49252 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
49253 (output_for_one_input_case): Handle flag_xfail_rounding.
49254 * sysdeps/i386/fpu/libm-test-ulps: Update.
49255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49256
49257 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
49258
49259 [BZ #16289]
49260 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
49261 division by 0.
49262
49263 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
49264
49265 [BZ #16195]
49266 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
49267 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
49268 (STAP_PROBE0): New macro.
49269 (STAP_PROBE1): Likewise.
49270 (STAP_PROBE2): Likewise.
49271 (STAP_PROBE3): Likewise.
49272 (STAP_PROBE4): Likewise.
49273
49274 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
49275
49276 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
49277
49278 2013-12-02 Steve Ellcey <sellcey@mips.com>
49279
49280 * benchtests/Makefile (bench): Add sqrt.
49281 (LDLIBS-bench-sqrt): New.
49282 * benchtests/sqrt-input: New.
49283
49284 2013-12-02 Pavel Simerda <psimerda@redhat.com>
49285
49286 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
49287 (GAIH_EAI): Likewise.
49288 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
49289 (gaih_inet): Likewise.
49290 (getaddrinfo): Don't use GAIH_EAI.
49291
49292 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
49293 (struct gaih): Remove definition.
49294
49295 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49296
49297 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
49298 Use HERRNOP directly.
49299
49300 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49301
49302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49303
49304 2013-11-30 Joseph Myers <joseph@codesourcery.com>
49305
49306 * math/gen-auto-libm-tests.c (test_functions): Add more
49307 single-argument functions.
49308 (special_fill_pi_2): New function.
49309 (special_fill_minus_pi_2): Likewise.
49310 (special_fill_pi_6): Likewise.
49311 (special_fill_minus_pi_6): Likewise.
49312 (special_fill_pi_3): Likewise.
49313 (special_fill_2pi_3): Likewise.
49314 (special_fill_e): Likewise.
49315 (special_fill_1_e): Likewise.
49316 (special_fill_e_minus_1): Likewise.
49317 (special_real_inputs): Add more special inputs.
49318 (output_for_one_input_case): Do not require ERANGE on underflow to
49319 zero if round-to-nearest result does not underflow to zero, unless
49320 exact results required.
49321 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
49322 atan, atanh, cbrt, cos and cosh.
49323 * math/auto-libm-test-out: Regenerated.
49324 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
49325 (acos_tonearest_test_data): Likewise.
49326 (acos_towardzero_test_data): Likewise.
49327 (acos_downward_test_data): Likewise.
49328 (acos_upward_test_data): Likewise.
49329 (acosh_test_data): Likewise.
49330 (asin_test_data): Likewise.
49331 (asin_tonearest_test_data): Likewise.
49332 (asin_towardzero_test_data): Likewise.
49333 (asin_upward_test_data): Likewise.
49334 (asinh_test_data): Likewise.
49335 (atan_test_data): Likewise.
49336 (atanh_test_data): Likewise.
49337 (cbrt_test_data): Likewise.
49338 (cos_test_data): Likewise.
49339 (cos_tonearest_test_data): Likewise.
49340 (cos_towardzero_test_data): Likewise.
49341 (cos_downward_test_data): Likewise.
49342 (cos_upward_test_data): Likewise.
49343 (cosh_test_data): Likewise.
49344 (cosh_tonearest_test_data): Likewise.
49345 (cosh_towardzero_test_data): Likewise.
49346 (cosh_downward_test_data): Likewise.
49347 (cosh_upward_test_data): Likewise.
49348 * sysdeps/i386/fpu/libm-test-ulps: Update.
49349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49350
49351 2013-11-29 Joseph Myers <joseph@codesourcery.com>
49352
49353 [BZ #6787]
49354 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
49355 * math/w_exp10f.c (__exp10f): Likewise.
49356 * math/w_exp10l.c (__exp10l): Likewise.
49357 * math/libm-test.inc (exp10_test_data): Add more tests and expect
49358 errno settings in existing tests.
49359
49360 [BZ #14032]
49361 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
49362 precision control set to double precision.
49363 * sysdeps/i386/fpu/w_sqrt.c: New file.
49364 * math/auto-libm-test-in: Add more tests.
49365 * math/auto-libm-test-out: Update.
49366
49367 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
49368 (sqrt_test_tonearest): New function.
49369 (sqrt_towardzero_test_data): New variable.
49370 (sqrt_test_towardzero): New function.
49371 (sqrt_downward_test_data): New variable.
49372 (sqrt_test_downward): New function.
49373 (sqrt_upward_test_data): New variable.
49374 (sqrt_test_upward): New function.
49375 (main): Call the new functions.
49376
49377 * math/gen-auto-libm-tests.c: New file.
49378 * math/auto-libm-test-in: Likewise.
49379 * math/auto-libm-test-out: New generated file.
49380 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
49381 variables.
49382 (%beautify): Add generated representations of zero.
49383 (top level): Set $auto_input and call parse_auto_input.
49384 (beautify): Remove trailing "f" from hex float constants.
49385 (parse_args): Handle XFAIL_TEST.
49386 (convert_condition): New function.
49387 (or_value): Likewise.
49388 (or_cond_value): Likewise.
49389 (generate_testfile): Handle AUTO_TESTS_* lines.
49390 (parse_auto_input): New function.
49391 * math/libm-test.inc (XFAIL_TEST): New macro.
49392 (ERRNO_UNCHANGED): Update value.
49393 (ERRNO_EDOM): Likewise.
49394 (ERRNO_ERANGE): Likewise.
49395 (IGNORE_RESULT): Likewise.
49396 (TEST_COND_flt_32): New macro.
49397 (TEST_COND_dbl_64): Likewise.
49398 (TEST_COND_ldbl_96_intel): Likewise.
49399 (TEST_COND_ldbl_96_m68k): Likewise.
49400 (TEST_COND_ldbl_128): Likewise.
49401 (TEST_COND_ldbl_128ibm): Likewise.
49402 (TEST_COND_long32): Likewise.
49403 (TEST_COND_long64): Likewise.
49404 (TEST_COND_before_rounding): Likewise.
49405 (TEST_COND_after_rounding): Likewise.
49406 (enable_test): Handle XFAIL_TEST flag.
49407 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
49408 with finite results.
49409 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
49410 auto-libm-test-out.
49411
49412 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
49413 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49414
49415 [BZ #16214]
49416 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
49417 __tls_get_addr_internal instead of __tls_get_offset in order to
49418 avoid GOT pointer dependency. Make rtld export
49419 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
49420 __tls_get_addr since we are a __tls_get_offset platform.
49421 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
49422 GOT pointer being set up before.
49423 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
49424
49425 2013-11-28 Joseph Myers <joseph@codesourcery.com>
49426
49427 * manual/math.texi (Errors in Math Functions): Document accuracy
49428 goals.
49429
49430 [BZ #15004]
49431 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
49432 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
49433 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49434 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49435 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49436 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49437 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49438 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49439 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49440 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49441 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49442 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49443 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49444 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49445 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49446 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49447
49448 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
49449 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
49450 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
49451 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
49452 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
49453 Likewise.
49454 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
49455 Likewise.
49456 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
49457 Likewise.
49458 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
49459 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
49460 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
49461 atomic-feupdateenv and flt-rounds.
49462 * sysdeps/powerpc/nofpu/Versions (libc): Add
49463 __atomic_feholdexcept, __atomic_feclearexcept,
49464 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
49465 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
49466 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
49467 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
49468 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
49469 here.
49470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49471 Update.
49472
49473 * manual/arith.texi (FP Exceptions): Document that exceptions may
49474 not be raised when matherr is used.
49475 (Math Error Reporting): Document overflow in directed rounding
49476 modes. Document that errno may not be set when finite values are
49477 returned on overflow. Document intent to set errno on underflow
49478 only for underflow to zero.
49479
49480 [BZ #16271]
49481 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
49482 round-to-nearest then adjust result for other rounding modes.
49483 * include/fenv.h (fegetround): Use libm_hidden_proto.
49484 * math/fegetround.c (fegetround): Use libm_hidden_def.
49485 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
49486 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
49487 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49488 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
49489 Likewise.
49490 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
49491 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49492 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
49493 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
49494
49495 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49496
49497 [BZ #16077]
49498 * nss/Versions (libnss_files): Add
49499 _nss_files_gethostbyname3_r.
49500 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
49501 New function.
49502 (HOST_DB_LOOKUP): Remove macro.
49503 (_nss_files_gethostbyname_r): Implement function without the
49504 HOST_DB_LOOKUP macro.
49505 (_nss_files_gethostbyname2_r): Likewise.
49506
49507 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
49508
49509 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
49510
49511 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
49512
49513 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
49514 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
49515 warning.
49516
49517 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49518
49519 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
49520 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
49521 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49522 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
49523 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
49524 __fe_nomask_env_priv and attribute_hidden.
49525 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
49526 (libc_feupdateenv_test_ppc): Likewise.
49527 (libc_feresetround_ppc): Likewise.
49528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49529 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
49530 compat_symbol macro.
49531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49532 (__fe_nomask_env): Likewise.
49533 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
49534
49535 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49536
49537 * string/Makefile: Remove ifunc tests.
49538 * string/test-string.h: Define TEST_IFUNC.
49539 * string/test-bcopy-ifunc.c: Remove.
49540 * string/test-bzero-ifunc.c: Likewise.
49541 * string/test-memccpy-ifunc.c: Likewise.
49542 * string/test-memchr-ifunc.c: Likewise.
49543 * string/test-memcmp-ifunc.c: Likewise.
49544 * string/test-memcpy-ifunc.c: Likewise.
49545 * string/test-memmem-ifunc.c: Likewise.
49546 * string/test-memmove-ifunc.c: Likewise.
49547 * string/test-mempcpy-ifunc.c: Likewise.
49548 * string/test-memrchr-ifunc.c: Likewise.
49549 * string/test-memset-ifunc.c: Likewise.
49550 * string/test-rawmemchr-ifunc.c: Likewise.
49551 * string/test-stpcpy-ifunc.c: Likewise.
49552 * string/test-stpncpy-ifunc.c: Likewise.
49553 * string/test-strcasecmp-ifunc.c: Likewise.
49554 * string/test-strcasestr-ifunc.c: Likewise.
49555 * string/test-strcat-ifunc.c: Likewise.
49556 * string/test-strchr-ifunc.c: Likewise.
49557 * string/test-strchrnul-ifunc.c: Likewise.
49558 * string/test-strcmp-ifunc.c: Likewise.
49559 * string/test-strcpy-ifunc.c: Likewise.
49560 * string/test-strcspn-ifunc.c: Likewise.
49561 * string/test-strlen-ifunc.c: Likewise.
49562 * string/test-strncasecmp-ifunc.c: Likewise.
49563 * string/test-strncat-ifunc.c: Likewise.
49564 * string/test-strncmp-ifunc.c: Likewise.
49565 * string/test-strncpy-ifunc.c: Likewise.
49566 * string/test-strnlen-ifunc.c: Likewise.
49567 * string/test-strpbrk-ifunc.c: Likewise.
49568 * string/test-strrchr-ifunc.c: Likewise.
49569 * string/test-strspn-ifunc.c: Likewise.
49570 * string/test-strstr-ifunc.c: Likewise.
49571
49572 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49573
49574 * benchtests/Makefile: Remove ifunc tests.
49575 * benchtests/bench-string.h: Define TEST_IFUNC.
49576 * benchtests/bench-bcopy-ifunc.c: Remove.
49577 * benchtests/bench-bzero-ifunc.c: Likewise.
49578 * benchtests/bench-memccpy-ifunc.c: Likewise.
49579 * benchtests/bench-memchr-ifunc.c: Likewise.
49580 * benchtests/bench-memcmp-ifunc.c: Likewise.
49581 * benchtests/bench-memcpy-ifunc.c: Likewise.
49582 * benchtests/bench-memmem-ifunc.c: Likewise.
49583 * benchtests/bench-memmove-ifunc.c: Likewise.
49584 * benchtests/bench-mempcpy-ifunc.c: Likewise.
49585 * benchtests/bench-memrchr-ifunc.c: Likewise.
49586 * benchtests/bench-memset-ifunc.c: Likewise.
49587 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
49588 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
49589 * benchtests/bench-stpcpy-ifunc.c: Likewise.
49590 * benchtests/bench-stpncpy-ifunc.c: Likewise.
49591 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
49592 * benchtests/bench-strcasestr-ifunc.c: Likewise.
49593 * benchtests/bench-strcat-ifunc.c: Likewise.
49594 * benchtests/bench-strchr-ifunc.c: Likewise.
49595 * benchtests/bench-strchrnul-ifunc.c: Likewise.
49596 * benchtests/bench-strcmp-ifunc.c: Likewise.
49597 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
49598 * benchtests/bench-strcpy-ifunc.c: Likewise.
49599 * benchtests/bench-strcspn-ifunc.c: Likewise.
49600 * benchtests/bench-strlen-ifunc.c: Likewise.
49601 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
49602 * benchtests/bench-strncat-ifunc.c: Likewise.
49603 * benchtests/bench-strncmp-ifunc.c: Likewise.
49604 * benchtests/bench-strncpy-ifunc.c: Likewise.
49605 * benchtests/bench-strnlen-ifunc.c: Likewise.
49606 * benchtests/bench-strpbrk-ifunc.c: Likewise.
49607 * benchtests/bench-strrchr-ifunc.c: Likewise.
49608 * benchtests/bench-strsep-ifunc.c: Likewise.
49609 * benchtests/bench-strspn-ifunc.c: Likewise.
49610 * benchtests/bench-strstr-ifunc.c: Likewise.
49611
49612 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49613
49614 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
49615
49616 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49617
49618 * resolv/netdb.h: Use __glibc_reserved instead __unused.
49619 * rt/aio.h: Likewise.
49620 * sysdeps/gnu/bits/utmp.h: Likewise.
49621 * sysdeps/gnu/bits/utmpx.h: Likewise.
49622 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49623 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
49624 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
49625 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
49626 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
49627 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
49628 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
49629 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
49630 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
49631 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
49632 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
49633 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
49634 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
49635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
49636 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49637 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
49638 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
49639 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
49640 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
49641 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
49642 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
49643 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
49644 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
49645 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49646 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
49647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49648 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
49649 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
49650 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
49651 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
49652 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
49653 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
49654 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
49655 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49656 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
49657 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
49658 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
49659 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
49660 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
49661 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
49662 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
49663 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49664
49665 2013-11-25 Carlos O'Donell <carlos@redhat.com>
49666
49667 [BZ #16245]
49668 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
49669 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
49670
49671 2013-11-25 Joseph Myers <joseph@codesourcery.com>
49672
49673 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
49674 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
49675 Likewise.
49676
49677 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49678
49679 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
49680 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
49681 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
49682 (__fesetround): Remove define.
49683 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
49684 rounding and exceptions handling.
49685 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
49686 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
49687 (__fe_nomask_env): Likewise.
49688 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
49689 __fegetround instead of fegetround.
49690 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49691 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
49692
49693 2013-11-21 Roland McGrath <roland@hack.frob.com>
49694
49695 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
49696 it's there.
49697
49698 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
49699
49700 2013-11-21 Meador Inge <meadori@codesourcery.com>
49701
49702 [BZ #11157]
49703 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
49704 (encrypt_r): Likewise.
49705 * malloc/obstack.h (obstack_free): Likewise.
49706 * posix/unistd.h (encrypt): Likewise.
49707
49708 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
49709
49710 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
49711 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
49712 DL_CALL_DT_FINI() that call the functions directly.
49713 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
49714 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
49715 * elf/dl-fini.c: Likewise.
49716
49717 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
49718
49719 * malloc/hooks.c (memalign_check): Add alignment rounding.
49720 * malloc/malloc.c (_mid_memalign): New function.
49721 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
49722 Implement by calling _mid_memalign.
49723 * manual/probes.texi (Memory Allocation Probes): Remove
49724 memory_valloc_retry and memory_pvalloc_retry.
49725
49726 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
49727
49728 * locale/programs/locarchive.c (open_archive): Add const
49729 qualifier to ARCHIVEFNAME and copy default fname to
49730 DEFAULT_FNAME.
49731
49732 [BZ #15601]
49733 * libio/tst-widetext.input: Rename Oriya to Odia.
49734 * locale/iso-639.def: Likewise.
49735
49736 * manual/probes.texi (Mathematical Function Probes): Add
49737 documentation for sin, cos, asin and acos probes.
49738 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
49739 (__sin32): Add slowasin probe.
49740 (__cos32): Add slowacos probe.
49741 (__mpsin): Add slowsin probe.
49742 (__mpcos): Add slowcos probe.
49743
49744 2013-11-19 Joseph Myers <joseph@codesourcery.com>
49745
49746 [BZ #15483]
49747 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
49748 thread-local __sim_exceptions_thread and global
49749 __sim_exceptions_global.
49750 (__sim_disabled_exceptions): Change to thread-local
49751 __sim_disabled_exceptions_thread and global
49752 __sim_disabled_exceptions_global.
49753 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49754 and global __sim_round_mode_global.
49755 (__simulate_exceptions): Use thread-local floating-point state and
49756 set global state from it as needed.
49757 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
49758 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
49759 __sim_round_mode_thread.
49760 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
49761 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
49762 and global __sim_exceptions_global.
49763 (__sim_disabled_exceptions): Change to thread-local
49764 __sim_disabled_exceptions_thread and global
49765 __sim_disabled_exceptions_global.
49766 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49767 and global __sim_round_mode_global.
49768 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
49769 (SIM_SET_GLOBAL): Likewise.
49770 * sysdeps/powerpc/soft-fp/sfp-machine.h
49771 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
49772 __sim_round_mode_thread.
49773 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
49774 __sim_disabled_exceptions_thread.
49775 (__sim_exceptions): Change to __sim_exceptions_thread.
49776 (__sim_disabled_exceptions): Change to
49777 __sim_disabled_exceptions_thread.
49778 (__sim_round_mode): Change to __sim_round_mode_thread.
49779 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
49780 thread-local floating-point state and set global state from it as
49781 needed.
49782 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
49783 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
49784 (__sim_disabled_exceptions): Remove extern declaration.
49785 (feenableexcept): Use thread-local floating-point state and set
49786 global state from it as needed.
49787 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
49788 extern declaration.
49789 (__sim_disabled_exceptions): Likewise.
49790 (__sim_round_mode): Likewise.
49791 (__fegetenv): Use thread-local floating-point state.
49792 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
49793 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49794 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
49795 floating-point state and set global state from it as needed.
49796 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
49797 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
49798 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
49799 Likewise.
49800 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
49801 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
49802 Likewise.
49803 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
49804 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
49805 Use __sim_round_mode_thread.
49806 * math/test-fenv-tls.c: New file.
49807 * math/Makefile (tests): Add test-fenv-tls.
49808 ($(objpfx)test-fenv-tls): Depend on
49809 $(common-objpfx)nptl/libpthread.so.
49810
49811 2013-11-19 Andreas Schwab <schwab@suse.de>
49812
49813 * locale/programs/locale.c (show_info): Decode wordarray elements.
49814 * locale/categories.def (LC_MONETARY): Add element for
49815 _NL_MONETARY_CRNCYSTR.
49816 * locale/C-monetary.c (conversion_rate): New variable.
49817 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
49818 element.
49819
49820 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
49821
49822 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
49823 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
49824
49825 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49826
49827 * elf/Makefile (tst-auxv): New test.
49828 * elf/tst-auxv.c: New
49829 * elf/rtld.c (dl_main): Adjust AT_EXECFN
49830
49831 2013-11-18 Joseph Myers <joseph@codesourcery.com>
49832
49833 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
49834 (hidden_proto): Caller changed.
49835 (hidden_tls_proto): New macro.
49836 (libc_hidden_tls_proto): Likewise.
49837 (rtld_hidden_tls_proto): Likewise.
49838 (libm_hidden_tls_proto): Likewise.
49839 (libresolv_hidden_tls_proto): Likewise.
49840 (librt_hidden_tls_proto): Likewise.
49841 (libdl_hidden_tls_proto): Likewise.
49842 (libnss_files_hidden_tls_proto): Likewise.
49843 (libnsl_hidden_tls_proto): Likewise.
49844 (libnss_nisplus_hidden_tls_proto): Likewise.
49845 (libutil_hidden_tls_proto): Likewise.
49846
49847 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
49848
49849 [BZ #10253]
49850 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
49851 (decompose_rpath): Defer expansion to fillin_rpath.
49852 (_dl_init_paths): Pass linkmap to fillin_rpath.
49853
49854 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49855
49856 * benchtests/Makefile: Add strsep.
49857 * benchtests/bench-strsep.c: New file: strsep benchtest.
49858 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
49859
49860 2013-11-18 Andreas Schwab <schwab@suse.de>
49861
49862 * locale/programs/locale.c (show_info) [case byte]: Check for
49863 '\377' instead of '\177'.
49864 * locale/C-monetary.c (not_available): Always use "\377".
49865 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
49866 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
49867 detect unavailable sign_posn locale elements.
49868 * locale/localeconv.c (__localeconv): For grouping and
49869 mon_grouping handle "\177" and "\377" like no grouping.
49870 (INT_ELEM): New macro. Use it to set all numeric members.
49871 * locale/programs/ld-monetary.c (monetary_read)
49872 <tok_mon_grouping>: Normalize single -1 to the empty string.
49873 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
49874 Likewise.
49875
49876 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
49877
49878 [BZ #16055]
49879 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
49880 when we match (nil).
49881 * stdio-common/tst-sscanf.c (struct test): Add testcase.
49882
49883 2013-11-16 Joseph Myers <joseph@codesourcery.com>
49884
49885 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
49886 (NO_TEST_INLINE): Update value.
49887 (ERRNO_UNCHANGED): Likewise.
49888 (ERRNO_EDOM): Likewise.
49889 (ERRNO_ERANGE): Likewise.
49890 (IGNORE_RESULT): Likewise.
49891 (check_float_internal): Check signs of NaN results if
49892 TEST_NAN_SIGN used.
49893 (check_complex): Pass TEST_NAN_SIGN flag through to second
49894 check_float_internal call.
49895 (copysign_test_data): Add tests with quiet NaNs as second
49896 argument. Use TEST_NAN_SIGN.
49897 (fabs_test_data): Add test of negative quiet NaN argument. Use
49898 TEST_NAN_SIGN.
49899 (signbit_test_data): Add tests of quiet NaN argument.
49900 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
49901
49902 * math/gen-libm-test.pl (show_exceptions): Take extra argument
49903 $ignore_result.
49904 (parse_args): Handle function results specified as IGNORE.
49905 * math/libm-test.inc (IGNORE_RESULT): New macro.
49906 (check_float_internal): Do not check numerical result if flag
49907 IGNORE_RESULT set.
49908 (check_complex): Pass through IGNORE_RESULT to second
49909 check_float_internal call.
49910 (check_int): Do not check numerical result if flag IGNORE_RESULT
49911 set.
49912 (check_long): Likewise.
49913 (check_bool): Likewise.
49914 (check_longlong): Likewise.
49915 (lrint_test_data): Add tests of infinite and NaN arguments.
49916 (lrint_tonearest_test_data): Likewise.
49917 (lrint_towardzero_test_data): Likewise.
49918 (lrint_downward_test_data): Likewise.
49919 (lrint_upward_test_data): Likewise.
49920 (llrint_test_data): Likewise.
49921 (llrint_tonearest_test_data): Likewise.
49922 (llrint_towardzero_test_data): Likewise.
49923 (llrint_downward_test_data): Likewise.
49924 (llrint_upward_test_data): Likewise.
49925 (lround_test_data): Likewise.
49926 (llround_test_data): Likewise.
49927
49928 * math/libm-test.inc (NO_TEST_INLINE): New macro.
49929 (ERRNO_UNCHANGED): Update value.
49930 (ERRNO_EDOM): Likewise.
49931 (ERRNO_ERANGE): Likewise.
49932 (NO_TEST_INLINE_FLOAT): New macro.
49933 (NO_TEST_INLINE_DOUBLE): Likewise.
49934 (enable_test): New function.
49935 (RUN_TEST_f_f): Check enable_test before running test.
49936 (RUN_TEST_2_f): Likewise.
49937 (RUN_TEST_fff_f): Likewise.
49938 (RUN_TEST_c_f): Likewise.
49939 (RUN_TEST_f_f1): Likewise.
49940 (RUN_TEST_fF_f1): Likewise.
49941 (RUN_TEST_fI_f1): Likewise.
49942 (RUN_TEST_ffI_f1): Likewise.
49943 (RUN_TEST_c_c): Likewise.
49944 (RUN_TEST_cc_c): Likewise.
49945 (RUN_TEST_f_i): Likewise.
49946 (RUN_TEST_f_i_tg): Likewise.
49947 (RUN_TEST_ff_i_tg): Likewise.
49948 (RUN_TEST_f_b): Likewise.
49949 (RUN_TEST_f_b_tg): Likewise.
49950 (RUN_TEST_f_l): Likewise.
49951 (RUN_TEST_f_L): Likewise.
49952 (RUN_TEST_fFF_11): Likewise.
49953 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
49954 conditionals.
49955 (cosh_test_data): Likewise.
49956 (exp_test_data): Likewise.
49957 (expm1_test_data): Likewise.
49958 (hypot_test_data): Likewise.
49959 (pow_test_data): Likewise.
49960 (sinh_test_data): Likewise.
49961 (tanh_test_data): Likewise.
49962 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
49963 flags argument.
49964
49965 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
49966 tests with quiet NaN input and output.
49967 (acosh_test_data): Likewise.
49968 (asin_test_data): Likewise.
49969 (asinh_test_data): Likewise.
49970 (atan_test_data): Likewise.
49971 (atanh_test_data): Likewise.
49972 (atan2_test_data): Likewise.
49973 (cbrt_test_data): Likewise.
49974 (cos_test_data): Likewise.
49975 (cosh_test_data): Likewise.
49976 (erf_test_data): Likewise.
49977 (erfc_test_data): Likewise.
49978 (exp_test_data): Likewise.
49979 (exp10_test_data): Likewise.
49980 (exp2_test_data): Likewise.
49981 (expm1_test_data): Likewise.
49982 (hypot_test_data): Likewise.
49983 (j0_test_data): Likewise.
49984 (j1_test_data): Likewise.
49985 (jn_test_data): Likewise.
49986 (lgamma_test_data): Likewise.
49987 (log_test_data): Likewise.
49988 (log10_test_data): Likewise.
49989 (log1p_test_data): Likewise.
49990 (log2_test_data): Likewise.
49991 (pow_test_data): Likewise.
49992 (scalb_test_data): Likewise.
49993 (sin_test_data): Likewise.
49994 (sincos_test_data): Likewise.
49995 (sinh_test_data): Likewise.
49996 (tan_test_data): Likewise.
49997 (tanh_test_data): Likewise.
49998 (tgamma_test_data): Likewise.
49999 (y0_test_data): Likewise.
50000 (y1_test_data): Likewise.
50001 (yn_test_data): Likewise.
50002
50003 [BZ #16167]
50004 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50005 argument being NaN and avoid computations with second argument in
50006 that case.
50007 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50008 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50009 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50010
50011 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
50012
50013 * locale/iso-639.def: Add Chitwani Tharu (the).
50014
50015 2013-11-14 Andreas Schwab <schwab@suse.de>
50016
50017 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50018 word instead of empty string.
50019
50020 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50021
50022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50023 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50025 (__fe_nomask_env): Likewise.
50026
50027 2013-11-13 Steve Ellcey <sellcey@mips.com>
50028
50029 * benchtests/bench-timing.h: Include time.h.
50030
50031 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
50032
50033 [BZ #15997]
50034 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50035 to 3.4.0 for x32.
50036 * sysdeps/unix/sysv/linux/configure: Regenerated.
50037
50038 2013-11-13 Joseph Myers <joseph@codesourcery.com>
50039
50040 [BZ #16151]
50041 * stdlib/strtod_l.c (round_and_return): Do not consider
50042 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50043 exponent one less than half the least subnormal exponent.
50044 * stdlib/test-strtod-round-data: Add more tests.
50045 * stdlib/tst-strtod-round.c (tests): Regenerated.
50046
50047 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50048
50049 [BZ #14143]
50050 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50051 (__fe_mask_env): Likewise.
50052 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50053 libm_hidden_proto and add function prototype.
50054 (__fe_mask_env): Add function prototype.
50055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50056 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50058 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50060 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50061
50062 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50063
50064 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50065 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50066
50067 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50068
50069 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50070 of htab_find_slot().
50071
50072 2013-11-11 David S. Miller <davem@davemloft.net>
50073
50074 [BZ #16150]
50075 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50076 symbol in the non-vis3 case in static builds.
50077 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50078 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50079 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50080 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50081
50082 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
50083
50084 [BZ #387]
50085 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50086 it is empty.
50087
50088 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50089
50090 * benchtests/Makefile: Add bench-strtod.
50091 * benchtests/bench-strtod.c: New file: strtod benchtest
50092
50093 2013-11-11 Andreas Schwab <schwab@suse.de>
50094
50095 [BZ #16153]
50096 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50097 terminating NUL in key length.
50098
50099 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50100
50101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50102 Add artificial ODP entry for vDSO symbol for PPC64.
50103 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50104 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50105
50106 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50107
50108 [BZ #15374]
50109 * nss/getent.c (services_keys): Recognize services starting with digit.
50110
50111 2013-11-06 David S. Miller <davem@davemloft.net>
50112
50113 [BZ #15985]
50114 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50115 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50116
50117 2013-11-06 Will Newton <will.newton@linaro.org>
50118
50119 * manual/memory.texi (Malloc Examples): Remove register
50120 keyword from examples.
50121
50122 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
50123
50124 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50125
50126 2013-11-04 Joseph Myers <joseph@codesourcery.com>
50127
50128 [BZ #6981]
50129 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50130 depending on [__GCC_IEC_559 > 0].
50131 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50132 depending on [__GCC_IEC_559_COMPLEX > 0].
50133
50134 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
50135
50136 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50137 to iso-639.def.
50138
50139 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
50140
50141 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50142
50143 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
50144
50145 [BZ #16112]
50146 * malloc/malloc (malloc_info): Do not handle first bin as
50147 special case.
50148
50149 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
50150
50151 * locale/iso-639.def: Add Central Nahuatl (nhn).
50152
50153 2013-11-01 Bruno Haible <bruno@clisp.org>
50154
50155 [BZ #7003]
50156 * manual/math.texi (BSD Random): Specify range upper bound as
50157 in POSIX.
50158
50159 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
50160
50161 * locale/iso-639.def: Add Meadow Mari (mhr).
50162
50163 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
50164
50165 [BZ #14752], [BZ #15763]
50166 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50167 Validate name.
50168 * rt/tst_shm.c: Add test for escaping directory.
50169
50170 2013-10-31 Andreas Schwab <schwab@suse.de>
50171
50172 [BZ #15917]
50173 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50174 followed by 'x' as part of digit sequence.
50175 * stdio-common/tst-sscanf.c (double_tests2): New tests.
50176
50177 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50178
50179 [BZ #16037]
50180 * configure.ac: allow GNU Make 4.0 and greater.
50181 * configure: Regenerated.
50182
50183 2013-10-30 Will Newton <will.newton@linaro.org>
50184
50185 [BZ #16038]
50186 * malloc/hooks.c (memalign_check): Limit alignment to the
50187 maximum representable power of two.
50188 * malloc/malloc.c (__libc_memalign): Likewise.
50189 * malloc/tst-memalign.c (do_test): Add test for very
50190 large alignment values.
50191 * malloc/tst-posix_memalign.c (do_test): Likewise.
50192
50193 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50194
50195 [BZ #11087]
50196 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
50197 (munmap_chunk): Likewise.
50198 (mremap_chunk): Likewise.
50199
50200 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50201
50202 [BZ #15799]
50203 * stdlib/div.c (div): Remove obsolete code.
50204 * stdlib/ldiv.c (ldiv): Likewise.
50205 * stdlib/lldiv.c (lldiv): Likewise.
50206
50207 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50208
50209 [BZ #16071]
50210 * nss/nss_files/files-XXX.c (get_contents_ret): New
50211 enumerator.
50212 (get_contents): New function.
50213 (internal_getent): Use it. Expand size of LINEBUFLEN.
50214
50215 2013-10-30 Mike Frysinger <vapier@gentoo.org>
50216
50217 * configure.in: Moved to ...
50218 * configure.ac: ... here. Change reference to configure.in
50219 to configure.ac.
50220 * sysdeps/arm/preconfigure.ac: ... here.
50221 configure.in to configure.ac.
50222 * sysdeps/gnu/configure.in: Moved to ...
50223 * sysdeps/gnu/configure.ac: ... here.
50224 * sysdeps/i386/configure.in: Moved to ...
50225 * sysdeps/i386/configure.ac: ... here.
50226 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
50227 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
50228 * sysdeps/mach/configure.in: Moved to ...
50229 * sysdeps/mach/configure.ac: ... here.
50230 * sysdeps/mach/hurd/configure.in: Moved to ...
50231 * sysdeps/mach/hurd/configure.ac: ... here.
50232 * sysdeps/powerpc/configure.in: Moved to ...
50233 * sysdeps/powerpc/configure.ac: ... here.
50234 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
50235 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
50236 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
50237 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
50238 * sysdeps/s390/s390-32/configure.in: Moved to ...
50239 * sysdeps/s390/s390-32/configure.ac: ... here.
50240 * sysdeps/s390/s390-64/configure.in: Moved to ...
50241 * sysdeps/s390/s390-64/configure.ac: ... here.
50242 * sysdeps/sh/configure.in: Moved to ...
50243 * sysdeps/sh/configure.ac: ... here.
50244 * sysdeps/sparc/configure.in: Moved to ...
50245 * sysdeps/sparc/configure.ac: ... here.
50246 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
50247 * sysdeps/unix/sysv/linux/configure.ac: ... here.
50248 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
50249 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
50250 * sysdeps/x86_64/configure.in: Moved to ...
50251 * sysdeps/x86_64/configure.ac: ... here.
50252 * sysdeps/x86_64/preconfigure.in: Moved to ...
50253 * sysdeps/x86_64/preconfigure.ac: ... here.
50254 * aclocal.m4: Change reference to configure.in to configure.ac.
50255 * config.h.in: Likewise.
50256 * manual/install.texi: Likewise.
50257 * manual/maint.texi: Likewise.
50258 * Makefile: Likewise.
50259 * malloc/Makefile: Likewise.
50260 * nscd/Makefile: Likewise.
50261 * Makeconfig: Change reference to configure.in and
50262 preconfigure.in to configure.ac and preconfigure.ac
50263 respectively.
50264 * INSTALL: Regenerated.
50265 * configure: Likewise.
50266 * sysdeps/gnu/configure: Likewise.
50267 * sysdeps/i386/configure: Likewise.
50268 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
50269 * sysdeps/mach/configure: Likewise.
50270 * sysdeps/mach/hurd/configure: Likewise.
50271 * sysdeps/powerpc/configure: Likewise.
50272 * sysdeps/powerpc/powerpc32/configure: Likewise.
50273 * sysdeps/powerpc/powerpc64/configure: Likewise.
50274 * sysdeps/s390/s390-32/configure: Likewise.
50275 * sysdeps/s390/s390-64/configure: Likewise.
50276 * sysdeps/sh/configure: Likewise.
50277 * sysdeps/sparc/configure: Likewise.
50278 * sysdeps/unix/sysv/linux/configure: Likewise.
50279 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
50280 * sysdeps/x86_64/configure: Likewise.
50281 * sysdeps/x86_64/preconfigure: Likewise.
50282
50283 2013-10-29 Andreas Schwab <schwab@suse.de>
50284
50285 * stdio-common/Makefile (tst-swscanf-ENV): Define.
50286
50287 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50288
50289 * benchtests/pow-inputs: Add new inputs.
50290
50291 * benchtests/exp-inputs: Add new inputs.
50292
50293 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
50294 conditional check for return value.
50295 (__cos32): Likewise.
50296
50297 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50298
50299 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
50300 to provide a boost for large inputs with word alignment.
50301 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
50302 implementation based on optimized PPC64 strcpy.
50303 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
50304 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
50305 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
50306 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
50307
50308 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50309
50310 [BZ #2801]
50311 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
50312
50313 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50314
50315 [BZ #14876]
50316 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
50317 * time/tst-strptime.c (day_tests): Add testcase.
50318
50319 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50320
50321 [BZ #14029]
50322 * manual/pattern.texi: Acknowledge that fnmatch can fail.
50323
50324 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
50325
50326 [BZ #16074]
50327 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
50328 MAP_FAILED on error.
50329
50330 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50331
50332 [BZ #16072]
50333 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
50334 heap for large requests.
50335
50336 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
50337
50338 [BZ #9954]
50339 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
50340 result if the result has no associated interface.
50341 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
50342 interface for all 127.X.Y.Z addresses.
50343
50344 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
50345
50346 * locale/iso-639.def: Add Ligurian (lij)
50347
50348 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
50349
50350 [BZ #15825]
50351 * sunrpc/rpc_main.c: Document rpcgen -5.
50352
50353 2013-10-19 Michael Stahl <mstahl@redhat.com>
50354
50355 * elf/rtld.c (do_preload): Print the reason why preloading failed.
50356
50357 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
50358
50359 [BZ #10278]
50360 * posix/glob.c: Match only directories when trailing slash is present.
50361 * posix/tst-gnuglob.c (my_opendir): Do not open files.
50362 (main): Add testcase.
50363
50364 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
50365
50366 [BZ #15670]
50367 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
50368
50369 2013-10-18 Carlos O'Donell <carlos@redhat.com>
50370
50371 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
50372 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
50373 AUTH_DES and cindex for FIPS 140-2.
50374 (DES Encryption): Add cindex FIPS 46-3.
50375
50376 * locale/locarchive.h (struct locarhandle): Add fname.
50377 * locale/programs/localedef.c (main): Pass ARGV[remaining]
50378 if an optional argument was specified to --list-archive,
50379 otherwise NULL.
50380 * locale/programs/locarchive.c (show_archive_content): Take new
50381 argument fname and pass it via ah.fname to open_archive.
50382 * locale/programs/localedef.h: Update decl.
50383 (open_archive): If AH->fname is non-null, open that file
50384 rather than the default file name, and don't ignore ENOENT.
50385 (create_archive): Set AH.fname to NULL.
50386 (delete_locales_from_archive): Likewise.
50387 (add_locales_to_archive): Likewise.
50388 * locale/programs/locfile.c (write_all_categories): Likewise.
50389
50390 2013-10-18 Joseph Myers <joseph@codesourcery.com>
50391 Aldy Hernandez <aldyh@redhat.com>
50392
50393 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
50394 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
50395 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
50396 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
50397 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
50398 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
50399 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
50400 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
50401 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
50402 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
50403 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
50404 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
50405 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
50406 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
50407 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
50408 Likewise.
50409 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
50410 Likewise.
50411 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
50412 Likewise.
50413 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
50414 Likewise.
50415 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
50416 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
50417 Likewise.
50418 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
50419 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
50420 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
50421 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
50422 Likewise.
50423 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
50424 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
50425 * sysdeps/powerpc/preconfigure: Likewise.
50426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
50427 Likewise.
50428 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
50429 Replace contents of file by #include of <fenv_libc.h>.
50430 * sysdeps/powerpc/soft-fp/sfp-machine.h
50431 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
50432 and <sys/prctl.h>.
50433 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
50434 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
50435 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
50436 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
50437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
50438 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
50439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
50440 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
50441 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
50442 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
50443 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
50444 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
50445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50446 Allow copysignl PLT reference to be missing.
50447
50448 2013-10-18 Richard Sandiford <richard@codesourcery.com>
50449 Joseph Myers <joseph@codesourcery.com
50450
50451 [BZ #15948]
50452 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
50453 single character.
50454 (add_to_tablewc): Assert sequence of wide characters is nonempty.
50455
50456 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
50457
50458 * elf/tst-tls-dlinfo.c: Don't include tls.h.
50459 * elf/tst-tls1.c: Likewise.
50460 * elf/tst-tls10.h: Likewise.
50461 * elf/tst-tls14.c: Likewise.
50462 * elf/tst-tls2.c: Likewise.
50463 * elf/tst-tls3.c: Likewise.
50464 * elf/tst-tls4.c: Likewise.
50465 * elf/tst-tls5.c: Likewise.
50466 * elf/tst-tls6.c: Likewise.
50467 * elf/tst-tls7.c: Likewise.
50468 * elf/tst-tls8.c: Likewise.
50469 * elf/tst-tls9.c: Likewise.
50470 * elf/tst-tlsmod1.c: Likewise.
50471 * elf/tst-tlsmod13.c: Likewise.
50472 * elf/tst-tlsmod13a.c: Likewise.
50473 * elf/tst-tlsmod14a.c: Likewise.
50474 * elf/tst-tlsmod16a.c: Likewise.
50475 * elf/tst-tlsmod16b.c: Likewise.
50476 * elf/tst-tlsmod2.c: Likewise.
50477 * elf/tst-tlsmod3.c: Likewise.
50478 * elf/tst-tlsmod4.c: Likewise.
50479 * elf/tst-tlsmod5.c: Likewise.
50480 * elf/tst-tlsmod6.c: Likewise.
50481
50482 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
50483
50484 [BZ #12486]
50485 * malloc/malloc.c: remove checks for statistics.
50486
50487 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
50488
50489 [BZ #15277]
50490 * inet/inet_net.c (inet_network): Detect additional invalid strings.
50491 * inet/tst-network.c: Add testcase.
50492
50493 2013-10-17 Andreas Schwab <schwab@suse.de>
50494
50495 [BZ #15218]
50496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
50497 to determine canonical name.
50498
50499 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
50500
50501 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
50502 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
50503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50504 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50506 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50507 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50508 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50509 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50510 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50511 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50512 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50513 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50514 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50515 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50516 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50518 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50519 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50520 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50521 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50523 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50524 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
50525 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
50526 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50527 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50528 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
50529 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50530 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
50531 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50532 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50533 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50534 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50535 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50536 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50537 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50538 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50539 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50540 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50541 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50542 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50543 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50544 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50545 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50546 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50547 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50548 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50549 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50550 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50551 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50552 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50553 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50554 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50555 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50556 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50557 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50558 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50559
50560 2013-10-17 Joseph Myers <joseph@codesourcery.com>
50561
50562 [BZ #16041]
50563 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
50564 make result into a quiet NaN.
50565
50566 2013-10-16 Joseph Myers <joseph@codesourcery.com>
50567
50568 * soft-fp/adddf3.c: Fix horizontal whitespace.
50569 * soft-fp/addsf3.c: Likewise.
50570 * soft-fp/addtf3.c: Likewise.
50571 * soft-fp/divdf3.c: Likewise.
50572 * soft-fp/divsf3.c: Likewise.
50573 * soft-fp/divtf3.c: Likewise.
50574 * soft-fp/double.h: Likewise.
50575 * soft-fp/eqdf2.c: Likewise.
50576 * soft-fp/eqsf2.c: Likewise.
50577 * soft-fp/eqtf2.c: Likewise.
50578 * soft-fp/extenddftf2.c: Likewise.
50579 * soft-fp/extended.h: Likewise.
50580 * soft-fp/extendsfdf2.c: Likewise.
50581 * soft-fp/extendsftf2.c: Likewise.
50582 * soft-fp/extendxftf2.c: Likewise.
50583 * soft-fp/fixdfdi.c: Likewise.
50584 * soft-fp/fixdfsi.c: Likewise.
50585 * soft-fp/fixdfti.c: Likewise.
50586 * soft-fp/fixsfdi.c: Likewise.
50587 * soft-fp/fixsfsi.c: Likewise.
50588 * soft-fp/fixsfti.c: Likewise.
50589 * soft-fp/fixtfdi.c: Likewise.
50590 * soft-fp/fixtfsi.c: Likewise.
50591 * soft-fp/fixtfti.c: Likewise.
50592 * soft-fp/fixunsdfdi.c: Likewise.
50593 * soft-fp/fixunsdfsi.c: Likewise.
50594 * soft-fp/fixunsdfti.c: Likewise.
50595 * soft-fp/fixunssfdi.c: Likewise.
50596 * soft-fp/fixunssfsi.c: Likewise.
50597 * soft-fp/fixunssfti.c: Likewise.
50598 * soft-fp/fixunstfdi.c: Likewise.
50599 * soft-fp/fixunstfsi.c: Likewise.
50600 * soft-fp/fixunstfti.c: Likewise.
50601 * soft-fp/floatdidf.c: Likewise.
50602 * soft-fp/floatdisf.c: Likewise.
50603 * soft-fp/floatditf.c: Likewise.
50604 * soft-fp/floatsidf.c: Likewise.
50605 * soft-fp/floatsisf.c: Likewise.
50606 * soft-fp/floatsitf.c: Likewise.
50607 * soft-fp/floattidf.c: Likewise.
50608 * soft-fp/floattisf.c: Likewise.
50609 * soft-fp/floattitf.c: Likewise.
50610 * soft-fp/floatundidf.c: Likewise.
50611 * soft-fp/floatundisf.c: Likewise.
50612 * soft-fp/floatunditf.c: Likewise.
50613 * soft-fp/floatunsidf.c: Likewise.
50614 * soft-fp/floatunsisf.c: Likewise.
50615 * soft-fp/floatunsitf.c: Likewise.
50616 * soft-fp/floatuntidf.c: Likewise.
50617 * soft-fp/floatuntisf.c: Likewise.
50618 * soft-fp/floatuntitf.c: Likewise.
50619 * soft-fp/fmadf4.c: Likewise.
50620 * soft-fp/fmasf4.c: Likewise.
50621 * soft-fp/fmatf4.c: Likewise.
50622 * soft-fp/gedf2.c: Likewise.
50623 * soft-fp/gesf2.c: Likewise.
50624 * soft-fp/getf2.c: Likewise.
50625 * soft-fp/ledf2.c: Likewise.
50626 * soft-fp/lesf2.c: Likewise.
50627 * soft-fp/letf2.c: Likewise.
50628 * soft-fp/muldf3.c: Likewise.
50629 * soft-fp/mulsf3.c: Likewise.
50630 * soft-fp/multf3.c: Likewise.
50631 * soft-fp/negdf2.c: Likewise.
50632 * soft-fp/negsf2.c: Likewise.
50633 * soft-fp/negtf2.c: Likewise.
50634 * soft-fp/op-1.h: Likewise.
50635 * soft-fp/op-2.h: Likewise.
50636 * soft-fp/op-4.h: Likewise.
50637 * soft-fp/op-8.h: Likewise.
50638 * soft-fp/op-common.h: Likewise.
50639 * soft-fp/quad.h: Likewise.
50640 * soft-fp/single.h: Likewise.
50641 * soft-fp/soft-fp.h: Likewise.
50642 * soft-fp/sqrtdf2.c: Likewise.
50643 * soft-fp/sqrtsf2.c: Likewise.
50644 * soft-fp/sqrttf2.c: Likewise.
50645 * soft-fp/subdf3.c: Likewise.
50646 * soft-fp/subsf3.c: Likewise.
50647 * soft-fp/subtf3.c: Likewise.
50648 * soft-fp/truncdfsf2.c: Likewise.
50649 * soft-fp/trunctfdf2.c: Likewise.
50650 * soft-fp/trunctfsf2.c: Likewise.
50651 * soft-fp/trunctfxf2.c: Likewise.
50652 * soft-fp/unorddf2.c: Likewise.
50653 * soft-fp/unordsf2.c: Likewise.
50654 * soft-fp/unordtf2.c: Likewise.
50655
50656 2013-10-15 Joseph Myers <joseph@codesourcery.com>
50657
50658 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
50659 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
50660
50661 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
50662
50663 * elf/dl-libc.c: Clear initfini list after freeing.
50664
50665 2013-10-14 Joseph Myers <joseph@codesourcery.com>
50666
50667 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
50668 * soft-fp/addsf3.c: Likewise.
50669 * soft-fp/addtf3.c: Likewise.
50670 * soft-fp/divdf3.c: Likewise.
50671 * soft-fp/divsf3.c: Likewise.
50672 * soft-fp/divtf3.c: Likewise.
50673 * soft-fp/double.h: Likewise.
50674 * soft-fp/eqdf2.c: Likewise.
50675 * soft-fp/eqsf2.c: Likewise.
50676 * soft-fp/eqtf2.c: Likewise.
50677 * soft-fp/extenddftf2.c: Likewise.
50678 * soft-fp/extended.h: Likewise.
50679 * soft-fp/extendsfdf2.c: Likewise.
50680 * soft-fp/extendsftf2.c: Likewise.
50681 * soft-fp/extendxftf2.c: Likewise.
50682 * soft-fp/fixdfdi.c: Likewise.
50683 * soft-fp/fixdfsi.c: Likewise.
50684 * soft-fp/fixdfti.c: Likewise.
50685 * soft-fp/fixsfdi.c: Likewise.
50686 * soft-fp/fixsfsi.c: Likewise.
50687 * soft-fp/fixsfti.c: Likewise.
50688 * soft-fp/fixtfdi.c: Likewise.
50689 * soft-fp/fixtfsi.c: Likewise.
50690 * soft-fp/fixtfti.c: Likewise.
50691 * soft-fp/fixunsdfdi.c: Likewise.
50692 * soft-fp/fixunsdfsi.c: Likewise.
50693 * soft-fp/fixunsdfti.c: Likewise.
50694 * soft-fp/fixunssfdi.c: Likewise.
50695 * soft-fp/fixunssfsi.c: Likewise.
50696 * soft-fp/fixunssfti.c: Likewise.
50697 * soft-fp/fixunstfdi.c: Likewise.
50698 * soft-fp/fixunstfsi.c: Likewise.
50699 * soft-fp/fixunstfti.c: Likewise.
50700 * soft-fp/floatdidf.c: Likewise.
50701 * soft-fp/floatdisf.c: Likewise.
50702 * soft-fp/floatditf.c: Likewise.
50703 * soft-fp/floatsidf.c: Likewise.
50704 * soft-fp/floatsisf.c: Likewise.
50705 * soft-fp/floatsitf.c: Likewise.
50706 * soft-fp/floattidf.c: Likewise.
50707 * soft-fp/floattisf.c: Likewise.
50708 * soft-fp/floattitf.c: Likewise.
50709 * soft-fp/floatundidf.c: Likewise.
50710 * soft-fp/floatundisf.c: Likewise.
50711 * soft-fp/floatunsidf.c: Likewise.
50712 * soft-fp/floatunsisf.c: Likewise.
50713 * soft-fp/floatuntidf.c: Likewise.
50714 * soft-fp/floatuntisf.c: Likewise.
50715 * soft-fp/floatuntitf.c: Likewise.
50716 * soft-fp/fmadf4.c: Likewise.
50717 * soft-fp/fmasf4.c: Likewise.
50718 * soft-fp/fmatf4.c: Likewise.
50719 * soft-fp/gedf2.c: Likewise.
50720 * soft-fp/gesf2.c: Likewise.
50721 * soft-fp/getf2.c: Likewise.
50722 * soft-fp/ledf2.c: Likewise.
50723 * soft-fp/lesf2.c: Likewise.
50724 * soft-fp/letf2.c: Likewise.
50725 * soft-fp/muldf3.c: Likewise.
50726 * soft-fp/mulsf3.c: Likewise.
50727 * soft-fp/multf3.c: Likewise.
50728 * soft-fp/negdf2.c: Likewise.
50729 * soft-fp/negsf2.c: Likewise.
50730 * soft-fp/negtf2.c: Likewise.
50731 * soft-fp/op-1.h: Likewise.
50732 * soft-fp/op-2.h: Likewise.
50733 * soft-fp/op-4.h: Likewise.
50734 * soft-fp/op-8.h: Likewise.
50735 * soft-fp/op-common.h: Likewise.
50736 * soft-fp/quad.h: Likewise.
50737 * soft-fp/single.h: Likewise.
50738 * soft-fp/soft-fp.h: Likewise.
50739 * soft-fp/sqrtdf2.c: Likewise.
50740 * soft-fp/sqrtsf2.c: Likewise.
50741 * soft-fp/sqrttf2.c: Likewise.
50742 * soft-fp/subdf3.c: Likewise.
50743 * soft-fp/subsf3.c: Likewise.
50744 * soft-fp/subtf3.c: Likewise.
50745 * soft-fp/truncdfsf2.c: Likewise.
50746 * soft-fp/trunctfdf2.c: Likewise.
50747 * soft-fp/trunctfsf2.c: Likewise.
50748 * soft-fp/trunctfxf2.c: Likewise.
50749 * soft-fp/unorddf2.c: Likewise.
50750 * soft-fp/unordsf2.c: Likewise.
50751 * soft-fp/unordtf2.c: Likewise.
50752
50753 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
50754
50755 [BZ #15672]
50756 * misc/error.c (error_tail): Fix possible buffer overflow.
50757
50758 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
50759
50760 [BZ #13028]
50761 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
50762 address.
50763
50764 2013-10-14 P. J. McDermott <pj@pehjota.net>
50765
50766 [BZ #832]
50767 * elf/ldd.bash.in (try_trace): New function. Delete previous code
50768 testing pipefail option.
50769
50770 2013-10-12 Joseph Myers <joseph@codesourcery.com>
50771
50772 * soft-fp/double.h: Indent preprocessor directives inside #if.
50773 * soft-fp/extended.h: Likewise.
50774 * soft-fp/op-2.h: Likewise.
50775 * soft-fp/op-4.h: Likewise.
50776 * soft-fp/op-common.h: Likewise.
50777 * soft-fp/quad.h: Likewise.
50778 * soft-fp/single.h: Likewise.
50779 * soft-fp/soft-fp.h: Likewise.
50780
50781 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
50782
50783 * iconv/iconv_prog.c: Fix typos.
50784 * stdio-common/psiginfo-data.h: Likewise.
50785
50786 2013-10-12 Reuben Thomas <rrt@sc3d.org>
50787
50788 [BZ #15764]
50789 * locale/setlocale.c: Fix typo.
50790
50791 2013-10-12 Joseph Myers <joseph@codesourcery.com>
50792
50793 [BZ #16036]
50794 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
50795 signaling NaN arguments.
50796 * soft-fp/unordsf2.c (__unordsf2): Likewise.
50797 * soft-fp/unordtf2.c (__unordtf2): Likewise.
50798
50799 [BZ #14910]
50800 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
50801 unordered operands.
50802 * soft-fp/gesf2.c (__gesf2): Likewise.
50803 * soft-fp/getf2.c (__getf2): Likewise.
50804 * soft-fp/ledf2.c (__ledf2): Likewise.
50805 * soft-fp/lesf2.c (__lesf2): Likewise.
50806 * soft-fp/letf2.c (__letf2): Likewise.
50807
50808 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
50809 * soft-fp/eqsf2.c (__eqsf2): Likewise.
50810 * soft-fp/eqtf2.c (__eqtf2): Likewise.
50811 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
50812 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
50813 * soft-fp/fixdfti.c (__fixdfti): Likewise.
50814 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
50815 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
50816 * soft-fp/fixsfti.c (__fixsfti): Likewise.
50817 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
50818 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
50819 * soft-fp/fixtfti.c (__fixtfti): Likewise.
50820 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
50821 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
50822 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
50823 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
50824 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
50825 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
50826 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
50827 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
50828 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
50829 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
50830 * soft-fp/floatdisf.c (__floatdisf): Likewise.
50831 * soft-fp/floatsisf.c (__floatsisf): Likewise.
50832 * soft-fp/floattidf.c (__floattidf): Likewise.
50833 * soft-fp/floattisf.c (__floattisf): Likewise.
50834 * soft-fp/floattitf.c (__floattitf): Likewise.
50835 * soft-fp/floatundidf.c (__floatundidf): Likewise.
50836 * soft-fp/floatundisf.c (__floatundisf): Likewise.
50837 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
50838 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
50839 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
50840 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
50841 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
50842 * soft-fp/gesf2.c (__gesf2): Likewise.
50843 * soft-fp/getf2.c (__getf2): Likewise.
50844 * soft-fp/ledf2.c (__ledf2): Likewise.
50845 * soft-fp/lesf2.c (__lesf2): Likewise.
50846 * soft-fp/letf2.c (__letf2): Likewise.
50847
50848 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
50849 Undefine and redefine.
50850 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
50851 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
50852 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
50853 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
50854 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50855 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
50856 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50857 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
50858 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50859 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
50860 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50861 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
50862 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50863 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
50864 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50865
50866 [BZ #16032]
50867 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
50868 without decrementing exponent if mantissa >= that for the
50869 denominator, not >.
50870 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
50871 denominator, not >. Decrement exponent in < case instead of
50872 incrementing in >= case.
50873 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
50874 without decrementing exponent if mantissa >= that for the
50875 denominator, not >.
50876
50877 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
50878 computing saturated result for unsigned overflow.
50879
50880 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50881 Jeff Law <law@redhat.com>
50882
50883 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
50884 (atan2Mp): Add systemtap probe marker.
50885 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
50886 (__ieee754_log): Add systemtap probe marker.
50887 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
50888 (atanMp): Add systemtap probe marker.
50889 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
50890 (tanMp): Add systemtap probe marker.
50891 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
50892 (__slowexp): Add systemtap probe marker.
50893 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
50894 (__slowpow): Add systemtap probe marker.
50895 * manual/probes.texi: Document probes.
50896
50897 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
50898
50899 [BZ #15362]
50900 * libio/fileops.c (_IO_new_file_write): Return count of bytes
50901 written.
50902 (_IO_new_file_xsputn): Don't return EOF if nothing has been
50903 written.
50904 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
50905 written to buffer but not flushed.
50906 * libio/iofwrite_u.c: Likewise.
50907 * libio/iopadn.c: Return bytes returned even if EOF was
50908 encountered.
50909 * libio/iowpadn.c: Likewise.
50910 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
50911 if _IO_padn does not write the whole buffer.
50912 [!COMPILE_WPRINTF] (PAD): Likewise.
50913
50914 2013-10-10 David S. Miller <davem@davemloft.net>
50915
50916 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
50917 directory block.
50918
50919 2013-10-10 Joseph Myers <joseph@codesourcery.com>
50920
50921 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
50922 instead of FSF address.
50923 * soft-fp/fixdfti.c: Likewise.
50924 * soft-fp/fixsfti.c: Likewise.
50925 * soft-fp/fixtfti.c: Likewise.
50926 * soft-fp/fixunsdfti.c: Likewise.
50927 * soft-fp/fixunssfti.c: Likewise.
50928 * soft-fp/fixunstfti.c: Likewise.
50929 * soft-fp/floattidf.c: Likewise.
50930 * soft-fp/floattisf.c: Likewise.
50931 * soft-fp/floattitf.c: Likewise.
50932 * soft-fp/floatuntidf.c: Likewise.
50933 * soft-fp/floatuntisf.c: Likewise.
50934 * soft-fp/floatuntitf.c: Likewise.
50935 * soft-fp/trunctfxf2.c: Likewise.
50936
50937 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
50938 * soft-fp/fixdfti.c: Likewise.
50939 * soft-fp/fixsfti.c: Likewise.
50940 * soft-fp/fixtfti.c: Likewise.
50941 * soft-fp/fixunsdfti.c: Likewise.
50942 * soft-fp/fixunssfti.c: Likewise.
50943 * soft-fp/fixunstfti.c: Likewise.
50944 * soft-fp/floattidf.c: Likewise.
50945 * soft-fp/floattisf.c: Likewise.
50946 * soft-fp/floattitf.c: Likewise.
50947 * soft-fp/floatuntidf.c: Likewise.
50948 * soft-fp/floatuntisf.c: Likewise.
50949 * soft-fp/floatuntitf.c: Likewise.
50950 * soft-fp/trunctfxf2.c: Likewise.
50951
50952 2013-10-10 David S. Miller <davem@davemloft.net>
50953
50954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50955
50956 2013-10-10 Joseph Myers <joseph@codsourcery.com>
50957
50958 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
50959 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
50960 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
50961 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
50962 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
50963 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
50964 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
50965
50966 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
50967 for NaNs before doing comparisons on argument.
50968 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
50969 Likewise.
50970
50971 2013-10-10 Will Newton <will.newton@linaro.org>
50972
50973 * malloc/hooks.c (memalign_check): Ensure the value of bytes
50974 passed to _int_memalign does not overflow.
50975
50976 2013-10-10 Torvald Riegel <triegel@redhat.com>
50977
50978 * scripts/bench.pl: Add include-sources directive.
50979 * benchtests/README: Update documentation.
50980
50981 2013-10-10 Joseph Myers <joseph@codesourcery.com>
50982
50983 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
50984 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
50985 instead of FP_INIT_ROUNDMODE.
50986 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
50987 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
50988
50989 [BZ #16034]
50990 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
50991 copy class of input value.
50992 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
50993 not handle exceptions.
50994 * soft-fp/negsf2.c (__negsf2): Likewise.
50995 * soft-fp/negtf2.c (__negtf2): Likewise.
50996 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
50997
50998 2013-10-09 Joseph Myers <joseph@codesourcery.com>
50999
51000 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51001 semicolon. From Linux kernel.
51002
51003 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
51004
51005 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51006
51007 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
51008
51009 [BZ #156]
51010 * manual/socket.texi: Added statement about buffer
51011 for gethostbyname2_r.
51012
51013 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
51014
51015 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51016 Use .p2align directive instead, throughout.
51017 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51018 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51019 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51020 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51021 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51022 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51023 * sysdeps/x86_64/strchr.S: Likewise.
51024 * sysdeps/x86_64/strrchr.S: Likewise.
51025
51026 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
51027
51028 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51029
51030 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51031
51032 * sysdeps/generic/math_private.h (__mpsin1): Remove
51033 declaration.
51034 (__mpcos1): Likewise.
51035 (__mpsin): New argument __range_reduce.
51036 (__mpcos): Likewise.
51037 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51038 (slow): Use __mpsin and __mpcos.
51039 (slow1): Likewise.
51040 (slow2): Likewise.
51041 (sloww): Likewise.
51042 (sloww1): Likewise.
51043 (sloww2): Likewise.
51044 (bsloww): Likewise.
51045 (bsloww1): Likewise.
51046 (bsloww2): Likewise.
51047 (cslow2): Likewise.
51048 (csloww): Likewise.
51049 (csloww1): Likewise.
51050 (csloww2): Likewise.
51051 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51052 range_reduce. Merge in __mpsin1.
51053 (__mpcos): Likewise.
51054 (__mpsin1): Remove.
51055 (__mpcos1): Likewise.
51056
51057 2013-10-07 Joseph Myers <joseph@codesourcery.com>
51058
51059 * locale/loadlocale.c (_nl_intern_locale_data): Use
51060 LOCFILE_ALIGNED_P.
51061 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51062 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51063 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51064 obstack data is appropriately aligned.
51065 (obstack_int32_grow_fast): Likewise.
51066 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51067 * locale/programs/locfile.c (add_locale_uint32): Likewise.
51068 (add_locale_uint32_array): Likewise.
51069
51070 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
51071
51072 * benchtests/Makefile: Remove ARGLIST and RET variables.
51073 ($(objpfx)bench-%.c): Pass only function name to the script.
51074 * benchtests/README: Update documentation.
51075 * benchtests/acos-inputs: Add new directives.
51076 * benchtests/acosh-inputs: Likewise.
51077 * benchtests/asin-inputs: Likewise.
51078 * benchtests/asinh-inputs: Likewise.
51079 * benchtests/atan-inputs: Likewise.
51080 * benchtests/atanh-inputs: Likewise.
51081 * benchtests/cos-inputs: Likewise.
51082 * benchtests/cosh-inputs: Likewise.
51083 * benchtests/exp-inputs: Likewise.
51084 * benchtests/log-inputs: Likewise.
51085 * benchtests/pow-inputs: Likewise.
51086 * benchtests/rint-inputs: Likewise.
51087 * benchtests/sin-inputs: Likewise.
51088 * benchtests/sinh-inputs: Likewise.
51089 * benchtests/tan-inputs: Likewise.
51090 * benchtests/tanh-inputs: Likewise.
51091 * scripts/bench.pl: Add support for new directives.
51092
51093 2013-10-07 Alan Modra <amodra@gmail.com>
51094
51095 * README: Fix careless merge.
51096
51097 2013-10-05 Alan Modra <amodra@gmail.com>
51098
51099 * NEWS: Mention powerpc64le support and bugs fixed.
51100 * README: Both big-endian and little-endian powerpc64 supported.
51101
51102 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
51103
51104 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51105 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51106 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51107 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51108
51109 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
51110
51111 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51112 match prototype.
51113
51114 2013-10-04 Joseph Myers <joseph@codesourcery.com>
51115
51116 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51117 Move -mhard-float appending from
51118 ports/sysdeps/powerpc/powerpc32/Makefile.
51119 [$(with-fp) = yes] (ASFLAGS): Likewise.
51120 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51121 * sysdeps/powerpc/nofpu: Move directory from
51122 ports/sysdeps/powerpc/nofpu.
51123 * sysdeps/powerpc/soft-fp: Move directory from
51124 ports/sysdeps/powerpc/soft-fp.
51125 * sysdeps/powerpc/powerpc32/405: Move directory from
51126 ports/sysdeps/powerpc/powerpc32/405.
51127 * sysdeps/powerpc/powerpc32/440: Move directory from
51128 ports/sysdeps/powerpc/powerpc32/440.
51129 * sysdeps/powerpc/powerpc32/464: Move directory from
51130 ports/sysdeps/powerpc/powerpc32/464.
51131 * sysdeps/powerpc/powerpc32/476: Move directory from
51132 ports/sysdeps/powerpc/powerpc32/476.
51133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51134 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51136 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51138 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51140 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51142 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51143 * README: Update for powerpc-*-linux-gnu software floating point
51144 support in libc.
51145
51146 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51147 case to powerpc/powerpc32*.
51148 * sysdeps/unix/sysv/linux/configure: Regenerated.
51149
51150 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51151 (_FPU_MASK_OM): Define as 0x04.
51152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51154 0x00c10080.
51155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51156 0x0000003c.
51157 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51158
51159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51160 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51161 getcontext_e500.
51162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51163 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51164 setcontext_e500.
51165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51166 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51167 and setcontext_e500.
51168
51169 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
51170
51171 * locale/iso-3166.def: Update iso-1366.def and related occurrences
51172
51173 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
51174
51175 * manual/threads.texi (Default Thread Attributes): Fix typo.
51176
51177 2013-10-04 Will Newton <will.newton@linaro.org>
51178
51179 * malloc/Makefile: Add tst-memalign.
51180 * malloc/tst-memalign.c: New file.
51181
51182 * malloc/tst-posix_memalign.c: Add comments.
51183 (do_test): Add comments and call free on all potentially
51184 allocated pointers. Add space after cast.
51185
51186 * malloc/tst-pvalloc.c: Add comments.
51187 (do_test): Add comments and call free on all potentially
51188 allocated pointers. Remove duplicate check for NULL pointer.
51189 Add space after cast.
51190
51191 * malloc/tst-valloc.c: Add comments.
51192 (do_test): Add comments and call free on all potentially
51193 allocated pointers. Remove duplicate check for NULL pointer.
51194 Add space after cast.
51195
51196 2013-10-04 Alan Modra <amodra@gmail.com>
51197
51198 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51199 Use stdint types in rather than __attribute__((mode())).
51200 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51201
51202 2013-10-04 Alan Modra <amodra@gmail.com>
51203
51204 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51205 Correct handling of unaligned relocs for little-endian.
51206 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51207
51208 2013-10-04 Alan Modra <amodra@gmail.com>
51209
51210 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
51211 * configure: Regenerate.
51212 * nptl/shlib-versions: Powerpc*le starts at 2.18.
51213 * shlib-versions: Likewise.
51214
51215 2013-10-04 Alan Modra <amodra@gmail.com>
51216
51217 * string/tester.c (test_memrchr): Increment reported test cycle.
51218
51219 2013-10-04 Alan Modra <amodra@gmail.com>
51220
51221 * string/test-memcpy.c (do_one_test): When reporting errors, print
51222 string address and don't overrun end of string.
51223
51224 2013-10-04 Alan Modra <amodra@gmail.com>
51225
51226 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
51227 insrdi. Make better use of reg selection to speed exit slightly.
51228 Schedule entry path a little better. Remove useless "are we done"
51229 checks on entry to main loop. Handle wrapping around zero address.
51230 Correct main loop count. Handle single left-over word from main
51231 loop inline rather than by using loop_small. Remove extra word
51232 case in loop_small caused by wrong loop count. Add little-endian
51233 support.
51234 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51235 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
51236 cache hint.
51237 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51238 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
51239 support. Avoid rlwimi.
51240 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
51241
51242 2013-10-04 Alan Modra <amodra@gmail.com>
51243
51244 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
51245 insrdi. Formatting.
51246 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
51247 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51248 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
51249 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51250 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51251 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
51252
51253 2013-10-04 Alan Modra <amodra@gmail.com>
51254
51255 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
51256 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51257 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
51258 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
51259 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51260 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51261 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51262 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51263 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
51264 use of regs. Use power7 mtocrf. Tidy function tails.
51265
51266 2013-10-04 Alan Modra <amodra@gmail.com>
51267
51268 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
51269 Formatting. Consistently use rXXX register defines or rN defines.
51270 Use early exit labels that avoid restoring unused non-volatile regs.
51271 Make cr field use more consistent with rWORDn compares. Rename
51272 regs used as shift registers for unaligned loop, using rN defines
51273 for short lifetime/multiple use regs.
51274 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51275 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
51276 addi 1,1,64 to pop stack frame. Simplify return value code.
51277 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51278
51279 2013-10-04 Alan Modra <amodra@gmail.com>
51280
51281 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
51282 support. Correct typos, formatting. Optimize tail. Use insrdi
51283 rather than rlwimi.
51284 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
51285 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
51286 little-endian support. Correct typos.
51287 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
51288 rather than rlwimi.
51289 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
51290 in loop and entry code to keep "and." results.
51291 (strchr): Add little-endian support. Comment. Move cntlzd
51292 earlier in tail.
51293 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
51294
51295 2013-10-04 Alan Modra <amodra@gmail.com>
51296
51297 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
51298 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
51299 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
51300 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
51301
51302 2013-10-04 Alan Modra <amodra@gmail.com>
51303
51304 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
51305 (rTMP): Define as r11.
51306 (strcmp): Add little-endian support. Optimise tail.
51307 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
51308 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51309 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51310 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51311 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51312 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51313 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51314
51315 2013-10-04 Alan Modra <amodra@gmail.com>
51316
51317 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
51318 little-endian support. Remove unnecessary "are we done" tests.
51319 Handle "s" wrapping around zero and extremely large "size".
51320 Correct main loop count. Handle single left-over word from main
51321 loop inline rather than by using small_loop. Correct comments.
51322 Delete "zero" tail, use "end_max" instead.
51323 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
51324
51325 2013-10-04 Alan Modra <amodra@gmail.com>
51326
51327 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
51328 support. Don't branch over align.
51329 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
51330 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
51331 support. Rearrange tmp reg use to suit. Comment.
51332 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
51333
51334 2013-10-04 Alan Modra <amodra@gmail.com>
51335
51336 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
51337
51338 2013-10-04 Alan Modra <amodra@gmail.com>
51339
51340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
51341 conditional form of branch and link when obtaining pc.
51342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
51343
51344 2013-10-04 Alan Modra <amodra@gmail.com>
51345
51346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
51347 HIWORD/LOWORD.
51348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
51349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
51350
51351 2013-10-04 Alan Modra <amodra@gmail.com>
51352
51353 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
51354 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
51355 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
51356 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
51357 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51358 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51359 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
51360 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51361 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
51362 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
51363
51364 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51365 Alistair Popple <alistair@ozlabs.au.ibm.com>
51366 Alan Modra <amodra@gmail.com>
51367
51368 [BZ #15723]
51369 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
51370 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
51371 _dl_hwcap access for little-endian.
51372 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
51373 destroy vmx regs when saving unaligned.
51374 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
51375 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
51376 destroy vmx regs when saving unaligned.
51377
51378 2013-10-04 Alan Modra <amodra@gmail.com>
51379
51380 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
51381 Don't use a union to pack hi/low value.
51382
51383 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51384
51385 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
51386 for little-endian.
51387 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51388 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
51389 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51390 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51391 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51392
51393 2013-10-04 Alan Modra <amodra@gmail.com>
51394
51395 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
51396 constants to usual value for .cst8 section, and remove redundant
51397 high address load.
51398 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
51399 constant for 0x1p52. Load little-endian words of double from
51400 correct stack offsets.
51401
51402 2013-10-04 Alan Modra <amodra@gmail.com>
51403
51404 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
51405 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
51406 words of double from correct stack offsets.
51407 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
51408 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
51409 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51410 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51411 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51412 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51413 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51414 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
51415 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
51416 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51417 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51418 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51419 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51420 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51421 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51422 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
51423 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
51424
51425 2013-10-04 Alan Modra <amodra@gmail.com>
51426
51427 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
51428 64-bit int/double union.
51429 (_FPU_SETCW): Likewise.
51430 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
51431 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
51432
51433 2013-10-04 Alan Modra <amodra@gmail.com>
51434
51435 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
51436 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
51437
51438 2013-10-04 Alan Modra <amodra@gmail.com>
51439
51440 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
51441 use vector int constants.
51442 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
51443
51444 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51445
51446 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
51447 array with long long.
51448 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
51449 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
51450 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
51451 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
51452 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
51453 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
51454 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
51455 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
51456 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
51457 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
51458 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
51459 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
51460 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
51461
51462 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51463
51464 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
51465 (__signbit): Likewise. Correct for little-endian.
51466 (__signbitl): Call __signbit.
51467 (lrint): Correct for little-endian.
51468 (lrintf): Call lrint.
51469
51470 2013-10-04 Alan Modra <amodra@gmail.com>
51471
51472 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
51473 union 32-bit int array member with 64-bit int array.
51474 (t515, tm256): Double rather than long double.
51475 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
51476
51477 2013-10-04 Alan Modra <amodra@gmail.com>
51478
51479 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
51480 Delete.
51481 (IEEE854_LONG_DOUBLE_BIAS): Delete.
51482 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
51483 version of math_ldbl.h.
51484
51485 2013-10-04 Alan Modra <amodra@gmail.com>
51486
51487 [BZ #15734], [BZ #15735]
51488 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
51489 all uses of ieee875 long double macros and unions. Simplify test
51490 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
51491 ldbl_extract_mantissa value for ix,iy exponents. Properly
51492 normalize after ldbl_extract_mantissa, and don't add hidden bit
51493 already handled. Don't treat low word of ieee854 mantissa like
51494 low word of IBM long double and mask off bit when testing for
51495 zero.
51496 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
51497 all uses of ieee875 long double macros and unions. Simplify tests
51498 for 0.0L and inf. Correct double adjustment of k. Delete dead code
51499 adjusting ha,hb. Simplify code setting kld. Delete two600 and
51500 two1022, instead use their values. Recognise that tests for large
51501 "a" and small "b" are mutually exclusive. Rename vars. Comment.
51502 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
51503 Rewrite all uses of ieee875 long double macros and unions. Simplify
51504 test for 0.0L and nan. Correct negation.
51505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
51506 ieee875 long double macros and unions. Correct output for large
51507 magnitude x. Correct absolute value calculation.
51508 (__erfcl): Likewise.
51509 * math/libm-test.inc: Add tests for errors discovered in IBM long
51510 double versions of fmodl, remainderl, erfl and erfcl.
51511
51512 2013-10-04 Alan Modra <amodra@gmail.com>
51513
51514 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
51515 all uses of ieee854 long double macros and unions. Simplify tests
51516 for long doubles that are fully specified by the high double.
51517 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
51518 Likewise.
51519 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
51520 Remove dead code too.
51521 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
51522 (__ieee754_ynl): Likewise.
51523 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
51524 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
51525 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
51526 Remove dead code too.
51527 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
51528 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
51529 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
51530 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
51531 Simplify.
51532 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
51533 Simplify.
51534 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
51535 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
51536 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
51537 Comment on variable precision.
51538 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
51539 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51540 Likewise.
51541 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
51542 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51543 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51544 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
51545 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
51546
51547 2013-10-04 Alan Modra <amodra@gmail.com>
51548
51549 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
51550 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
51551 all uses of ieee854 long double macros and unions.
51552 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
51553 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51554 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
51555 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
51556 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
51557 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51558 Likewise.
51559 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
51560 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51561 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
51562 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51563 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
51564 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
51565 Simplify sign and nan test too.
51566 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
51567 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
51568 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
51569 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
51570 Likewise.
51571 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51572 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
51573 Likewise.
51574 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51575 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
51576 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
51577 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
51578 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
51579 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
51580
51581 2013-10-04 Alan Modra <amodra@gmail.com>
51582
51583 * stdio-common/printf_size.c (__printf_size): Don't use
51584 union ieee854_long_double in fpnum union.
51585 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
51586 signbit macro to retrieve sign from long double.
51587 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
51588 retrieve sign from long double.
51589 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
51590 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
51591 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
51592 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51593 * math/test-misc.c (main): Don't use union ieee854_long_double.
51594
51595 2013-10-04 Alan Modra <amodra@gmail.com>
51596
51597 [BZ #15680]
51598 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
51599 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
51600 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
51601 calculation. Remove unnecessary test for denormal exponent.
51602 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
51603 Correct handling of denormals. Avoid undefined shift behaviour.
51604 Correct normalisation of low mantissa when low double is denormal.
51605 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
51606 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
51607 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
51608 Correct normalisation of low mantissa. Test for overflow of high
51609 mantissa and normalise.
51610 (ldbl_nearbyint): Use more readable constant for two52.
51611 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
51612 (__mpn_construct_long_double): Fix test for overflow of high
51613 mantissa and correct normalisation. Avoid undefined shift.
51614
51615 2013-10-04 Alan Modra <amodra@gmail.com>
51616
51617 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51618 (union ibm_extended_long_double): Define as an array of ieee754_double.
51619 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
51620 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
51621 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
51622 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51623 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51624 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
51625 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51626 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51627 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51628 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
51629 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51630
51631 2013-10-03 Joseph Myers <joseph@codesourcery.com>
51632
51633 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
51634 page size instead of calling getpagesize.
51635
51636 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
51637 (LOCFILE_ALIGN_MASK): Likewise.
51638 (LOCFILE_ALIGN_UP): Likewise.
51639 (LOCFILE_ALIGNED_P): Likewise.
51640 * locale/programs/ld-collate.c (collate_output): Use the new
51641 macros instead of __alignof__ (int32_t).
51642 * locale/weight.h (findidx): Likewise.
51643
51644 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
51645
51646 [BZ #431]
51647 * manual/string.texi: Fix strncat and wcsncat.
51648
51649 2013-10-03 Brooks Moses <bmoses@google.com>
51650
51651 [BZ #15915]
51652 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
51653 * Makerules: ...here, and adjust associated comments.
51654
51655 2013-10-02 Will Newton <will.newton@linaro.org>
51656
51657 * malloc/Makefile: Add tst-pvalloc.
51658 * malloc/tst-pvalloc.c: New file.
51659
51660 2013-10-02 Will Newton <will.newton@linaro.org>
51661
51662 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
51663 improve test coverage.
51664
51665 2013-10-02 Will Newton <will.newton@linaro.org>
51666
51667 * malloc/Makefile: Add tst-posix_memalign.
51668 * malloc/tst-posix_memalign.c: New file.
51669
51670 2013-10-01 Eric Blake <eblake@redhat.com>
51671
51672 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
51673 Use __THROWNL rather than __THROW on static functions.
51674
51675 2013-09-30 Petr Machata <pmachata@redhat.com>
51676
51677 * elf/elf.h (R_AARCH64_ABS16): New macro.
51678 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
51679 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
51680 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
51681 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
51682 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
51683 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
51684 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
51685 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
51686 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
51687 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
51688 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
51689 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
51690 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
51691 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
51692 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
51693 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
51694 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
51695 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
51696 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
51697 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
51698 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
51699 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
51700 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
51701 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
51702 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
51703 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
51704 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
51705 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
51706 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
51707 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
51708 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
51709 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
51710 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
51711 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
51712 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
51713 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
51714 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
51715 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
51716 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
51717 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
51718 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
51719 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
51720 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
51721 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
51722 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
51723 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
51724 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
51725 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
51726 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
51727 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
51728 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
51729 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
51730 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
51731 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
51732 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
51733 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
51734 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
51735 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
51736 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
51737 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
51738 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
51739 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
51740 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
51741 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
51742 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
51743 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
51744 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
51745 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
51746 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
51747 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
51748 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
51749 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
51750 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
51751 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
51752 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
51753 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
51754 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
51755 (R_AARCH64_TLSDESC_LDR): Likewise.
51756 (R_AARCH64_TLSDESC_ADD): Likewise.
51757 (R_AARCH64_TLSDESC_CALL): Likewise.
51758
51759 2013-09-30 Andreas Schwab <schwab@suse.de>
51760
51761 [BZ #15048]
51762 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
51763 the nss database lookup.
51764 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51766
51767 2013-09-28 Mike Frysinger <vapier@gentoo.org>
51768
51769 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
51770
51771 2013-09-28 P. J. McDermott <pj@pehjota.net>
51772
51773 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
51774 ${Bash-specific parameter/pattern/string} parameter expansion.
51775 * sysdeps/unix/make-syscalls.sh: Likewise.
51776
51777 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51778
51779 * sysdeps/sh/stackguard-macros.h: New file.
51780
51781 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
51782
51783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51784 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
51785 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
51786 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
51787 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51788 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
51789
51790 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51791
51792 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
51793 Fix thread ID register.
51794
51795 2013-09-25 Joseph Myers <joseph@codesourcery.com>
51796
51797 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
51798 [POSIX || UNIX98]: Require rather than permitting all symbols from
51799 <time.h>.
51800 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
51801 element of struct sched_param.
51802 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
51803 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
51804 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
51805 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
51806 constant.
51807
51808 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
51809
51810 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
51811 argument calculation.
51812
51813 2013-09-24 Joseph Myers <joseph@codesourcery.com>
51814
51815 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
51816 Expect macro.
51817 [POSIX] (pthread_attr_t): Do not require type.
51818 [POSIX] (pthread_cond_t): Likewise.
51819 [POSIX] (pthread_condattr_t): Likewise.
51820 [POSIX] (pthread_key_t): Likewise.
51821 [POSIX] (pthread_mutex_t): Likewise.
51822 [POSIX] (pthread_mutexattr_t): Likewise.
51823 [POSIX] (pthread_once_t): Likewise.
51824 [POSIX] (pthread_t): Likewise.
51825 [POSIX-based standards] (pthread_atfork): Expect function.
51826
51827 2013-09-24 Joseph Myers <joseph@codesourcery.com>
51828 Richard Sandiford <richard@codesourcery.com>
51829
51830 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
51831 (swap_endianness_p): New extern variable.
51832 (set_big_endian): New inline function.
51833 (maybe_swap_uint32): Likewise.
51834 (maybe_swap_uint32_array): Likewise.
51835 (maybe_swap_uint32_obstack): Likewise.
51836 * locale/programs/locfile.c: Include <stdbool.h>.
51837 (swap_endianness_p): New variable.
51838 (add_locale_uint32): Call maybe_swap_uint32.
51839 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
51840 (write_locale_data): Call maybe_swap_uint32_array.
51841 * locale/programs/ld-collate.c (obstack_int32_grow): Call
51842 maybe_swap_uint32.
51843 (obstack_int32_grow_fast): Likewise.
51844 (output_weightwc): Call maybe_swap_uint32_obstack.
51845 (collate_output): Likewise.
51846 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
51847 (OPT_LITTLE_ENDIAN): Likewise.
51848 (options): Add --little-endian and --big-endian options.
51849 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
51850 * locale/programs/locarchive.c: Include "locfile.h".
51851 (GET): New macro.
51852 (SET): Likewise.
51853 (INC): Likewise.
51854 (create_archive): Use the new macros to access fields of
51855 structures directly mapped from or written to locale archives.
51856 (oldlocrecentcmp): Likewise.
51857 (enlarge_archive): Likewise.
51858 (insert_name): Likewise.
51859 (add_alias): Likewise.
51860 (add_locale): Likewise.
51861 (delete_locales_from_archive): Likewise.
51862 (show_archive_content): Likewise.
51863 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
51864 locale data.
51865
51866 2013-09-24 Roland McGrath <roland@hack.frob.com>
51867
51868 * manual/freemanuals.texi: Updated from (newly) canonical copy at
51869 http://www.gnu.org/doc/freemanuals.texi.
51870 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
51871
51872 2013-09-24 Will Newton <will.newton@linaro.org>
51873
51874 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
51875 macro.
51876
51877 2013-09-23 Joseph Myers <joseph@codesourcery.com>
51878
51879 * locale/hashval.h (compute_hashval): Interpret bytes of key as
51880 unsigned char.
51881
51882 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
51883
51884 * manual/threads.texi (POSIX Threads): Fix a typo.
51885
51886 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
51887
51888 [BZ #14547]
51889 * string/tst-strcoll-overflow.c: New test case.
51890 * string/Makefile (xtests): Add tst-strcoll-overflow.
51891 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
51892 cache if string sizes may cause integer overflow.
51893
51894 [BZ #14547]
51895 * string/strcoll_l.c (coll_seq): New members rule, idx,
51896 save_idx and back_us.
51897 (get_next_seq_nocache): New function.
51898 (do_compare_nocache): New function.
51899 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
51900 when malloc fails.
51901
51902 2013-09-23 Carlos O'Donell <carlos@redhat.com>
51903
51904 [BZ #15754]
51905 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
51906 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
51907 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
51908
51909 [BZ #15754]
51910 * elf/Makefile (tests): Add tst-ptrguard1.
51911 (tests-static): Add tst-ptrguard1-static.
51912 (tst-ptrguard1-ARGS): Define.
51913 (tst-ptrguard1-static-ARGS): Define.
51914 * elf/tst-ptrguard1.c: New file.
51915 * elf/tst-ptrguard1-static.c: New file.
51916 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
51917 * sysdeps/i386/stackguard-macros.h: Likewise.
51918 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51919 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51920 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51921 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51922 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51923 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51924
51925 2013-09-23 Hector Marco <hecmargi@upv.es>
51926 Ismael Ripoll <iripoll@disca.upv.es>
51927 Carlos O'Donell <carlos@redhat.com>
51928
51929 [BZ #15754]
51930 * sysdeps/generic/stackguard-macros.h: Define
51931 __pointer_chk_guard_local and POINTER_CHK_GUARD.
51932 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
51933 Define __pointer_chk_guard_local.
51934 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
51935 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
51936
51937 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
51938
51939 [BZ #15859]
51940 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
51941
51942 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
51943
51944 * include/string.h (__ffs): Declare as hidden.
51945 * string/ffs.c (__ffs): Define as hidden.
51946 * sysdeps/i386/ffs.c (__ffs): Likewise.
51947 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
51948 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
51949 * sysdeps/s390/ffs.c (__ffs): Likewise.
51950 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
51951
51952 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
51953
51954 * NEWS: Mention malloc probes.
51955
51956 * malloc/arena.c (new_heap): New memory_heap_new probe.
51957 (grow_heap): New memory_heap_more probe.
51958 (shrink_heap): New memory_heap_less probe.
51959 (heap_trim): New memory_heap_free probe.
51960 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
51961 (systrim): New memory_sbrk_less probe.
51962 * manual/probes.texi: Document them.
51963
51964 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
51965 * manual/probes.texi: Document it.
51966
51967 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
51968 (__libc_realloc): Add memory_realloc_retry probe.
51969 (__libc_memalign): Add memory_memalign_retry probe.
51970 (__libc_valloc): Add memory_valloc_retry probe.
51971 (__libc_pvalloc): Add memory_pvalloc_retry probe.
51972 (__libc_calloc): Add memory_calloc_retry probe.
51973 * manual/probes.texi: Document them.
51974
51975 * malloc/arena.c (get_free_list): Add probe
51976 memory_arena_reuse_free_list.
51977 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
51978 and memory_arena_reuse.
51979 (arena_get2) [!PER_THREAD]: Likewise.
51980 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
51981 memory_arena_reuse_realloc.
51982 * manual/probes.texi: Document them.
51983
51984 * malloc/malloc.c (__libc_free): Add
51985 memory_mallopt_free_dyn_thresholds probe.
51986 (__libc_mallopt): Add multiple memory_mallopt probes.
51987 * manual/probes.texi: Document them.
51988
51989 * malloc/malloc.c: Include stap-probe.h.
51990 (__libc_mallopt): Add memory_mallopt probe.
51991 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
51992 * manual/probes.texi: New.
51993 * manual/Makefile (chapters): Add probes.
51994 * manual/threads.texi: Set next node.
51995
51996 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
51997
51998 [BZ #15963, #13985]
51999 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52000 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52001 Add `Chinese' to `nan' entry name.
52002
52003 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52004
52005 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52006 (POLYNOMIAL): Likewise.
52007 (TAYLOR_SINCOS): Likewise.
52008 (TAYLOR_SLOW): Likewise.
52009 (__sin): Use TAYLOR_SINCOS.
52010 (__cos): Likewise.
52011 (slow): Use TAYLOR_SLOW.
52012 (sloww): Likewise.
52013 (bsloww): Likewise.
52014 (csloww): Likewise.
52015
52016 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52017
52018 * stdlib/strtod_l.c: Fix buffer overrun.
52019
52020 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52021
52022 * benchtests/Makefile (bench): Add sincos.
52023 * benchtests/bench-sincos.c: New file.
52024
52025 * math/libm-test.inc (cos_test_data): New test inputs.
52026 (sin_test_data): Likewise.
52027
52028 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52029 macro.
52030 (__sin): Use it.
52031 (__cos): Likewise.
52032 (slow1): Likewise.
52033 (slow2): Likewise.
52034 (sloww1): Likewise.
52035 (sloww2): Likewise.
52036 (bsloww1): Likewise.
52037 (bsloww2): Likewise.
52038 (cslow2): Likewise.
52039 (csloww1): Likewise.
52040 (csloww2): Likewise.
52041
52042 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52043 function.
52044 (__sin): Use it.
52045 (__cos): Likewise.
52046
52047 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52048 gotos.
52049 (__cos): Likewise.
52050
52051 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
52052
52053 * config.h.in (HAVE_MIPS_NAN2008): New macro.
52054 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52055 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52056 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52057 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52058 * elf/cache.c (print_entry): Handle the new cache flags.
52059
52060 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52061 Aldy Hernandez <aldyh@redhat.com>
52062
52063 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52064 Change condition to [_SOFT_FLOAT].
52065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52077 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52080 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52081 declaration.
52082
52083 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52084
52085 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52086 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52087 (__longjmp): Use LOAD_GP to load saved GPRs.
52088 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52089 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52090 (__sigsetjmp): Use SAVE_GP to save GPRs.
52091
52092 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52093 Do not append -msoft-float.
52094 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52095
52096 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52097
52098 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52099
52100 2013-09-17 Joseph Myers <joseph@codesourcery.com>
52101
52102 [BZ #15966]
52103 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52104 (_FPU_GETCW): Use initial "__" on variable and field names but not
52105 on macro parameter name.
52106 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
52107 parentheses around reference to macro parameter.
52108
52109 2013-09-13 Richard Sandiford <richard@codesourcery.com>
52110
52111 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52112 prototype.
52113 (ctype_startup): Use uint32_t in cast and sizeof for
52114 ctype->charnames.
52115
52116 2013-09-11 Jia Liu <proljc@gmail.com>
52117
52118 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52119 __daddr_t_defined.
52120 [__FreeBSD__]: Likewise.
52121
52122 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
52123
52124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52125 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52126 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52127 (strchr): Remove __strchr_sse42 ifunc selection.
52128 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52129 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52130
52131 2013-09-11 Will Newton <will.newton@linaro.org>
52132
52133 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52134 parameter to RES. Remove hardcoded 1000 value.
52135 * benchtests/bench-skeleton.c (main): Pass RES parameter
52136 to TIMING_INIT and multiply result by 1000.
52137
52138 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52139
52140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52141
52142 2013-09-11 Andreas Schwab <schwab@suse.de>
52143
52144 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52145 if not defined.
52146 (O_TMPFILE) [__USE_GNU]: Define.
52147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52148 Define.
52149
52150 2013-09-11 Will Newton <will.newton@linaro.org>
52151
52152 [BZ #15857]
52153 * malloc/malloc.c (__libc_memalign): Check the value of bytes
52154 does not overflow.
52155
52156 2013-09-11 Will Newton <will.newton@linaro.org>
52157
52158 [BZ #15856]
52159 * malloc/malloc.c (__libc_valloc): Check the value of bytes
52160 does not overflow.
52161
52162 2013-09-11 Will Newton <will.newton@linaro.org>
52163
52164 [BZ #15855]
52165 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52166 does not overflow.
52167
52168 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
52169
52170 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52171 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52172 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52173 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52174 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52175
52176 2013-09-10 Allan McRae <allan@archlinux.org>
52177
52178 [BZ #15748]
52179 * manual/arith.texi (Parsing of Floats): Clarify
52180 cross-reference.
52181
52182 [BZ #15849]
52183 * manual/install.texi (Running make install): Mention
52184 --enable-pt-chown.
52185 * INSTALL: Regenerated.
52186
52187 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
52188
52189 * csu/init-first.c (_init): Remove the !SHARED condition around
52190 FPU control word initialization.
52191 * elf/dl-support.c (_dl_fpu_control): New variable.
52192 (_dl_aux_init) <AT_FPUCW>: Initialize it.
52193 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
52194 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
52195 * math/test-fpucw-static.c: New file.
52196 * math/test-fpucw-ieee.c: New file.
52197 * math/test-fpucw-ieee-static.c: New file.
52198 * math/Makefile (tests): Add `test-fpucw-ieee' and
52199 `$(tests-static)'.
52200 (tests-static): New variable.
52201 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
52202 dependency to...
52203 [($(build-shared),yes)]
52204 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52205 ... this.
52206 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52207 New dependency.
52208
52209 2013-09-09 Allan McRae <allan@archlinux.org>
52210
52211 [BZ #15939]
52212 * manual/string.texi (Collation Functions): Fix typo in
52213 strcoll example.
52214 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
52215
52216 [BZ #15893]
52217 * stdlib/isomac.c (get_null_defines): Fix memory leak.
52218
52219 [BZ #15892]
52220 * libio/memstream.c (open_memstream): Fix memory leak.
52221 * libio/wmemstream.c (open_wmemstream): Likewise.
52222
52223 [BZ #15895]
52224 * nscd/netgroupcache.c: Fix nesting of ifdefs.
52225
52226 2013-09-09 Will Newton <will.newton@linaro.org>
52227
52228 * malloc/Makefile: Add tst-realloc to tests.
52229 * malloc/tst-realloc.c: New file.
52230
52231 2013-09-09 Allan McRae <allan@archlinux.org>
52232
52233 [BZ #15844]
52234 * COPYING: Update from GNU website to fix FSF address.
52235 * COPYING.LIB: Likewise.
52236
52237 2013-09-06 David S. Miller <davem@davemloft.net>
52238
52239 * po/zh_TW.po: Update Chinese (traditional) translation from
52240 translation project.
52241
52242 2013-09-06 Richard Sandiford <richard@codesourcery.com>
52243 Joseph Myers <joseph@codesourcery.com>
52244
52245 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
52246 "localeinfo.h".
52247 (obstack_chunk_alloc): New macro.
52248 (obstack_chunk_free): Likewise.
52249 (record_offset): New function.
52250 (init_locale_data): Likewise.
52251 (align_locale_data): Likewise.
52252 (add_locale_empty): Likewise.
52253 (add_locale_raw_data): Likewise.
52254 (add_locale_raw_obstack): Likewise.
52255 (add_locale_string): Likewise.
52256 (add_locale_wstring): Likewise.
52257 (add_locale_uint32): Likewise.
52258 (add_locale_uint32_array): Likewise.
52259 (add_locale_char): Likewise.
52260 (start_locale_structure): Likewise.
52261 (end_locale_structure): Likewise.
52262 (start_locale_prelude): Likewise.
52263 (end_locale_prelude): Likewise.
52264 (write_locale_data): Take locale_file structure rather than an
52265 iovec.
52266 * locale/programs/locfile.h: Include "obstack.h".
52267 (struct locale_file): Change to store locale file contents instead
52268 of header.
52269 (init_locale_data): New prototype.
52270 (align_locale_data): Likewise.
52271 (add_locale_empty): Likewise.
52272 (add_locale_raw_data): Likewise.
52273 (add_locale_raw_obstack): Likewise.
52274 (add_locale_string): Likewise.
52275 (add_locale_wstring): Likewise.
52276 (add_locale_uint32): Likewise.
52277 (add_locale_uint32_array): Likewise.
52278 (add_locale_char): Likewise.
52279 (start_locale_structure): Likewise.
52280 (end_locale_structure): Likewise.
52281 (start_locale_prelude): Likewise.
52282 (end_locale_prelude): Likewise.
52283 (write_locale_data): Update prototype.
52284 * locale/programs/3level.h (struct TABLE): Remove result field.
52285 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
52286 Use new locale_file interface.
52287 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
52288 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
52289 * locale/programs/ld-address.c (address_output): Use new
52290 locale_file interface.
52291 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
52292 NO_ADD_LOCALE.
52293 (collate_finish): Don't call collseq_table_finalize.
52294 (collate_output): Use new locale_file interface.
52295 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
52296 in file.
52297 (NO_FINALIZE): Change to NO_ADD_LOCALE.
52298 (TABLE): Move defines earlier in file.
52299 (ELEMENT): Likewise.
52300 (DEFAULT): Likewise.
52301 (wctrans_table_add): Move macro and inline function earlier in
52302 file.
52303 (struct wctype_table): Move type earlier in file.
52304 (add_locale_wctype_table): New static prototype.
52305 (struct locale_ctype_t): Use logical types instead of struct iovec
52306 pointers for members.
52307 (ctype_output): Use new locale_file interface.
52308 (wctype_table_finalize): Change to add_locale_wctype_table. Use
52309 new locale_file interface.
52310 (allocate_arrays): Update for use of new locale_file interface.
52311 * locale/programs/ld-identification.c (identification_output): Use
52312 new locale_file interface.
52313 * locale/programs/ld-measurement.c (measurement_output): Likewise.
52314 * locale/programs/ld-messages.c (messages_output): Likewise.
52315 * locale/programs/ld-monetary.c (monetary_output): Likewise.
52316 * locale/programs/ld-name.c (name_output): Likewise.
52317 * locale/programs/ld-numeric.c (numeric_output): Likewise.
52318 * locale/programs/ld-paper.c (paper_output): Likewise.
52319 * locale/programs/ld-telephone.c (telephone_output): Likewise.
52320 * locale/programs/ld-time.c (time_output): Likewise.
52321
52322 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52323
52324 * benchtests/Makefile: Add memrchr benchmark.
52325 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
52326 benchmark as memrchr.
52327 * benchtests/bench-memrchr-ifunc.c: New file.
52328 * benchtests/bench-memrchr.c: New file.
52329
52330 2013-09-06 Will Newton <will.newton@linaro.org>
52331
52332 * benchtests/Makefile (string-bench): Add memcpy.
52333
52334 2013-09-05 Carlos O'Donell <carlos@redhat.com>
52335 Cong Wang <amwang@redhat.com>
52336
52337 [BZ #15850]
52338 * sysdeps/unix/sysv/linux/bits/in.h
52339 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
52340 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
52341 before __USE_KERNEL_IPV6_DEFS uses.
52342 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
52343 IPPROTO_BEETPH.
52344 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
52345 sockaddr_in6, or ipv6_mreq.
52346
52347 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52348
52349 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
52350 memory access for final bytes in some large inputs.
52351 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
52352
52353 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52354
52355 * string/test-memrchr.c: New file.
52356 * string/test-memrchr-ifunc.c: New file.
52357 * string/Makefile: Add new memrchr testcase.
52358
52359 2013-09-05 Mike Frysinger <vapier@gentoo.org>
52360
52361 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
52362 fanotify_init returns EPERM.
52363
52364 2013-09-04 Joseph Myers <joseph@codesourcery.com>
52365
52366 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
52367 errors.
52368 (top level): Treat second token from macro or constant entries for
52369 allowed headers as allowed.
52370 * include/complex.h: Condition internal declarations on
52371 [!_ISOMAC].
52372 * include/fenv.h: Condition include of <stdbool.h> and internal
52373 declarations on [!_ISOMAC].
52374
52375 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
52376
52377 [BZ #15923]
52378 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
52379
52380 2013-09-04 Joseph Myers <joseph@codesourcery.com>
52381
52382 * configure.in (--enable-versioning): Remove configure option.
52383 (libc_cv_asm_symver_directive): Remove configure test.
52384 (libc_cv_ld_version_script_option): Likewise.
52385 (VERSIONING): Remove variable and AC_SUBST.
52386 (DO_VERSIONING): Remove AC_DEFINE.
52387 * configure: Regenerated.
52388 * config.h.in (DO_VERSIONING): Remove macro.
52389 * Makerules [$(versioning) = yes]: Change conditionals to
52390 [$(build-shared) = yes].
52391 * config.make.in (versioning): Remove variable.
52392 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
52393 [$(build-shared) = yes].
52394 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
52395 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
52396 * elf/Makefile [$(versioning) = yes]: Change conditionals to
52397 [$(build-shared) = yes].
52398 * extra-lib.mk [$(versioning) = yes]: Likewise.
52399 * hurd/Makefile [$(versioning) = yes]: Likewise.
52400 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
52401 [SHARED].
52402 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
52403 [SHARED].
52404 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52405 [SHARED && !NO_HIDDEN].
52406 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
52407 [SHARED].
52408 [SHARED && DO_VERSIONING]: Likewise..
52409 * libio/Makefile [$(versioning) = yes]: Change conditionals to
52410 [$(build-shared) = yes].
52411 * manual/install.texi (--disable-versioning): Remove
52412 documentation.
52413 * INSTALL: Regenerated.
52414 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
52415 to [SHARED].
52416 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
52417 [$(build-shared) = yes].
52418 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
52419 * sysdeps/i386/i686/multiarch/strstr-c.c
52420 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52421 [SHARED && !NO_HIDDEN].
52422 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
52423 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
52424 * sysdeps/powerpc/powerpc32/dl-machine.c
52425 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
52426 * sysdeps/powerpc/powerpc32/sysdep.h
52427 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
52428 to [SHARED && PIC && !NO_HIDDEN].
52429 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
52430 conditional to [SHARED].
52431
52432 2013-09-04 Will Newton <will.newton@linaro.org>
52433
52434 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
52435 * benchtests/bench-string.h: Include bench-timing.h instead
52436 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
52437 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
52438 call to HP_TIMING_DIFF_INIT.
52439 * benchtests/bench-memccpy.c: Use bench-timing.h macros
52440 instead of hp-timing.h macros.
52441 * benchtests/bench-memchr.c: Likewise.
52442 * benchtests/bench-memcmp.c: Likewise.
52443 * benchtests/bench-memcpy.c: Likewise.
52444 * benchtests/bench-memmem.c: Likewise.
52445 * benchtests/bench-memmove.c: Likewise.
52446 * benchtests/bench-memset.c: Likewise.
52447 * benchtests/bench-rawmemchr.c: Likewise.
52448 * benchtests/bench-strcasecmp.c: Likewise.
52449 * benchtests/bench-strcasestr.c: Likewise.
52450 * benchtests/bench-strcat.c: Likewise.
52451 * benchtests/bench-strchr.c: Likewise.
52452 * benchtests/bench-strcmp.c: Likewise.
52453 * benchtests/bench-strcpy.c: Likewise.
52454 * benchtests/bench-strcpy_chk.c: Likewise.
52455 * benchtests/bench-strlen.c: Likewise.
52456 * benchtests/bench-strncasecmp.c: Likewise.
52457 * benchtests/bench-strncat.c: Likewise.
52458 * benchtests/bench-strncmp.c: Likewise.
52459 * benchtests/bench-strncpy.c: Likewise.
52460 * benchtests/bench-strnlen.c: Likewise.
52461 * benchtests/bench-strpbrk.c: Likewise.
52462 * benchtests/bench-strrchr.c: Likewise.
52463 * benchtests/bench-strspn.c: Likewise.
52464 * benchtests/bench-strstr.c: Likewise.
52465
52466 2013-09-04 Will Newton <will.newton@linaro.org>
52467
52468 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
52469
52470 2013-09-03 Joseph Myers <joseph@codesourcery.com>
52471
52472 [BZ #15427]
52473 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
52474 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
52475 * math/libm-test.inc (lgamma_test_data): Add more tests.
52476 * sysdeps/i386/fpu/libm-test-ulps: Update.
52477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52478
52479 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
52480
52481 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
52482 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52483 Add ifunc.
52484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52485 Add strcmp-sse2-unaligned
52486 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
52487
52488 2013-09-02 Mike Frysinger <vapier@gentoo.org>
52489
52490 * Versions.def (libc): Add GLIBC_2.19.
52491
52492 2013-09-02 Mike Frysinger <vapier@gentoo.org>
52493
52494 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
52495 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
52496
52497 2013-09-02 Joseph Myers <joseph@codesourcery.com>
52498
52499 [BZ #14155]
52500 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
52501 intermediate calculations in recurrence.
52502 (__ieee754_ynf): Likewise.
52503 * math/libm-test.inc (jn_test_data): Do not allow spurious
52504 underflow exception. Add more tests.
52505 (yn_test_data): Add more tests.
52506 * sysdeps/i386/fpu/libm-test-ulps: Update.
52507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52508
52509 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
52510
52511 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
52512
52513 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52514
52515 * csu/init-first.c: Fix then/than typos.
52516 * locale/programs/ld-collate.c: Likewise.
52517 * locale/programs/linereader.h: Likewise.
52518 * manual/charset.texi: Likewise.
52519 * manual/filesys.texi: Likewise.
52520 * manual/stdio.texi: Likewise.
52521 * manual/string.texi: Likewise.
52522 * stdlib/fmtmsg.c: Likewise.
52523 * sysdeps/i386/stpncpy.S: Likewise.
52524 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52525 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52526 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52527 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52528
52529 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52530
52531 * elf/dl-open.c: Fix typos.
52532 * iconvdata/gbbig5.c: Likewise.
52533 * iconvdata/iso-2022-jp.c: Likewise.
52534 * iconv/gconv_int.h: Likewise.
52535 * iconv/loop.c: Likewise.
52536 * nis/rpcsvc/nis.h: Likewise.
52537 * resolv/ns_name.c: Likewise.
52538 * stdio-common/vfscanf.c: Likewise.
52539 * streams/stropts.h: Likewise.
52540 * sunrpc/rpc_thread.c: Likewise.
52541 * sysdeps/i386/strpbrk.S: Likewise.
52542 * sysdeps/ieee754/k_standard.c: Likewise.
52543 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52544 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52545 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
52546 * sysdeps/mach/hurd/profil.c: Likewise.
52547 * sysdeps/s390/dl-procinfo.h: Likewise.
52548 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
52549 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
52550 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
52551 * sysdeps/x86_64/dl-trampoline.S: Likewise.
52552 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52553
52554 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52555
52556 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
52557 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
52558
52559 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
52560
52561 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
52562 aix specific files.
52563 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
52564 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
52565 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
52566 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
52567 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
52568 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
52569 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
52570 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
52571
52572 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
52573 Roland McGrath <roland@hack.frob.com>
52574
52575 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
52576 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
52577
52578 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
52579
52580 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
52581 __executable_start symbol instead of _start.
52582
52583 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
52584
52585 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
52586 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
52587 Move macros to...
52588 * sysdeps/gnu/ldsodefs.h: ... this new file.
52589
52590 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
52591 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
52592 instead of ELFOSABI_LINUX.
52593
52594 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
52595 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
52596 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
52597 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
52598 Likewise.
52599 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
52600 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
52601 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
52602 Likewise.
52603 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52604 (ibm_extended_long_double): Add ieee_nan member.
52605 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
52606 (do_test): New function.
52607
52608 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
52609 TEST_TRUNC.
52610 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
52611 functions, renamed from truncdfsf_test, trunctfsf_test,
52612 trunctfdf_test.
52613 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
52614 functions.
52615 (do_test): Run all these.
52616
52617 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
52618
52619 * argp/argp-help.c: Fix typos.
52620 * argp/argp-parse.c: Likewise.
52621 * debug/backtracesyms.c: Likewise.
52622 * elf/elf.h: Likewise.
52623 * malloc/malloc.c: Likewise.
52624 * nis/nis_print.c: Likewise.
52625 * resolv/res_comp.c: Likewise.
52626 * stdlib/stdlib.h: Likewise.
52627 * sunrpc/clnt_tcp.c: Likewise.
52628 * sunrpc/clnt_udp.c: Likewise.
52629 * sunrpc/clnt_unix.c: Likewise.
52630 * sysdeps/unix/bsd/ptsname.c: Likewise.
52631 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
52632 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
52633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
52634 Likewise.
52635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
52636 Likewise.
52637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
52638 Likewise.
52639 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52640
52641 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52642
52643 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
52644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52645
52646 2013-08-27 Mike Frysinger <vapier@gentoo.org>
52647
52648 [BZ #15897]
52649 * dlfcn/Makefile (tests): Add bug-dl-leaf.
52650 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
52651 ($(objpfx)bug-dl-leaf): New rule.
52652 ($(objpfx)bug-dl-leaf.so): Likewise.
52653 ($(objpfx)bug-dl-leaf.out): Likewise.
52654 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
52655 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
52656 * dlfcn/bug-dl-leaf.c: New test.
52657 * dlfcn/bug-dl-leaf-lib.c: Likewise.
52658 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
52659 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
52660 (dlclose): Likewise.
52661 (dlmopen): Likewise.
52662
52663 2013-08-27 Roland McGrath <roland@hack.frob.com>
52664
52665 * include/netdb.h [!_ISOMAC]:
52666 Don't include <tls.h>.
52667 (h_errno, __libc_h_errno): Move declaration and macros out of
52668 [_LIBC_REENTRANT].
52669
52670 * include/resolv.h [_RESOLV_H_]:
52671 Don't include <tls.h>.
52672 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
52673 * resolv/res_libc.c: Don't include <tls.h>.
52674 (_res): Use __attribute__ ((nocommon)) in place of
52675 __attribute__ ((section (".bss"))).
52676
52677 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
52678 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
52679
52680 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
52681
52682 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
52683 only under [SIOCGIFCONF && SIOCGIFNETMASK].
52684
52685 * resolv/res_mkquery.c: Include <sys/time.h>.
52686
52687 * inet/ifreq.c: Moved to ...
52688 * sysdeps/unix/ifreq.c: ... here.
52689 * inet/ifreq.c: New file, true stub version.
52690
52691 * socket/sa_len.c: New file.
52692 * socket/Makefile (aux): Add it.
52693 * sysdeps/unix/sysv/linux/Makefile
52694 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
52695 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
52696 and #include <socket/sa_len.c>.
52697 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
52698 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
52699
52700 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
52701 * bits/socket.h: ... here.
52702
52703 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
52704 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
52705 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
52706
52707 2013-08-27 Andreas Schwab <schwab@suse.de>
52708
52709 [BZ #15736]
52710 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
52711 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
52712 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
52713 * string/test-strcasecmp.c (test_main): Run tests in several
52714 locales.
52715 * string/test-strncasecmp.c (test_main): Likewise.
52716
52717 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
52718 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
52719 to __strcasecmp_nonascii and __strncasecmp_nonascii.
52720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
52721 (__strncasecmp_ssse3) [PIC]: Likewise.
52722
52723 2013-08-26 Roland McGrath <roland@hack.frob.com>
52724
52725 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
52726
52727 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
52728 instead of explicitly declaring xdecrypt.
52729 * nis/nss_nis/nis-publickey.c: Likewise.
52730
52731 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52732
52733 [BZ #15890]
52734 * nscd/aicache.c: Include res_hconf.h.
52735 (addhstaiX): Initialize res_hconf.
52736
52737 2013-08-26 Andreas Schwab <schwab@suse.de>
52738
52739 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
52740 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
52741
52742 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52743
52744 * nscd/aicache.c (addhstaiX): Fix indentation.
52745
52746 2013-08-25 Mike Frysinger <vapier@gentoo.org>
52747
52748 * configure.ac: Quote $build_pt_chown test.
52749 * configure: Regenerated.
52750
52751 2013-08-23 Joseph Myers <joseph@codesourcery.com>
52752
52753 [BZ #15532]
52754 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
52755 * math/s_cexpf.c (__cexpf): Likewise.
52756 * math/s_cexpl.c (__cexpl): Likewise.
52757 * math/libm-test.inc (cexp_test_data): Correct expected return
52758 value for NaN + i0. Add another test.
52759
52760 2013-08-22 David S. Miller <davem@davemloft.net>
52761
52762 * po/ca.po: Update Catalan translation from translation project.
52763 * po/uk.po: Add Ukrainian translations from translation project.
52764
52765 2013-08-21 Joseph Myers <joseph@codesourcery.com>
52766
52767 [BZ #15797]
52768 * math/s_fdim.c (__fdim): Check for infinite arguments if result
52769 is infinite, not alongside NaN test.
52770 * math/s_fdimf.c (__fdimf): Likewise.
52771 * math/s_fdiml.c (__fdiml): Likewise.
52772 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
52773 errno is unchanged.
52774
52775 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
52776
52777 * argp/argp-help.c: Fix typos.
52778 * crypt/speeds.c: Likewise.
52779 * csu/check_fds.c: Likewise.
52780 * elf/dl-load.c: Likewise.
52781 * elf/dl-open.c: Likewise.
52782 * elf/reldep3.c: Likewise.
52783 * elf/reldep.c: Likewise.
52784 * elf/sprof.c: Likewise.
52785 * iconv/iconv_charmap.c: Likewise.
52786 * iconv/skeleton.c: Likewise.
52787 * iconv/strtab.c: Likewise.
52788 * io/lockf64.c: Likewise.
52789 * libio/libioP.h: Likewise.
52790 * resolv/gai_notify.c: Likewise.
52791 * resolv/ns_name.c: Likewise.
52792 * resolv/ns_samedomain.c: Likewise.
52793 * resolv/res_send.c: Likewise.
52794 * stdlib/random.c: Likewise.
52795 * sunrpc/rpc/xdr.h: Likewise.
52796 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
52797 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52798 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52799 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52800 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52801 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52802 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52803 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52804 * sysdeps/mach/hurd/check_fds.c: Likewise.
52805 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52806 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52807 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52808 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52809 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52810 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52811 * sysdeps/pthread/aio_notify.c: Likewise.
52812 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
52813 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
52814 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
52815 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52816 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52817
52818 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52819
52820 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
52821 version if bit_Slow_SSE4_2 is set.
52822 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52823 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52824
52825 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52826
52827 [BZ #15867]
52828 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
52829 trampoline stack frame information.
52830 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
52831 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
52832 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
52833 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
52834 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
52835 * sysdeps/unix/sysv/linux/powerpc/init-first.c
52836 (_libc_vdso_platform_setup): Initialize the signal trampolines.
52837 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
52838 sa_flags value.
52839 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
52840 interrupting a syscall and set with option SA_SIGINFO.
52841
52842 2013-08-20 Joseph Myers <joseph@codesourcery.com>
52843
52844 [BZ #15531]
52845 * math/s_cproj.c (__cproj): Only return an infinity if one part of
52846 argument is infinite.
52847 * math/s_cprojf.c (__cprojf): Likewise.
52848 * math/s_cprojl.c (__cprojl): Likewise.
52849 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
52850 * math/libm-test.inc (cproj_test_data): Add more tests.
52851
52852 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
52853
52854 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
52855 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
52856 size. Use __ffs to determine corresponding shift.
52857
52858 2013-08-20 Joseph Myers <joseph@codesourcery.com>
52859 Roland McGrath <roland@hack.frob.com>
52860
52861 * Makefile (INSTALL): Remove trailing blank lines from output of
52862 makeinfo.
52863
52864 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52865
52866 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
52867 Align 32 bit compat elf_greg to 8 bytes.
52868
52869 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
52870
52871 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
52872
52873 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
52874
52875 * string/strcoll_l.c (coll_seq): New structure.
52876 (get_next_seq_cached): New function.
52877 (get_next_seq): New function.
52878 (do_compare): New function.
52879 (STRCOLL): Use GNU style definition. Simplify implementation
52880 by using get_next_seq, get_next_seq_cached and do_compare.
52881
52882 2013-08-16 Florian Weimer <fweimer@redhat.com>
52883
52884 [BZ #14699]
52885 CVE-2013-4237
52886 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
52887 member.
52888 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
52889 member.
52890 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
52891 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
52892 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
52893 conditional.
52894 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
52895 GETDENTS_64BIT_ALIGNED.
52896 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52897 * manual/filesys.texi (Reading/Closing Directory): Document
52898 ENAMETOOLONG return value of readdir_r. Recommend readdir more
52899 strongly.
52900 * manual/conf.texi (Limits for Files): Add portability note to
52901 NAME_MAX, PATH_MAX.
52902 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
52903
52904 2013-08-13 Andreas Schwab <schwab@suse.de>
52905
52906 [BZ #15749]
52907 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
52908 of fabs.
52909 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
52910 LDBL_MAX_EXP >= 16384]: Add tests for it.
52911
52912 2013-08-12 David S. Miller <davem@davemloft.net>
52913
52914 * version.h (RELEASE): Set to "development".
52915 (VERSION): Set to "2.18.90".
52916 * NEWS: Add 2.19 section.
52917
52918 2013-08-03 David S. Miller <davem@davemloft.net>
52919
52920 * po/ko.po: Update Korean translation from translation project.
52921
52922 2013-08-01 David S. Miller <davem@davemloft.net>
52923
52924 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
52925 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
52926 Bilka.
52927
52928 2013-07-30 David S. Miller <davem@davemloft.net>
52929
52930 * po/fr.po: Update French translation from translation project.
52931
52932 2013-07-28 David S. Miller <davem@davemloft.net>
52933
52934 * po/cs.po: Update Czech translation from translation project.
52935
52936 * po/sv.po: Update Swedish translation from translation project.
52937
52938 2013-07-27 David S. Miller <davem@davemloft.net>
52939
52940 * po/eo.po: Update Esperanto translation from translation project.
52941
52942 * po/vi.po: Update Vietnamese translation from translation project.
52943
52944 * po/de.po: Update German translation from translation project.
52945
52946 2013-07-26 David S. Miller <davem@davemloft.net>
52947
52948 * po/bg.po: Update Bulgarian translation from translation project.
52949
52950 * po/nl.po: Update Dutch translation from translation project.
52951 * po/pl.po: Update Polish translation from translation project.
52952 * po/ru.po: Update Russian translation from translation project.
52953
52954 2013-07-24 David S. Miller <davem@davemloft.net>
52955
52956 * po/libc.pot: Update.
52957
52958 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52959
52960 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
52961 variable page size.
52962 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
52963 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
52964 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
52965
52966 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52967
52968 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
52969
52970 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
52971 Andreas Schwab <schwab@suse.de>
52972 Roland McGrath <roland@hack.frob.com>
52973 Joseph Myers <joseph@codesourcery.com>
52974 Carlos O'Donell <carlos@redhat.com>
52975
52976 [BZ #15755]
52977 * config.h.in: Define HAVE_PT_CHOWN.
52978 * config.make.in (build-pt-chown): New variable.
52979 * configure.in (--enable-pt_chown): New configure option.
52980 * configure: Regenerate.
52981 * login/Makefile: Include Makeconfig. Build pt_chown only if
52982 build-pt-chown is enabled.
52983 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
52984 pt_chown to fix pty ownership.
52985 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
52986 CLOSE_ALL_FDS.
52987 * manual/install.texi (Configuring and compiling): Mention
52988 --enable-pt_chown. Add @findex for grantpt.
52989 * INSTALL: Regenerate.
52990
52991 2013-07-20 David S. Miller <davem@davemloft.net>
52992
52993 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
52994 difference between 32-bit and 64-bit.
52995
52996 2013-07-15 Carlos O'Donell <carlos@redhat.com>
52997
52998 [BZ #15711]
52999 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53000 Avoid system header dependency with -ffreestanding.
53001 ($(objpfx)bits/syscall%d): Likewise.
53002
53003 2013-07-13 David S. Miller <davem@davemloft.net>
53004
53005 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53006 underflows from atanl/atan2l due to bug 15319.
53007 (casinh_test_data): Likewise.
53008
53009 2013-07-07 David S. Miller <davem@davemloft.net>
53010
53011 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53012
53013 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
53014
53015 * sysdeps/i386/fpu/libm-test-ulps: Update.
53016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53017
53018 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53019
53020 * configure.in (--enable-lock-elision): Fix message text.
53021 * INSTALL: Regenerate.
53022 * configure: Regenerate.
53023
53024 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53025
53026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53027
53028 2013-07-03 Andreas Jaeger <aj@suse.de>
53029
53030 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53031 define.
53032 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53033 (ptrace_peeksiginfo_args): Add.
53034 (__ptrace_peeksiginfo_flags): Add.
53035 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53036 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53037 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53038
53039 2013-07-03 Allan McRae <allan@archlinux.org>
53040
53041 * sysdeps/i386/fpu/libm-test-ulps: Update.
53042
53043 2013-07-02 David S. Miller <davem@davemloft.net>
53044
53045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53046
53047 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
53048
53049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53050
53051 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53052
53053 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53055
53056 2013-07-02 Andi Kleen <ak@linux.intel.com>
53057
53058 * config.h.in (ENABLE_LOCK_ELISION): Add.
53059 * configure.in (--enable-lock-elision): Add option.
53060 * manual/install.texi: Document --enable lock elision.
53061 * configure: Regenerate
53062 * INSTALL: Regenerate.
53063
53064 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
53065
53066 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53067 SSE4.2 strcasecmp for libc.a.
53068 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53069
53070 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53071
53072 [BZ #13304]
53073 * soft-fp/op-common.h (_FP_FMA): New macro.
53074 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53075 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
53076 (_FP_MUL_MEAT_1_imm): ... here.
53077 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
53078 (_FP_MUL_MEAT_1_wide): ... here.
53079 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
53080 (_FP_MUL_MEAT_1_hard): ... here.
53081 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53082 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
53083 (_FP_MUL_MEAT_2_wide): ... here.
53084 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
53085 (_FP_MUL_MEAT_2_wide_3mul): ... here.
53086 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
53087 (_FP_MUL_MEAT_2_gmp): ... here.
53088 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53089 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
53090 (_FP_MUL_MEAT_4_wide): ... here.
53091 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
53092 (_FP_MUL_MEAT_4_gmp): ... here.
53093 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53094 (_FP_WFRACBITS_DW_S): Likewise.
53095 (_FP_WFRACXBITS_DW_S): Likewise.
53096 (_FP_HIGHBIT_DW_S): Likewise.
53097 (FP_FMA_S): Likewise.
53098 (_FP_FRAC_HIGH_DW_S): Likewise.
53099 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53100 (_FP_WFRACBITS_DW_D): Likewise.
53101 (_FP_WFRACXBITS_DW_D): Likewise.
53102 (_FP_HIGHBIT_DW_D): Likewise.
53103 (FP_FMA_D): Likewise.
53104 (_FP_FRAC_HIGH_DW_D): Likewise.
53105 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53106 (_FP_WFRACBITS_DW_E): Likewise.
53107 (_FP_WFRACXBITS_DW_E): Likewise.
53108 (_FP_HIGHBIT_DW_E): Likewise.
53109 (FP_FMA_E): Likewise.
53110 (_FP_FRAC_HIGH_DW_E): Likewise.
53111 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53112 (_FP_WFRACBITS_DW_Q): Likewise.
53113 (_FP_WFRACXBITS_DW_Q): Likewise.
53114 (_FP_HIGHBIT_DW_Q): Likewise.
53115 (FP_FMA_Q): Likewise.
53116 (_FP_FRAC_HIGH_DW_Q): Likewise.
53117 * soft-fp/fmasf4.c: New file.
53118 * soft-fp/fmadf4.c: Likewise.
53119 * soft-fp/fmatf4.c: Likewise.
53120
53121 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53122
53123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53124 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53125 Silvermont.
53126 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53127 macro.
53128 (index_Slow_SSE4_2): Likewise.
53129 (index_Prefer_PMINUB_for_stringop): Likewise.
53130 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53131 bit_Slow_SSE4_2 is set.
53132 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53133 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53134
53135 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53136
53137 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53138 rtld_global._dl_hwcap2.
53139 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53140 POWER8.
53141 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53142 POWER8 feature descriptions defined in _dl_hwcap2.
53143 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53144 string handling for POWER8 feature bits.
53145 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53146 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53147 _dl_powerpc_cap_flags.
53148 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53149 * sysdeps/powerpc/rtld-global-offsets.sym
53150 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53151 _dl_hwcap2 in the rtld_global_ro structure.
53152
53153 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53154
53155 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53156 hardware capabilities in support of AT_HWCAP2.
53157 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53158 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53159 GLRO(dl_hwcap2).
53160 (_dl_show_auxv): Add support for calling _dl_procinfo to display
53161 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
53162 explicitly the unknown a_type display mechanism is used.
53163 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53164 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53165 struct member.
53166 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53167 to macro prototype for AT_HWCAP2 support.
53168 * sysdeps/i386/dl-procinfo.h: Likewise.
53169 * sysdeps/s390/dl-procinfo.h: Likewise.
53170 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53171 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
53172 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
53173 return -1 for unknown a_type display fallback.
53174 * sysdeps/sparc/dl-procinfo.h: Likewise.
53175 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53176 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53177
53178 2013-06-28 Joseph Myers <joseph@codesourcery.com>
53179
53180 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53181 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53182
53183 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
53184
53185 [BZ #12492]
53186 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53187 mprotect making __stack_prot writable.
53188
53189 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
53190 Joseph Myers <joseph@codesourcery.com>
53191
53192 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
53193 as being properly aligned.
53194
53195 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
53196
53197 * dlfcn/modstatic5.c: New file.
53198 * dlfcn/tststatic5.c: New file.
53199 * dlfcn/Makefile (tests): Add tststatic5.
53200 (tests-static): Likewise.
53201 (modules-names): Add modstatic5.
53202 (tststatic5-ENV): New variable.
53203 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53204
53205 [BZ #15022]
53206 * elf/dl-support.c (_dl_main_map): New variable.
53207 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
53208 (_dl_nns, _dl_load_adds): Set to 1.
53209 (_dl_initial_searchlist): Refer to _dl_main_map.
53210 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
53211 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
53212 call to _dl_get_origin.
53213 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
53214 around call_map.
53215 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
53216 * dlfcn/modstatic3.c: New file.
53217 * dlfcn/tststatic3.c: New file.
53218 * dlfcn/tststatic4.c: New file.
53219 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
53220 (tests-static): Likewise.
53221 (modules-names): Add modstatic3.
53222 (tststatic3-ENV, tststatic4-ENV): New variables.
53223 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
53224 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
53225
53226 2013-06-26 Joseph Myers <joseph@codesourcery.com>
53227
53228 * configure.in (CC): Require GCC version 4.4 or later.
53229 * configure: Regenerated.
53230 * manual/install.texi (Tools for Compilation): Update GCC version
53231 requirement.
53232 * INSTALL: Regenerated.
53233
53234 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53235
53236 [BZ #15674]
53237 * string/test-memcmp.c (check2): New.
53238 (main): Call check2.
53239
53240 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
53241
53242 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
53243
53244 [BZ #15022]
53245 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
53246 over to...
53247 (dl_open_worker) [!SHARED]: ... here.
53248
53249 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53250
53251 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
53252
53253 2013-06-25 Richard Henderson <rth@redhat.com>
53254
53255 * locale/programs/locarchive.c: Include <libc-internal.h>
53256
53257 2013-06-25 Joseph Myers <joseph@codesourcery.com>
53258
53259 * manual/texinfo.tex: Update to version 2013-06-21.17, with
53260 trailing whitespace removed.
53261
53262 2013-06-24 Mike Frysinger <vapier@gentoo.org>
53263
53264 [BZ #10283]
53265 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
53266 * locale/programs/locarchive.c: Include libc-mmap.h.
53267 (prepare_address_space): Take two new outputs (the mmap base and len).
53268 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
53269 values.
53270 (create_archive): Declare new mmap base and len values for
53271 prepare_address_space, and store the result in ah.
53272 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
53273 (enlarge_archive): If ah->mmap_base is not NULL, use that and
53274 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53275 Declare new mmap base and len values for
53276 prepare_address_space, and store the result in new_ah.
53277 (open_archive): Declare new mmap base and len values for
53278 prepare_address_space, and store the result in ah.
53279 (close_archive): If ah->mmap_base is not NULL, use that and
53280 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53281 * sysdeps/generic/libc-mmap.h: New file.
53282
53283 2013-06-24 Mike Frysinger <vapier@gentoo.org>
53284
53285 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
53286 (ALIGN_UP): Likewise.
53287 (PTR_ALIGN_DOWN): Likewise.
53288 (PTR_ALIGN_UP): Likewise.
53289
53290 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53291
53292 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
53293 entry mapped to PPC_PLATFORM_POWER8.
53294 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
53295 POWER8.
53296 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
53297 (_dl_string_platform): Add case for exporting platform position for
53298 POWER8.
53299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
53300 search path to sysdeps/powerpc/powerpc32/power8 directory.
53301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
53302 search path to sysdeps/powerpc/powerpc64/power8 directory.
53303 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
53304 power7 directories.
53305 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
53306 power7 directories.
53307
53308 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53309
53310 * INSTALL: Regenerate.
53311
53312 * nscd/connections.c (nscd_init): Fix comment.
53313
53314 2013-06-22 Joseph Myers <joseph@codesourcery.com>
53315
53316 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
53317
53318 [BZ #15667]
53319 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
53320 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
53321
53322 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
53323
53324 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
53325 DL_DST_REQ_STATIC.
53326 (DL_DST_REQ_STATIC): Remove macro.
53327
53328 2013-06-21 Joseph Myers <joseph@codesourcery.com>
53329
53330 [BZ #7006]
53331 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
53332 with a shift of 0 bits.
53333
53334 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
53335
53336 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
53337 $(tststatic-ENV).
53338
53339 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53340
53341 [BZ #15655]
53342 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
53343
53344 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53345
53346 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
53347 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
53348 accepts -fno-tree-loop-distribute-patterns.
53349 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
53350 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
53351 recursive call.
53352 * string/memset.c (memset): Likewise.
53353 * string/test-memmove.c (simple_memmove): Disable loop transformation
53354 to library calls.
53355 * string/test-memset.c (simple_memset): Likewise.
53356 * benchtests/bench-memmove.c (simple_memmove): Likewise.
53357 * benchtests/bench-memset.c (simple_memset): Likewise.
53358 * configure: Regenerated.
53359
53360 2013-06-20 Joseph Myers <joseph@codesourcery.com>
53361
53362 * math/test-misc.c (main): Ignore fesetround failure when failures
53363 of subsequent rounding tests would be ignored.
53364
53365 [BZ #15654]
53366 * math/fedisblxcpt.c (fedisableexcept): Return 0.
53367 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
53368 * math/fegetenv.c (__fegetenv): Return 0.
53369 * math/fegetexcept.c (fegetexcept): Return 0.
53370 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
53371 FE_TONEAREST.
53372 * math/feholdexcpt.c (feholdexcept): Return 0.
53373 * math/fesetenv.c (__fesetenv): Return 0.
53374 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
53375 argument FE_TONEAREST.
53376 * math/feupdateenv.c (__feupdateenv): Return 0.
53377 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
53378
53379 2013-06-18 Roland McGrath <roland@hack.frob.com>
53380
53381 * elf/rtld-Rules (rtld-compile-command.S): New variable.
53382 (rtld-compile-command.s, rtld-compile-command.c): New variables.
53383 ($(objpfx)rtld-%.os rules): Use them.
53384
53385 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53386
53387 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
53388 fields.
53389
53390 2013-06-17 Roland McGrath <roland@hack.frob.com>
53391
53392 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
53393 length of target pattern, then descending length of dependency pattern.
53394 * configure.in (AWK): Require gawk 3.1.2 or newer.
53395 * manual/install.texi (Tools for Compilation): Say that we do.
53396 * configure: Regenerated.
53397
53398 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
53399 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
53400 * scripts/sysd-rules.awk: ... this new script.
53401 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
53402 than a glob-style pattern.
53403
53404 2013-06-17 Joseph Myers <joseph@codesourcery.com>
53405
53406 * math/test-misc.c (main): Do not treat incorrectly rounded
53407 conversions as failure unless ROUNDING_TESTS passes.
53408
53409 2013-06-15 Joseph Myers <joseph@codesourcery.com>
53410
53411 [BZ #15631]
53412 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
53413 restore exception state around main square root computation, then
53414 check for inexactness explicitly.
53415
53416 * math/libm-test.inc (fma_test_data): Add another test.
53417
53418 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53419
53420 * manual/threads.texi (Non-POSIX Extensions): New document
53421 node. Document pthread_getattr_default_np and
53422 pthread_setattr_default_np.
53423
53424 * Versions.def (libpthread): Add GLIBC_2.18.
53425 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
53426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53427 Likewise.
53428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53429 Likewise.
53430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53431 Likewise.
53432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53433 Likewise.
53434 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
53435 Likewise.
53436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53437 Likewise.
53438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53439 Likewise.
53440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53441 Likewise.
53442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53443 Likewise.
53444
53445 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53446
53447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53448 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
53449
53450 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
53451 H.J. Lu <hjl.tools@gmail.com>
53452
53453 [BZ #15627]
53454 * sysdeps/x86_64/rtld-memset.c: Remove file.
53455 * sysdeps/x86_64/rtld-memset.S: New file.
53456
53457 2013-06-14 Joseph Myers <joseph@codesourcery.com>
53458
53459 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
53460 (test_in_one_mode): Take arguments for whether the rounding mode
53461 is supported for each floating-point type.
53462 (do_test): Pass new arguments to test_in_one_mode using
53463 ROUNDING_TESTS.
53464
53465 2013-06-13 Roland McGrath <roland@hack.frob.com>
53466
53467 * posix/tst-waitid.c (do_test): Distinguish different instances of
53468 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
53469 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
53470 before entering the kernel for waitpid.
53471
53472 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
53473
53474 * NEWS: Fix note on clock function precision. Text by Roland
53475 McGrath.
53476
53477 2013-06-13 Roland McGrath <roland@hack.frob.com>
53478
53479 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
53480 it into place only when and if the sanity check passes.
53481
53482 2013-06-13 Joseph Myers <joseph@codesourcery.com>
53483
53484 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
53485 output for whether conversion result is exact. Take argument
53486 indicating whether type is IBM long double.
53487 (round_for_all): Change need_exact field to ibm_ld.
53488 * stdlib/tst-strtod-round.c (struct exactness): New type.
53489 (struct test): Change bool ld_ok field to struct exactness exact.
53490 (TEST): Update all definitions for change to field.
53491 (tests): Regenerate array contents.
53492 (test_in_one_mode): Take pointer to new field instead of old ld_ok
53493 field value. Check for IBM long double here.
53494 (do_test): Update calls to test_in_one_mode.
53495
53496 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
53497
53498 [BZ #12515]
53499 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
53500 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
53501
53502 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53503
53504 [BZ #15605]
53505 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
53506 generated by the compiler on loop optimizations.
53507 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
53508 general definitions.
53509
53510 2013-06-12 Joseph Myers <joseph@codesourcery.com>
53511
53512 * math/bug-nextafter.c: Include <math-tests.h>.
53513 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53514 the relevant type.
53515 * math/bug-nexttoward.c: Include <math-tests.h>.
53516 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53517 the relevant type.
53518 * math/test-misc.c: Include <math-tests.h>.
53519 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53520 the relevant type.
53521
53522 2013-06-12 Andreas Jaeger <aj@suse.de>
53523
53524 * po/ia.po: Update Interlingua translation from translation
53525 project.
53526
53527 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
53528
53529 * include/fenv.h: Include stdbool.h.
53530 (struct rm_ctx): New structure.
53531 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
53532 Define macro.
53533 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
53534 (SET_RESTORE_ROUNDF): Likewise.
53535 (SET_RESTORE_ROUNDL): Likewise.
53536 (SET_RESTORE_ROUND_NOEX): Likewise.
53537 (SET_RESTORE_ROUND_NOEXF): Likewise.
53538 (SET_RESTORE_ROUND_NOEXL): Likewise.
53539 (SET_RESTORE_ROUND_53BIT): Likewise.
53540 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
53541 (libc_feresetround_noexf_ctx): Likewise.
53542 (libc_feresetround_noexl_ctx): Likewise.
53543 (libc_feholdsetround_53bit_ctx): Likewise.
53544 (libc_feresetround_53bit_ctx): Likewise.
53545 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
53546 (libc_feholdexcept_setround_sse_ctx): New function.
53547 (libc_fesetenv_sse_ctx): Likewise.
53548 (libc_feupdateenv_sse_ctx): Likewise.
53549 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
53550 (libc_feholdexcept_setround_387_ctx): Likewise.
53551 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
53552 (libc_feholdsetround_387_prec_ctx): Likewise.
53553 (libc_feholdsetround_387_ctx): Likewise.
53554 (libc_feholdsetround_387_53bit_ctx): Likewise.
53555 (libc_feholdsetround_sse_ctx): Likewise.
53556 (libc_feresetround_sse_ctx): Likewise.
53557 (libc_feresetround_387_ctx): Likewise.
53558 (libc_feupdateenv_387_ctx): Likewise.
53559 (libc_feholdexcept_setroundf_ctx): Define macro.
53560 (libc_fesetenvf_ctx): Likewise.
53561 (libc_feupdateenvf_ctx): Likewise.
53562 (libc_feholdsetroundf_ctx): Likewise.
53563 (libc_feresetroundf_ctx): Likewise.
53564 (libc_feholdexcept_setround_ctx): Likewise.
53565 (libc_fesetenv_ctx): Likewise.
53566 (libc_feupdateenv_ctx): Likewise.
53567 (libc_feholdsetround_ctx): Likewise.
53568 (libc_feresetround_ctx): Likewise.
53569 (libc_feholdexcept_setroundl_ctx): Likewise.
53570 (libc_feupdateenvl_ctx): Likewise.
53571 (libc_feholdsetroundl_ctx): Likewise.
53572 (libc_feresetroundl_ctx): Likewise.
53573 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
53574 (libc_feresetround_53bit_ctx): Likewise.
53575
53576 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53577
53578 * locale/iso-639.def: Convert to UTF-8.
53579
53580 2013-06-11 Joseph Myers <joseph@codesourcery.com>
53581
53582 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
53583 (EXCEPTION_TESTS_double): Likewise.
53584 (EXCEPTION_TESTS_long_double): Likewise.
53585 (EXCEPTION_TESTS): Likewise.
53586 * math/libm-test.inc (test_exceptions): Only test exceptions if
53587 EXCEPTION_TESTS (FLOAT).
53588
53589 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53590
53591 * benchtests/Makefile (string-bench): Add strcpy_chk and
53592 stpcpy_chk.
53593 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
53594 * benchtests/bench-stpcpy_chk.c: New file.
53595 * benchtests/bench-strcpy_chk-ifunc.c: New file.
53596 * benchtests/bench-strcpy_chk.c: New file.
53597 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
53598 code.
53599 (do_test): Likewise.
53600
53601 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53602
53603 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
53604 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
53605 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
53606 with tabs where appropriate.
53607 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
53608 dl-procinfo.h.
53609 [PPC_PLATFORM_PPC440]: Likewise.
53610 [PPC_PLATFORM_PPC464]: Likewise.
53611 [PPC_PLATFORM_PPC476]: Likewise.
53612 (_dl_string_platform): Add support for detecting ppc405, ppc440,
53613 ppc464, and ppc476 platform strings merging from ports/
53614 dl-procinfo.h.
53615
53616 2013-06-11 Andreas Schwab <schwab@suse.de>
53617
53618 [BZ #14991]
53619 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
53620 (from_ucs4_idx): Regenerate.
53621 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
53622 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
53623 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
53624 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
53625 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
53626 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
53627 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
53628 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
53629 from FROM_LOOP and TO_LOOP specific macros.
53630 (BODY): Handle combining characters.
53631 * iconvdata/BIG5HKSCS.irreversible: Update.
53632 * iconvdata/BIG5HKSCS.precomposed: New file.
53633 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
53634 characters.
53635 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
53636
53637 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53638
53639 * include/sys/time.h: Fix indentation and add copyright header.
53640
53641 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
53642 (do_test): Likewise.
53643 * string/test-memchr.c (do_one_test): Likewise.
53644 (do_test): Likewise.
53645 * string/test-memcmp.c (do_one_test): Likewise.
53646 (do_test): Likewise.
53647 * string/test-memcpy.c (do_one_test): Likewise.
53648 (do_test): Likewise.
53649 * string/test-memmem.c (do_one_test): Likewise.
53650 (do_test): Likewise.
53651 (do_random_tests): Likewise.
53652 * string/test-memmove.c (do_one_test): Likewise.
53653 (do_test): Likewise.
53654 * string/test-memset.c (do_one_test): Likewise.
53655 (do_test): Likewise.
53656 * string/test-rawmemchr.c (do_one_test): Likewise.
53657 (do_test): Likewise.
53658 * string/test-strcasecmp.c (do_one_test): Likewise.
53659 (do_test): Likewise.
53660 * string/test-strcasestr.c (do_one_test): Likewise.
53661 (do_test): Likewise.
53662 * string/test-strcat.c (do_one_test): Likewise.
53663 (do_test): Likewise.
53664 * string/test-strchr.c (do_one_test): Likewise.
53665 (do_test): Likewise.
53666 * string/test-strcmp.c (do_one_test): Likewise.
53667 (do_test): Likewise.
53668 * string/test-strcpy.c (do_one_test): Likewise.
53669 (do_test): Likewise.
53670 * string/test-string.h: Likewise.
53671 (test_init): Likewise.
53672 * string/test-strlen.c (do_one_test): Likewise.
53673 (do_test): Likewise.
53674 * string/test-strncasecmp.c (do_one_test): Likewise.
53675 (do_test): Likewise.
53676 * string/test-strncat.c (do_one_test): Likewise.
53677 (do_test): Likewise.
53678 * string/test-strncmp.c (do_one_test): Likewise.
53679 (do_test_limit): Likewise.
53680 (do_test): Likewise.
53681 * string/test-strncpy.c (do_one_test): Likewise.
53682 (do_test): Likewise.
53683 * string/test-strnlen.c (do_one_test): Likewise.
53684 (do_test): Likewise.
53685 * string/test-strpbrk.c (do_one_test): Likewise.
53686 (do_test): Likewise.
53687 * string/test-strrchr.c (do_one_test): Likewise.
53688 (do_test): Likewise.
53689 * string/test-strspn.c (do_one_test): Likewise.
53690 (do_test): Likewise.
53691 * string/test-strstr.c (do_one_test): Likewise.
53692 (do_test): Likewise.
53693
53694 * benchtests/Makefile (string-bench): Add string benchmarks.
53695 * benchtests/bench-bcopy-ifunc.c: New file.
53696 * benchtests/bench-bcopy.c: New file.
53697 * benchtests/bench-bzero-ifunc.c: New file.
53698 * benchtests/bench-bzero.c: New file.
53699 * benchtests/bench-memccpy-ifunc.c: New file.
53700 * benchtests/bench-memccpy.c: New file.
53701 * benchtests/bench-memchr-ifunc.c: New file.
53702 * benchtests/bench-memchr.c: New file.
53703 * benchtests/bench-memcmp-ifunc.c: New file.
53704 * benchtests/bench-memcmp.c: New file.
53705 * benchtests/bench-memmem-ifunc.c: New file.
53706 * benchtests/bench-memmem.c: New file.
53707 * benchtests/bench-memmove-ifunc.c: New file.
53708 * benchtests/bench-memmove.c: New file.
53709 * benchtests/bench-mempcpy-ifunc.c: New file.
53710 * benchtests/bench-mempcpy.c: New file.
53711 * benchtests/bench-memset-ifunc.c: New file.
53712 * benchtests/bench-memset.c: New file.
53713 * benchtests/bench-rawmemchr-ifunc.c: New file.
53714 * benchtests/bench-rawmemchr.c: New file.
53715 * benchtests/bench-stpcpy-ifunc.c: New file.
53716 * benchtests/bench-stpcpy.c: New file.
53717 * benchtests/bench-stpncpy-ifunc.c: New file.
53718 * benchtests/bench-stpncpy.c: New file.
53719 * benchtests/bench-strcasecmp-ifunc.c: New file.
53720 * benchtests/bench-strcasecmp.c: New file.
53721 * benchtests/bench-strcasestr-ifunc.c: New file.
53722 * benchtests/bench-strcasestr.c: New file.
53723 * benchtests/bench-strcat-ifunc.c: New file.
53724 * benchtests/bench-strcat.c: New file.
53725 * benchtests/bench-strchr-ifunc.c: New file.
53726 * benchtests/bench-strchr.c: New file.
53727 * benchtests/bench-strchrnul-ifunc.c: New file.
53728 * benchtests/bench-strchrnul.c: New file.
53729 * benchtests/bench-strcmp-ifunc.c: New file.
53730 * benchtests/bench-strcmp.c: New file.
53731 * benchtests/bench-strcpy-ifunc.c: New file.
53732 * benchtests/bench-strcpy.c: New file.
53733 * benchtests/bench-strcspn-ifunc.c: New file.
53734 * benchtests/bench-strcspn.c: New file.
53735 * benchtests/bench-strlen-ifunc.c: New file.
53736 * benchtests/bench-strlen.c: New file.
53737 * benchtests/bench-strncasecmp-ifunc.c: New file.
53738 * benchtests/bench-strncasecmp.c: New file.
53739 * benchtests/bench-strncat-ifunc.c: New file.
53740 * benchtests/bench-strncat.c: New file.
53741 * benchtests/bench-strncmp-ifunc.c: New file.
53742 * benchtests/bench-strncmp.c: New file.
53743 * benchtests/bench-strncpy-ifunc.c: New file.
53744 * benchtests/bench-strncpy.c: New file.
53745 * benchtests/bench-strnlen-ifunc.c: New file.
53746 * benchtests/bench-strnlen.c: New file.
53747 * benchtests/bench-strpbrk-ifunc.c: New file.
53748 * benchtests/bench-strpbrk.c: New file.
53749 * benchtests/bench-strrchr-ifunc.c: New file.
53750 * benchtests/bench-strrchr.c: New file.
53751 * benchtests/bench-strspn-ifunc.c: New file.
53752 * benchtests/bench-strspn.c: New file.
53753 * benchtests/bench-strstr-ifunc.c: New file.
53754 * benchtests/bench-strstr.c: New file.
53755
53756 * benchtests/Makefile: Disable parallel execution of targets.
53757 (string-bench): Add memcpy.
53758 (benchset): New variable to store a list of benchmark sets.
53759 (bench-func): Renamed from bench.
53760 (bench-set): New target.
53761 (bench): Depend on bench-func and bench-set.
53762 * benchtests/README: Add section on benchmark sets.
53763 * benchtests/bench-memcpy-ifunc.c: New file.
53764 * benchtests/bench-memcpy.c: New file.
53765 * benchtests/bench-string.h: New file.
53766
53767 2013-06-11 Andreas Schwab <schwab@suse.de>
53768
53769 [BZ #15577]
53770 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
53771 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
53772 values in the triple.
53773 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
53774 terminator in the group key.
53775
53776 2013-06-11 Andreas Jaeger <aj@suse.de>
53777
53778 * po/zh_TW.po: Update Chinese (traditional) translation from
53779 translation project.
53780
53781 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53782
53783 * include/time.h (__clock_gettime): Add libc_hidden_proto.
53784 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
53785 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
53786 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53787 (clock_getcpuclockid): Likewise.
53788 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
53789 Add weak_alias and libc_hidden_def.
53790 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
53791 * rt/clock_gettime.c (clock_gettime): Rename to
53792 __clock_gettime. Add weak_alias and libc_hidden_def.
53793 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
53794 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
53795 __clock_nanosleep. Add weak_alias and libc_hidden_def.
53796 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
53797 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
53798 Likewise.
53799 * rt/clock_settime.c (clock_settime): Rename to
53800 __clock_settime. Add weak_alias and libc_hidden_def.
53801 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
53802
53803 2013-06-10 Joseph Myers <joseph@codesourcery.com>
53804
53805 * mach/err_boot.sub: Remove trailing whitespace.
53806 * mach/err_ipc.sub: Likewise.
53807 * mach/err_mach.sub: Likewise.
53808
53809 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
53810 (ROUNDING_TESTS_double): Likewise.
53811 (ROUNDING_TESTS_long_double): Likewise.
53812 (ROUNDING_TESTS): Likewise.
53813 * math/libm-test.inc: Include <math-tests.h>.
53814 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
53815 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53816 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53817 (IF_ROUND_INIT_FE_UPWARD): Likewise.
53818
53819 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53820
53821 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
53822 of assigning.
53823
53824 2013-06-08 Joseph Myers <joseph@codesourcery.com>
53825
53826 * sysdeps/gnu/errlist.awk: Do not generate space at end of
53827 otherwise empty TRANS lines.
53828 * sysdeps/gnu/errlist.c: Regenerated.
53829
53830 * catgets/gencat.c (error_print): Use (void) in function
53831 definition.
53832 * crypt/crypt_util.c (__init_des): Likewise.
53833 * crypt/speeds.c (Stop): Likewise.
53834 (main): Likewise.
53835 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
53836 * inet/ruserpass.c (token): Likewise.
53837 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
53838 * intl/localealias.c (extend_alias_table): Likewise.
53839 * intl/plural-exp.c (init_germanic_plural): Likewise.
53840 * libio/fcloseall.c (__fcloseall): Likewise.
53841 * libio/genops.c (_IO_flush_all): Likewise.
53842 (_IO_flush_all_linebuffered): Likewise.
53843 (_IO_cleanup): Likewise.
53844 (_IO_iter_begin): Likewise.
53845 (_IO_iter_end): Likewise.
53846 (_IO_list_lock): Likewise.
53847 (_IO_list_unlock): Likewise.
53848 (_IO_list_resetlock): Likewise.
53849 * libio/getchar.c (getchar): Likewise.
53850 * libio/getchar_u.c (getchar_unlocked): Likewise.
53851 * libio/getwchar.c (getwchar): Likewise.
53852 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
53853 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
53854 * login/getpt.c (__getpt): Likewise.
53855 * login/tst-utmp.c (main): Likewise.
53856 * malloc/hooks.c (__malloc_check_init): Likewise.
53857 * malloc/malloc.c (__malloc_stats): Likewise.
53858 * malloc/mtrace.c (tr_break): Likewise.
53859 (mtrace): Likewise.
53860 (muntrace): Likewise.
53861 * misc/fstab.c (endfsent): Likewise.
53862 * misc/getclktck.c (__getclktck): Likewise.
53863 * misc/getdtsz.c (__getdtablesize): Likewise.
53864 * misc/gethostid.c (gethostid): Likewise.
53865 * misc/getpagesize.c (__getpagesize): Likewise.
53866 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
53867 (__get_nprocs): Likewise.
53868 (__get_phys_pages): Likewise.
53869 (__get_avphys_pages): Likewise.
53870 * misc/getttyent.c (getttyent): Likewise.
53871 (setttyent): Likewise.
53872 (endttyent): Likewise.
53873 * misc/getusershell.c (getusershell): Likewise.
53874 (endusershell): Likewise.
53875 (setusershell): Likewise.
53876 (initshells): Likewise.
53877 * misc/hsearch.c (__hdestroy): Likewise.
53878 * misc/sync.c (sync): Likewise.
53879 * misc/syslog.c (closelog_internal): Likewise.
53880 (closelog): Likewise.
53881 * misc/ttyslot.c (ttyslot): Likewise.
53882 * misc/vhangup.c (vhangup): Likewise.
53883 * posix/fork.c (__fork): Likewise.
53884 * posix/getegid.c (__getegid): Likewise.
53885 * posix/geteuid.c (__geteuid): Likewise.
53886 * posix/getgid.c (__getgid): Likewise.
53887 * posix/getpid.c (__getpid): Likewise.
53888 * posix/getppid.c (__getppid): Likewise.
53889 * posix/getuid.c (__getuid): Likewise.
53890 * posix/pause.c (pause): Likewise.
53891 * posix/setpgrp.c (setpgrp): Likewise.
53892 * posix/setsid.c (__setsid): Likewise.
53893 * posix/test-vfork.c (noop): Likewise.
53894 * resolv/gethnamaddr.c (_endhtent): Likewise.
53895 (_gethtent): Likewise.
53896 (ht_endhostent): Likewise.
53897 (gethostent): Likewise.
53898 (dns_service): Likewise.
53899 * stdlib/drand48.c (drand48): Likewise.
53900 * stdlib/lrand48.c (lrand48): Likewise.
53901 * stdlib/mrand48.c (mrand48): Likewise.
53902 * stdlib/rand.c (rand): Likewise.
53903 * stdlib/random.c (__random): Likewise.
53904 * stdlib/setenv.c (clearenv): Likewise.
53905 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
53906 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
53907 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
53908 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
53909 (__get_nprocs): Likewise.
53910 (__get_phys_pages): Likewise.
53911 (__get_avphys_pages): Likewise.
53912 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
53913 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
53914 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
53915 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
53916 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
53917 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
53918 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
53919 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
53920 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
53921 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
53922 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
53923 * sysdeps/mach/hurd/sync.c (sync): Likewise.
53924 * sysdeps/posix/clock.c (clock): Likewise.
53925 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
53926 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
53927 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
53928 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
53929 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
53930 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
53931 (__get_nprocs_conf): Likewise.
53932 (__get_phys_pages): Likewise.
53933 (__get_avphys_pages): Likewise.
53934 * time/clock.c (clock): Likewise.
53935 * time/tzset.c (__tzname_max): Likewise.
53936
53937 2013-06-07 Joseph Myers <joseph@codesourcery.com>
53938
53939 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
53940 (__bswap_32): Do not use "register".
53941 * crypt/crypt.c (_ufc_doit_r): Likewise.
53942 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
53943 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
53944 * gmon/gmon.c (__monstartup): Likewise.
53945 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
53946 * hurd/hurdmalloc.c (more_memory): Likewise.
53947 (malloc): Likewise.
53948 (free): Likewise.
53949 (realloc): Likewise.
53950 (malloc_fork_prepare): Likewise.
53951 (malloc_fork_parent): Likewise.
53952 (malloc_fork_child): Likewise.
53953 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
53954 (_svcauth_des): Likewise.
53955 * inet/inet_lnaof.c (inet_lnaof): Likewise.
53956 * inet/inet_net.c (inet_network): Likewise.
53957 * inet/inet_netof.c (inet_netof): Likewise.
53958 * inet/rcmd.c (__validuser2_sa): Likewise.
53959 * io/fts.c (fts_open): Likewise.
53960 (fts_load): Likewise.
53961 (fts_close): Likewise.
53962 (fts_read): Likewise.
53963 (fts_children): Likewise.
53964 (fts_build): Likewise.
53965 (fts_stat): Likewise.
53966 (fts_sort): Likewise.
53967 (fts_alloc): Likewise.
53968 (fts_lfree): Likewise.
53969 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
53970 (_IO_file_xsgetn): Likewise.
53971 (_IO_file_xsgetn_mmap): Likewise.
53972 * libio/iofopncook.c (_IO_cookie_read): Likewise.
53973 (_IO_cookie_write): Likewise.
53974 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
53975 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
53976 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
53977 * malloc/obstack.c (_obstack_begin): Likewise.
53978 (_obstack_begin_1): Likewise.
53979 (_obstack_newchunk): Likewise.
53980 (_obstack_allocated_p): Likewise.
53981 (obstack_free): Likewise.
53982 (_obstack_memory_used): Likewise.
53983 * misc/getttyent.c (getttynam): Likewise.
53984 (getttyent): Likewise.
53985 (skip): Likewise.
53986 (value): Likewise.
53987 * misc/getusershell.c (initshells): Likewise.
53988 * misc/syslog.c (__vsyslog_chk): Likewise.
53989 * misc/ttyslot.c (ttyslot): Likewise.
53990 * nis/nis_hash.c (__nis_hash): Likewise.
53991 * posix/fnmatch_loop.c (FCT): Likewise.
53992 * posix/getconf.c (print_all): Likewise.
53993 (main): Likewise.
53994 * posix/getopt.c (exchange): Likewise.
53995 * posix/glob.c (globfree): Likewise.
53996 (prefix_array): Likewise.
53997 (__glob_pattern_type): Likewise.
53998 * resolv/arpa/nameser.h (NS_GET16): Likewise.
53999 (NS_GET32): Likewise.
54000 (NS_PUT16): Likewise.
54001 (NS_PUT32): Likewise.
54002 * resolv/gethnamaddr.c (getanswer): Likewise.
54003 (gethostbyname2): Likewise.
54004 (gethostbyaddr): Likewise.
54005 (_gethtent): Likewise.
54006 (_gethtbyname2): Likewise.
54007 (_gethtbyaddr): Likewise.
54008 * resolv/ns_print.c (dst_s_get_int16): Likewise.
54009 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54010 * resolv/res_init.c (__res_vinit): Likewise.
54011 (net_mask): Likewise.
54012 * resolv/res_mkquery.c (outchar): Likewise.
54013 (PRINT): Likewise.
54014 * stdio-common/printf_fp.c (outchar): Likewise.
54015 (PRINT): Likewise.
54016 * stdio-common/printf_fphex.c (outchar): Likewise.
54017 (PRINT): Likewise.
54018 * stdio-common/printf_size.c (outchar): Likewise.
54019 (PRINT): Likewise.
54020 * stdio-common/test_rdwr.c (main): Likewise.
54021 * stdio-common/tfformat.c (matches): Likewise.
54022 * stdio-common/vfprintf.c (outchar): Likewise.
54023 (printf_unknown): Likewise.
54024 (buffered_vfprintf): Likewise.
54025 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54026 * stdio-common/xbug.c (AppendToBuffer): Likewise.
54027 (ReadFile): Likewise.
54028 * stdlib/qsort.c (SWAP): Likewise.
54029 (_quicksort): Likewise.
54030 * stdlib/setenv.c (__add_to_environ): Likewise.
54031 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54032 * stdlib/strtol_l.c (__strtol_l): Likewise.
54033 * stdlib/tst-strtod.c (main): Likewise.
54034 * stdlib/tst-strtol.c (main): Likewise.
54035 * stdlib/tst-strtoll.c (main): Likewise.
54036 * string/bits/string2.h (__strcmp_cc): Likewise.
54037 (__strcmp_cg): Likewise.
54038 (__strcspn_c1): Likewise.
54039 (__strcspn_c2): Likewise.
54040 (__strcspn_c3): Likewise.
54041 (__strspn_c1): Likewise.
54042 (__strspn_c2): Likewise.
54043 (__strspn_c3): Likewise.
54044 (__strsep_1c): Likewise.
54045 (__strsep_2c): Likewise.
54046 (__strsep_3c): Likewise.
54047 * string/memccpy.c (__memccpy): Likewise.
54048 * string/stpcpy.c (__stpcpy): Likewise.
54049 * string/strcmp.c (strcmp): Likewise.
54050 * string/strrchr.c (strrchr): Likewise.
54051 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54052 Likewise.
54053 * sysdeps/mach/hurd/getcwd.c
54054 (_hurd_canonicalize_directory_name_internal): Likewise.
54055 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54056 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54057 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54058 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54059 Likewise, in both definitions.
54060 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54061 definitions.
54062 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54063 64] (__bswap_64): Likewise.
54064 * time/test_time.c (main): Likewise.
54065 * time/tzfile.c (__tzfile_read): Likewise.
54066 (__tzfile_compute): Likewise.
54067 * time/tzset.c (__tzset_parse_tz): Likewise.
54068 (tzset_internal): Likewise.
54069 (compute_change): Likewise.
54070 * wcsmbs/wcscat.c (__wcscat): Likewise.
54071 * wcsmbs/wcschr.c (wcschr): Likewise.
54072 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54073 * wcsmbs/wcscspn.c (wcscspn): Likewise.
54074 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54075 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54076 * wcsmbs/wcsspn.c (wcsspn): Likewise.
54077 * wcsmbs/wcsstr.c (wcsstr): Likewise.
54078 * wcsmbs/wmemchr.c (wmemchr): Likewise.
54079 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54080 * wcsmbs/wmemset.c (wmemset): Likewise.
54081
54082 2013-06-06 Joseph Myers <joseph@codesourcery.com>
54083
54084 * scripts/config.guess: Update to version 2013-05-16.
54085 * scripts/config.sub: Update to version 2013-04-24.
54086 * scripts/install-sh: Update to version 2011-11-20.07.
54087 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54088 * scripts/move-if-change: Update to version 2012-01-06 07:23.
54089
54090 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
54091
54092 * debug/fgetws_u_chk.c: Fix leading whitespaces.
54093 * elf/sln.c: Likewise.
54094 * hurd/hurd/ioctl.h: Likewise.
54095 * hurd/hurdmalloc.c: Likewise.
54096 * hurd/xattr.c: Likewise.
54097 * include/shlib-compat.h: Likewise.
54098 * inet/ruserpass.c: Likewise.
54099 * libio/iofgets_u.c: Likewise.
54100 * libio/iofgetws_u.c: Likewise.
54101 * locale/programs/ld-identification.c: Likewise.
54102 * locale/programs/ld-time.c: Likewise.
54103 * mach/msg-destroy.c: Likewise.
54104 * nss/nss_files/files-netgrp.c: Likewise.
54105 * resolv/res_data.c: Likewise.
54106 * soft-fp/op-1.h: Likewise.
54107 * soft-fp/op-2.h: Likewise.
54108 * soft-fp/op-4.h: Likewise.
54109 * soft-fp/op-common.h: Likewise.
54110 * stdio-common/printf_fphex.c: Likewise.
54111 * stdlib/strtod_l.c: Likewise.
54112 * sunrpc/rpc/clnt.h: Likewise.
54113 * sysdeps/generic/framestate.c: Likewise.
54114 * sysdeps/i386/bsd-_setjmp.S: Likewise.
54115 * sysdeps/i386/bsd-setjmp.S: Likewise.
54116 * sysdeps/i386/__longjmp.S: Likewise.
54117 * sysdeps/i386/setjmp.S: Likewise.
54118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54119 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54120 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54121 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54122 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54123 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54124 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54125 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54126 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54127 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54128 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54129 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54130 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54131 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54132 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54133 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54134 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54135 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54136 * sysdeps/ieee754/support.c: Likewise.
54137 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54138 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54139 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54140 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54141 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54142 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54143 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54144 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54145 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54146 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54147 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54148 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54149 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54150 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54151 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54152 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54153 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54155
54156 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
54157
54158 * posix/transbug.c: Remove executable mode.
54159
54160 2013-06-05 Joseph Myers <joseph@codesourcery.com>
54161
54162 * crypt/speeds.c: Remove trailing whitespace.
54163 * dlfcn/default.c: Likewise.
54164 * elf/ifuncdep2.c: Likewise.
54165 * elf/ifuncmain1.c: Likewise.
54166 * elf/ifuncmain1vis.c: Likewise.
54167 * elf/testobj.h: Likewise.
54168 * elf/tst-stackguard1.c: Likewise.
54169 * gmon/sys/gmon.h: Likewise.
54170 * hurd/hurdmsg.c: Likewise.
54171 * hurd/new-fd.c: Likewise.
54172 * hurd/ports-get.c: Likewise.
54173 * iconvdata/ibm1008_420.c: Likewise.
54174 * inet/tst-getni1.c: Likewise.
54175 * inet/tst-getni2.c: Likewise.
54176 * libio/ioungetc.c: Likewise.
54177 * libio/wfiledoalloc.c: Likewise.
54178 * manual/libm-err-tab.pl: Likewise.
54179 * math/w_dremf.c: Likewise.
54180 * misc/ftruncate.c: Likewise.
54181 * posix/bug-glob2.c: Likewise.
54182 * posix/tst-pcre.c: Likewise.
54183 * posix/wait4.c: Likewise.
54184 * resolv/README: Likewise.
54185 * resolv/res_debug.h: Likewise.
54186 * resolv/tst-inet_ntop.c: Likewise.
54187 * setjmp/bug269-setjmp.c: Likewise.
54188 * soft-fp/extended.h: Likewise.
54189 * soft-fp/op-1.h: Likewise.
54190 * soft-fp/op-2.h: Likewise.
54191 * soft-fp/op-4.h: Likewise.
54192 * soft-fp/op-8.h: Likewise.
54193 * soft-fp/testit.c: Likewise.
54194 * stdio-common/bug16.c: Likewise.
54195 * stdlib/random.c: Likewise.
54196 * sunrpc/rpcsvc/rquota.x: Likewise.
54197 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
54198 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54199 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54200 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54201 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54202 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54203 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54204 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54205 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54206 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54207 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54208 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54209 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54210 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54211 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54212 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54213 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54214 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54215 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54216 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54217 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54218 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54219 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
54220 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54221 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54222 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54223 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54224 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54225 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54226 * sysdeps/ieee754/s_lib_version.c: Likewise.
54227 * sysdeps/mach/hurd/check_fds.c: Likewise.
54228 * sysdeps/mach/hurd/getsockname.c: Likewise.
54229 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
54230 * sysdeps/mach/hurd/recvfrom.c: Likewise.
54231 * sysdeps/powerpc/bits/link.h: Likewise.
54232 * sysdeps/powerpc/dl-procinfo.c: Likewise.
54233 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
54234 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
54235 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
54236 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54237 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54238 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
54239 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54240 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
54241 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54242 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
54243 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54244 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
54245 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54246 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54247 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54248 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54249 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54250 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54251 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54252 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54253 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
54254 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54255 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54256 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
54257 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54258 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54259 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54260 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54261 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54262 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54263 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54264 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54265 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54266 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
54267 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54268 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
54269 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54270 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
54271 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
54272 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
54273 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
54274 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
54275 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
54276 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54277 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
54278 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
54279 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54280 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
54281 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
54282 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54283 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54284 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54285 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54286 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
54287 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
54288 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
54289 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54290 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
54291 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
54292 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
54293 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
54294 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
54295 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54296 * sysdeps/powerpc/sysdep.h: Likewise.
54297 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54298 * sysdeps/s390/s390-64/sub_n.S: Likewise.
54299 * sysdeps/sh/dl-trampoline.S: Likewise.
54300 * sysdeps/sh/memset.S: Likewise.
54301 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
54302 * sysdeps/sh/strlen.S: Likewise.
54303 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
54304 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
54305 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
54306 * sysdeps/sparc/sparc32/rem.S: Likewise.
54307 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
54308 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
54309 * sysdeps/sparc/sparc32/strchr.S: Likewise.
54310 * sysdeps/sparc/sparc32/udiv.S: Likewise.
54311 * sysdeps/sparc/sparc32/urem.S: Likewise.
54312 * sysdeps/sparc/sparc64/add_n.S: Likewise.
54313 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54314 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
54315 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
54316 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
54317 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
54318 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
54319 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
54320 * sysdeps/unix/bsd/times.c: Likewise.
54321 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
54322 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
54323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
54324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
54325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
54326 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
54327 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54328 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
54329 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
54330 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
54331 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
54332 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54333 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
54334 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54335 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54336 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
54337 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54338 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
54339 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
54340 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
54341 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
54342 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
54343 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54344 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
54345 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
54346 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
54347 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
54348 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54349 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
54350 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
54351 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
54352 * sysdeps/x86_64/strcspn.S: Likewise.
54353
54354 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54355
54356 * locale/C-translit.h: Revert #include <stdint.h> because this is a
54357 generated file. Regenerate properly from gen-translit.pl.
54358 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
54359 locale/C-translit.h.
54360
54361 2013-06-05 Andreas Schwab <schwab@suse.de>
54362
54363 [BZ #15100]
54364 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
54365 week as 6 instead of -1.
54366 * time/tst-strptime.c (day_tests): Add test case.
54367
54368 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
54369
54370 * sysdeps/generic/math_private.h
54371 (libc_feholdexcept_setround_53bit): Replace with
54372 libc_feholdsetround_53bit.
54373 (libc_feupdateenv_53bit): Replace with
54374 libc_feresetround_53bit.
54375 (SET_RESTORE_ROUND_53BIT): Adjust.
54376
54377 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
54378
54379 * string/test-strchrnul.c: Add copyright header.
54380
54381 * posix/tst-getaddrinfo4.c: Increase test timeout.
54382
54383 2013-06-03 Carlos O'Donell <carlos@redhat.com>
54384
54385 [BZ #15536]
54386 * math/libm-test.inc (MAX_EXP): Remove
54387 (MIN_EXP): Define.
54388 (ulp): Use MIN_EXP - MANT_DIG.
54389 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
54390
54391 2013-05-31 Carlos O'Donell <carlos@redhat.com>
54392
54393 * po/be.po: Revert last change.
54394 * po/zh_CN.po: Likewise.
54395 * po/header.pot: Likewise.
54396
54397 2013-05-31 Joseph Myers <joseph@codesourcery.com>
54398
54399 * Makefile ($(common-objpfx)linkobj/libc.so): Define
54400 link-libc-deps to empty as target-specific variable.
54401 * Makerules (link-libc-args): New variable.
54402 (libc-for-link): Likewise.
54403 (link-libc-deps): Likewise.
54404 (lib%.so): Depend on $(link-libc-deps). Link with
54405 $(link-libc-args).
54406 (build-module): Link with $(link-libc-args).
54407 (build-module-asneeded): Likewise.
54408 (build-module-helper-objlist): Filter out $(link-libc-deps) from
54409 list of objects.
54410 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
54411 target-specific variable.
54412 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
54413 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
54414 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
54415 libc.
54416 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
54417 libc and ld.so.
54418 ($(objpfx)libpcprofile.so): Likewise.
54419 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
54420 libc_nonshared.a.
54421 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
54422 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
54423 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
54424 $(link-libc-deps).
54425 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
54426 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
54427 * login/Makefile ($(objpfx)libutil.so): Likewise.
54428 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
54429 * math/Makefile ($(objpfx)libm.so): Likewise.
54430 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
54431 $(objpfx)libnsl.so): Define libc-for-link as target-specific
54432 variable instead of depending directly on libc.
54433 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
54434 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
54435 $(link-libc-deps).
54436 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
54437 libc.
54438 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
54439 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
54440 ($(objpfx)libanl.so): Likewise.
54441 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
54442 ld.so.
54443 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
54444 $(link-libc-deps).
54445 * sysdeps/i386/fpu/Makefile: Remove file.
54446 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
54447 ($(objpfx)libm.so): Remove dependency on ld.so.
54448
54449 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
54450
54451 [BZ # 15553]
54452 * nis/yp_xdr.c (XDRMAXNAME): Define.
54453 (XDRMAXRECORD): Define.
54454 (xdr_domainname): Use XDRMAXNAME.
54455 (xdr_mapname): Likewise.
54456 (xdr_peername): Likewise.
54457 (xdr_keydat): Use XDRMAXRECORD.
54458 (xdr_valdat): Likewise.
54459
54460 2013-05-30 Jeff Law <law@redhat.com>
54461
54462 [BZ #14256]
54463 * manual/errno.texi (ESTALE): Update to account for more than
54464 just NFS file systems.
54465 * sysdeps/gnu/errlist.c: Regenerated.
54466
54467 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54468
54469 [BZ #15465]
54470 * elf/Makefile (tests): Add tst-null-argv.
54471 (modules-names): Add tst-null-argv-lib.
54472 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
54473 (tst-null-argv-ENV): Set environment for tst-null-argv.
54474 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
54475 (RTLD_PROGNAME): New macro.
54476 * elf/tst-null-argv.c: New test case.
54477 * elf/tst-null-argv-lib.c: Library for test case.
54478 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
54479 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
54480 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
54481 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
54482 * elf/dl-init.c (call_init): Likewise.
54483 (_dl_init): Likewise.
54484 * elf/dl-load.c (print_search_path): Likewise.
54485 (_dl_map_object): Likewise.
54486 * elf/dl-lookup.c (do_lookup_x): Likewise.
54487 (add_dependency): Likewise.
54488 (_dl_lookup_symbol_x): Likewise.
54489 (_dl_debug_bindings): Likewise.
54490 * elf/dl-open.c (_dl_show_scope): Likewise.
54491 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54492 * elf/dl-version.c (match_symbol): Likewise.
54493 (_dl_check_map_versions): Likewise.
54494 * elf/rtld.c (dl_main): Likewise.
54495 (print_unresolved): Use RTLD_PROGNAME.
54496 (print_missing_version): Likewise.
54497 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
54498 (elf_machine_rela): Likewise.
54499 * sysdeps/powerpc/powerpc32/dl-machine.c
54500 (__process_machine_rela): Likewise.
54501 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54502 Likewise.
54503 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54504 Likewise.
54505 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
54506 Likewise.
54507 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54508 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
54509 Likewise.
54510 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
54511 Likewise.
54512 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54513
54514 2013-05-28 Carlos O'Donell <carlos@redhat.com>
54515
54516 * po/be.po: Add descriptive title.
54517 * po/zh_CN.po: Likewise.
54518 * po/header.pot: Likewise.
54519
54520 2013-05-28 Mike Frysinger <vapier@gentoo.org>
54521
54522 * locale/programs/locarchive.c (create_archive): Inlucde fname in
54523 error message.
54524 (enlarge_archive): Likewise.
54525
54526 2013-05-28 Ben North <ben@redfrontdoor.org>
54527
54528 * manual/arith.texi (frexp): It is the magnitude of the return
54529 value which lies in [0.5, 1), not the return value itself.
54530
54531 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54532
54533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54534
54535 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
54536
54537 * stdio-common/bug26.c (main): Correct fscanf template.
54538
54539 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
54540 declare _dl_skip_args.
54541
54542 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
54543 Don't declare.
54544
54545 * manual/platform.texi: Add missing @end deftypefun.
54546
54547 2013-05-24 Joseph Myers <joseph@codesourcery.com>
54548
54549 [BZ #15529]
54550 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
54551 bit of mantissa of 2^16382.
54552 * math/libm-test.inc (hypot_test_data): Add more tests.
54553
54554 * math/libm-test.inc: Add drem and pow10 to list of tested
54555 functions.
54556 (pow10_test): New function.
54557 (drem_test): Likewise.
54558 (drem_test_tonearest): Likewise.
54559 (drem_test_towardzero): Likewise.
54560 (drem_test_downward): Likewise.
54561 (drem_test_upward): Likewise.
54562 (main): Call the new functions.
54563
54564 * math/libm-test.inc (finite_test_data): Remove.
54565 (finite_test): Run tests from isfinite_test_data.
54566 (gamma_test_data): Remove.
54567 (gamma_test): Run tests from lgamma_test_data.
54568 * sysdeps/i386/fpu/libm-test-ulps: Update.
54569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54570
54571 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54572
54573 * manual/platform.texi: Add PowerPC PPR function set documentation.
54574 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
54575 implementation.
54576
54577 2013-05-24 Carlos O'Donell <carlos@redhat.com>
54578
54579 * math/libm-test.inc (MAX_EXP): Define.
54580 (ULPDIFF): Define.
54581 (ulp): New function.
54582 (check_float_internal): Use ULPDIFF.
54583 (cpow_test): Disable failing test.
54584 (check_ulp): Test ulp() implementation.
54585 (main): Call check_ulp before starting tests.
54586
54587 2013-05-24 Joseph Myers <joseph@codesourcery.com>
54588
54589 * math/gen-libm-test.pl (generate_testfile): Do not handle
54590 START_DATA and END_DATA.
54591 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
54592 END_DATA.
54593 (acos_tonearest_test_data): Likewise.
54594 (acos_towardzero_test_data): Likewise.
54595 (acos_downward_test_data): Likewise.
54596 (acos_upward_test_data): Likewise.
54597 (acosh_test_data): Likewise.
54598 (asin_test_data): Likewise.
54599 (asin_tonearest_test_data): Likewise.
54600 (asin_towardzero_test_data): Likewise.
54601 (asin_downward_test_data): Likewise.
54602 (asin_upward_test_data): Likewise.
54603 (asinh_test_data): Likewise.
54604 (atan_test_data): Likewise.
54605 (atanh_test_data): Likewise.
54606 (atan2_test_data): Likewise.
54607 (cabs_test_data): Likewise.
54608 (cacos_test_data): Likewise.
54609 (cacosh_test_data): Likewise.
54610 (carg_test_data): Likewise.
54611 (casin_test_data): Likewise.
54612 (casinh_test_data): Likewise.
54613 (catan_test_data): Likewise.
54614 (catanh_test_data): Likewise.
54615 (cbrt_test_data): Likewise.
54616 (ccos_test_data): Likewise.
54617 (ccosh_test_data): Likewise.
54618 (ceil_test_data): Likewise.
54619 (cexp_test_data): Likewise.
54620 (cimag_test_data): Likewise.
54621 (clog_test_data): Likewise.
54622 (clog10_test_data): Likewise.
54623 (conj_test_data): Likewise.
54624 (copysign_test_data): Likewise.
54625 (cos_test_data): Likewise.
54626 (cos_tonearest_test_data): Likewise.
54627 (cos_towardzero_test_data): Likewise.
54628 (cos_downward_test_data): Likewise.
54629 (cos_upward_test_data): Likewise.
54630 (cosh_test_data): Likewise.
54631 (cosh_tonearest_test_data): Likewise.
54632 (cosh_towardzero_test_data): Likewise.
54633 (cosh_downward_test_data): Likewise.
54634 (cosh_upward_test_data): Likewise.
54635 (cpow_test_data): Likewise.
54636 (cproj_test_data): Likewise.
54637 (creal_test_data): Likewise.
54638 (csin_test_data): Likewise.
54639 (csinh_test_data): Likewise.
54640 (csqrt_test_data): Likewise.
54641 (ctan_test_data): Likewise.
54642 (ctan_tonearest_test_data): Likewise.
54643 (ctan_towardzero_test_data): Likewise.
54644 (ctan_downward_test_data): Likewise.
54645 (ctan_upward_test_data): Likewise.
54646 (ctanh_test_data): Likewise.
54647 (ctanh_tonearest_test_data): Likewise.
54648 (ctanh_towardzero_test_data): Likewise.
54649 (ctanh_downward_test_data): Likewise.
54650 (ctanh_upward_test_data): Likewise.
54651 (erf_test_data): Likewise.
54652 (erfc_test_data): Likewise.
54653 (exp_test_data): Likewise.
54654 (exp_tonearest_test_data): Likewise.
54655 (exp_towardzero_test_data): Likewise.
54656 (exp_downward_test_data): Likewise.
54657 (exp_upward_test_data): Likewise.
54658 (exp10_test_data): Likewise.
54659 (exp2_test_data): Likewise.
54660 (expm1_test_data): Likewise.
54661 (fabs_test_data): Likewise.
54662 (fdim_test_data): Likewise.
54663 (finite_test_data): Likewise.
54664 (floor_test_data): Likewise.
54665 (fma_test_data): Likewise.
54666 (fma_towardzero_test_data): Likewise.
54667 (fma_downward_test_data): Likewise.
54668 (fma_upward_test_data): Likewise.
54669 (fmax_test_data): Likewise.
54670 (fmin_test_data): Likewise.
54671 (fmod_test_data): Likewise.
54672 (fpclassify_test_data): Likewise.
54673 (frexp_test_data): Likewise.
54674 (gamma_test_data): Likewise.
54675 (hypot_test_data): Likewise.
54676 (ilogb_test_data): Likewise.
54677 (isfinite_test_data): Likewise.
54678 (isgreater_test_data): Likewise.
54679 (isgreaterequal_test_data): Likewise.
54680 (isinf_test_data): Likewise.
54681 (isless_test_data): Likewise.
54682 (islessequal_test_data): Likewise.
54683 (islessgreater_test_data): Likewise.
54684 (isnan_test_data): Likewise.
54685 (isnormal_test_data): Likewise.
54686 (issignaling_test_data): Likewise.
54687 (isunordered_test_data): Likewise.
54688 (j0_test_data): Likewise.
54689 (j1_test_data): Likewise.
54690 (jn_test_data): Likewise.
54691 (ldexp_test_data): Likewise.
54692 (lgamma_test_data): Likewise.
54693 (lrint_test_data): Likewise.
54694 (lrint_tonearest_test_data): Likewise.
54695 (lrint_towardzero_test_data): Likewise.
54696 (lrint_downward_test_data): Likewise.
54697 (lrint_upward_test_data): Likewise.
54698 (llrint_test_data): Likewise.
54699 (llrint_tonearest_test_data): Likewise.
54700 (llrint_towardzero_test_data): Likewise.
54701 (llrint_downward_test_data): Likewise.
54702 (llrint_upward_test_data): Likewise.
54703 (log_test_data): Likewise.
54704 (log10_test_data): Likewise.
54705 (log1p_test_data): Likewise.
54706 (log2_test_data): Likewise.
54707 (logb_test_data): Likewise.
54708 (logb_downward_test_data): Likewise.
54709 (lround_test_data): Likewise.
54710 (llround_test_data): Likewise.
54711 (modf_test_data): Likewise.
54712 (nearbyint_test_data): Likewise.
54713 (nextafter_test_data): Likewise.
54714 (nexttoward_test_data): Likewise.
54715 (pow_test_data): Likewise.
54716 (pow_tonearest_test_data): Likewise.
54717 (pow_towardzero_test_data): Likewise.
54718 (pow_downward_test_data): Likewise.
54719 (pow_upward_test_data): Likewise.
54720 (remainder_test_data): Likewise.
54721 (remainder_tonearest_test_data): Likewise.
54722 (remainder_towardzero_test_data): Likewise.
54723 (remainder_downward_test_data): Likewise.
54724 (remainder_upward_test_data): Likewise.
54725 (remquo_test_data): Likewise.
54726 (rint_test_data): Likewise.
54727 (rint_tonearest_test_data): Likewise.
54728 (rint_towardzero_test_data): Likewise.
54729 (rint_downward_test_data): Likewise.
54730 (rint_upward_test_data): Likewise.
54731 (round_test_data): Likewise.
54732 (scalb_test_data): Likewise.
54733 (scalbn_test_data): Likewise.
54734 (scalbln_test_data): Likewise.
54735 (signbit_test_data): Likewise.
54736 (sin_test_data): Likewise.
54737 (sin_tonearest_test_data): Likewise.
54738 (sin_towardzero_test_data): Likewise.
54739 (sin_downward_test_data): Likewise.
54740 (sin_upward_test_data): Likewise.
54741 (sincos_test_data): Likewise.
54742 (sinh_test_data): Likewise.
54743 (sinh_tonearest_test_data): Likewise.
54744 (sinh_towardzero_test_data): Likewise.
54745 (sinh_downward_test_data): Likewise.
54746 (sinh_upward_test_data): Likewise.
54747 (sqrt_test_data): Likewise.
54748 (tan_test_data): Likewise.
54749 (tan_tonearest_test_data): Likewise.
54750 (tan_towardzero_test_data): Likewise.
54751 (tan_downward_test_data): Likewise.
54752 (tan_upward_test_data): Likewise.
54753 (tanh_test_data): Likewise.
54754 (tgamma_test_data): Likewise.
54755 (trunc_test_data): Likewise.
54756 (y0_test_data): Likewise.
54757 (y1_test_data): Likewise.
54758 (yn_test_data): Likewise.
54759 (significand_test_data): Likewise.
54760
54761 * math/gen-libm-test.pl (@functions): Remove variable.
54762 (generate_testfile): Don't handle START and END lines.
54763 * math/libm-test.inc (START): New macro.
54764 (END): Likewise.
54765 (END_COMPLEX): Likewise.
54766 (acos_test): Use END macro without arguments.
54767 (acos_test_tonearest): Likewise.
54768 (acos_test_towardzero): Likewise.
54769 (acos_test_downward): Likewise.
54770 (acos_test_upward): Likewise.
54771 (acosh_test): Likewise.
54772 (asin_test): Likewise.
54773 (asin_test_tonearest): Likewise.
54774 (asin_test_towardzero): Likewise.
54775 (asin_test_downward): Likewise.
54776 (asin_test_upward): Likewise.
54777 (asinh_test): Likewise.
54778 (atan_test): Likewise.
54779 (atanh_test): Likewise.
54780 (atan2_test): Likewise.
54781 (cabs_test): Likewise.
54782 (cacos_test): Use END_COMPLEX macro without arguments.
54783 (cacosh_test): Likewise.
54784 (carg_test): Use END macro without arguments.
54785 (casin_test): Use END_COMPLEX macro without arguments.
54786 (casinh_test): Likewise.
54787 (catan_test): Likewise.
54788 (catanh_test): Likewise.
54789 (cbrt_test): Use END macro without arguments.
54790 (ccos_test): Use END_COMPLEX macro without arguments.
54791 (ccosh_test): Likewise.
54792 (ceil_test): Use END macro without arguments.
54793 (cexp_test): Use END_COMPLEX macro without arguments.
54794 (cimag_test): Use END macro without arguments.
54795 (clog_test): Use END_COMPLEX macro without arguments.
54796 (clog10_test): Likewise.
54797 (conj_test): Likewise.
54798 (copysign_test): Use END macro without arguments.
54799 (cos_test): Likewise.
54800 (cos_test_tonearest): Likewise.
54801 (cos_test_towardzero): Likewise.
54802 (cos_test_downward): Likewise.
54803 (cos_test_upward): Likewise.
54804 (cosh_test): Likewise.
54805 (cosh_test_tonearest): Likewise.
54806 (cosh_test_towardzero): Likewise.
54807 (cosh_test_downward): Likewise.
54808 (cosh_test_upward): Likewise.
54809 (cpow_test): Use END_COMPLEX macro without arguments.
54810 (cproj_test): Likewise.
54811 (creal_test): Use END macro without arguments.
54812 (csin_test): Use END_COMPLEX macro without arguments.
54813 (csinh_test): Likewise.
54814 (csqrt_test): Likewise.
54815 (ctan_test): Likewise.
54816 (ctan_test_tonearest): Likewise.
54817 (ctan_test_towardzero): Likewise.
54818 (ctan_test_downward): Likewise.
54819 (ctan_test_upward): Likewise.
54820 (ctanh_test): Likewise.
54821 (ctanh_test_tonearest): Likewise.
54822 (ctanh_test_towardzero): Likewise.
54823 (ctanh_test_downward): Likewise.
54824 (ctanh_test_upward): Likewise.
54825 (erf_test): Use END macro without arguments.
54826 (erfc_test): Likewise.
54827 (exp_test): Likewise.
54828 (exp_test_tonearest): Likewise.
54829 (exp_test_towardzero): Likewise.
54830 (exp_test_downward): Likewise.
54831 (exp_test_upward): Likewise.
54832 (exp10_test): Likewise.
54833 (exp2_test): Likewise.
54834 (expm1_test): Likewise.
54835 (fabs_test): Likewise.
54836 (fdim_test): Likewise.
54837 (finite_test): Likewise.
54838 (floor_test): Likewise.
54839 (fma_test): Likewise.
54840 (fma_test_towardzero): Likewise.
54841 (fma_test_downward): Likewise.
54842 (fma_test_upward): Likewise.
54843 (fmax_test): Likewise.
54844 (fmin_test): Likewise.
54845 (fmod_test): Likewise.
54846 (fpclassify_test): Likewise.
54847 (frexp_test): Likewise.
54848 (gamma_test): Likewise.
54849 (hypot_test): Likewise.
54850 (ilogb_test): Likewise.
54851 (isfinite_test): Likewise.
54852 (isgreater_test): Likewise.
54853 (isgreaterequal_test): Likewise.
54854 (isinf_test): Likewise.
54855 (isless_test): Likewise.
54856 (islessequal_test): Likewise.
54857 (islessgreater_test): Likewise.
54858 (isnan_test): Likewise.
54859 (isnormal_test): Likewise.
54860 (issignaling_test): Likewise.
54861 (isunordered_test): Likewise.
54862 (j0_test): Likewise.
54863 (j1_test): Likewise.
54864 (jn_test): Likewise.
54865 (ldexp_test): Likewise.
54866 (lgamma_test): Likewise.
54867 (lrint_test): Likewise.
54868 (lrint_test_tonearest): Likewise.
54869 (lrint_test_towardzero): Likewise.
54870 (lrint_test_downward): Likewise.
54871 (lrint_test_upward): Likewise.
54872 (llrint_test): Likewise.
54873 (llrint_test_tonearest): Likewise.
54874 (llrint_test_towardzero): Likewise.
54875 (llrint_test_downward): Likewise.
54876 (llrint_test_upward): Likewise.
54877 (log_test): Likewise.
54878 (log10_test): Likewise.
54879 (log1p_test): Likewise.
54880 (log2_test): Likewise.
54881 (logb_test): Likewise.
54882 (logb_test_downward): Likewise.
54883 (lround_test): Likewise.
54884 (llround_test): Likewise.
54885 (modf_test): Likewise.
54886 (nearbyint_test): Likewise.
54887 (nextafter_test): Likewise.
54888 (nexttoward_test): Likewise.
54889 (pow_test): Likewise.
54890 (pow_test_tonearest): Likewise.
54891 (pow_test_towardzero): Likewise.
54892 (pow_test_downward): Likewise.
54893 (pow_test_upward): Likewise.
54894 (remainder_test): Likewise.
54895 (remainder_test_tonearest): Likewise.
54896 (remainder_test_towardzero): Likewise.
54897 (remainder_test_downward): Likewise.
54898 (remainder_test_upward): Likewise.
54899 (remquo_test): Likewise.
54900 (rint_test): Likewise.
54901 (rint_test_tonearest): Likewise.
54902 (rint_test_towardzero): Likewise.
54903 (rint_test_downward): Likewise.
54904 (rint_test_upward): Likewise.
54905 (round_test): Likewise.
54906 (scalb_test): Likewise.
54907 (scalbn_test): Likewise.
54908 (scalbln_test): Likewise.
54909 (signbit_test): Likewise.
54910 (sin_test): Likewise.
54911 (sin_test_tonearest): Likewise.
54912 (sin_test_towardzero): Likewise.
54913 (sin_test_downward): Likewise.
54914 (sin_test_upward): Likewise.
54915 (sincos_test): Likewise.
54916 (sinh_test): Likewise.
54917 (sinh_test_tonearest): Likewise.
54918 (sinh_test_towardzero): Likewise.
54919 (sinh_test_downward): Likewise.
54920 (sinh_test_upward): Likewise.
54921 (sqrt_test): Likewise.
54922 (tan_test): Likewise.
54923 (tan_test_tonearest): Likewise.
54924 (tan_test_towardzero): Likewise.
54925 (tan_test_downward): Likewise.
54926 (tan_test_upward): Likewise.
54927 (tanh_test): Likewise.
54928 (tgamma_test): Likewise.
54929 (trunc_test): Likewise.
54930 (y0_test): Likewise.
54931 (y1_test): Likewise.
54932 (yn_test): Likewise.
54933 (significand_test): Likewise.
54934
54935 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
54936
54937 [BZ #15381]
54938 * libio/genops.c (_IO_no_init): Initialize wide struct info.
54939
54940 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
54941
54942 [BZ #14894]
54943 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
54944 __ppc_mdoio and __ppc_mdoom.
54945 * manual/platform.texi: Document new functions __ppc_yield,
54946 __ppc_mdoio and __ppc_mdoom.
54947
54948 2013-05-22 Carlos O'Donell <carlos@redhat.com>
54949
54950 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
54951 (main): Mention "tls" pseudo-hwcap is legacy.
54952 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
54953
54954 2013-05-22 Joseph Myers <joseph@codesourcery.com>
54955
54956 * math/gen-libm-test.pl (parse_args): Output only string of
54957 arguments as text for test name, not full call or descriptions of
54958 tests for extra outputs.
54959 (generate_testfile): Do not pass function name to parse_args.
54960 Generate this_func variable from START.
54961 * math/libm-test.inc (struct test_f_f_data): Rename test_name
54962 field to arg_str.
54963 (struct test_ff_f_data): Likewise.
54964 (test_ff_f_data_nexttoward): Likewise.
54965 (struct test_fi_f_data): Likewise.
54966 (struct test_fl_f_data): Likewise.
54967 (struct test_if_f_data): Likewise.
54968 (struct test_fff_f_data): Likewise.
54969 (struct test_c_f_data): Likewise.
54970 (struct test_f_f1_data): Likewise. Remove field extra_name.
54971 (struct test_fF_f1_data): Likewise.
54972 (struct test_ffI_f1_data): Likewise.
54973 (struct test_c_c_data): Rename test_name field to arg_str.
54974 (struct test_cc_c_data): Likewise.
54975 (struct test_f_i_data): Likewise.
54976 (struct test_ff_i_data): Likewise.
54977 (struct test_f_l_data): Likewise.
54978 (struct test_f_L_data): Likewise.
54979 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
54980 and extra2_name.
54981 (COMMON_TEST_SETUP): New macro.
54982 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
54983 (COMMON_TEST_CLEANUP): Likewise.
54984 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
54985 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
54986 macros.
54987 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
54988 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
54989 macros.
54990 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
54991 (RUN_TEST_fff_f): Take argument string. Call new setup and
54992 cleanup macros.
54993 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
54994 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
54995 macros.
54996 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
54997 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
54998 macros.
54999 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55000 (RUN_TEST_fF_f1): Take argument string. Call new setup and
55001 cleanup macros.
55002 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55003 (RUN_TEST_fI_f1): Take argument string. Call new setup and
55004 cleanup macros.
55005 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55006 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
55007 cleanup macros.
55008 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55009 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
55010 macros.
55011 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55012 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
55013 macros.
55014 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55015 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
55016 macros.
55017 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55018 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
55019 cleanup macros.
55020 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55021 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
55022 cleanup macros.
55023 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55024 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
55025 macros.
55026 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55027 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
55028 cleanup macros.
55029 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55030 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
55031 macros.
55032 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55033 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
55034 macros.
55035 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55036 (RUN_TEST_fFF_11): Take argument string. Call new setup and
55037 cleanup macros.
55038 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55039
55040 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
55041
55042 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55043 to _sifields.sigfault.
55044 (si_addr_lsb): Define new macro.
55045 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55046 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55047 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55048
55049 2013-05-03 Carlos O'Donell <carlos at redhat.com>
55050
55051 [BZ #15441]
55052 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55053 returns -1.
55054 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55055 null return -1.
55056 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55057 loading the domain.
55058
55059 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55060
55061 * math/gen-libm-test.pl (parse_args): Do not include expected
55062 result in test name.
55063 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55064 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55065 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55066 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55067 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55069
55070 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55071
55072 * benchtests/Makefile: Sort function entries.
55073
55074 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55075 tanh, asinh, acosh, atanh.
55076 * benchtests/acos-inputs: New file.
55077 * benchtests/acosh-inputs: New file.
55078 * benchtests/asin-inputs: New file.
55079 * benchtests/asinh-inputs: New file.
55080 * benchtests/atanh-inputs: New file.
55081 * benchtests/cosh-inputs: New file.
55082 * benchtests/log-inputs: New file.
55083 * benchtests/sinh-inputs: New file.
55084 * benchtests/tanh-inputs: New file.
55085
55086 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
55087
55088 [BZ #15339]
55089 * posix/tst-getaddrinfo4.c: New test.
55090 * posix/Makefile (tests): Add it.
55091
55092 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55093
55094 [BZ #15339]
55095 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55096 when no services were used.
55097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55098 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55099
55100 2013-05-21 Andreas Schwab <schwab@suse.de>
55101
55102 [BZ #15014]
55103 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55104 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55105 successful.
55106 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55107 redundant variable declarations and reallocation of buffer when
55108 parsing as IPv6 address. Always set NSS status when called from
55109 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
55110 buffer too small. Correct computation of needed size.
55111 * nss/Makefile (tests): Add test-digits-dots.
55112 * nss/test-digits-dots.c: New test.
55113
55114 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55115
55116 * benchtests/Makefile: Remove instructions for adding
55117 benchmark tests.
55118 * benchtests/README: New file to explain how to execute and
55119 enhance the benchmark tests.
55120
55121 2013-05-21 Andreas Schwab <schwab@suse.de>
55122
55123 [BZ #15493]
55124 * setjmp/Makefile (tests): Add tst-sigsetjmp.
55125 * setjmp/tst-sigsetjmp.c: New test.
55126
55127 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55128
55129 * sysdeps/x86_64/memset.S (memset): New implementation.
55130 (__bzero): Likewise.
55131 (__memset_tail): New function.
55132
55133 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55134
55135 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55136 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55137 __memcpy_sse2_unaligned ifunc selection.
55138 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55139 Add memcpy-sse2-unaligned.S.
55140 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55141 Add: __memcpy_sse2_unaligned.
55142
55143 2013-05-19 Joseph Myers <joseph@codesourcery.com>
55144
55145 [BZ #15490]
55146 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55147 math_force_eval before restoring floating-point envrionment.
55148 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55149 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55150 Likewise.
55151 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55152 <math_private.h>.
55153 (__nearbyintl): Use math_force_eval before restoring
55154 floating-point environment.
55155 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55156
55157 * math/gen-libm-test.pl (special_functions): Remove.
55158 (parse_args): Don't handle TEST_extra. Handle functions with no
55159 return value.
55160 * math/libm-test.inc (struct test_sincos_data): Replace with
55161 struct test_fFF_11_data.
55162 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55163 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55164 (sincos_test_data): Change element type to struct
55165 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
55166 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55167 RUN_TEST_LOOP_sincos.
55168 * math/README.libm-test: Don't mention special handling of
55169 individual functions.
55170 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55171 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55172 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55173 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55174 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55176
55177 * math/gen-libm-test.pl (get_variable): Remove function.
55178 (parse_args): Don't show pointer parameters to call in test
55179 names. Use "extra output N" in test names for extra outputs
55180 rather than naming variables.
55181
55182 2013-05-18 Joseph Myers <joseph@codesourcery.com>
55183
55184 [BZ #15488]
55185 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55186 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55187 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55188 double tests.
55189 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
55190 disable.
55191 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
55192 check_long_double.
55193
55194 * math/gen-libm-test.pl (@tests): Remove variable.
55195 ($count): Likewise.
55196 (new_test): Remove function.
55197 (show_exceptions): New function.
55198 (special_functions): Use show_exceptions instead of new_test.
55199 (parse_args): Likewise.
55200 (generate_testfile): Pass only function name in generated call to
55201 print_max_error or print_complex_max_error.
55202 (get_ulps): Do not handle complex tests specially.
55203 (output_test): Rename to ...
55204 (get_all_ulps_for_test): ... this. Return a string rather than
55205 printing to a file. Require ulps to be present.
55206 (output_ulps): Generate arrays rather than #defines.
55207 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
55208 (struct ulp_data): New type.
55209 (BUILD_COMPLEX_ULP): Remove macro.
55210 (compare_ulp_data): New function.
55211 (find_ulps): Likewise.
55212 (find_test_ulps): Likewise.
55213 (find_function_ulps): Likewise.
55214 (find_complex_function_ulps): Likewise.
55215 (print_max_error): Determine allowed ulps using
55216 find_function_ulps.
55217 (print_complex_max_error): Determine allowed ulps using
55218 find_complex_function_ulps.
55219 (check_float_internal): Determine max ulps using find_test_ulps.
55220 (check_float): Do not take max_ulp parameter. Update call to
55221 check_float_internal.
55222 (check_complex): Likewise.
55223 (check_int): Do not take max_ulp parameter.
55224 (check_long): Likewise.
55225 (check_bool): Likewise.
55226 (check_longlong): Likewise.
55227 (struct test_f_f_data): Remove max_ulp field.
55228 (struct test_ff_f_data): Likewise.
55229 (struct test_ff_f_data_nexttoward): Likewise.
55230 (struct test_fi_f_data): Likewise.
55231 (struct test_fl_f_data): Likewise.
55232 (struct test_if_f_data): Likewise.
55233 (struct test_fff_f_data): Likewise.
55234 (struct test_c_f_data): Likewise.
55235 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
55236 (struct test_fF_f1_data): Likewise.
55237 (struct test_ffI_f1_data): Likewise.
55238 (struct test_c_c_data): Remove max_ulp field.
55239 (struct test_cc_c_data): Likewise.
55240 (struct test_f_i_data): Likewise.
55241 (struct test_ff_i_data): Likewise.
55242 (struct test_f_l_data): Likewise.
55243 (struct test_f_L_data): Likewise.
55244 (struct test_sincos_data): Likewise.
55245 (RUN_TEST_f_f): Do not handle ulps.
55246 (RUN_TEST_LOOP_f_f): Likewise.
55247 (RUN_TEST_2_f): Likewise.
55248 (RUN_TEST_LOOP_2_f): Likewise.
55249 (RUN_TEST_fff_f): Likewise.
55250 (RUN_TEST_LOOP_fff_f): Likewise.
55251 (RUN_TEST_c_f): Likewise.
55252 (RUN_TEST_LOOP_c_f): Likewise.
55253 (RUN_TEST_f_f1): Likewise.
55254 (RUN_TEST_LOOP_f_f1): Likewise.
55255 (RUN_TEST_fF_f1): Likewise.
55256 (RUN_TEST_LOOP_fF_f1): Likewise.
55257 (RUN_TEST_fI_f1): Likewise.
55258 (RUN_TEST_LOOP_fI_f1): Likewise.
55259 (RUN_TEST_ffI_f1): Likewise.
55260 (RUN_TEST_LOOP_ffI_f1): Likewise.
55261 (RUN_TEST_c_c): Likewise.
55262 (RUN_TEST_LOOP_c_c): Likewise.
55263 (RUN_TEST_cc_c): Likewise.
55264 (RUN_TEST_LOOP_cc_c): Likewise.
55265 (RUN_TEST_f_i): Likewise.
55266 (RUN_TEST_LOOP_f_i): Likewise.
55267 (RUN_TEST_f_i_tg): Likewise.
55268 (RUN_TEST_LOOP_f_i_tg): Likewise.
55269 (RUN_TEST_ff_i_tg): Likewise.
55270 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55271 (RUN_TEST_f_b): Likewise.
55272 (RUN_TEST_LOOP_f_b): Likewise.
55273 (RUN_TEST_f_b_tg): Likewise.
55274 (RUN_TEST_LOOP_f_b_tg): Likewise.
55275 (RUN_TEST_f_l): Likewise.
55276 (RUN_TEST_LOOP_f_l): Likewise.
55277 (RUN_TEST_f_L): Likewise.
55278 (RUN_TEST_LOOP_f_L): Likewise.
55279 (RUN_TEST_sincos): Likewise.
55280 (RUN_TEST_LOOP_sincos): Likewise.
55281
55282 2013-05-17 Joseph Myers <joseph@codesourcery.com>
55283
55284 [BZ #15480]
55285 [BZ #15485]
55286 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
55287 main case of finite arguments, set rounding mode to FE_TONEAREST
55288 and discard exceptions.
55289 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
55290 exceptions.
55291 (remainder_tonearest_test_data): New variable.
55292 (remainder_test_tonearest): New function.
55293 (remainder_towardzero_test_data): New variable.
55294 (remainder_test_towardzero): New function.
55295 (remainder_downward_test_data): New variable.
55296 (remainder_test_downward): New function.
55297 (remainder_upward_test_data): New variable.
55298 (remainder_test_upward): New function.
55299 (main): Call the new test functions.
55300
55301 * math/libm-test.inc (struct test_f_f1_data): Remove field
55302 extra_init.
55303 (struct test_fF_f1_data): Likewise.
55304 (struct test_ffI_f1_data): Likewise.
55305 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
55306 based on value of EXTRA_EXPECTED.
55307 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55308 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
55309 EXTRA_VAR based on value of EXTRA_EXPECTED.
55310 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55311 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
55312 EXTRA_VAR based on value of EXTRA_EXPECTED.
55313 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55314 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
55315 EXTRA_VAR based on value of EXTRA_EXPECTED.
55316 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55317 * math/gen-libm-test.pl (parse_args): Don't output initializers
55318 for extra output values.
55319
55320 * math/libm-test.inc (check_int): Expect result to be exactly
55321 equal to expected value and do not handle ulps.
55322 (check_long): Likewise.
55323 (check_longlong): Likewise.
55324
55325 * math/libm-test.inc (ceil_test_data): Test for "inexact"
55326 exceptions.
55327 (cimag_test_data): Likewise.
55328 (conj_test_data): Likewise.
55329 (copysign_test_data): Likewise.
55330 (cproj_test_data): Likewise.
55331 (creal_test_data): Likewise.
55332 (fabs_test_data): Likewise.
55333 (fdim_test_data): Likewise.
55334 (finite_test_data): Likewise.
55335 (floor_test_data): Likewise.
55336 (fmax_test_data): Likewise.
55337 (fmin_test_data): Likewise.
55338 (fmod_test_data): Likewise.
55339 (fpclassify_test_data): Likewise.
55340 (frexp_test_data): Likewise.
55341 (ilogb_test_data): Likewise.
55342 (isfinite_test_data): Likewise.
55343 (isgreater_test_data): Likewise.
55344 (isgreaterequal_test_data): Likewise.
55345 (isinf_test_data): Likewise.
55346 (isless_test_data): Likewise.
55347 (islessequal_test_data): Likewise.
55348 (islessgreater_test_data): Likewise.
55349 (isnan_test_data): Likewise.
55350 (isnormal_test_data): Likewise.
55351 (issignaling_test_data): Likewise.
55352 (isunordered_test_data): Likewise.
55353 (ldexp_test_data): Likewise.
55354 (lrint_test_data): Likewise.
55355 (lrint_test_data) [TEST_FLOAT]: Disable one test.
55356 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
55357 (lrint_tonearest_test_data): Test for "inexact" exceptions.
55358 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55359 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
55360 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55361 test input.
55362 (lrint_towardzero_test_data): Test for "inexact" exceptions.
55363 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55364 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
55365 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
55366 that test input.
55367 (lrint_downward_test_data): Test for "inexact" exceptions.
55368 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55369 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
55370 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55371 test input.
55372 (lrint_upward_test_data): Test for "inexact" exceptions.
55373 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
55374 test input.
55375 (llrint_test_data): Test for "inexact" exceptions.
55376 (llrint_test_data) [TEST_FLOAT]: Disable one test.
55377 (llrint_tonearest_test_data): Test for "inexact" exceptions.
55378 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55379 (llrint_towardzero_test_data): Test for "inexact" exceptions.
55380 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55381 (llrint_downward_test_data): Test for "inexact" exceptions.
55382 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55383 (llrint_upward_test_data): Test for "inexact" exceptions.
55384 (logb_test_data): Likewise.
55385 (logb_downward_test_data): Likewise.
55386 (nextafter_test_data): Likewise.
55387 (nexttoward_test_data): Likewise.
55388 (remainder_test_data): Likewise.
55389 (remquo_test_data): Likewise.
55390 (scalbn_test_data): Likewise.
55391 (scalbln_test_data): Likewise.
55392 (signbit_test_data): Likewise.
55393 (sqrt_test_data): Likewise.
55394 (significand_test_data): Likewise.
55395
55396 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
55397
55398 [BZ #15424]
55399 * benchtests/bench-modf.c (struct args): Mark arg0 as
55400 volatile.
55401 * scripts/bench.pl: Mark members of struct args as volatile.
55402
55403 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55404
55405 [BZ # 15497]
55406 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
55407 negative infinity on POWER6 or lower.
55408 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
55409
55410 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
55411
55412 [BZ #15442]
55413 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
55414 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
55415 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
55416 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
55417 (_FP_SETQNAN): New macro.
55418 (_FP_SETQNAN_SEMIRAW): Likewise.
55419 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
55420 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
55421 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
55422 (FP_EXTEND): Use _FP_FRAC_SNANP.
55423 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
55424 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
55425 into account.
55426 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55427 New macro.
55428 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55429 Likewise.
55430
55431 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55432
55433 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
55434 with DIVIDE_BY_ZERO_EXCEPTION.
55435 (gamma_test_data): Likewise.
55436 (lgamma_test_data): Likewise.
55437 (log_test_data): Likewise.
55438 (log10_test_data): Likewise.
55439 (log2_test_data): Likewise.
55440 (tgamma_test_data): Likewise.
55441
55442 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
55443 (acos_test_tonearest): Likewise.
55444 (acos_test_towardzero): Likewise.
55445 (acos_test_downward): Likewise.
55446 (acos_test_upward): Likewise.
55447 (acosh_test): Likewise.
55448 (asin_test): Likewise.
55449 (asin_test_tonearest): Likewise.
55450 (asin_test_towardzero): Likewise.
55451 (asin_test_downward): Likewise.
55452 (asin_test_upward): Likewise.
55453 (asinh_test): Likewise.
55454 (atan_test): Likewise.
55455 (atanh_test): Likewise.
55456 (atan2_test): Likewise.
55457 (cabs_test): Likewise.
55458 (cacos_test): Likewise.
55459 (cacosh_test): Likewise.
55460 (casin_test): Likewise.
55461 (casinh_test): Likewise.
55462 (catan_test): Likewise.
55463 (catanh_test): Likewise.
55464 (cbrt_test): Likewise.
55465 (ccos_test): Likewise.
55466 (ccosh_test): Likewise.
55467 (cexp_test): Likewise.
55468 (clog_test): Likewise.
55469 (clog10_test): Likewise.
55470 (cos_test): Likewise.
55471 (cos_test_tonearest): Likewise.
55472 (cos_test_towardzero): Likewise.
55473 (cos_test_downward): Likewise.
55474 (cos_test_upward): Likewise.
55475 (cosh_test): Likewise.
55476 (cosh_test_tonearest): Likewise.
55477 (cosh_test_towardzero): Likewise.
55478 (cosh_test_downward): Likewise.
55479 (cosh_test_upward): Likewise.
55480 (cpow_test): Likewise.
55481 (csin_test): Likewise.
55482 (csinh_test): Likewise.
55483 (csqrt_test): Likewise.
55484 (ctan_test): Likewise.
55485 (ctan_test_tonearest): Likewise.
55486 (ctan_test_towardzero): Likewise.
55487 (ctan_test_downward): Likewise.
55488 (ctan_test_upward): Likewise.
55489 (ctanh_test): Likewise.
55490 (ctanh_test_tonearest): Likewise.
55491 (ctanh_test_towardzero): Likewise.
55492 (ctanh_test_downward): Likewise.
55493 (ctanh_test_upward): Likewise.
55494 (erf_test): Likewise.
55495 (erfc_test): Likewise.
55496 (exp_test): Likewise.
55497 (exp_test_tonearest): Likewise.
55498 (exp_test_towardzero): Likewise.
55499 (exp_test_downward): Likewise.
55500 (exp_test_upward): Likewise.
55501 (exp10_test): Likewise.
55502 (exp2_test): Likewise.
55503 (expm1_test): Likewise.
55504 (fmod_test): Likewise.
55505 (gamma_test): Likewise.
55506 (hypot_test): Likewise.
55507 (j0_test): Likewise.
55508 (j1_test): Likewise.
55509 (jn_test): Likewise.
55510 (lgamma_test): Likewise.
55511 (log_test): Likewise.
55512 (log10_test): Likewise.
55513 (log1p_test): Likewise.
55514 (log2_test): Likewise.
55515 (logb_test_downward): Likewise.
55516 (pow_test): Likewise.
55517 (pow_test_tonearest): Likewise.
55518 (pow_test_towardzero): Likewise.
55519 (pow_test_downward): Likewise.
55520 (pow_test_upward): Likewise.
55521 (remainder_test): Likewise.
55522 (remquo_test): Likewise.
55523 (sin_test): Likewise.
55524 (sin_test_tonearest): Likewise.
55525 (sin_test_towardzero): Likewise.
55526 (sin_test_downward): Likewise.
55527 (sin_test_upward): Likewise.
55528 (sincos_test): Likewise.
55529 (sinh_test): Likewise.
55530 (sinh_test_tonearest): Likewise.
55531 (sinh_test_towardzero): Likewise.
55532 (sinh_test_downward): Likewise.
55533 (sinh_test_upward): Likewise.
55534 (sqrt_test): Likewise.
55535 (tan_test): Likewise.
55536 (tan_test_tonearest): Likewise.
55537 (tan_test_towardzero): Likewise.
55538 (tan_test_downward): Likewise.
55539 (tan_test_upward): Likewise.
55540 (tanh_test): Likewise.
55541 (tgamma_test): Likewise.
55542 (y0_test): Likewise.
55543 (y1_test): Likewise.
55544 (yn_test): Likewise.
55545
55546 * math/gen-libm-test.pl (adjust_arg): Remove function.
55547 (special_function): Remove argument $in_func. Only handle
55548 generating output for tables of tests, not inside functions.
55549 (parse_args): Likewise.
55550 (generate_testfile): Remove variable $in_func. Update call to
55551 parse_args.
55552 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
55553 (MINUS_ZERO_INIT): Rename macro to minus_zero.
55554 (PLUS_INFTY_INIT): Rename macro to plus_infty.
55555 (MINUS_INFTY_INIT): Rename macro to minus_infty.
55556 (QNAN_VALUE_INIT): Rename macro to qnan_value.
55557 (MAX_VALUE_INIT): Rename macro to max_value.
55558 (MIN_VALUE_INIT): Rename macro to min_value.
55559 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
55560 (plus_zero): Remove variable.
55561 (minus_zero): Likewise.
55562 (plus_infty): Likewise.
55563 (minus_infty): Likewise.
55564 (qnan_value): Likewise.
55565 (max_value): Likewise.
55566 (min_value): Likewise.
55567 (min_subnorm_value): Likewise.
55568
55569 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55570
55571 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
55572 uint64_t or uint32_t usage.
55573 * crypt/sha256-block.c: Likewise.
55574 * crypt/sha256-crypt.c: Likewise.
55575 * crypt/sha256.c: Likewise.
55576 * crypt/sha512-block.c: Likewise.
55577 * crypt/sha512-crypt.c: Likewise.
55578 * crypt/sha512.c: Likewise.
55579 * debug/backtrace-tst.c: Likewise.
55580 * debug/pcprofiledump.c: Likewise.
55581 * elf/cache.c: Likewise.
55582 * elf/dl-cache.c: Likewise.
55583 * elf/dl-misc.c: Likewise.
55584 * elf/dl-profile.c: Likewise.
55585 * elf/dl-support.c: Likewise.
55586 * elf/ldconfig.c: Likewise.
55587 * elf/sprof.c: Likewise.
55588 * iconv/dummy-repertoire.c: Likewise.
55589 * iconv/iconv_charmap.c: Likewise.
55590 * iconv/skeleton.c: Likewise.
55591 * iconvdata/8bit-generic.c: Likewise.
55592 * iconvdata/cp737.h: Likewise.
55593 * iconvdata/cp775.h: Likewise.
55594 * iconvdata/ibm1008.h: Likewise.
55595 * iconvdata/ibm1025.h: Likewise.
55596 * iconvdata/ibm1046.h: Likewise.
55597 * iconvdata/ibm1097.h: Likewise.
55598 * iconvdata/ibm1112.h: Likewise.
55599 * iconvdata/ibm1122.h: Likewise.
55600 * iconvdata/ibm1123.h: Likewise.
55601 * iconvdata/ibm1124.h: Likewise.
55602 * iconvdata/ibm1129.h: Likewise.
55603 * iconvdata/ibm1130.h: Likewise.
55604 * iconvdata/ibm1132.h: Likewise.
55605 * iconvdata/ibm1133.h: Likewise.
55606 * iconvdata/ibm1137.h: Likewise.
55607 * iconvdata/ibm1140.h: Likewise.
55608 * iconvdata/ibm1141.h: Likewise.
55609 * iconvdata/ibm1142.h: Likewise.
55610 * iconvdata/ibm1143.h: Likewise.
55611 * iconvdata/ibm1144.h: Likewise.
55612 * iconvdata/ibm1145.h: Likewise.
55613 * iconvdata/ibm1146.h: Likewise.
55614 * iconvdata/ibm1147.h: Likewise.
55615 * iconvdata/ibm1148.h: Likewise.
55616 * iconvdata/ibm1149.h: Likewise.
55617 * iconvdata/ibm1153.h: Likewise.
55618 * iconvdata/ibm1154.h: Likewise.
55619 * iconvdata/ibm1155.h: Likewise.
55620 * iconvdata/ibm1156.h: Likewise.
55621 * iconvdata/ibm1157.h: Likewise.
55622 * iconvdata/ibm1158.h: Likewise.
55623 * iconvdata/ibm1160.h: Likewise.
55624 * iconvdata/ibm1161.h: Likewise.
55625 * iconvdata/ibm1162.h: Likewise.
55626 * iconvdata/ibm1163.h: Likewise.
55627 * iconvdata/ibm1164.h: Likewise.
55628 * iconvdata/ibm1166.h: Likewise.
55629 * iconvdata/ibm1167.h: Likewise.
55630 * iconvdata/ibm12712.h: Likewise.
55631 * iconvdata/ibm1390.h: Likewise.
55632 * iconvdata/ibm1399.h: Likewise.
55633 * iconvdata/ibm16804.h: Likewise.
55634 * iconvdata/ibm4517.h: Likewise.
55635 * iconvdata/ibm4899.h: Likewise.
55636 * iconvdata/ibm4909.h: Likewise.
55637 * iconvdata/ibm4971.h: Likewise.
55638 * iconvdata/ibm5347.h: Likewise.
55639 * iconvdata/ibm803.h: Likewise.
55640 * iconvdata/ibm856.h: Likewise.
55641 * iconvdata/ibm901.h: Likewise.
55642 * iconvdata/ibm902.h: Likewise.
55643 * iconvdata/ibm9030.h: Likewise.
55644 * iconvdata/ibm9066.h: Likewise.
55645 * iconvdata/ibm921.h: Likewise.
55646 * iconvdata/ibm922.h: Likewise.
55647 * iconvdata/ibm9448.h: Likewise.
55648 * iconvdata/isiri-3342.h: Likewise.
55649 * iconvdata/jis0201.h: Likewise.
55650 * include/link.h: Likewise.
55651 * include/netdb.h: Likewise.
55652 * inet/check_native.c: Likewise.
55653 * inet/check_pf.c: Likewise.
55654 * inet/getipv4sourcefilter.c: Likewise.
55655 * inet/getnameinfo.c: Likewise.
55656 * inet/getsourcefilter.c: Likewise.
55657 * inet/htonl.c: Likewise.
55658 * inet/setipv4sourcefilter.c: Likewise.
55659 * inet/setsourcefilter.c: Likewise.
55660 * inet/test-inet6_opt.c: Likewise.
55661 * inet/tst-network.c: Likewise.
55662 * locale/C-collate.c: Likewise.
55663 * locale/C-ctype.c: Likewise.
55664 * locale/C-time.c: Likewise.
55665 * locale/C-translit.h: Likewise.
55666 * locale/loadarchive.c: Likewise.
55667 * locale/programs/3level.h: Likewise.
55668 * locale/programs/charmap.c: Likewise.
55669 * locale/programs/charmap.h: Likewise.
55670 * locale/programs/ld-address.c: Likewise.
55671 * locale/programs/ld-collate.c: Likewise.
55672 * locale/programs/ld-ctype.c: Likewise.
55673 * locale/programs/ld-identification.c: Likewise.
55674 * locale/programs/ld-measurement.c: Likewise.
55675 * locale/programs/ld-messages.c: Likewise.
55676 * locale/programs/ld-monetary.c: Likewise.
55677 * locale/programs/ld-name.c: Likewise.
55678 * locale/programs/ld-numeric.c: Likewise.
55679 * locale/programs/ld-paper.c: Likewise.
55680 * locale/programs/ld-telephone.c: Likewise.
55681 * locale/programs/ld-time.c: Likewise.
55682 * locale/programs/linereader.c: Likewise.
55683 * locale/programs/locale.c: Likewise.
55684 * locale/programs/locarchive.c: Likewise.
55685 * locale/programs/locfile.h: Likewise.
55686 * locale/programs/repertoire.c: Likewise.
55687 * locale/programs/simple-hash.c: Likewise.
55688 * locale/programs/simple-hash.h: Likewise.
55689 * malloc/memusage.c: Likewise.
55690 * malloc/memusagestat.c: Likewise.
55691 * nis/nis_defaults.c: Likewise.
55692 * nis/nis_hash.c: Likewise.
55693 * nis/nis_print.c: Likewise.
55694 * nis/nis_xdr.c: Likewise.
55695 * nscd/connections.c: Likewise.
55696 * nscd/hstcache.c: Likewise.
55697 * nscd/nscd_gethst_r.c: Likewise.
55698 * nscd/nscd_getserv_r.c: Likewise.
55699 * nscd/nscd_helper.c: Likewise.
55700 * nscd/servicescache.c: Likewise.
55701 * nss/makedb.c: Likewise.
55702 * nss/nss_db/db-XXX.c: Likewise.
55703 * nss/nss_db/db-initgroups.c: Likewise.
55704 * nss/nss_db/db-netgrp.c: Likewise.
55705 * nss/nss_files/files-network.c: Likewise.
55706 * nss/nss_files/files-parse.c: Likewise.
55707 * posix/bug-regex5.c: Likewise.
55708 * posix/fnmatch_loop.c: Likewise.
55709 * posix/regcomp.c: Likewise.
55710 * posix/regexec.c: Likewise.
55711 * posix/tst-rfc3484-2.c: Likewise.
55712 * posix/tst-rfc3484-3.c: Likewise.
55713 * posix/tst-rfc3484.c: Likewise.
55714 * resolv/nss_dns/dns-canon.c: Likewise.
55715 * resolv/nss_dns/dns-network.c: Likewise.
55716 * resolv/res_init.c: Likewise.
55717 * resolv/res_mkquery.c: Likewise.
55718 * resolv/tst-aton.c: Likewise.
55719 * stdlib/cxa_atexit.c: Likewise.
55720 * stdlib/cxa_finalize.c: Likewise.
55721 * stdlib/gen-fpioconst.c: Likewise.
55722 * stdlib/strtol_l.c: Likewise.
55723 * string/tst-endian.c: Likewise.
55724 * sunrpc/auth_des.c: Likewise.
55725 * sunrpc/clnt_udp.c: Likewise.
55726 * sunrpc/rtime.c: Likewise.
55727 * sunrpc/svcauth_des.c: Likewise.
55728 * sunrpc/xdr.c: Likewise.
55729 * sunrpc/xdr_intXX_t.c: Likewise.
55730 * sunrpc/xdr_rec.c: Likewise.
55731 * sysdeps/generic/ldconfig.h: Likewise.
55732 * sysdeps/generic/ldsodefs.h: Likewise.
55733 * sysdeps/generic/memusage.h: Likewise.
55734 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55735 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
55736 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
55737 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55738 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55739 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55740 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55741 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55742 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55743 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55744 * sysdeps/posix/getaddrinfo.c: Likewise.
55745 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55746 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55747 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55748 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55749 * sysdeps/powerpc/test-gettimebase.c: Likewise.
55750 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
55751 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
55752 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
55753 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
55754 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
55755 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55756 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55757 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
55758 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
55759 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
55760 * sysdeps/x86_64/dl-tls.h: Likewise.
55761 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
55762 * time/alt_digit.c: Likewise.
55763 * time/era.c: Likewise.
55764 * wcsmbs/tst-c16c32-1.c: Likewise.
55765
55766 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55767
55768 * math/libm-test.inc (struct test_sincos_data): New type.
55769 (RUN_TEST_LOOP_sincos): New macro.
55770 (sincos_test_data): New variable.
55771 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
55772
55773 2013-05-16 Richard Henderson <rth@redhat.com>
55774
55775 * math/atest-exp2.c (LIMB64): New macro.
55776 (CONSTSZ): New macro.
55777 (mp_exp1, mp_exp_m1, mp_log2): New variables.
55778 (hexdig): Move ...
55779 (print_mpn_fp): ... to function scope.
55780 (read_mpn_hex): Remove.
55781 (get_log2): Remove.
55782 (exp2_mpn): Use mp_log2.
55783 (main): Use mp_exp1.
55784
55785 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55786
55787 * math/libm-test.inc: Remove comment about not testing "inexact"
55788 exceptions.
55789 (INEXACT_EXCEPTION): New macro.
55790 (NO_INEXACT_EXCEPTION): Likewise.
55791 (INVALID_EXCEPTION_OK): Update value.
55792 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55793 (OVERFLOW_EXCEPTION_OK): Likewise.
55794 (UNDERFLOW_EXCEPTION_OK): Likewise.
55795 (IGNORE_ZERO_INF_SIGN): Likewise.
55796 (ERRNO_UNCHANGED): Likewise.
55797 (ERRNO_EDOM): Likewise.
55798 (ERRNO_ERANGE): Likewise.
55799 (test_exceptions): Handle testing "inexact" exceptions.
55800 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
55801 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
55802 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
55803 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
55804 INEXACT_EXCEPTION.
55805 (rint_towardzero_test_data): Likewise.
55806 (rint_downward_test_data): Likewise.
55807 (rint_upward_test_data): Likewise.
55808
55809 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
55810 with OVERFLOW_EXCEPTION.
55811 (exp10_test_data): Likewise.
55812 (exp2_test_data): Likewise.
55813 (expm1_test_data): Likewise.
55814 (lgamma_test_data): Likewise.
55815 (pow_test_data): Likewise.
55816 (tgamma_test_data): Likewise.
55817 (yn_test_data): Remove duplicate test of overflow.
55818
55819 * math/libm-test.inc (struct test_cc_c_data): New type.
55820 (RUN_TEST_LOOP_cc_c): New macro.
55821 (cpow_test_data): New variable.
55822 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
55823
55824 * math/libm-test.inc (struct test_f_L_data): New type.
55825 (RUN_TEST_LOOP_f_L): New macro.
55826 (llrint_test_data): New variable.
55827 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
55828 (llrint_tonearest_test_data): New variable.
55829 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
55830 (llrint_towardzero_test_data): New variable.
55831 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
55832 (llrint_downward_test_data): New variable.
55833 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
55834 (llrint_upward_test_data): New variable.
55835 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
55836 (llround_test_data): New variable.
55837 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
55838
55839 2013-05-13 Peter Collingbourne <pcc@google.com>
55840
55841 * math/atest-exp2.c (get_log2): Remove const attribute.
55842
55843 2013-05-15 Joseph Myers <joseph@codesourcery.com>
55844
55845 * math/libm-test.inc (struct test_f_l_data): New type.
55846 (RUN_TEST_LOOP_f_l): New macro.
55847 (lrint_test_data): New variable.
55848 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
55849 (lrint_tonearest_test_data): New variable.
55850 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
55851 (lrint_towardzero_test_data): New variable.
55852 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
55853 (lrint_downward_test_data): New variable.
55854 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
55855 (lrint_upward_test_data): New variable.
55856 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
55857 (lround_test_data): New variable.
55858 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
55859
55860 2013-05-15 Peter Collingbourne <pcc@google.com>
55861
55862 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
55863 (EXTRACT_WORDS64) Use where appropriate.
55864 (INSERT_WORDS64) Likewise.
55865
55866 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
55867 constraints with x constraints.
55868 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
55869
55870 * malloc/obstack.c (_obstack_compat): Add initializer.
55871
55872 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
55873
55874 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
55875 si_trapno and add si_addr_lsb to _sifields.sigfault.
55876 (si_trapno): Remove macro.
55877 (si_addr_lsb): Define new macro.
55878 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55879
55880 2013-05-15 Joseph Myers <joseph@codesourcery.com>
55881
55882 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
55883 instead of TEST_f_l.
55884 (llrint_test_tonearest): Likewise.
55885 (llrint_test_towardzero): Likewise.
55886 (llrint_test_downward): Likewise.
55887 (llrint_test_upward): Likewise.
55888 (llround_test): Likewise.
55889
55890 * math/libm-test.inc (struct test_f_i_data): Add comment.
55891 (RUN_TEST_LOOP_f_b): New macro.
55892 (RUN_TEST_LOOP_f_b_tg): Likewise.
55893 (finite_test_data): New variable.
55894 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
55895 (isfinite_test_data): New variable.
55896 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55897 (isinf_test_data): New variable.
55898 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55899 (isnan_test_data): New variable.
55900 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55901 (isnormal_test_data): New variable.
55902 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55903 (issignaling_test_data): New variable.
55904 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55905 (signbit_test_data): New variable.
55906 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55907
55908 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
55909 with INVALID_EXCEPTION.
55910 (acosh_test_data): Likewise.
55911 (asin_test_data): Likewise.
55912 (atanh_test_data): Likewise.
55913 (fmod_test_data): Likewise.
55914 (log_test_data): Likewise.
55915 (log10_test_data): Likewise.
55916 (log2_test_data): Likewise.
55917 (pow_test_data): Likewise.
55918 (sqrt_test_data): Likewise.
55919 (y0_test_data): Likewise.
55920 (y1_test_data): Likewise.
55921 (yn_test_data): Likewise.
55922
55923 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
55924 function contents.
55925
55926 * math/libm-test.inc (struct test_ff_i_data): New type.
55927 (RUN_TEST_LOOP_ff_i_tg): New macro.
55928 (isgreater_test_data): New variable.
55929 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55930 (isgreaterequal_test_data): New variable.
55931 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55932 (isless_test_data): New variable.
55933 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55934 (islessequal_test_data): New variable.
55935 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55936 (islessgreater_test_data): New variable.
55937 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55938 (isunordered_test_data): New variable.
55939 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55940
55941 2013-05-14 David S. Miller <davem@davemloft.net>
55942
55943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55944
55945 2013-05-14 Joseph Myers <joseph@codesourcery.com>
55946
55947 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
55948
55949 * math/libm-test.inc (struct test_fF_f1_data): Change type of
55950 extra_test to int.
55951 (struct test_f_i_data): Change type of max_ulp to int.
55952
55953 * math/libm-test.inc (test_ffI_f1_data): New type.
55954 (RUN_TEST_LOOP_ffI_f1): New macro.
55955 (remquo_test_data): New variable.
55956 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
55957
55958 * setjmp/tst-setjmp-fp.c: New file.
55959 * setjmp/Makefile (tests): Add tst-setjmp-fp.
55960 (link-libm): New variable.
55961 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
55962
55963 * math/libm-test.inc (struct test_f_i_data): New type.
55964 (RUN_TEST_LOOP_f_i): New macro.
55965 (RUN_TEST_LOOP_f_i_tg): Likewise.
55966 (fpclassify_test_data): New variable.
55967 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
55968 (ilogb_test_data): New variable.
55969 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
55970
55971 * math/libm-test.inc (scalbln_test): Correct function name in END
55972 call.
55973
55974 * math/libm-test.inc (struct test_f_f1_data): Add comment.
55975 (RUN_TEST_LOOP_fI_f1): New macro.
55976 (frexp_test_data): New variable.
55977 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
55978
55979 * math/libm-test.inc (struct test_fF_f1_data): New type.
55980 (RUN_TEST_LOOP_fF_f1): New macro.
55981 (modf_test_data): New variable.
55982 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
55983
55984 * math/libm-test.inc (struct test_f_f1_data): New type.
55985 (RUN_TEST_LOOP_f_f1): New macro.
55986 (gamma_test_data): New variable.
55987 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
55988 (lgamma_test_data): New variable.
55989 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
55990
55991 2013-05-13 Carlos O'Donell <carlos@redhat.com>
55992
55993 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
55994 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
55995 (main): Comment "tls" pseudo-hwcap.
55996
55997 2013-05-13 Joseph Myers <joseph@codesourcery.com>
55998
55999 * math/libm-test.inc (struct test_fl_f_data): New type.
56000 (RUN_TEST_LOOP_fl_f): New variable.
56001 (scalbln_test_data): New variable.
56002 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56003
56004 * math/libm-test.inc (struct test_fi_f_data): New type.
56005 (RUN_TEST_LOOP_fi_f): New macro.
56006 (ldexp_test_data): New variable.
56007 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56008 (scalbn_test_data): New variable.
56009 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56010
56011 * math/libm-test.inc (struct test_c_f_data): New type.
56012 (RUN_TEST_LOOP_c_f): New macro.
56013 (cabs_test_data): New variable.
56014 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56015 (carg_test_data): New variable.
56016 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56017 (cimag_test_data): New variable.
56018 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56019 (creal_test_data): New variable.
56020 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56021
56022 * math/libm-test.inc (struct test_if_f_data): New type.
56023 (RUN_TEST_LOOP_if_f): New macro.
56024 (jn_test_data): New variable.
56025 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56026 (yn_test_data): New variable.
56027 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56028
56029 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56030
56031 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56032
56033 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56034 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56035
56036 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
56037
56038 * benchtests/Makefile (CPPFLAGS-nonlib): Add
56039 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56040 (bench-deps): Add bench-timing.h.
56041 * benchtests-bench-skeleton.c: Include bench-timing.h.
56042 (main): Use TIMING_* macros instead of clock_gettime.
56043 * benchtests/bench-timing.h: New file.
56044
56045 [BZ #14582]
56046 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56047 Renamed from _LIB_VERSION.
56048 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56049
56050 2013-05-12 Joseph Myers <joseph@codesourcery.com>
56051
56052 * math/libm-test.inc (struct test_fff_f_data): New type.
56053 (RUN_TEST_LOOP_fff_f): New macro.
56054 (fma_test_data): New variable.
56055 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56056 (fma_towardzero_test_data): New variable.
56057 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56058 (fma_downward_test_data): New variable.
56059 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56060 (fma_upward_test_data): New variable.
56061 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56062
56063 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56064 (struct test_c_c_data): New type.
56065 (RUN_TEST_LOOP_c_c): New macro.
56066 (cacos_test_data): New variable.
56067 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56068 (cacosh_test_data): New variable.
56069 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56070 (casin_test_data): New variable.
56071 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56072 (casinh_test_data): New variable.
56073 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56074 (catan_test_data): New variable.
56075 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56076 (catanh_test_data): New variable.
56077 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56078 (ccos_test_data): New variable.
56079 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56080 (ccosh_test_data): New variable.
56081 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56082 (cexp_test_data): New variable.
56083 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56084 (clog_test_data): New variable.
56085 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56086 (clog10_test_data): New variable.
56087 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56088 (conj_test_data): New variable.
56089 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56090 (cproj_test_data): New variable.
56091 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56092 (csin_test_data): New variable.
56093 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56094 (csinh_test_data): New variable.
56095 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56096 (csqrt_test_data): New variable.
56097 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56098 (ctan_test_data): New variable.
56099 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56100 (ctan_tonearest_test_data): New variable.
56101 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56102 (ctan_towardzero_test_data): New variable.
56103 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56104 (ctan_downward_test_data): New variable.
56105 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56106 (ctan_upward_test_data): New variable.
56107 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56108 (ctanh_test_data): New variable.
56109 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56110 (ctanh_tonearest_test_data): New variable.
56111 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56112 (ctanh_towardzero_test_data): New variable.
56113 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56114 (ctanh_downward_test_data): New variable.
56115 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56116 (ctanh_upward_test_data): New variable.
56117 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56118 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56119 of BUILD_COMPLEX.
56120
56121 * math/libm-test.inc (struct test_ff_f_data): New type.
56122 (struct test_ff_f_data_nexttoward): Likewise.
56123 (RUN_TEST_LOOP_2_f): New macro.
56124 (RUN_TEST_LOOP_ff_f): Likewise.
56125 (atan2_test_data): New variable.
56126 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56127 (copysign_test_data): New variable.
56128 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56129 (fdim_test_data): New variable.
56130 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56131 (fmax_test_data): New variable.
56132 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56133 (fmin_test_data): New variable.
56134 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56135 (fmod_test_data): New variable.
56136 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56137 (hypot_test_data): New variable.
56138 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56139 (nextafter_test_data): New variable.
56140 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56141 (nexttoward_test_data): New variable.
56142 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56143 (pow_test_data): New variable.
56144 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56145 (pow_tonearest_test_data): New variable.
56146 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56147 (pow_towardzero_test_data): New variable.
56148 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56149 (pow_downward_test_data): New variable.
56150 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56151 (pow_upward_test_data): New variable.
56152 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56153 (remainder_test_data): New variable.
56154 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56155 (scalb_test_data): New variable.
56156 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56157 * sysdeps/i386/fpu/libm-test-ulps: Update.
56158
56159 2013-05-11 Joseph Myers <joseph@codesourcery.com>
56160
56161 * math/libm-test.inc (fma_test): Use max_value instead of local
56162 variable fltmax.
56163 (nextafter_test): Likewise.
56164
56165 * math/libm-test.inc (acos_towardzero_test_data): New variable.
56166 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56167 (acos_downward_test_data): New variable.
56168 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56169 (acos_upward_test_data): New variable.
56170 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56171 (acosh_test_data): New variable.
56172 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56173 (asin_test_data): New variable.
56174 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56175 (asin_tonearest_test_data): New variable.
56176 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56177 (asin_towardzero_test_data): New variable.
56178 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56179 (asin_downward_test_data): New variable.
56180 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56181 (asin_upward_test_data): New variable.
56182 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56183 (asinh_test_data): New variable.
56184 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56185 (atan_test_data): New variable.
56186 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56187 (atanh_test_data): New variable.
56188 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
56189 (cbrt_test_data): New variable.
56190 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
56191 (ceil_test_data): New variable.
56192 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
56193 (cos_test_data): New variable.
56194 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
56195 (cos_tonearest_test_data): New variable.
56196 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56197 (cos_towardzero_test_data): New variable.
56198 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56199 (cos_downward_test_data): New variable.
56200 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56201 (cos_upward_test_data): New variable.
56202 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56203 (cosh_test_data): New variable.
56204 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
56205 (cosh_tonearest_test_data): New variable.
56206 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56207 (cosh_towardzero_test_data): New variable.
56208 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56209 (cosh_downward_test_data): New variable.
56210 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56211 (cosh_upward_test_data): New variable.
56212 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56213 (erf_test_data): New variable.
56214 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
56215 (erfc_test_data): New variable.
56216 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
56217 (exp_test_data): New variable.
56218 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
56219 (exp_tonearest_test_data): New variable.
56220 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56221 (exp_towardzero_test_data): New variable.
56222 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56223 (exp_downward_test_data): New variable.
56224 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56225 (exp_upward_test_data): New variable.
56226 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56227 (exp10_test_data): New variable.
56228 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
56229 (exp2_test_data): New variable.
56230 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
56231 (expm1_test_data): New variable.
56232 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
56233 (fabs_test_data): New variable.
56234 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
56235 (floor_test_data): New variable.
56236 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
56237 (j0_test_data): New variable.
56238 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
56239 (j1_test_data): New variable.
56240 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
56241 (log_test_data): New variable.
56242 (log_test): Run tests with RUN_TEST_LOOP_f_f.
56243 (log10_test_data): New variable.
56244 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
56245 (log1p_test_data): New variable.
56246 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
56247 (log2_test_data): New variable.
56248 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
56249 (logb_test_data): New variable.
56250 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
56251 (logb_downward_test_data): New variable.
56252 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56253 (nearbyint_test_data): New variable.
56254 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
56255 (rint_test_data): New variable.
56256 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
56257 (rint_tonearest_test_data): New variable.
56258 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56259 (rint_towardzero_test_data): New variable.
56260 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56261 (rint_downward_test_data): New variable.
56262 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56263 (rint_upward_test_data): New variable.
56264 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56265 (round_test_data): New variable.
56266 (round_test): Run tests with RUN_TEST_LOOP_f_f.
56267 (sin_test_data): New variable.
56268 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
56269 (sin_tonearest_test_data): New variable.
56270 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56271 (sin_towardzero_test_data): New variable.
56272 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56273 (sin_downward_test_data): New variable.
56274 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56275 (sin_upward_test_data): New variable.
56276 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56277 (sinh_test_data): New variable.
56278 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
56279 (sinh_tonearest_test_data): New variable.
56280 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56281 (sinh_towardzero_test_data): New variable.
56282 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56283 (sinh_downward_test_data): New variable.
56284 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56285 (sinh_upward_test_data): New variable.
56286 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56287 (sqrt_test_data): New variable.
56288 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
56289 (tan_test_data): New variable.
56290 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
56291 (tan_tonearest_test_data): New variable.
56292 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56293 (tan_towardzero_test_data): New variable.
56294 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56295 (tan_downward_test_data): New variable.
56296 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56297 (tan_upward_test_data): New variable.
56298 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56299 (tanh_test_data): New variable.
56300 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
56301 (tgamma_test_data): New variable.
56302 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
56303 (trunc_test_data): New variable.
56304 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
56305 (y0_test_data): New variable.
56306 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
56307 (y1_test_data): New variable.
56308 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
56309 (significand_test_data): New variable.
56310 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
56311
56312 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
56313
56314 [BZ #12387]
56315 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
56316
56317 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
56318
56319 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
56320
56321 2013-05-10 Andreas Jaeger <aj@suse.de>
56322
56323 [BZ #15448]
56324 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
56325 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
56326
56327 2013-05-10 Joseph Myers <joseph@codesourcery.com>
56328
56329 * math/gen-libm-test.pl (adjust_arg): New function.
56330 (special_functions): Handle generating output in both functions
56331 and arrays.
56332 (parse_args): Likewise.
56333 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
56334 $in_func argument to parse_args.
56335 * math/libm-test.inc (struct test_f_f_data): New type.
56336 (IF_ROUND_INIT_): New macro.
56337 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
56338 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56339 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56340 (IF_ROUND_INIT_FE_UPWARD): Likewise.
56341 (ROUND_RESTORE_): Likewise.
56342 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
56343 (ROUND_RESTORE_FE_TONEAREST): Likewise.
56344 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
56345 (ROUND_RESTORE_FE_UPWARD): Likewise.
56346 (RUN_TEST_LOOP_f_f): New macro.
56347 (acos_test_data): New variable.
56348 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
56349 (acos_tonearest_test_data): New variable.
56350 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56351
56352 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
56353
56354 * benchtests/bench-skeleton.c (startup): Fix coding style.
56355
56356 2013-05-10 Joseph Myers <joseph@codesourcery.com>
56357
56358 [BZ #6809]
56359 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
56360 negative infinity argument.
56361 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
56362 negative infinity argument.
56363 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
56364 negative infinity argument.
56365 * math/libm-test.inc (tgamma_test): Expect errno to be set for
56366 domain errors.
56367
56368 2013-05-10 Florian Weimer <fweimer@redhat.com>
56369
56370 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
56371 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
56372 * iconv/iconv_prog.c (main): Likewise.
56373 * locale/programs/charmap-dir.c (charmap_readdir)
56374 (fopen_uncompressed): Likewise.
56375 * locale/programs/locfile.c (siblings_uncached)
56376 (write_locale_data): Use lstat64 instead of lstat.
56377 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
56378 stat.
56379
56380 2013-05-10 Andreas Jaeger <aj@suse.de>
56381
56382 [BZ #15395]
56383 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
56384 localization.
56385 Include <locale.h>.
56386
56387 2013-05-09 Carlos O'Donell <carlos@redhat.com>
56388
56389 * elf/dl-close.c (_dl_close_worker): Add comments.
56390
56391 2013-05-09 Joseph Myers <joseph@codesourcery.com>
56392
56393 [BZ #15359]
56394 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
56395 high part of pi/2.
56396 (__ieee754_rem_pio2l): Update comments.
56397
56398 [BZ #15429]
56399 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
56400 high part of pi/2.
56401 (__ieee754_rem_pio2l): Update comments.
56402
56403 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
56404 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
56405
56406 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
56407 M_PI_4l.
56408
56409 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
56410 (M_PI_34_LOG10El): Likewise.
56411 (M_PI2_LOG10El): Likewise.
56412 (M_PI4_LOG10El): Likewise.
56413 (M_PI_LOG10El): Likewise.
56414
56415 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56416
56417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56418
56419 2013-05-08 Joseph Myers <joseph@codesourcery.com>
56420
56421 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
56422 (MINUS_ZERO_INIT): Likewise.
56423 (PLUS_INFTY_INIT): Likewise.
56424 (MINUS_INFTY_INIT): Likewise.
56425 (QNAN_VALUE_INIT): Likewise.
56426 (MAX_VALUE_INIT): Likewise.
56427 (MIN_VALUE_INIT): Likewise.
56428 (MIN_SUBNORM_VALUE_INIT): Likewise.
56429 (plus_zero): Initialize with PLUS_ZERO_INIT.
56430 (minus_zero): Initialize with MINUS_ZERO_INIT.
56431 (plus_infty): Initialize with PLUS_INFTY_INIT.
56432 (minus_infty): Initialize with MINUS_INFTY_INIT.
56433 (qnan_value): Initialize with QNAN_VALUE_INIT.
56434 (max_value): Initialize with MAX_VALUE_INIT.
56435 (min_value): Initialize with MIN_VALUE_INIT.
56436 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
56437
56438 * math/libm-test.inc (RUN_TEST_if_f): New macro.
56439 (jn_test): Use TEST_if_f instead of TEST_ff_f.
56440 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
56441 (yn_test): Use TEST_if_f instead of TEST_ff_f.
56442
56443 * math/libm-test.inc (RUN_TEST_f_f): New macro.
56444 (RUN_TEST_2_f): Likewise.
56445 (RUN_TEST_ff_f): Likewise.
56446 (RUN_TEST_fi_f): Likewise.
56447 (RUN_TEST_fl_f): Likewise.
56448 (RUN_TEST_fff_f): Likewise.
56449 (RUN_TEST_c_f): Likewise.
56450 (RUN_TEST_f_f1): Likewise.
56451 (RUN_TEST_fF_f1): Likewise.
56452 (RUN_TEST_fI_f1): Likewise.
56453 (RUN_TEST_ffI_f1): Likewise.
56454 (RUN_TEST_c_c): Likewise.
56455 (RUN_TEST_cc_c): Likewise.
56456 (RUN_TEST_f_i): Likewise.
56457 (RUN_TEST_f_i_tg): Likewise.
56458 (RUN_TEST_ff_i_tg): Likewise.
56459 (RUN_TEST_f_b): Likewise.
56460 (RUN_TEST_f_b_tg): Likewise.
56461 (RUN_TEST_f_l): Likewise.
56462 (RUN_TEST_f_L): Likewise.
56463 (RUN_TEST_sincos): Likewise.
56464 * math/gen-libm-test.pl (new_test): Take new argument to indicate
56465 whether to show exceptions. Do not include ");\n" in return
56466 value.
56467 (special_functions): Output call to RUN_TEST_sincos instead of
56468 check_float calls. Update calls to new_test.
56469 (parse_args): Output call to single RUN_TEST_* macro instead of
56470 check_* calls and other assignments. Update calls to new_test.
56471
56472 [BZ #2546]
56473 [BZ #2560]
56474 [BZ #5159]
56475 [BZ #15426]
56476 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
56477 input to result for tgamma overflow.
56478 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
56479 (gamma_coeff): New variable.
56480 (NCOEFF): New macro.
56481 (gamma_positive): New function.
56482 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
56483 underflow here. Use gamma_positive instead of exp (lgamma) for
56484 other arguments.
56485 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
56486 (gamma_coeff): New variable.
56487 (NCOEFF): New macro.
56488 (gammaf_positive): New function.
56489 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
56490 underflow here. Use gamma_positive instead of exp (lgamma) for
56491 other arguments.
56492 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
56493 (gamma_coeff): New variable.
56494 (NCOEFF): New macro.
56495 (gammal_positive): New function.
56496 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
56497 underflow here. Use gamma_positive instead of exp (lgamma) for
56498 other arguments.
56499 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
56500 (gamma_coeff): New variable.
56501 (NCOEFF): New macro.
56502 (gammal_positive): New function.
56503 (__ieee754_gammal_r): Handle positive infinity, overflow and
56504 underflow here. Handle NaN the same as positive infinity. Remove
56505 check x < 0xffffffff for negative integers. Use gamma_positive
56506 instead of exp (lgamma) for other arguments.
56507 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
56508 (gamma_coeff): New variable.
56509 (NCOEFF): New macro.
56510 (gammal_positive): New function.
56511 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
56512 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
56513 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
56514 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
56515 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
56516 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
56517 * sysdeps/generic/math_private.h (__gamma_productf): New
56518 prototype.
56519 (__gamma_product): Likewise.
56520 (__gamma_productl): Likewise.
56521 * math/Makefile (libm-calls): Add gamma_product.
56522 * math/libm-test.inc (tgamma_test): Add more tests.
56523 * sysdeps/i386/fpu/libm-test-ulps: Update.
56524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56525
56526 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
56527
56528 * benchtests/bench-skeleton.c (main): Preheat CPU.
56529
56530 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
56531
56532 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
56533
56534 2013-05-07 Roland McGrath <roland@hack.frob.com>
56535
56536 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
56537 and _dl_skip_args_internal.
56538
56539 2013-05-07 Carlos O'Donell <carlos@redhat.com>
56540
56541 * manual/message.texi (Message Translation): Talk about users.
56542 Message to key mapping impacts design.
56543
56544 2013-05-06 Roland McGrath <roland@hack.frob.com>
56545
56546 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
56547
56548 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
56549
56550 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
56551 * sysdeps/wordsize-64/glob64.c: ... here.
56552
56553 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
56554 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
56555 New macros.
56556
56557 * debug/getlogin_r_chk.c: Moved to ...
56558 * login/getlogin_r_chk.c: ... here.
56559 * debug/Makefile (routines): Move getlogin_r_chk to ...
56560 * login/Makefile (routines): ... here.
56561 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
56562 * login/Versions (libc: GLIBC_2.4): ... here.
56563
56564 * io/poll.c (__poll): Renamed from poll.
56565 Add libc_hidden_def.
56566 (poll): Define as weak alias.
56567
56568 * debug/ptsname_r_chk.c: Moved to ...
56569 * login/ptsname_r_chk.c: ... here.
56570 * debug/Makefile (routines): Move ptsname_r_chk to ...
56571 * login/Makefile (routines): ... here.
56572 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
56573 * login/Versions (libc: GLIBC_2.4): ... here.
56574
56575 * posix/getlogin.c: Moved to ...
56576 * login/getlogin.c: ... here.
56577 * posix/getlogin_r.c: Moved to ...
56578 * login/getlogin_r.c: ... here.
56579 * posix/getlogin_r.c: Moved to ...
56580 * login/getlogin_r.c: ... here.
56581 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
56582 * login/Makefile (routines): ... here.
56583 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
56584 * login/Versions (libc: GLIBC_2.0): ... here.
56585
56586 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
56587 (setrlimit): Define as weak alias.
56588
56589 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
56590 Call __ names for open, ftruncate, and close.
56591 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
56592 (truncate): Define as weak alias.
56593
56594 2013-05-06 Joseph Myers <joseph@codesourcery.com>
56595
56596 * math/gen-libm-test.pl (parse_args): Initialize x before each
56597 test of frexp, modf and remquo.
56598
56599 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
56600 test signgam value.
56601
56602 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56603
56604 [BZ #15418]
56605 [BZ #15419]
56606 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
56607 internal tests.
56608 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56609
56610 2013-05-06 Roland McGrath <roland@hack.frob.com>
56611
56612 * elf/dl-writev.h: New file.
56613 * elf/dl-misc.c: Include it.
56614 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
56615 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
56616
56617 2013-05-04 Joseph Myers <joseph@codesourcery.com>
56618
56619 * math/libm-test.inc (noXFails): Remove variable.
56620 (noXPasses): Likewise.
56621 (BUILD_COMPLEX_INT): Remove macro.
56622 (print_screen): Remove xfail argument.
56623 (print_screen_max_error): Likewise.
56624 (update_stats): Likewise.
56625 (print_max_error): Likewise. Update calls to other affected
56626 functions.
56627 (print_complex_max_error): Likewise.
56628 (test_single_exception): Update calls to print_screen.
56629 (test_single_errno): Likewise.
56630 (check_float_internal): Remove xfail argument. Update calls to
56631 other affected functions.
56632 (check_float): Likewise.
56633 (check_complex): Likewise.
56634 (check_int): Likewise.
56635 (check_long): Likewise.
56636 (check_bool): Likewise.
56637 (check_longlong): Likewise.
56638 (main): Don't print noXFails and noXPasses.
56639 * math/gen-libm-test.pl (top level): Don't mention expected
56640 failure handling in comment.
56641 (new_test): Don't handle expected failures.
56642 (parse_args): Don't mention expected failure handling in comment.
56643 (generate_testfile): Don't handle expected failures.
56644 (parse_ulps): Likewise.
56645 (print_ulps_file): Likewise.
56646 (get_failure): Remove function.
56647 (output_test): Don't handle expected failures.
56648 * make/README.libm-test: Don't mention expected failure handling.
56649
56650 * math/libm-test.inc (plus_zero): Make const. Add initializer.
56651 (minus_zero): Likewise.
56652 (plus_infty): Likewise.
56653 (minus_infty): Likewise.
56654 (qnan_value): Likewise.
56655 (max_value): Likewise.
56656 (min_value): Likewise.
56657 (min_subnorm_value): Likewise.
56658 (initialize): Do not initialize those variables dynamically.
56659
56660 2013-05-03 Roland McGrath <roland@hack.frob.com>
56661
56662 * io/open.c (__open_2): Moved to ...
56663 * io/open_2.c: ... this new file.
56664 * io/open64.c (__open64_2): Moved to ...
56665 * io/open64_2.c: ... this new file.
56666 * io/openat.c (__openat_2): Moved to ...
56667 * io/openat_2.c: ... this new file.
56668 * io/openat64.c (__openat64_2): Moved to ...
56669 * io/openat64_2.c: ... this new file.
56670 * io/Makefile (routines): Add them.
56671 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
56672 * sysdeps/unix/sysv/linux/open_2.c: File removed.
56673 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
56674 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
56675 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
56676 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
56677 (__openat64): Add hidden_ver.
56678 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
56679 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
56680
56681 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
56682 Separately conditionalize setting of GLRO(dl_sysinfo) so
56683 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
56684 as well, but the actual setting is only under [NEED_DL_SYSINFO].
56685
56686 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56687
56688 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
56689 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
56690 definition.
56691 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
56692 * sysdeps/unix/sysv/linux/powerpc/init-first.c
56693 (_libc_vdso_platform_setup): Add __vdso_time initialization.
56694 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
56695 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
56696
56697 2013-05-03 Joseph Myers <joseph@codesourcery.com>
56698
56699 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
56700 test signgam value.
56701
56702 * math/libm-test.inc (hypot_test): Do not use
56703 IGNORE_ZERO_INF_SIGN.
56704
56705 2013-05-03 Andreas Jaeger <aj@suse.de>
56706
56707 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
56708 Linux 3.9.
56709 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
56710 (PF_MAX): Adjust for VSOCK change.
56711
56712 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56713
56714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56715
56716 2013-05-02 Carlos O'Donell <carlos@redhat.com>
56717
56718 [BZ #15264]
56719 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
56720 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
56721 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
56722
56723 2013-05-02 David S. Miller <davem@davemloft.net>
56724
56725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56726
56727 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
56728
56729 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
56730
56731 2013-05-01 Roland McGrath <roland@hack.frob.com>
56732
56733 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
56734
56735 2013-05-01 Richard Smith <richard@metafoo.co.uk>
56736
56737 [BZ #14952]
56738 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
56739 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56740 Use __attribute__ ((__gnu_inline__)).
56741 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56742 Don't use __attribute__ ((__gnu_inline__)).
56743
56744 2013-05-01 Joseph Myers <joseph@codesourcery.com>
56745
56746 [BZ #15423]
56747 * math/s_catan.c (__catan): Handle small real or imaginary part of
56748 input specially to avoid spurious underflow.
56749 * math/s_catanf.c (__catanf): Likewise.
56750 * math/s_catanh.c (__catanh): Likewise.
56751 * math/s_catanhf.c (__catanhf): Likewise.
56752 * math/s_catanhl.c (__catanhl): Likewise.
56753 * math/s_catanl.c (__catanl): Likewise.
56754 * math/libm-test.inc (catan_test): Add more tests.
56755 (catanh_test): Likewise.
56756 * sysdeps/i386/fpu/libm-test-ulps: Update.
56757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56758
56759 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56760
56761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56762
56763 2013-04-30 Joseph Myers <joseph@codesourcery.com>
56764
56765 [BZ #15416]
56766 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56767 accurately for denominator in atan2.
56768 * math/s_catanf.c (__catanf): Likewise.
56769 * math/s_catanh.c (__catanh): Likewise.
56770 * math/s_catanhf.c (__catanhf): Likewise.
56771 * math/s_catanhl.c (__catanhl): Likewise.
56772 * math/s_catanl.c (__catanl): Likewise.
56773 * math/libm-test.inc (catan_test): Add more tests.
56774 (catanh_test): Likewise.
56775 * sysdeps/i386/fpu/libm-test-ulps: Update.
56776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56777
56778 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
56779
56780 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
56781
56782 * benchtests/Makefile (bench): Remove slow benchmarks.
56783 * benchtests/atan-inputs: Add slow benchmark inputs.
56784 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
56785 (BENCH_FUNC): Accept variant offset.
56786 (VARIANT): Define.
56787 * benchtests/bench-skeleton.c (main): Run benchmark for each
56788 variant.
56789 * benchtests/cos-inputs: Add slow benchmark inputs.
56790 * benchtests/exp-inputs: Likewise.
56791 * benchtests/pow-inputs: Likewise.
56792 * benchtests/sin-inputs: Likewise.
56793 * benchtests/slowatan-inputs: Remove.
56794 * benchtests/slowatan.c: Remove.
56795 * benchtests/slowcos-inputs: Remove.
56796 * benchtests/slowcos.c: Remove.
56797 * benchtests/slowexp-inputs: Remove.
56798 * benchtests/slowexp.c: Remove.
56799 * benchtests/slowpow-inputs: Remove.
56800 * benchtests/slowpow.c: Remove.
56801 * benchtests/slowsin-inputs: Remove.
56802 * benchtests/slowsin.c: Remove.
56803 * benchtests/slowtan-inputs: Remove.
56804 * benchtests/slowtan.c: Remove.
56805 * benchtests/tan-inputs: Add slow benchmark inputs.
56806 * scripts/bench.pl: Parse comments and directives.
56807
56808 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
56809 in CPPFLAGS.
56810 ($(objpfx)bench-%.c): Remove *-ITER.
56811 * benchtests/bench-modf.c: Remove definition of ITER.
56812 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
56813 (main): Loop for DURATION seconds instead of fixed number of
56814 iterations.
56815 * scripts/bench.pl: Don't expect iterations in parameters.
56816
56817 2013-04-29 Roland McGrath <roland@hack.frob.com>
56818
56819 * io/fchdir.c (__fchdir): Renamed from fchdir.
56820 (fchdir): Define as weak alias.
56821
56822 2013-04-29 Joseph Myers <joseph@codesourcery.com>
56823
56824 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
56825 (ERRNO_EDOM): Likewise.
56826 (ERRNO_ERANGE): Likewise.
56827 (noErrnoTests): New variable.
56828 (init_max_error): Set errno to 0.
56829 (test_single_errno): New function.
56830 (test_errno): Likewise.
56831 (check_float_internal): Call test_errno. Set errno to 0.
56832 (check_complex): Refer to errno tests in comment.
56833 (check_int): Call test_errno. Set errno to 0.
56834 (check_long): Likewise.
56835 (check_bool): Likewise.
56836 (check_longlong): Likewise.
56837 (cos_test): Use ERRNO_* flags for errno tests instead of
56838 check_int.
56839 (expm1_test): Likewise.
56840 (fmod_test): Likewise.
56841 (ilogb_test): Likewise.
56842 (lgamma_test): Likewise.
56843 (pow_test): Likewise.
56844 (remainder_test): Likewise.
56845 (sin_test): Likewise.
56846 (tan_test): Likewise.
56847 (yn_test): Likewise.
56848 (initialize): Set errno to 0.
56849 (main): Print number of errno tests.
56850 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
56851
56852 2013-04-29 Andreas Jaeger <aj@suse.de>
56853
56854 [BZ #15084]
56855 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
56856 and RES_USEVC.
56857
56858 [BZ #15085]
56859 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
56860 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
56861 unimplemented.
56862
56863 [BZ #15380]
56864 * stdlib/random.c (__initstate): Return NULL if
56865 __initstate fails.
56866
56867 [BZ #15086]
56868 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
56869 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
56870 RES_SNGLKUPREOP.
56871
56872 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56873
56874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56875
56876 2013-04-29 Joseph Myers <joseph@codesourcery.com>
56877
56878 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
56879 of individual tests.
56880 (casin_test): Likewise.
56881 (casinh_test): Likewise.
56882
56883 2013-04-27 Joseph Myers <joseph@codesourcery.com>
56884
56885 [BZ #15409]
56886 * math/s_catan.c (__catan): Handle arguments with large real or
56887 imaginary part separately without squaring.
56888 * math/s_catanf.c (__catanf): Likewise.
56889 * math/s_catanh.c (__catanh): Likewise.
56890 * math/s_catanhf.c (__catanhf): Likewise.
56891 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
56892 and redefine.
56893 (__catanhl): Handle arguments with large real or imaginary part
56894 separately without squaring.
56895 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
56896 and redefine.
56897 (__catanl): Handle arguments with large real or imaginary part
56898 separately without squaring.
56899 * math/libm-test.inc (catan_test): Add more tests.
56900 (catanh_test): Likewise.
56901 * sysdeps/i386/fpu/libm-test-ulps: Update.
56902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56903
56904 2013-04-27 Andreas Jaeger <aj@suse.de>
56905
56906 [BZ #15007]
56907 * stdlib/stdlib.h: Update guards for qecvt.
56908 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
56909 <stdlib.h>.
56910
56911 2013-04-27 Allan McRae <allan@archlinux.org>
56912
56913 * sysdeps/i386/fpu/libm-test-ulps: Update.
56914
56915 2013-04-26 Joseph Myers <joseph@codesourcery.com>
56916
56917 [BZ #15406]
56918 * math/s_catan.c: Include <float.h>.
56919 (__catan): Ensure underflow exception occurs for underflowed
56920 result.
56921 * math/s_catanf.c: Include <float.h>.
56922 (__catanf): Ensure underflow exception occurs for underflowed
56923 result.
56924 * math/s_catanh.c: Include <float.h>.
56925 (__catanh): Ensure underflow exception occurs for underflowed
56926 result.
56927 * math/s_catanhf.c: Include <float.h>.
56928 (__catanhf): Ensure underflow exception occurs for underflowed
56929 result.
56930 * math/s_catanhl.c: Include <float.h>.
56931 (__catanhl): Ensure underflow exception occurs for underflowed
56932 result.
56933 * math/s_catanl.c: Include <float.h>.
56934 (__catanl): Ensure underflow exception occurs for underflowed
56935 result.
56936 * math/libm-test.inc (catan_test): Add more tests.
56937 (catanh_test): Likewise.
56938
56939 [BZ #15405]
56940 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
56941 underflowed result.
56942 * math/s_ccoshf.c (__ccoshf): Likewise.
56943 * math/s_ccoshl.c (__ccoshl): Likewise.
56944 * math/s_csin.c (__csin): Likewise.
56945 * math/s_csinf.c (__csinf): Likewise.
56946 * math/s_csinh.c (__csinh): Likewise.
56947 * math/s_csinhf.c (__csinhf): Likewise.
56948 * math/s_csinhl.c (__csinhl): Likewise.
56949 * math/s_csinl.c (__csinl): Likewise.
56950 * math/libm-test.inc (ccos_test): Add more tests.
56951 (ccosh_test): Likewise.
56952 (csin_test): Likewise.
56953 (csinh_test): Likewise.
56954
56955 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56956
56957 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
56958 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
56959 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
56960 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
56961 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
56962 powerpc/power5+/fpu folders.
56963 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
56964
56965
56966 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
56967
56968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56969
56970 2013-04-25 Joseph Myers <joseph@codesourcery.com>
56971
56972 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
56973 additions to variable.
56974 [$(config-machine) = x86_64] (modules-names): Likewise.
56975 ($(objpfx)tst-audit3): Remove dependency.
56976 ($(objpfx)tst-audit3.out): Likewise.
56977 ($(objpfx)tst-audit4): Likewise.
56978 ($(objpfx)tst-audit4.out): Likewise.
56979 ($(objpfx)tst-audit5): Likewise.
56980 ($(objpfx)tst-audit5.out): Likewise.
56981 ($(objpfx)tst-audit6): Likewise.
56982 ($(objpfx)tst-audit6.out): Likewise.
56983 ($(objpfx)tst-audit7): Likewise.
56984 ($(objpfx)tst-audit7.out): Likewise.
56985 (tst-audit3-ENV): Remove variable.
56986 (tst-audit4-ENV): Likewise.
56987 (tst-audit5-ENV): Likewise.
56988 (tst-audit6-ENV): Likewise.
56989 (tst-audit7-ENV): Likewise.
56990 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
56991 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
56992 addition to variable.
56993 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
56994 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
56995 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
56996 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
56997 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
56998 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
56999 tst-audit3, tst-audit4 and tst-audit5.
57000 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57001 tst-audit6 and tst-audit7.
57002 [$(subdir) = elf] (modules-names): Add audit modules for those
57003 tests.
57004 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57005 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57006 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57007 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57008 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57009 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57010 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57011 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57012 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57013 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57014 [$(subdir) = elf] (tst-audit3-ENV): New variable.
57015 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57016 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57017 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57018 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57019 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57020 Likewise.
57021 [$(subdir) = elf && $(config-cflags-avx) = yes]
57022 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57023 [$(subdir) = elf && $(config-cflags-avx) = yes]
57024 (CFLAGS-tst-auditmod4a.c): Likewise.
57025 [$(subdir) = elf && $(config-cflags-avx) = yes]
57026 (CFLAGS-tst-auditmod4b.c): Likewise.
57027 [$(subdir) = elf && $(config-cflags-avx) = yes]
57028 (CFLAGS-tst-auditmod6b.c): Likewise.
57029 [$(subdir) = elf && $(config-cflags-avx) = yes]
57030 (CFLAGS-tst-auditmod6c.c): Likewise.
57031 [$(subdir) = elf && $(config-cflags-avx) = yes]
57032 (CFLAGS-tst-auditmod7b.c): Likewise.
57033 * elf/tst-audit3.c: Move to ...
57034 * sysdeps/x86_64/tst-audit3.c: ... here.
57035 * elf/tst-audit4.c: Move to ...
57036 * sysdeps/x86_64/tst-audit4.c: ... here.
57037 * elf/tst-audit5.c: Move to ...
57038 * sysdeps/x86_64/tst-audit5.c: ... here.
57039 * elf/tst-audit6.c: Move to ...
57040 * sysdeps/x86_64/tst-audit6.c: ... here.
57041 * elf/tst-audit7.c: Move to ...
57042 * sysdeps/x86_64/tst-audit7.c: ... here.
57043 * elf/tst-auditmod3a.c: Move to ...
57044 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57045 * elf/tst-auditmod3b.c: Move to ...
57046 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57047 * elf/tst-auditmod4a.c: Move to ...
57048 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57049 * elf/tst-auditmod4b.c: Move to ...
57050 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57051 * elf/tst-auditmod5a.c: Move to ...
57052 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57053 * elf/tst-auditmod5b.c: Move to ...
57054 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57055 * elf/tst-auditmod6a.c: Move to ...
57056 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57057 * elf/tst-auditmod6b.c: Move to ...
57058 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57059 * elf/tst-auditmod6c.c: Move to ...
57060 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57061 * elf/tst-auditmod7a.c: Move to ...
57062 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57063 * elf/tst-auditmod7b.c: Move to ...
57064 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57065
57066 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
57067
57068 [BZ #15366]
57069 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57070 define unconditionally.
57071 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57072 define unconditionally.
57073 (INT8_C, INT16_C, etc.): Likewise.
57074
57075 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
57076
57077 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57078 __ehdr_start with hidden visibility.
57079
57080 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57081
57082 2013-04-24 Carlos O'Donell <carlos@redhat.com>
57083
57084 * math/libm-test.inc (cos_test): Use accurate hex constants.
57085 (sincost_test): Likewise.
57086
57087 2013-04-24 Joseph Myers <joseph@codesourcery.com>
57088
57089 * math/libm-test.inc (catan_test): Add more tests.
57090 (catanh_test): Likewise.
57091
57092 * math/s_catanf.c (__catanf): Use suffixed floating-point
57093 constants.
57094 * math/s_catanhf.c (__catanhf): Likewise.
57095 * math/s_catanhl.c (__catanhl): Likewise.
57096 * math/s_catanl.c (__catanl): Likewise.
57097
57098 [BZ #15394]
57099 * math/s_catan.c (__catan): Calculate imaginary part of result
57100 with log1p not log unless computing log of number close to 0.
57101 * math/s_catanf.c (__catanf): Likewise.
57102 * math/s_catanl.c (__catanl): Likewise.
57103 * math/s_catanh.c (__catanh): Calculate real part of result with
57104 log1p not log unless computing log of number close to 0.
57105 * math/s_catanhf.c (__catanhf): Likewise.
57106 * math/s_catanhl.c (__catanhl): Likewise.
57107 * math/libm-test.inc (catan_test): Add more tests.
57108 (catanh_test): Likewise.
57109 * sysdeps/i386/fpu/libm-test-ulps: Update.
57110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57111
57112 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57113
57114 * benchtests/Makefile: Mention files in which fast and slow
57115 paths of math functions are implemented.
57116
57117 2013-04-23 Roland McGrath <roland@hack.frob.com>
57118
57119 * sysdeps/posix/timespec_get.c: New file.
57120
57121 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57122
57123 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57124 POWER.
57125 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57126 for POWER.
57127 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57128 powerpc/power5/fpu folders.
57129 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57130 * benchtests/Makefile: Add modf testcase.
57131 * benchtests/bench-modf.c: New file: Benchmark test for mo
57132
57133 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
57134
57135 [BZ #14888]
57136 * time/Makefile (tests): Add tst-strptime-whitespace.
57137 * time/strptime_l.c (get_number): Use ISSPACE.
57138 (__strptime_internal): Likewise.
57139 * time/tst-strptime-whitespace.c: New test case.
57140
57141 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
57142
57143 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57144 member.
57145 (_nss_files_init): Set it here.
57146
57147 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
57148
57149 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57150 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57151 unsigned.
57152
57153 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
57154
57155 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57156
57157 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
57158
57159 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57160 size just once.
57161
57162 2013-04-21 David S. Miller <davem@davemloft.net>
57163
57164 * po/ru.po: Update Russion translation from translation project.
57165
57166 2013-04-17 Adam Conrad <adconrad@0c3.net>
57167
57168 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57169 and setfsgid.
57170
57171 2013-04-17 Carlos O'Donell <carlos@redhat.com>
57172
57173 * configure.in: Remove i386 configure warning. Remove i386 case.
57174 * configure: Regenerate.
57175 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57176 Add example to error message.
57177 * sysdeps/i386/configure: Regenerate.
57178
57179 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
57180
57181 * benchtests/Makefile (bench): Add cos, tan, slowcos and
57182 slowtan.
57183 * benchtests/cos-inputs: New file.
57184 * benchtests/slowcos-inputs: New file.
57185 * benchtests/slowcos.c: New file.
57186 * benchtests/slowtan-inputs: New file.
57187 * benchtests/slowtan.c: New file.
57188 * benchtests/tan-inputs: New file.
57189
57190 2013-04-16 Roland McGrath <roland@hack.frob.com>
57191
57192 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
57193 considered kosher.
57194
57195 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57196
57197 * benchtests/Makefile: Include cppflags-iterator.mk to add
57198 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
57199
57200 * Makefile.in (bench-clean): New target.
57201 * benchtests/Makefile (bench-clean): Likewise.
57202
57203 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
57204
57205 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
57206
57207 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
57208
57209 * stdio-common/tstdiomisc.c: Fix coding-style violation.
57210
57211 2013-04-15 Andreas Schwab <schwab@suse.de>
57212
57213 * nscd/grpcache.c (cache_addgr): Properly check for short write.
57214 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57215 * nscd/pwdcache.c (cache_addpw): Likewise.
57216 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
57217 more than recsize.
57218
57219 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57220
57221 * benchtests/Makefile (bench): Write all output to
57222 bench-out.tmp together.
57223
57224 2013-04-15 Andreas Schwab <schwab@suse.de>
57225
57226 * nscd/nscd.c (main): Don't fork again after closing files.
57227
57228 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57229
57230 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
57231
57232 * benchtests/Rules (bench-deps): Collect dependencies into a
57233 single variable. Add Makefile to dependencies.
57234 ($(objpfx)bench-%.c): Depend on bench-deps.
57235
57236 2013-04-12 Roland McGrath <roland@hack.frob.com>
57237 Xavier Roche <roche+kml2@exalead.com>
57238
57239 [BZ #15361]
57240 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
57241 just that it's a file descriptor.
57242 * manual/llio.texi (Synchronizing AIO Operations): Update description
57243 for EBADF error from aio_fsync.
57244
57245 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
57246
57247 * Rules (bench): Move target definition...
57248 * benchtests/Makefile: ... here.
57249
57250 2013-04-11 Carlos O'Donell <carlos@redhat.com>
57251
57252 * math/libm-test.inc (cos_test): Fix PI/2 test.
57253 (sincos_test): Likewise.
57254 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
57255 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
57256
57257 2013-04-11 Andreas Schwab <schwab@suse.de>
57258
57259 [BZ #13988]
57260 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
57261 accept exponent character only when digits were seen.
57262 * stdio-common/Makefile (tests): Add bug26.
57263 * stdio-common/bug26.c: New file.
57264
57265 [BZ #14293]
57266 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
57267 non-freeable.
57268
57269 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57270
57271 * Makeconfig (rtld-prefix): Define built linker prefix.
57272 * Rules (run-bench): Use it.
57273 * math/Makefile (run-regen-ulps): Likewise.
57274
57275 * Rules (bench): Remove eval.
57276
57277 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57278 Roland McGrath <roland@hack.frob.com>
57279 Ondrej Bilka <neleai@seznam.cz>
57280
57281 [BZ #15346]
57282 * time/getdate.c: Include ctype.h and alloca.h.
57283 (__getdate_r): Trim leading and trailing spaces of input.
57284 * time/tst-getdate.c (tests): Add tests with leading and
57285 trailing spaces.
57286
57287 2013-04-08 Roland McGrath <roland@hack.frob.com>
57288
57289 [BZ #14280]
57290 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
57291 when computing value.
57292
57293 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57294
57295 * math/README.libm-test (How can I generate "libm-test-ulps"?):
57296 Use testrun.sh to run libm tests.
57297
57298 [BZ #15309]
57299 * elf/dl-open.c (dl_open_worker): memset all of seen array.
57300
57301 2013-04-06 Marko Myllynen <myllynen@redhat.com>
57302
57303 [BZ #15264]
57304 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
57305
57306 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57307
57308 * Makefile.in (regen-ulps): New target.
57309 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
57310 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
57311 [ifneq (no,$(PERL)] (regen-ulps): New target.
57312 [ifeq (no,$(PERL)] (regen-ulps): New target.
57313 * math/libm-test.inc (ulps_file_name): Define.
57314 (output_dir): New variable.
57315 (options): Add "output-dir" option.
57316 (parse_opt): Handle 'o' case.
57317 (main): If output_dir is non-NULL use it as a prefix
57318 otherwise use "".
57319 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
57320
57321 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57322
57323 [BZ #10060, #10062]
57324 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
57325 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
57326 fail configure if __sync_val_compare_and_swap is not inlined.
57327 * sysdeps/i386/configure: Regenerate.
57328 * configure.in: Build for i686 when configured for i386.
57329 * configure: Regenerate.
57330 * README: Remove i386 reference.
57331
57332 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57333
57334 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
57335 * sysdeps/s390/s390-64/sysdep.h: Likewise.
57336
57337 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
57338
57339 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
57340 (lmsnanval): New variables.
57341 (F): Add conversion tests.
57342 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
57343 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
57344
57345 * stdio-common/tstdiomisc.c (F): Properly collect individual
57346 tests' results.
57347
57348 [BZ #14686, #15336]
57349 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
57350 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
57351 Instead, use input NaN values or generate a qNaN by arithmetic
57352 operation. Also fix bugs to comply with the standard.
57353 * math/libm-test.inc (remainder_test): Add more tests.
57354
57355 [BZ #15335, #15342]
57356 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
57357 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
57358 input NaN values or generate a qNaN by arithmetic operation.
57359
57360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
57361 unreachable code.
57362
57363 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
57364 definitions.
57365
57366 2013-04-03 Joseph Myers <joseph@codesourcery.com>
57367
57368 [BZ #14478]
57369 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
57370 underflowed result.
57371 * math/s_cexpf.c (__cexpf): Likewise.
57372 * math/s_cexpl.c (__cexpl): Likewise.
57373 * math/libm-test.inc (cexp_test): Add more tests.
57374
57375 2013-04-03 Andreas Schwab <schwab@suse.de>
57376
57377 [BZ #15330]
57378 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
57379 order arrays from heap if bigger than alloca cutoff.
57380
57381 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
57382
57383 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
57384 (SNAN_TESTS_double): Refer to GCC PR56831.
57385 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
57386 GCC PR56828.
57387
57388 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
57389
57390 * Rules (bench): Move bench.out after the run is complete.
57391
57392 * Rules (bench): Echo currently running benchmark.
57393
57394 * benchtests/Makefile (bench): Add atan and slowatan.
57395 * benchtests/atan-inputs: New file.
57396 * benchtests/slowatan-inputs: New file.
57397 * benchtests/slowatan.c: New file.
57398
57399 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
57400 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
57401 its value.
57402
57403 [BZ #15305]
57404 * sysdeps/unix/sysv/linux/kernel-features.h
57405 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
57406 __ASSUME_XFS_RESTRICTED_CHOWN.
57407 * sysdeps/unix/sysv/linux/pathconf.c
57408 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
57409 Save and restore errno.
57410
57411 2013-04-02 Joseph Myers <joseph@codesourcery.com>
57412
57413 [BZ #15327]
57414 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
57415 arguments using __kernel_casinh.
57416 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
57417 arguments using __kernel_casinhf.
57418 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
57419 arguments using __kernel_casinhl.
57420 * math/libm-test.inc (cacosh_test): Add more tests.
57421 * sysdeps/i386/fpu/libm-test-ulps: Update.
57422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57423
57424 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
57425
57426 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
57427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
57428
57429 * bench/Makefile (bench): Add sin and slowsin.
57430 * benchtests/sin-inputs: New file.
57431 * benchtests/slowsin-inputs: New file.
57432 * benchtests/slowsin.c: New file.
57433
57434 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
57435 (bench): Add slowexp and slowpow.
57436 (exp-ITER): Increase iterations.
57437 (pow-ITER): Likewise.
57438 * benchtests/exp-inputs: Change input.
57439 * benchtests/pow-inputs: Likewise.
57440 * benchtests/slowexp-inputs: New file.
57441 * benchtests/slowexp.c: New file.
57442 * benchtests/slowpow-inputs: New file.
57443 * benchtests/slowpow.c: New file.
57444
57445 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57446
57447 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
57448 instructions.
57449 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57450 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
57451 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57452 * benchtests/Makefile: Add rint benchtest.
57453 * benchtests/rint-inputs: Input for rint benchtest.
57454
57455 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
57456
57457 * Versions.def (libm): Add GLIBC_2.18.
57458 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
57459 hidden libm prototypes.
57460 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
57461 * math/Makefile (libm-calls): Add s_issignaling.
57462 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
57463 __issignalingf, __issignalingl. Adjust all libm.abilist files.
57464 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
57465 declaration.
57466 * math/math.h [__USE_GNU] (issignaling): New macro.
57467 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
57468 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
57469 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
57470 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
57471 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
57472 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
57473 * manual/arith.texi (issignaling): New section.
57474 * manual/libm-err-tab.pl (@all_functions): Update comment.
57475 * math/gen-libm-test.pl (parse_args): Apply special handling for
57476 issignaling.
57477 * math/libm-test.inc (print_float, issignaling_test): New
57478 functions.
57479 (check_float_internal): Add issignaling checks.
57480 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
57481 default definition.
57482 * sysdeps/powerpc/math-tests.h: New file.
57483 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
57484 tests.
57485 * math/test-snan.c (TEST_FUNC): Likewise.
57486
57487 2013-03-30 David S. Miller <davem@davemloft.net>
57488
57489 * po/de.po: Update from translation team.
57490
57491 2013-03-30 Joseph Myers <joseph@codesourcery.com>
57492
57493 [BZ #10357]
57494 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57495 imaginary part less than 1.0 and real part less than 0.5
57496 specially.
57497 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57498 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57499 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
57500 (cacos_test): Add more tests.
57501 (casin_test): Likewise.
57502 (casinh_test): Likewise.
57503 * sysdeps/i386/fpu/libm-test-ulps: Update.
57504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57505
57506 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
57507
57508 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
57509 ONE with its value.
57510
57511 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
57512 (__pow_mp): Replace ONE and MONE with their values.
57513 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57514 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
57515 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57516 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
57517 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57518 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57519
57520 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
57521
57522 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
57523 (__pow_mp): Replace ZERO and MZERO with their values.
57524 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57525 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57526 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57527 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57528 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57529 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
57530 (__sqr): Likewise.
57531
57532 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
57533
57534 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
57535
57536 2013-03-28 Roland McGrath <roland@hack.frob.com>
57537
57538 * include/stdlib.h [!SHARED] (__call_tls_dtors):
57539 Declare with __attribute__ ((weak)).
57540 * stdlib/exit.c (__libc_atexit) [!SHARED]:
57541 Call __call_tls_dtors only if it's not NULL.
57542
57543 2013-03-28 Roland McGrath <roland@hack.frob.com>
57544
57545 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
57546 didn't do it already, then set _dl_phdr and _dl_phnum based on the
57547 magic __ehdr_start linker symbol if it's defined.
57548 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
57549 them up here if it was already done.
57550
57551 * elf/dl-support.c (_dl_phdr): Make pointer to const.
57552 (_dl_aux_init): Use const in cast when setting it.
57553 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
57554 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
57555 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
57556
57557 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
57558 Declare them here.
57559 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
57560 * csu/libc-tls.c: Nor here.
57561 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
57562
57563 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
57564 (__libc_message): Never call vsyslog.
57565
57566 2013-03-28 Alan Modra <amodra@gmail.com>
57567
57568 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
57569 Define as empty.
57570 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
57571 Likewise.
57572
57573 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57574
57575 [BZ #15214]
57576 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
57577 underflow.
57578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57579
57580 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57581
57582 [BZ #15304]
57583 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57584 Don't add gid passed as argument.
57585
57586 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
57587
57588 2013-03-27 Joseph Myers <joseph@codesourcery.com>
57589
57590 [BZ #15307]
57591 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57592 imaginary part between 1.0 and 1.5 and real part less than 0.5
57593 specially.
57594 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57595 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57596 * math/libm-test.inc (cacos_test): Add more tests.
57597 (casin_test): Likewise.
57598 (casinh_test): Likewise.
57599 * sysdeps/i386/fpu/libm-test-ulps: Update.
57600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57601
57602 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
57603
57604 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
57605 constants.
57606 (norm): Likewise.
57607 (denorm): Likewise.
57608 (__dbl_mp): Likewise.
57609 (add_magnitudes): Likewise.
57610 (sub_magnitudes): Likewise.
57611 (__add): Likewise.
57612 (__sub): Likewise.
57613 (__mul): Likewise.
57614 (__sqr): Likewise.
57615 (__inv): Likewise.
57616 (__dvd): Likewise.
57617
57618 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
57619 commented code.
57620 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
57621 (__dubcos): Likewise.
57622 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
57623 (__ieee754_acos): Likewise.
57624 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57625 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
57626 (__exp1): Likewise.
57627 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57628 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57629 (log1): Likewise.
57630 (my_log2): Likewise.
57631 (checkint): Likewise.
57632 * sysdeps/ieee754/dbl-64/e_remainder.c
57633 (__ieee754_remainder): Likewise.
57634 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57635 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
57636 (bsloww): Likewise.
57637 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57638
57639 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57640 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
57641 MANTISSA_STORE_T to store computations on mantissa. Use
57642 macros for rounding and division.
57643 (denorm): Likewise.
57644 (__dbl_mp): Likewise.
57645 (add_magnitudes): Likewise.
57646 (sub_magnitudes): Likewise.
57647 (__mul): Likewise.
57648 (__sqr): Likewise.
57649 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
57650 powers of two in terms of TWOPOW macro.
57651 (mp_no): Make type of mantissa as MANTISSA_T.
57652 [!RADIXI]: Define RADIXI.
57653 [!TWO52]: Define TWO52.
57654 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57655
57656 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57657
57658 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
57659 llroundl symbol when building for PPC32.
57660
57661 2013-03-24 Mark H Weaver <mhw@netris.org>
57662
57663 * manual/arith.texi (Normalization Functions): Fix prototypes for
57664 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
57665
57666 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57667
57668 [BZ #13889]
57669 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
57670 high value to check if expl overflow.
57671 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
57672 to check for underflow and overflow.
57673 * math/libm-test.inc: Add exp test.
57674
57675 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
57676
57677 [BZ #11120]
57678 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
57679 with NOT_IN_libc.
57680
57681 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57682
57683 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
57684 symbol.
57685
57686 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
57687
57688 * math/gen-libm-test.pl (parse_args, special_functions): Properly
57689 wrap blocks consisting of several statements.
57690
57691 * sysdeps/generic/math-tests.h: New file.
57692 * sysdeps/i386/fpu/math-tests.h: Likewise.
57693 * math/test-snan.c: Include it.
57694 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
57695
57696 2013-03-21 Joseph Myers <joseph@codesourcery.com>
57697
57698 [BZ #15285]
57699 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
57700 (__ieee754_j0l): Do not improve calculations using cos of twice
57701 input for inputs above LDBL_MAX / 2.0L.
57702 (__ieee754_y0l): Likewise.
57703 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
57704 (__ieee754_j1l): Do not improve calculations using cos of twice
57705 input for inputs above LDBL_MAX / 2.0L.
57706 (__ieee754_y1l): Likewise.
57707 * math/libm-test.inc (j0_test): Add another test.
57708 (j1_test): Likewise.
57709 (y0_test): Likewise.
57710 (y1_test): Likewise.
57711 * sysdeps/i386/fpu/libm-test-ulps: Update.
57712
57713 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57714
57715 * Rules ($(objpfx)bench-%.c): Include code from a C source
57716 file.
57717
57718 2013-03-21 Joseph Myers <joseph@codesourcery.com>
57719
57720 [BZ #15287]
57721 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57722 imaginary part 1.0 and real part less than 0.5 specially.
57723 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57724 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57725 * math/libm-test.inc (cacos_test): Add more tests.
57726 (casin_test): Likewise.
57727 (casinh_test): Likewise.
57728 * sysdeps/i386/fpu/libm-test-ulps: Update.
57729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57730
57731 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57732
57733 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
57734 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
57735
57736 2013-03-20 Joseph Myers <joseph@codesourcery.com>
57737
57738 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
57739 * config.make.in (config-cflags-sse4): Remove variable.
57740 (config-cflags-avx): Likewise.
57741 (config-cflags-sse2avx): Likewise.
57742 (config-cflags-novzeroupper): Likewise.
57743 (config-asflags-i686): Likewise.
57744 (have-mfma4): Likewise.
57745 (have-as-vis3): Likewise.
57746 (MIG): Likewise.
57747 * configure.in (MIG): Do not AC_SUBST.
57748 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
57749 (libc_cv_cc_sse4): Do not AC_SUBST.
57750 (libc_cv_cc_avx): Likewise.
57751 (libc_cv_cc_sse2avx): Likewise.
57752 (libc_cv_cc_novzeroupper): Likewise.
57753 (libc_cv_cc_fma4): Likewise.
57754 (libc_cv_as_i686): Likewise.
57755 (libc_cv_sparc_as_vis3): Likewise.
57756 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
57757 LIBC_CONFIG_VAR.
57758 (config-asflags-i686): Likewise.
57759 (config-cflags-avx): Likewise.
57760 (config-cflags-sse2avx): Likewise.
57761 (have-mfma4): Likewise.
57762 (config-cflags-novzeroupper): Likewise.
57763 * sysdeps/mach/configure.in (MIG): Likewise.
57764 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
57765 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
57766 LIBC_CONFIG_VAR.
57767 (config-cflags-avx): Likewise.
57768 (config-cflags-sse2avx): Likewise.
57769 (have-mfma4): Likewise.
57770 (config-cflags-novzeroupper): Likewise.
57771 * configure: Regenerated.
57772 * sysdeps/i386/configure: Likewise.
57773 * sysdeps/mach/configure: Likewise.
57774 * sysdeps/sparc/configure: Likewise.
57775 * sysdeps/x86_64/configure: Likewise.
57776
57777 2013-03-20 Roland McGrath <roland@hack.frob.com>
57778
57779 [BZ #14812]
57780 * locale/programs/localedef.c (options): Put N_ translation marker
57781 on argument names, not just descriptions.
57782
57783 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
57784
57785 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
57786
57787 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
57788
57789 [BZ #14176]
57790 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
57791
57792 2013-03-19 Roland McGrath <roland@hack.frob.com>
57793
57794 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
57795 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
57796 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
57797 [!BEFORE_ABORT] (before_abort): New function.
57798 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
57799 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
57800 (writev_for_fatal): New function.
57801 (WRITEV_FOR_FATAL): New macro; call that.
57802 (backtrace_and_maps): New function.
57803 (BEFORE_ABORT): New macro; call that.
57804 (struct str_list): Type removed.
57805 (__libc_message, __libc_fatal): Functions removed.
57806 Include <sysdeps/posix/libc_fatal.c> instead.
57807
57808 2013-03-19 Joseph Myers <joseph@codesourcery.com>
57809
57810 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
57811 constants.
57812 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
57813 double constants.
57814
57815 2013-03-19 Andreas Schwab <schwab@suse.de>
57816
57817 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
57818 * sysdeps/gnu/configure: Regenerate.
57819
57820 * configure.in: Substitute libc_cv_rtlddir.
57821 * configure: Regenerate.
57822 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
57823 * Makeconfig (rtlddir, inst_rtlddir): New variables.
57824 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
57825 * elf/Makefile (install-others, CFLAGS-interp.c)
57826 (ldso_install, common-ldd-rewrite): Likewise.
57827 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
57828 $(inst_slibdir)/$(rtld-installed-name).
57829 * scripts/rellns-sh: Add -p option.
57830 * Makerules (make-shlib-link): Use rellns-sh to get relative name
57831 for source.
57832
57833 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
57834
57835 * manual/nptl.texi: Renamed to ...
57836 * manual/threads.texi: ... this.
57837 * manual/Makefile (chapters): Update.
57838
57839 2013-03-18 Roland McGrath <roland@hack.frob.com>
57840
57841 [BZ #14812]
57842 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
57843 on argument names, not just descriptions.
57844 * malloc/memusagestat.c (options): Likewise.
57845 * nss/getent.c (options): Likewise.
57846
57847 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
57848
57849 [BZ #14812]
57850 * iconv/iconv_prog.c (options): Put N_ translation marker
57851 on argument names, not just descriptions.
57852 * iconv/iconvconfig.c (options): Likewise.
57853
57854 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
57855
57856 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
57857 implementation which is faster on all x86_64 architectures.
57858 Tested on AMD, Intel Nehalem, SNB, IVB.
57859 * sysdeps/x86_64/strnlen.S: Likewise.
57860
57861 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57862 Remove all multiarch strlen and strnlen versions.
57863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57864 Remove strlen and strnlen related parts.
57865
57866 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
57867 Inline strlen part.
57868 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
57869
57870 * sysdeps/x86_64/multiarch/strlen.S: Remove.
57871 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
57872 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
57873 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
57874 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57875 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
57876
57877 2013-03-17 Carlos O'Donell <carlos@redhat.com>
57878
57879 * manual/memory.texi (Malloc Tunable Parameters):
57880 Sort parameters alphabetically. Add comments for missing entries.
57881
57882 2013-03-17 David S. Miller <davem@davemloft.net>
57883
57884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57885
57886 2013-03-16 Joseph Myers <joseph@codesourcery.com>
57887
57888 [BZ #15283]
57889 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
57890 for arguments at most half maximum finite value.
57891 * math/libm-test.inc (j0_test): Add more tests.
57892 (j1_test): Likewise.
57893 (y0_test): Likewise.
57894 (y1_test): Likewise.
57895 * sysdeps/i386/fpu/libm-test-ulps: Update.
57896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57897
57898 [BZ #14155]
57899 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
57900 1 / x and functions P and Q for arguments above 0x1p256L.
57901 (__ieee754_y0l): Likewise.
57902 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
57903 (__ieee754_y1l): Likewise.
57904 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
57905 (j1_test): Likewise.
57906 (y0_test): Likewise.
57907 (y1_test): Likewise.
57908
57909 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
57910
57911 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
57912 variable.
57913
57914 2013-03-15 Roland McGrath <roland@hack.frob.com>
57915
57916 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
57917 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
57918 zero since it's initialized to EXEC_PAGESIZE.
57919
57920 * sysdeps/unix/sysv/linux/ldsodefs.h
57921 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
57922 * sysdeps/generic/ldsodefs.h: ... here.
57923
57924 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
57925
57926 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
57927
57928 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
57929 math/test-snan.c.
57930 * math/test-snan.c: Renamed from
57931 sysdeps/powerpc/fpu/test-powerpc-snan.c.
57932 * math/Makefile (tests): Add test-snan.
57933 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
57934 test-powerpc-snan.
57935
57936 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
57937 SUFFIX. Initialize qNaN_var with __builtin_nan family of
57938 functions.
57939 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
57940 __builtin_nan family of functions.
57941 * math/libm-test.inc (initialize): Initialize qnan_value with
57942 __builtin_nan family of functions.
57943 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
57944 Remove variables.
57945 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
57946 Remove functions.
57947 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
57948 storage class. Initialize qNaN_var and sNaN_var with
57949 __builtin_nan and __builtin_nans families of functions,
57950 respectively.
57951
57952 * math/libm-test.inc (acosh_test): Also test with qNaN input.
57953 (sqrt_test): Remove duplicate test with qNaN input.
57954 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
57955 (round_test, signbit_test, significand_test): Note missing +/-Inf
57956 as well as qNaN tests.
57957
57958 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
57959 qNaN_var. Fix a few strings, too.
57960 * math/libm-test.inc (nan_value): Rename to qnan_value.
57961 * math/gen-libm-test.pl (%beautify): Adjust to that.
57962 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
57963 * math/test-misc.c (main): Likewise.
57964 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
57965 to __qnan_bytes, and __qnan_union, respectively.
57966 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
57967 Likewise.
57968 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
57969 and lqnanval, respectively.
57970 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
57971 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
57972 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
57973 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
57974
57975 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
57976 * math/test-misc.c (main) [__x86_64__]: Enable test for long
57977 doubles.
57978
57979 * math/test-misc.c (main): Fix copy'n'pastos.
57980 * misc/tst-efgcvt.c (special): Likewise.
57981
57982 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
57983 Remove declarations.
57984
57985 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57986
57987 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
57988 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
57989 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
57990 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
57991
57992 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57993
57994 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
57995 macro to return vdso values correctly in IFUNC implementations.
57996 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
57997 Optimization by using IFUNC.
57998
57999 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58000 Richard Henderson <rth@redhat.com>
58001 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58002
58003 * Makefile.in (bench): New target.
58004 * NEWS: Mention the benchmark framework.
58005 * Rules (bench): Likewise.
58006 (binaries-bench): Generate binaries for functions to
58007 benchmark.
58008 * benchtests/Makefile: New makefile for benchmark tests.
58009 * benchtests/bench-skeleton.c: New skeleton file for benchmark
58010 programs.
58011 * benchtests/exp-inputs: New input file for EXP function.
58012 * benchtests/pow-inputs: New input file for POW function.
58013 * scripts/bench.pl: New script to generate source files for
58014 benchmark programs.
58015
58016 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58017
58018 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58019 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58020 computations on mantissa. Use macros for rounding and
58021 division.
58022 (denorm): Likewise.
58023 (__dbl_mp): Likewise.
58024 (add_magnitudes): Likewise.
58025 (sub_magnitudes): Likewise.
58026 (__mul): Likewise.
58027 (__sqr): Likewise.
58028 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58029 powers of two in terms of TWOPOW macro.
58030 (mp_no): Make type of mantissa as MANTISSA_T.
58031 [!RADIXI]: Define RADIXI.
58032 [!TWO52]: Define TWO52.
58033 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58034
58035 * manual/nptl.texi (cindex): Modify threads to pthreads.
58036
58037 2013-03-15 Joseph Myers <joseph@codesourcery.com>
58038
58039 * sysdeps/x86_64/preconfigure: Regenerated.
58040
58041 2013-03-14 Joseph Myers <joseph@codesourcery.com>
58042
58043 [BZ #14155]
58044 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58045 0x1p28 and above.
58046 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58047 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58048 0x1p28 and above.
58049 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58050 * math/libm-test.inc (j0_test): Do not allow one spurious
58051 underflow exception.
58052 (y1_test): Likewise.
58053
58054 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
58055
58056 * manual/Makefile (chapters): Add nptl.
58057 * manual/debug.texi (Debugging Support): Add link to Threads
58058 chapter.
58059 * manual/nptl.texi: New file.
58060
58061 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58062
58063 2013-03-14 Petr Baudis <pasky@ucw.cz>
58064
58065 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58066 for non-NULL pointer before the memory validity test. Pointed
58067 out by Holger Brunck <holger.brunck@keymile.com>.
58068
58069 2013-03-13 Andreas Schwab <schwab@suse.de>
58070
58071 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58072 instead of .os.
58073
58074 2013-03-13 Joseph Myers <joseph@codesourcery.com>
58075
58076 * timezone/zic.c: Update from tzcode 2013b.
58077
58078 2013-03-12 Carlos O'Donell <carlos@redhat.com>
58079
58080 * manual/install.texi (Configuring and compiling):
58081 Mention i686 and i586.
58082 * INSTALL: Regenerate.
58083
58084 2013-03-12 Roland McGrath <roland@hack.frob.com>
58085
58086 * sysdeps/init_array/elf-init.c: New file.
58087 * csu/elf-init.c
58088 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58089 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58090
58091 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58092 __gmon_start__ as global, but as static with a .preinit_array pointer.
58093 * sysdeps/init_array/gmon-start.c: New file. Use that.
58094 * sysdeps/init_array/crti.S: New file, empty except for comments.
58095 * sysdeps/init_array/crtn.S: Likewise.
58096
58097 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
58098
58099 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58100 definining bcopy.
58101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58102 Remove Prefer_SSE_for_memop.
58103 * sysdeps/x86_64/multiarch/init-arch.h: Remove
58104 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58105 HAS_PREFER_SSE_FOR_MEMOP.
58106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58107 memset-x86-64.
58108 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58109 Remove bzero, memset ifunc support.
58110 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58111 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58112 * sysdeps/x86_64/multiarch/memset.S: Likewise.
58113 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58114
58115 2013-03-11 Andreas Schwab <schwab@suse.de>
58116
58117 [BZ #15234]
58118 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58119 by SHLIB_COMPAT.
58120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58121 (GLIBC_2.16): Remove pthread_atfork.
58122
58123 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
58124
58125 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58126 (ptestcases.h): Likewise.
58127
58128 2013-03-08 Roland McGrath <roland@hack.frob.com>
58129
58130 * Makeconfig ($(common-objpfx)config.status): Depend on
58131 sysdeps/*/preconfigure{,.in} too.
58132
58133 2013-03-08 Joseph Myers <joseph@codesourcery.com>
58134
58135 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58136 (__free_hook): Use void * instead of __malloc_ptr_t.
58137 (__malloc_hook): Likewise.
58138 (__realloc_hook): Likewise.
58139 (__memalign_hook): Likewise.
58140 (__after_morecore_hook): Likewise.
58141 * malloc/arena.c (save_malloc_hook): Likewise.
58142 (save_free_hook): Likewise.
58143 * malloc/hooks.c (malloc_hook_ini): Likewise.
58144 (realloc_hook_ini): Likewise.
58145 (memalign_hook_ini): Likewise.
58146 * malloc/malloc.c (malloc_hook_ini): Likewise.
58147 (realloc_hook_ini): Likewise.
58148 (memalign_hook_ini): Likewise.
58149 (__free_hook): Likewise.
58150 (__malloc_hook): Likewise.
58151 (__realloc_hook): Likewise.
58152 (__memalign_hook): Likewise.
58153 (__libc_malloc): Likewise.
58154 (__libc_free): Likewise.
58155 (__libc_realloc): Likewise.
58156 (__libc_memalign): Likewise.
58157 (__libc_valloc): Likewise.
58158 (__libc_pvalloc): Likewise.
58159 (__libc_calloc): Likewise.
58160 (__posix_memalign): Likewise.
58161 * malloc/morecore.c (__sbrk): Likewise.
58162 (__default_morecore): Likewise.
58163
58164 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58165
58166 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58167 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58168 __malloc_ptrdiff_t.
58169
58170 * malloc/malloc.h (__malloc_size_t): Remove macro.
58171 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58172 __malloc_size_t.
58173 (old_memalign_hook): Likewise.
58174 (old_realloc_hook): Likewise.
58175 (struct hdr): Likewise.
58176 (flood): Likewise.
58177 (mallochook): Likewise.
58178 (memalignhook): Likewise.
58179 (reallochook): Likewise.
58180 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58181 (tr_old_realloc_hook): Likewise.
58182 (tr_old_memalign_hook): Likewise.
58183 (tr_mallochook): Likewise.
58184 (tr_reallochook): Likewise.
58185 (tr_memalignhook): Likewise.
58186
58187 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58188
58189 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58190 default_ldbl_pack and using as default implementation.
58191 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
58192 implementation.
58193 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
58194 redundant definition.
58195 (ldbl_insert_mantissa): Likewise.
58196 (ldbl_canonicalize): Likewise.
58197 (ldbl_nearbyint): Likewise.
58198 (ldbl_pack): Rename to ldbl_pack_ppc.
58199 (ldbl_unpack): Rename to ldbl_unpack_ppc.
58200 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
58201 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
58202
58203 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
58204
58205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
58206 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
58207 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
58208 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
58209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
58210 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
58211 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
58212 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
58213
58214 2013-03-07 Andreas Jaeger <aj@suse.de>
58215
58216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58217 bits/mman-linux.h.
58218
58219 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
58220
58221 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
58222 Include mpa.h and declare __MPEXP.
58223 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
58224 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58225 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58226 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
58227 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58228 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58229 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
58230
58231 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
58232 (__slowpow): Use long double EXPL and LOGL functions to
58233 compute POW.
58234 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58235 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58236 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
58237 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58238 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58239 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
58240
58241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
58242 intermediate variable to calculate exponent.
58243 (__sqr): Likewise.
58244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58245 Likewise.
58246 (__sqr): Likewise.
58247
58248 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
58249 [!NO__SQR]: Define __sqr.
58250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
58251 and NO__SQR. Remove all code except __mul and __sqr. Include
58252 sysdeps/ieee754/dbl-64/mpa.c.
58253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58254
58255 [BZ #12723]
58256 * posix/Makefile (tests): Add tst-pathconf.
58257 * posix/tst-pathconf.c: New test case.
58258 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
58259 _PC_PIPE_BUF.
58260 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
58261
58262 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
58263
58264 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
58265
58266 2013-03-06 Andreas Jaeger <aj@suse.de>
58267
58268 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
58269 definition via __MAP_ANONYMOUS.
58270
58271 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
58272 it's not part of Linux headers.
58273
58274 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
58275 (MAP_HUGE_MASK): Define.
58276
58277 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58278 Define.
58279 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58280 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58281 Define.
58282 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58283 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58284 Define.
58285 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58286 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
58287 Define.
58288 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58289
58290 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
58291 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
58292 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
58293 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
58294 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
58295 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
58296
58297 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58298 Handle f2fs.
58299
58300 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58301 Handle f2fs and efivarfs.
58302
58303 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
58304 f2fs.
58305
58306 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
58307 (EFIVARFS_MAGIC): Add.
58308 (F2FS_LINK_MAX): Add.
58309
58310 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58311
58312 * stdio-common/vfprintf.c: Replace __builtin_expect with
58313 __glibc_unlikely.
58314
58315 2013-03-06 Joseph Myers <joseph@codesourcery.com>
58316
58317 [BZ #13550]
58318 * sysdeps/generic/bp-sym.h: Remove file.
58319 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
58320 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
58321 <bp-sym.h> and <bp-asm.h>.
58322 (__longjmp): Don't use BP_SYM.
58323 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
58324 and <bp-asm.h>.
58325 (memcpy): Don't use BP_SYM.
58326 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
58327 <bp-sym.h> and <bp-asm.h>.
58328 (memcpy): Don't use BP_SYM.
58329 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
58330 <bp-asm.h>.
58331 (memcpy): Don't use BP_SYM.
58332 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
58333 <bp-asm.h>.
58334 (memset): Don't use BP_SYM.
58335 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58336 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58337 (__bzero): Don't use BP_SYM.
58338 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58339 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58340 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
58341 <bp-sym.h> and <bp-asm.h>.
58342 (memcmp): Don't use BP_SYM. Remove comment about bounded
58343 pointers.
58344 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
58345 <bp-sym.h> and <bp-asm.h>.
58346 (memcpy): Don't use BP_SYM.
58347 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
58348 <bp-sym.h> and <bp-asm.h>.
58349 (memset): Don't use BP_SYM.
58350 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58351 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58352 (__bzero): Don't use BP_SYM.
58353 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58354 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58355 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
58356 <bp-sym.h> and <bp-asm.h>.
58357 (strncmp): Don't use BP_SYM. Remove comment about bounded
58358 pointers.
58359 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
58360 <bp-sym.h> and <bp-asm.h>.
58361 (memcpy): Don't use BP_SYM.
58362 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
58363 <bp-sym.h> and <bp-asm.h>.
58364 (memset): Don't use BP_SYM.
58365 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58366 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58367 (__bzero): Don't use BP_SYM.
58368 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58369 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58370 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
58371 <bp-sym.h> and <bp-asm.h>.
58372 (__memchr): Don't use BP_SYM.
58373 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
58374 <bp-sym.h> and <bp-asm.h>.
58375 (memcmp): Don't use BP_SYM. Remove comment about bounded
58376 pointers.
58377 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
58378 <bp-sym.h> and <bp-asm.h>.
58379 (memcpy): Don't use BP_SYM.
58380 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
58381 <bp-sym.h> and <bp-asm.h>.
58382 (__mempcpy): Don't use BP_SYM.
58383 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
58384 <bp-sym.h> and <bp-asm.h>.
58385 (__memrchr): Don't use BP_SYM.
58386 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
58387 <bp-sym.h> and <bp-asm.h>.
58388 (memset): Don't use BP_SYM.
58389 (__bzero): Likewise.
58390 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
58391 <bp-sym.h> and <bp-asm.h>.
58392 (__rawmemchr): Don't use BP_SYM.
58393 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
58394 <bp-sym.h> and <bp-asm.h>.
58395 (__STRCMP): Don't use BP_SYM.
58396 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
58397 <bp-sym.h> and <bp-asm.h>.
58398 (strchr): Don't use BP_SYM.
58399 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
58400 <bp-sym.h> and <bp-asm.h>.
58401 (__strchrnul): Don't use BP_SYM.
58402 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
58403 <bp-sym.h> and <bp-asm.h>.
58404 (strlen): Don't use BP_SYM.
58405 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
58406 <bp-sym.h> and <bp-asm.h>.
58407 (strncmp): Don't use BP_SYM. Remove comment about bounded
58408 pointers.
58409 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
58410 <bp-sym.h> and <bp-asm.h>.
58411 (__strnlen): Don't use BP_SYM.
58412 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
58413 <bp-sym.h> and <bp-asm.h>.
58414 (__GI__setjmp): Don't use BP_SYM.
58415 (_setjmp): Likewise.
58416 (__sigsetjmp): Likewise.
58417 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
58418 (L(start_addresses)): Don't use BP_SYM.
58419 (_start): Likewise.
58420 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
58421 <bp-asm.h>.
58422 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
58423 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
58424 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58425 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58426 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
58427 <bp-asm.h>.
58428 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
58429 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
58430 about bounded pointers.
58431 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58432 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58433 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
58434 <bp-asm.h>.
58435 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
58436 about bounded pointers. Remove GKM FIXME comments.
58437 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58438 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
58439 <bp-asm.h>.
58440 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
58441 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
58442 Remove GKM FIXME comments.
58443 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58444 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58445 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
58446 <bp-asm.h>.
58447 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
58448 about bounded pointers. Remove GKM FIXME comment.
58449 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
58450 and <bp-asm.h>.
58451 (strncmp): Don't use BP_SYM. Remove comment about bounded
58452 pointers.
58453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
58454 <bp-sym.h> and <bp-asm.h>.
58455 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
58457 <bp-sym.h> and <bp-asm.h>.
58458 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
58459 comment.
58460
58461 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58462
58463 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
58464 call free(NULL).
58465
58466 2013-03-05 David S. Miller <davem@davemloft.net>
58467
58468 * po/es.po: Update from translation team.
58469
58470 2013-03-05 Andreas Jaeger <aj@suse.de>
58471
58472 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
58473 <bits/mman-linux.h>.
58474 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58475 is fine.
58476 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
58477 <bits/mman-linux.h> to end of file.
58478 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58479 is fine.
58480 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
58481 <bits/mman-linux.h> to end of file.
58482 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58483 is fine.
58484 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
58485 <bits/mman-linux.h> to end of file.
58486
58487 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
58488 (MCL_CURRENT, MCL_FUTURE): Define here.
58489
58490 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58491
58492 [BZ #15232]
58493 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
58494 attribute_hidden.
58495 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58496
58497 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58498
58499 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
58500 fourth parameter needed for rt_sigprocmask syscall.
58501 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
58502 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58503 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
58504 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58505 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58506 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
58507
58508 2013-03-04 Joseph Myers <joseph@codesourcery.com>
58509
58510 [BZ #13550]
58511 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
58512 comment about bounded pointers.
58513 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
58514 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
58515
58516 2013-03-04 Andreas Jaeger <aj@suse.de>
58517
58518 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
58519 common definitions.
58520
58521 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
58522 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
58523 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
58524 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58525 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58526 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58527
58528 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58529
58530 [BZ #15055]
58531 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
58532 __ieee754_sqrl instead of __sqrl.
58533
58534 2013-03-01 Joseph Myers <joseph@codesourcery.com>
58535
58536 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
58537 * sysdeps/powerpc/fpu_control.h: ... here.
58538 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
58539 * sysdeps/powerpc/bits/fenvinline.h: ... here.
58540 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
58541 * sysdeps/powerpc/bits/mathinline.h: ... here.
58542
58543 2013-03-01 Roland McGrath <roland@hack.frob.com>
58544
58545 * elf/dl-hwcaps.c (_dl_important_hwcaps):
58546 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
58547 to just [NEED_DL_SYSINFO_DSO].
58548 * elf/dl-support.c: Likewise.
58549 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
58550 * elf/rtld.c (dl_main): Likewise.
58551 * elf/setup-vdso.h (setup_vdso): Likewise.
58552 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
58553 * sysdeps/unix/sysv/linux/dl-sysdep.c
58554 (_dl_discover_osversion): Likewise.
58555
58556 2013-03-01 Carlos O'Donell <carlos@redhat.com>
58557
58558 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
58559 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58560
58561 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
58562
58563 * NEWS: Mention libm performance improvements and non-x86 PI
58564 futex support.
58565
58566 * csu/libc-start.c (__pthread_initialize_minimal): Change
58567 function arguments.
58568 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58569
58570 2013-02-28 Joseph Myers <joseph@codesourcery.com>
58571
58572 [BZ #13550]
58573 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
58574 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
58575 <bp-sym.h> and <bp-asm.h>.
58576 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58577 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
58578 and <bp-asm.h>.
58579 (memcpy): Don't use BP_SYM.
58580 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
58581 <bp-asm.h>.
58582 (__mpn_add_n): Don't use BP_SYM.
58583 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
58584 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
58585 and <bp-asm.h>.
58586 (__mpn_addmul_1): Don't use BP_SYM.
58587 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58588 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
58589 <bp-sym.h>.
58590 (_setjmp): Don't use BP_SYM.
58591 (__novmx_setjmp): Likewise.
58592 (__GI__setjmp): Likewise.
58593 (__vmx_setjmp): Likewise.
58594 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
58595 <bp-sym.h>.
58596 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
58597 (__bzero): Don't use BP_SYM.
58598 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58599 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58600 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
58601 <bp-sym.h> and <bp-asm.h>.
58602 (memcpy): Don't use BP_SYM.
58603 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
58604 <bp-sym.h> and <bp-asm.h>.
58605 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58606 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
58607 <bp-sym.h> and <bp-asm.h>.
58608 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58609 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
58610 <bp-asm.h>.
58611 (__mpn_lshift): Don't use BP_SYM.
58612 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58613 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
58614 <bp-asm.h>.
58615 (memset): Don't use BP_SYM.
58616 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58617 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58618 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
58619 <bp-asm.h>.
58620 (__mpn_mul_1): Don't use BP_SYM.
58621 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58622 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
58623 <bp-sym.h> and <bp-asm.h>.
58624 (memcmp): Don't use BP_SYM.
58625 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
58626 <bp-sym.h> and <bp-asm.h>.
58627 (memcpy): Don't use BP_SYM.
58628 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
58629 <bp-sym.h> and <bp-asm.h>.
58630 (memset): Don't use BP_SYM.
58631 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
58632 <bp-sym.h> and <bp-asm.h>.
58633 (strncmp): Don't use BP_SYM.
58634 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
58635 <bp-sym.h> and <bp-asm.h>.
58636 (memcpy): Don't use BP_SYM.
58637 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
58638 <bp-sym.h> and <bp-asm.h>.
58639 (memset): Don't use BP_SYM.
58640 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
58641 <bp-sym.h> and <bp-asm.h>.
58642 (__memchr): Don't use BP_SYM.
58643 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
58644 <bp-sym.h> and <bp-asm.h>.
58645 (memcmp): Don't use BP_SYM.
58646 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
58647 <bp-sym.h> and <bp-asm.h>.
58648 (memcpy): Don't use BP_SYM.
58649 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
58650 <bp-sym.h> and <bp-asm.h>.
58651 (__mempcpy): Don't use BP_SYM.
58652 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
58653 <bp-sym.h> and <bp-asm.h>.
58654 (__memrchr): Don't use BP_SYM.
58655 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
58656 <bp-sym.h> and <bp-asm.h>.
58657 (memset): Don't use BP_SYM.
58658 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
58659 <bp-sym.h> and <bp-asm.h>.
58660 (__rawmemchr): Don't use BP_SYM.
58661 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
58662 <bp-sym.h> and <bp-asm.h>.
58663 (__STRCMP): Don't use BP_SYM.
58664 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
58665 <bp-sym.h> and <bp-asm.h>.
58666 (strchr): Don't use BP_SYM.
58667 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
58668 <bp-sym.h> and <bp-asm.h>.
58669 (__strchrnul): Don't use BP_SYM.
58670 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
58671 <bp-sym.h> and <bp-asm.h>.
58672 (strlen): Don't use BP_SYM.
58673 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
58674 <bp-sym.h> and <bp-asm.h>.
58675 (strncmp): Don't use BP_SYM.
58676 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
58677 <bp-sym.h> and <bp-asm.h>.
58678 (__strnlen): Don't use BP_SYM.
58679 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
58680 <bp-asm.h>.
58681 (__mpn_rshift): Don't use BP_SYM.
58682 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58683 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
58684 <bp-sym.h> and <bp-asm.h>.
58685 (__sigsetjmp): Don't use BP_SYM.
58686 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
58687 (L(start_addresses)): Don't use BP_SYM.
58688 (_start): Likewise.
58689 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
58690 <bp-asm.h>.
58691 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
58692 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58693 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58694 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
58695 <bp-asm.h>.
58696 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
58697 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58698 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58699 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
58700 <bp-asm.h>.
58701 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
58702 comments.
58703 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58704 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
58705 <bp-asm.h>.
58706 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
58707 FIXME comments.
58708 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58709 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58710 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
58711 <bp-asm.h>.
58712 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
58713 comment.
58714 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
58715 and <bp-asm.h>.
58716 (strncmp): Don't use BP_SYM,
58717 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
58718 <bp-asm.h>.
58719 (__mpn_sub_n): Don't use BP_SYM.
58720 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58721 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
58722 and <bp-asm.h>.
58723 (__mpn_submul_1): Don't use BP_SYM.
58724 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
58726 <bp-sym.h> and <bp-asm.h>.
58727 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
58729 <bp-sym.h> and <bp-asm.h>.
58730 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
58731 comment.
58732
58733 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58734
58735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
58736 Use ZK to minimize writes to Z.
58737 (sub_magnitudes): Simplify code a bit.
58738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
58739 Use ZK to minimize writes to Z.
58740 (sub_magnitudes): Simplify code a bit.
58741
58742 2013-02-27 Roland McGrath <roland@hack.frob.com>
58743
58744 * csu/gmon-start.c: Add special exception to license text.
58745
58746 2013-02-27 Richard Henderson <rth@redhat.com>
58747
58748 * scripts/config.guess: Update from config.git.
58749 * scripts/config.sub: Likewise.
58750
58751 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
58752
58753 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
58754
58755 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
58756
58757 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
58758
58759 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
58760
58761 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
58762
58763 2013-02-26 Roland McGrath <roland@hack.frob.com>
58764
58765 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
58766 [$(build-shared = yes].
58767
58768 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58769
58770 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
58771 (__mul): Reduce iterations for calculating mantissa.
58772
58773 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
58774 MPTWO.
58775 (__mpranred): Likewise.
58776
58777 [BZ #15160]
58778 * malloc/memusagestat.c (main): Draw graphs for heap and stack
58779 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
58780
58781 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
58782
58783 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
58784 Define __attribute__.
58785
58786 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58787
58788 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
58789 unused.
58790 * posix/regex_internal.h (__attribute): Remove.
58791 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
58792 (re_string_context_at): Likewise.
58793 (bitset_not): Use __attribute__ and mark function as possibly
58794 unused.
58795 (bitset_merge): Likewise.
58796 (bitset_mask): Likewise.
58797 (re_string_char_size_at): Likewise.
58798 (re_string_wchar_at): Likewise.
58799 (re_string_elem_size_at): Likewise.
58800
58801 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
58802
58803 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
58804 code.
58805 (cc32): Likewise.
58806
58807 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
58808 (__acr): Likewise.
58809 (__cpy): Likewise.
58810 (norm): Likewise.
58811 (denorm): Likewise.
58812 (__dbl_mp): Likewise.
58813 (add_magnitudes): Likewise.
58814 (sub_magnitudes): Likewise.
58815 (__mul): Likewise.
58816 (__inv): Likewise.
58817
58818 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
58819 style.
58820
58821 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
58822 style.
58823
58824 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
58825 code.
58826
58827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
58828 up changes with default code.
58829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
58830 Likewise.
58831
58832 2013-02-24 Allan McRae <allan@archlinux.org>
58833
58834 * manual/socket.texi (The Internet Namespace): Order menu items
58835 to match that in the file.
58836
58837 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
58838 node listing of the info page menu.
58839
58840 2013-02-21 Joseph Myers <joseph@codesourcery.com>
58841
58842 [BZ #13550]
58843 * sysdeps/i386/bp-asm.h: Remove file.
58844 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
58845 (PARMS): Do not use macros from bp-asm.h.
58846 (S1): Likewise.
58847 (S2): Likewise.
58848 (SIZE): Likewise.
58849 (__mpn_add_n): Do not use BP_SYM
58850 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
58851 "bp-asm.h".
58852 (PARMS): Do not use macros from bp-asm.h.
58853 (S1): Likewise.
58854 (SIZE): Likewise.
58855 (__mpn_addmul_1): Do not use BP_SYM
58856 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
58857 "bp-asm.h".
58858 (PARMS): Do not use macros from bp-asm.h.
58859 (SIGMSK): Likewise.
58860 (_setjmp): Likewise. Do not use BP_SYM.
58861 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
58862 "bp-asm.h".
58863 (PARMS): Do not use macros from bp-asm.h.
58864 (SIGMSK): Likewise.
58865 (setjmp): Likewise. Do not use BP_SYM.
58866 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
58867 "bp-asm.h".
58868 (PARMS): Do not use macros from bp-asm.h.
58869 (__frexp): Do not use BP_SYM.
58870 (frexp): Likewise.
58871 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
58872 "bp-asm.h".
58873 (PARMS): Do not use macros from bp-asm.h.
58874 (__frexpf): Do not use BP_SYM.
58875 (frexpf): Likewise.
58876 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
58877 "bp-asm.h".
58878 (PARMS): Do not use macros from bp-asm.h.
58879 (__frexpl): Do not use BP_SYM.
58880 (frexpl): Likewise.
58881 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
58882 "bp-asm.h".
58883 (PARMS): Do not use macros from bp-asm.h.
58884 (__remquo): Do not use BP_SYM.
58885 (remquo): Likewise.
58886 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
58887 "bp-asm.h".
58888 (PARMS): Do not use macros from bp-asm.h.
58889 (__remquof): Do not use BP_SYM.
58890 (remquof): Likewise.
58891 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
58892 "bp-asm.h".
58893 (PARMS): Do not use macros from bp-asm.h.
58894 (__remquol): Do not use BP_SYM.
58895 (remquol): Likewise.
58896 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
58897 "bp-asm.h".
58898 (PARMS): Do not use macros from bp-asm.h.
58899 (DEST): Likewise.
58900 (SRC): Likewise.
58901 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
58902 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
58903 "bp-asm.h".
58904 (PARMS): Do not use macros from bp-asm.h.
58905 (strlen): Do not use BP_SYM.
58906 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
58907 "bp-asm.h".
58908 (PARMS): Do not use macros from bp-asm.h.
58909 (S1): Likewise.
58910 (S2): Likewise.
58911 (SIZE): Likewise.
58912 (__mpn_add_n): Do not use BP_SYM.
58913 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
58914 "bp-asm.h".
58915 (PARMS): Do not use macros from bp-asm.h.
58916 (S1): Likewise.
58917 (SIZE): Likewise.
58918 (__mpn_addmul_1): Do not use BP_SYM.
58919 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
58920 weak_alias.
58921 (bzero): Likewise.
58922 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
58923 "bp-asm.h".
58924 (PARMS): Do not use macros from bp-asm.h.
58925 (S): Likewise.
58926 (SIZE): Likewise.
58927 (__mpn_lshift): Do not use BP_SYM.
58928 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
58929 "bp-asm.h".
58930 (PARMS): Do not use macros from bp-asm.h.
58931 (DEST): Likewise.
58932 (SRC): Likewise.
58933 (LEN): Likewise.
58934 (memcpy): Likewise. Do not use BP_SYM.
58935 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
58936 libc_hidden_def and weak_alias.
58937 (mempcpy): Do not use BP_SYM in weak_alias.
58938 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
58939 "bp-asm.h".
58940 (PARMS): Do not use macros from bp-asm.h.
58941 (DEST): Likewise.
58942 (LEN): Likewise.
58943 [!BZERO_P] (CHR): Likewise.
58944 (memset): Likewise. Do not use BP_SYM.
58945 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
58946 "bp-asm.h".
58947 (PARMS): Do not use macros from bp-asm.h.
58948 (S1): Likewise.
58949 (SIZE): Likewise.
58950 (__mpn_mul_1): Do not use BP_SYM.
58951 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
58952 "bp-asm.h".
58953 (PARMS): Do not use macros from bp-asm.h.
58954 (S): Likewise.
58955 (SIZE): Likewise.
58956 (__mpn_rshift): Do not use BP_SYM.
58957 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
58958 "bp-asm.h".
58959 (PARMS): Do not use macros from bp-asm.h.
58960 (STR): Likewise.
58961 (CHR): Likewise.
58962 (strchr): Likewise. Do not use BP_SYM.
58963 (index): Do not use BP_SYM in weak_alias.
58964 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
58965 "bp-asm.h".
58966 (PARMS): Do not use macros from bp-asm.h.
58967 (DEST): Likewise.
58968 (SRC): Likewise.
58969 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
58970 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
58971 "bp-asm.h".
58972 (PARMS): Do not use macros from bp-asm.h.
58973 (strlen): Do not use BP_SYM.
58974 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
58975 "bp-asm.h".
58976 (PARMS): Do not use macros from bp-asm.h.
58977 (S1): Likewise.
58978 (S2): Likewise.
58979 (SIZE): Likewise.
58980 (__mpn_sub_n): Do not use BP_SYM.
58981 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
58982 "bp-asm.h".
58983 (PARMS): Do not use macros from bp-asm.h.
58984 (S1): Likewise.
58985 (SIZE): Likewise.
58986 (__mpn_submul_1): Do not use BP_SYM.
58987 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
58988 "bp-asm.h".
58989 (PARMS): Do not use macros from bp-asm.h.
58990 (S1): Likewise.
58991 (S2): Likewise.
58992 (SIZE): Likewise.
58993 (__mpn_add_n): Do not use BP_SYM.
58994 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
58995 weak_alias.
58996 (bzero): Likewise.
58997 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
58998 "bp-asm.h".
58999 (PARMS): Do not use macros from bp-asm.h.
59000 (BLK2): Likewise.
59001 (LEN): Likewise.
59002 (memcmp): Do not use BP_SYM.
59003 (bcmp): Do not use BP_SYM in weak_alias.
59004 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59005 "bp-asm.h".
59006 (PARMS): Do not use macros from bp-asm.h.
59007 (DEST): Likewise.
59008 (SRC): Likewise.
59009 (LEN): Likewise.
59010 (memcpy): Likewise. Do not use BP_SYM.
59011 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59012 "bp-asm.h".
59013 (PARMS): Do not use macros from bp-asm.h.
59014 (DEST): Likewise.
59015 (SRC): Likewise.
59016 (LEN): Likewise.
59017 (memmove): Likewise. Do not use BP_SYM.
59018 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59019 "bp-asm.h".
59020 (PARMS): Do not use macros from bp-asm.h.
59021 (DEST): Likewise.
59022 (SRC): Likewise.
59023 (LEN): Likewise.
59024 (__mempcpy): Likewise. Do not use BP_SYM.
59025 (mempcpy): Do not use BP_SYM in weak_alias.
59026 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59027 "bp-asm.h".
59028 (PARMS): Do not use macros from bp-asm.h.
59029 (DEST): Likewise.
59030 (LEN): Likewise.
59031 [!BZERO_P] (CHR): Likewise.
59032 (memset): Likewise. Do not use BP_SYM.
59033 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59034 "bp-asm.h".
59035 (PARMS): Do not use macros from bp-asm.h.
59036 (STR2): Likewise.
59037 (strcmp): Do not use BP_SYM.
59038 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59039 "bp-asm.h".
59040 (PARMS): Do not use macros from bp-asm.h.
59041 (STR): Likewise.
59042 (DELIM): Likewise.
59043 [USE_AS_STRTOK_R] (SAVE): Likewise.
59044 (FUNCTION): Likewise. Do not use BP_SYM.
59045 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59046 aliases.
59047 (strtok_r): Likewise.
59048 (__GI___strtok_r): Likewise.
59049 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59050 (PARMS): Do not use macros from bp-asm.h.
59051 (S): Likewise.
59052 (SIZE): Likewise.
59053 (__mpn_lshift): Do not use BP_SYM.
59054 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59055 (PARMS): Do not use macros from bp-asm.h.
59056 (STR): Likewise.
59057 (CHR): Likewise.
59058 (__memchr): Do not use BP_SYM.
59059 (memchr): Do not use BP_SYM in weak_alias.
59060 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59061 (PARMS): Do not use macros from bp-asm.h.
59062 (BLK2): Likewise.
59063 (LEN): Likewise.
59064 (memcmp): Do not use BP_SYM.
59065 (bcmp): Do not use BP_SYM in weak_alias.
59066 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59067 (PARMS): Do not use macros from bp-asm.h.
59068 (S1): Likewise.
59069 (SIZE): Likewise.
59070 (__mpn_mul_1): Do not use BP_SYM.
59071 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59072 "bp-asm.h".
59073 (PARMS): Do not use macros from bp-asm.h.
59074 (STR): Likewise.
59075 (CHR): Likewise.
59076 (__rawmemchr): Do not use BP_SYM.
59077 (rawmemchr): Do not use BP_SYM in weak_alias.
59078 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59079 (PARMS): Do not use macros from bp-asm.h.
59080 (S): Likewise.
59081 (SIZE): Likewise.
59082 (__mpn_rshift): Do not use BP_SYM.
59083 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59084 (PARMS): Do not use macros from bp-asm.h.
59085 (SIGMSK): Likewise.
59086 (__sigsetjmp): Likewise. Do not use BP_SYM.
59087 * sysdeps/i386/start.S: Do not include "bp-sym.h".
59088 (_start): Do not use BP_SYM.
59089 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59090 (PARMS): Do not use macros from bp-asm.h.
59091 (DEST): Likewise.
59092 (SRC): Likewise.
59093 (__stpcpy): Likewise. Do not use BP_SYM.
59094 (stpcpy): Do not use BP_SYM in weak_alias.
59095 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59096 "bp-asm.h".
59097 (PARMS): Do not use macros from bp-asm.h.
59098 (DEST): Likewise.
59099 (SRC): Likewise.
59100 (LEN): Likewise.
59101 (__stpncpy): Likewise. Do not use BP_SYM.
59102 (stpncpy): Do not use BP_SYM in weak_alias.
59103 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59104 (PARMS): Do not use macros from bp-asm.h.
59105 (STR): Likewise.
59106 (CHR): Likewise.
59107 (strchr): Likewise. Do not use BP_SYM.
59108 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59109 "bp-asm.h".
59110 (PARMS): Do not use macros from bp-asm.h.
59111 (STR): Likewise.
59112 (CHR): Likewise.
59113 (__strchrnul): Likewise. Do not use BP_SYM.
59114 (strchrnul): Do not use BP_SYM in weak_alias.
59115 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59116 "bp-asm.h".
59117 (PARMS): Do not use macros from bp-asm.h.
59118 (STOP): Likewise.
59119 (strcspn): Do not use BP_SYM.
59120 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59121 "bp-asm.h".
59122 (PARMS): Do not use macros from bp-asm.h.
59123 (STR): Likewise.
59124 (STOP): Likewise.
59125 (strpbrk): Likewise. Do not use BP_SYM.
59126 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59127 "bp-asm.h".
59128 (PARMS): Do not use macros from bp-asm.h.
59129 (STR): Likewise.
59130 (CHR): Likewise.
59131 (strrchr): Likewise. Do not use BP_SYM.
59132 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59133 (PARMS): Do not use macros from bp-asm.h.
59134 (SKIP): Likewise.
59135 (strspn): Do not use BP_SYM.
59136 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59137 (PARMS): Do not use macros from bp-asm.h.
59138 (STR): Likewise.
59139 (DELIM): Likewise.
59140 (SAVE): Likewise.
59141 (FUNCTION): Likewise. Do not use BP_SYM.
59142 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59143 aliases.
59144 (strtok_r): Likewise.
59145 (__GI___strtok_r): Likewise.
59146 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59147 (PARMS): Do not use macros from bp-asm.h.
59148 (S1): Likewise.
59149 (S2): Likewise.
59150 (SIZE): Likewise.
59151 (__mpn_sub_n): Do not use BP_SYM.
59152 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59153 "bp-asm.h".
59154 (PARMS): Do not use macros from bp-asm.h.
59155 (S1): Likewise.
59156 (SIZE): Likewise.
59157 (__mpn_submul_1): Do not use BP_SYM.
59158 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59159 <bp-sym.h>.
59160 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59161 and <bp-asm.h>.
59162 (PARMS): Do not use macros from bp-asm.h.
59163 (FLAGS): Likewise.
59164 (PTID): Likewise.
59165 (TLS): Likewise.
59166 (CTID): Likewise.
59167 (__clone): Do not use BP_SYM.
59168 (clone): Do not use BP_SYM in weak_alias.
59169 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59170 and <bp-asm.h>.
59171 (PARMS): Do not use macros from bp-asm.h.
59172 (LEN): Likewise.
59173 (__mmap64): Do not use BP_SYM.
59174 (mmap64): Do not use BP_SYM in weak_alias.
59175 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59176 <bp-sym.h> and <bp-asm.h>.
59177 (PARMS): Do not use macros from bp-asm.h.
59178 (__posix_fadvise64_l64): Do not use BP_SYM.
59179 * sysdeps/unix/sysv/linux/i386/semtimedop.S
59180 (PARMS): Do not use macros from bp-asm.h.
59181 (NSOPS): Likewise.
59182 (semtimedop): Do not use BP_SYM.
59183 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59184 and <bp-asm.h>.
59185
59186 2013-02-21 Allan McRae <allan@archlinux.org>
59187
59188 * manual/message.texi (Charset conversion in gettext):
59189 Move @end statement to beginning of line.
59190
59191 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59192
59193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
59194 static.
59195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59196 Likewise.
59197
59198 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
59199 (denorm): Likewise.
59200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
59201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
59202
59203 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59204
59205 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
59206 tail-call to the resolved function if pltexit isn't needed.
59207
59208 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59209
59210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
59211 or Y being zero as being unlikely.
59212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59213 Likewise.
59214
59215 2013-02-20 Carlos O'Donell <carlos@redhat.com>
59216
59217 * manual/nss.texi (System Databases and Name Service Switch):
59218 Remove frobnicate @pxref.
59219
59220 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
59221
59222 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59223 __attribute__ ((unused)) to __attribute__ ((__unused__)).
59224
59225 2013-02-20 Petr Machata <pmachata@redhat.com>
59226
59227 * elf/elf.h (R_ARM_TARGET1): New macro.
59228 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
59229 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
59230 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
59231 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
59232 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
59233 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
59234 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
59235 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
59236 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
59237 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
59238 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
59239 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
59240 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
59241 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
59242 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
59243 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
59244 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
59245 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
59246 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
59247 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
59248 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
59249 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
59250 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
59251 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
59252 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
59253 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
59254 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
59255 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
59256 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
59257 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
59258 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
59259 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
59260 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
59261 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
59262 (R_ARM_THM_GOT_BREL12): Likewise.
59263 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
59264 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
59265 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
59266 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
59267 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
59268 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
59269 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
59270 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
59271 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
59272
59273 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
59274
59275 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59276 __attribute_used__ to __attribute__ ((unused)).
59277
59278 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
59279
59280 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
59281 powerpc mpa.c.
59282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
59283 comment formatting.
59284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
59285
59286 2013-02-19 Joseph Myers <joseph@codesourcery.com>
59287
59288 [BZ #13550]
59289 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
59290 Remove macro.
59291 (ENTER): Remove both macro definitions.
59292 (LEAVE): Likewise.
59293 (CHECK_BOUNDS_LOW): Likewise.
59294 (CHECK_BOUNDS_HIGH): Likewise.
59295 (CHECK_BOUNDS_BOTH): Likewise.
59296 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
59297 (RETURN_BOUNDED_POINTER): Likewise.
59298 (RETURN_NULL_BOUNDED_POINTER): Likewise.
59299 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
59300 (POP_ERRNO_LOCATION_RETURN): Likewise.
59301 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
59302 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59303 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
59304 macros.
59305 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59306 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
59307 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
59308 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
59309 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
59310 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
59311 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
59312 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
59313 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
59314 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
59315 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
59316 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
59317 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59318 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
59319 removed macros.
59320 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59321 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
59322 macros.
59323 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59324 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
59325 * sysdeps/i386/i586/memset.S (memset): Likewise.
59326 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
59327 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59328 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
59329 macros.
59330 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59331 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
59332 Change uses of L(2) to L(out).
59333 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
59334 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
59335 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
59336 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59337 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
59338 removed macros.
59339 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59340 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
59341 macros.
59342 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59343 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
59344 (RETURN): Do not use macro LEAVE.
59345 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
59346 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
59347 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
59348 * sysdeps/i386/i686/memset.S (memset): Likewise.
59349 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
59350 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
59351 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59352 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
59353 Likewise.
59354 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59355 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
59356 L(1_2) and L(1_3) into L(1).
59357 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59358 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
59359 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59360 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
59361 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59362 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
59363 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
59364 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59365 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
59366 macros.
59367 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
59368 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59369 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
59370 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
59371 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
59372 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59373 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
59374 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
59375 * sysdeps/i386/strcspn.S (strcspn): Likewise.
59376 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
59377 * sysdeps/i386/strrchr.S (strrchr): Likewise.
59378 * sysdeps/i386/strspn.S (strspn): Likewise.
59379 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
59380 conditional code.
59381 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59382 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
59383 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59384 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
59385 L(1_3) into L(1_1).
59386 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
59387 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59388 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
59389 macros.
59390 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59391
59392 2013-02-19 Jakub Jelinek <jakub@redhat.com>
59393
59394 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
59395 macro.
59396
59397 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
59398
59399 * math/atest-exp.c (exp_mpn): Remove ROUND.
59400 * math/atest-exp2.c (exp_mpn): Likewise.
59401 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
59402
59403 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
59404 * stdlib/tst-tls-atexit-lib.c: Likewise.
59405 * stdlib/tst-tls-atexit.c: Likewise.
59406
59407 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59408
59409 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
59410 and __attribute_alloc_size__.
59411
59412 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59413
59414 * include/programs/xmalloc.h: Change __attribute_alloc_size to
59415 __attribute_alloc_size__.
59416 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
59417 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
59418
59419 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59420
59421 * include/programs/xmalloc.h: New file.
59422 * catgets/gencat.c: Include it.
59423 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
59424 * elf/pldd.c: Likewise.
59425 * iconv/iconv_charmap.c: Likewise.
59426 * iconv/iconvconfig.c: Likewise.
59427 * iconv/strtab.c: Likewise.
59428 * locale/programs/locale.c: Likewise.
59429 * locale/programs/localedef.h: Likewise.
59430 * locale/programs/simple-hash.c: Likewise.
59431 * nscd/nscd.h: Likewise.
59432 * nss/makedb.c: Likewise.
59433 * sysdeps/generic/ldconfig.h: Likewise.
59434
59435 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
59436
59437 * Versions.def: Add GLIBC_2.18.
59438 * include/link.h (struct link_map): New member l_tls_dtor_count.
59439 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
59440 (__call_tls_dtors): Likewise.
59441 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
59442 __cxa_thread_atexit_impl.
59443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59444 Likewise.
59445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59446 Likewise.
59447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
59448 Likewise.
59449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
59450 Likewise.
59451 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
59453 Likewise.
59454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
59455 Likewise.
59456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59458 Likewise.
59459 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
59460 (tests): Add test case tst-tls-atexit.
59461 (modules-names): Add shared library for tst-tls-atexit.
59462 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
59463 (GLIBC_PRIVATE): Add __call_tls_dtors.
59464 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
59465 for libstdc++.
59466 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
59467 * stdlib/tst-tls-atexit.c: New test case.
59468 * stdlib/tst-tls-atexit-lib.c: New test case.
59469
59470 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
59471
59472 * elf/Versions (ld): Add _dl_find_dso_for_object.
59473 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
59474 * elf/dl-open.c (_dl_find_dso_for_object): New function.
59475 (dl_open_worker): Use _dl_find_dso_for_object.
59476 * elf/dl-sym.c (do_sym): Likewise.
59477 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
59478
59479 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59480
59481 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
59482 Syntactic changes only.
59483 (_dl_runtime_profile): Do a tail-call to the resolved function.
59484
59485 2013-02-17 Joseph Myers <joseph@codesourcery.com>
59486
59487 [BZ #13550]
59488 * sysdeps/x86_64/bp-asm.h: Remove file.
59489 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
59490 <bp-sym.h> and <bp-asm.h>.
59491 (__clone): Do not use BP_SYM.
59492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
59493 <bp-sym.h> and <bp-asm.h>.
59494 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59495 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
59496 "bp-asm.h".
59497 (_setjmp): Do not use BP_SYM.
59498 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
59499 "bp-asm.h".
59500 (setjmp): Do not use BP_SYM.
59501 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
59502 libc_hidden_def.
59503 (mempcpy): Do not use BP_SYM in weak_alias.
59504 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
59505 "bp-asm.h".
59506 (strchr): Do not use BP_SYM.
59507 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
59508 "bp-asm.h".
59509 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
59510 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
59511 (_start): Do not use BP_SYM.
59512 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
59513 "bp-asm.h".
59514 (strcat): Do not use BP_SYM.
59515 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
59516 "bp-asm.h".
59517 (STRCMP): Do not use BP_SYM.
59518 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
59519 "bp-asm.h".
59520 (STRCPY): Do not use BP_SYM.
59521 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
59522 "bp-asm.h".
59523 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
59524 "bp-asm.h".
59525 (FUNCTION): Do not use BP_SYM.
59526 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
59527 weak_alias.
59528 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
59529
59530 2013-02-17 Andreas Jaeger <aj@suse.de>
59531
59532 * time/Versions: Sort entries.
59533 * string/Versions: Likewise.
59534 * resolv/Versions: Likewise.
59535 * posix/Versions: Likewise.
59536 * iconv/Versions: Likewise.
59537 * elf/Versions: Likewise.
59538 * wcsmbs/Versions: Likewise.
59539
59540 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59541
59542 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
59543 loop termination condition.
59544
59545 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
59546 variable to calculate EZ.
59547 (__sqr): Likewise.
59548
59549 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
59550 the lower precision input.
59551
59552 2013-02-15 Joseph Myers <joseph@codesourcery.com>
59553
59554 [BZ #13550]
59555 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
59556 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
59557 (run-via-rtld-prefix): Do not handle %-bp tests.
59558 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
59559 (all-object-suffixes): Remove .ob.
59560 (bppfx): Remove variable.
59561 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
59562 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
59563 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
59564 [$(build-bounded) = yes] (libtype.ob): Likewise.
59565 * Makerules (elide-routines.ob): Remove variable.
59566 (do-tests-clean): Do not handle *-bp.out.
59567 (common-mostlyclean): Do not handle *-bp and *-bp.out.
59568 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
59569 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
59570 (tests): Do not include $(tests-bp.out).
59571 (xtests): Do not include $(xtests-bp.out).
59572 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
59573 [$(build-bounded) = yes] ($(addprefix
59574 $(objpfx),$(binaries-bounded))): Remove rule.
59575 ($(objpfx)%-bp.out): Remove rule.
59576 * config.make.in (build-bounded): Remove variable.
59577 * crypt/Makefile [$(build-bounded) = yes]
59578 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
59579 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
59580 append to variable.
59581 [$(build-bounded) = yes] (install-lib): Likewise.
59582 [$(build-bounded) = yes] (generated): Likewise.
59583 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
59584 Remove rule.
59585 * intl/Makefile [$(build-bounded) = yes]
59586 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
59587 * math/Makefile [$(build-bounded) = yes]
59588 ($(tests:%=$(objpfx)%-bp): Likewise.
59589 * misc/Makefile [$(build-bounded) = yes]
59590 ($(objpfx)tst-tsearch-bp): Likewise.
59591 * nptl/Makeconfig (bounded-thread-library): Remove variable.
59592 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
59593 Remove dependency.
59594 * string/Makefile (o-objects.ob): Remove variable.
59595 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
59596 (CFLAGS-.ob): Remove variable.
59597 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
59598 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
59599 both definitions of variable.
59600 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
59601 (ASFLAGS-.ob): Remove variable.
59602
59603 2013-02-14 Joseph Myers <joseph@codesourcery.com>
59604
59605 [BZ #13550]
59606 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
59607 Remove __BOUNDED_POINTERS__ from condition.
59608 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
59609 * string/bits/string2.h [!__NO_STRING_INLINES &&
59610 !__BOUNDED_POINTERS__]: Likewise.
59611 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
59612 Likewise.
59613 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
59614 Remove conditional code.
59615 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
59616 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
59617 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
59618 condition.
59619
59620 [BZ #13550]
59621 * csu/libc-start.c: Do not include <bp-sym.h>.
59622 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
59623 * elf/dl-open.c: Do not include <bp-sym.h>.
59624 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
59625 * math/fegetenv.c: Do not include <bp-sym.h>.
59626 (fegetenv): Do not use BP_SYM in versioned symbols.
59627 * nptl/sysdeps/pthread/bits/libc-lockP.h
59628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
59629 <bp-sym.h>.
59630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59631 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
59632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59633 (__pthread_mutex_destroy): Likewise.
59634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59635 (__pthread_mutex_lock): Likewise.
59636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59637 (__pthread_mutex_trylock): Likewise.
59638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59639 (__pthread_mutex_unlock): Likewise.
59640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59641 (__pthread_mutexattr_init): Likewise.
59642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59643 (__pthread_mutexattr_destroy): Likewise.
59644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59645 (__pthread_mutexattr_settype): Likewise.
59646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59647 (__pthread_rwlock_init): Likewise.
59648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59649 (__pthread_rwlock_destroy): Likewise.
59650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59651 (__pthread_rwlock_rdlock): Likewise.
59652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59653 (__pthread_rwlock_tryrdlock): Likewise.
59654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59655 (__pthread_rwlock_wrlock): Likewise.
59656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59657 (__pthread_rwlock_trywrlock): Likewise.
59658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59659 (__pthread_rwlock_unlock): Likewise.
59660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59661 (__pthread_key_create): Likewise.
59662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59663 (__pthread_setspecific): Likewise.
59664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59665 (__pthread_getspecific): Likewise.
59666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
59667 Likewise.
59668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59669 (_pthread_cleanup_push_defer): Likewise.
59670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59671 (_pthread_cleanup_pop_restore): Likewise.
59672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59673 (pthread_setcancelstate): Likewise.
59674 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
59675 <bp-sym.h>.
59676 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
59677 (memchr): Do not use BP_SYM in weak_alias.
59678 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
59679 (fegetenv): Do not use BP_SYM in versioned symbols.
59680 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
59681 (fesetenv): Do not use BP_SYM in versioned symbols.
59682 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59683 (feupdateenv): Do not use BP_SYM in versioned symbols.
59684 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59685 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59686 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
59687 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
59688 (open64): Do not use BP_SYM in weak_alias.
59689 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
59690 (fegetenv): Do not use BP_SYM in versioned symbols.
59691 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
59692 (fesetenv): Do not use BP_SYM in versioned symbols.
59693 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59694 (feupdateenv): Do not use BP_SYM in versioned symbols.
59695 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
59696 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
59697 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
59698 (feraiseexcept): Do not use BP_SYM in versioned symbols.
59699 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59700 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59701 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
59702 <bp-sym.h>.
59703 (__libc_start_main): Do not use BP_SYM.
59704
59705 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
59706
59707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
59708 redundant return line.
59709 (norm): Likewise.
59710 (denorm): Likewise.
59711 (dbl_mp): Likewise.
59712 (sub_magnitudes): Likewise.
59713 (__add): Likewise.
59714 (__sub): Likewise.
59715 (__mul): Likewise.
59716 (__inv): Likewise.
59717 (__dvd): Likewise.
59718 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
59719 (norm): Likewise.
59720 (denorm): Likewise.
59721 (dbl_mp): Likewise.
59722 (sub_magnitudes): Likewise.
59723 (__add): Likewise.
59724 (__sub): Likewise.
59725 (__mul): Likewise.
59726 (__inv): Likewise.
59727 (__dvd): Likewise.
59728
59729 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
59730 instead of __mul.
59731 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59732 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
59733 (cc32): Likewise.
59734
59735 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
59736 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
59737 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
59738 of __mul for squares.
59739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
59740 function
59741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
59742 Likewise.
59743 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
59744 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59745
59746 2013-02-13 Joseph Myers <joseph@codesourcery.com>
59747
59748 [BZ #13550]
59749 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
59750 code.
59751 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
59752 prototype or function definition. Rename ubp_* variables and
59753 parameters. Remove argv definitions conditional on
59754 [__BOUNDED_POINTERS__].
59755 * debug/backtrace.c (__backtrace): Do not use __unbounded.
59756 * elf/dl-runtime.c (_dl_fixup): Likewise.
59757 * include/set-hooks.h (RUN_HOOK): Likewise.
59758 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
59759 definition.
59760 * string/strcpy.c (strcpy): Do not use __unbounded.
59761 * sysdeps/generic/frame.h (struct layout): Likewise.
59762 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
59763 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
59764 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
59765 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
59766 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
59767 (__backtrace): Likewise.
59768 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
59769 use __ptrvalue.
59770 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
59771 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
59772 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
59773 Likewise.
59774 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
59775 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
59776 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
59777 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59778 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
59779 Do not use __unbounded.
59780 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
59781 Rename __unboundedrlimits parameter to rlimits in prototype.
59782 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
59783 Do not use __unbounded.
59784 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
59785 not use __ptrvalue.
59786 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
59787 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
59788 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
59789 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
59790 __ptrvalue or __unbounded.
59791 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
59792 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
59793 use __unbounded.
59794 (__new_msgctl): Do not use __ptrvalue.
59795 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
59796 __unbounded.
59797 (__libc_msgrcv): Do not use __ptrvalue.
59798 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
59799 startup_info): Do not use __unbounded.
59800 (__libc_start_main): Likewise. Rename ubp_* variables and
59801 parameters. Remove argv definitions conditional on
59802 [__BOUNDED_POINTERS__].
59803 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
59804 __ptrvalue.
59805 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
59806 use __unbounded.
59807 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
59808 or __ptrvalue.
59809 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
59810 use __unbounded.
59811 (__new_shmctl): Do not use __ptrvalue.
59812 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
59813 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
59814 Likewise.
59815 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
59816 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
59817 (__libc_sigaction): Likewise.
59818 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
59819 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
59820 Likewise.
59821 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
59822
59823 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
59824
59825 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
59826
59827 * string/mempcpy.c: Implement by calling memcpy.
59828
59829 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
59830
59831 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
59832
59833 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
59834 evaluation.
59835
59836 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
59837 values in the mantissa.
59838
59839 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
59840 minimize writes to Z.
59841 (sub_magnitudes): Simplify code a bit.
59842
59843 2013-02-12 Roland McGrath <roland@hack.frob.com>
59844
59845 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
59846 from the message. The linker prefixes all warnings with that already.
59847
59848 2013-02-12 Andreas Schwab <schwab@suse.de>
59849
59850 [BZ #15078]
59851 * posix/regexec.c (extend_buffers): Add parameter min_len.
59852 (check_matching): Pass minimum needed length.
59853 (clean_state_log_if_needed): Likewise.
59854 (get_subexp): Likewise.
59855 * posix/Makefile (tests): Add bug-regex34.
59856 (bug-regex34-ENV): Define.
59857 * posix/bug-regex34.c: New file.
59858
59859 [BZ #11561]
59860 * posix/regcomp.c (parse_bracket_exp): When looking up collating
59861 elements compare against the byte sequence of it, not its name.
59862 * posix/Makefile (tests): Add bug-regex35.
59863 (bug-regex35-ENV): Define.
59864 * posix/bug-regex35.c: New file.
59865
59866 2013-02-11 Tom de Vries <tom@codesourcery.com>
59867
59868 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
59869 comment.
59870 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
59871 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
59872 (CHECK_EOL): Add undef.
59873
59874 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
59875
59876 * bits/stdlib-bsearch.h: New file.
59877 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
59878 * stdlib/stdlib.h: Likewise.
59879
59880 2013-02-11 Roland McGrath <roland@hack.frob.com>
59881
59882 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
59883 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
59884 declaration.
59885 * manual/search.texi (Array Search Function): Add missing const in
59886 lfind prototype.
59887 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
59888 declaration to use rlim_t.
59889 (Basic Scheduling Functions): Remove erroneous const from
59890 sched_getparam prototype. Remove erroneous * from
59891 sched_get_priority_max and sched_get_priority_min prototypes.
59892 (Resource Usage): Fix summary @comment on vtimes to refer to
59893 sys/vtimes.h rather than vtimes.h.
59894 Add missing *s in vtimes prototype.
59895 (Limits on Resources): Fix ulimit prototype to return long int.
59896 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
59897 prototypes to use long int rather than double.
59898 (BSD Random): Fix initstate and setstate to use char *, not void *.
59899 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
59900 prototype to make second argument 'struct aiocb64 *const[]'.
59901 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
59902 (Status of AIO Operations): Remove erroneous const in aio_return and
59903 aio_return64 prototypes.
59904 (Synchronizing I/O): Fix sync prototype to return void.
59905 * manual/startup.texi (Suboptions): Remove an erroneous const in
59906 getsubopt prototype.
59907 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
59908 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
59909 use size_t rather than int.
59910 (Scanning All Users): Likewise for getpwent_r.
59911 (Setting Groups): Add missing const to setgroups prototype.
59912 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
59913 * manual/socket.texi (Host Names): Fix gethostbyaddr and
59914 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
59915 'const void *' rather than 'const char *'.
59916 (Host Address Functions): Likewise for inet_ntop.
59917 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
59918 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
59919 ssize_t for return value.
59920 (Sending Data): Likewise for send, sendto, sendmsg.
59921 (Socket Option Functions): Add a missing const in setsockopt prototype.
59922 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
59923 use wchar_t for the argument.
59924 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
59925 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
59926 take no arguments.
59927 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
59928 double/float/long double for second argument.
59929 Fix return types of significand, significandf, significandl.
59930 * manual/filesys.texi (Setting Permissions): Use mode_t for second
59931 argument in fchmod prototype.
59932 (File Owner): Use uid_t and gid_t in fchown prototype.
59933 (File Times): Add const to utimes, futimes, and lutimes prototypes.
59934 (Making Special Files): Use mode_t and dev_t in mknod prototype.
59935 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
59936 use 'const struct dirent **' as argument types to CMP function pointer
59937 argument.
59938 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
59939 (File Times): Fix summary magic @comment for struct utimbuf and utime
59940 to refer to utime.h, not time.h.
59941 * manual/string.texi (Argz Functions): Add missing const in
59942 argz_extract and argz_next prototypes.
59943 (Finding Tokens in a String): Likewise for basename.
59944 (String/Array Comparison): Fix typo in wcscasecmp prototype.
59945 (Copying and Concatenation): Fix typo in wmemmove prototype.
59946 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
59947 (Signal Stack): Remove erroneous const in sigstack prototype.
59948 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
59949 prototype.
59950 (Simple Calendar Time): Likewise for stime.
59951 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
59952 prototype.
59953 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
59954 say sys/sysctl.h instead.
59955 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
59956 and vsyslog prototypes.
59957
59958 2013-02-11 Tom de Vries <tom@codesourcery.com>
59959
59960 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
59961 Remove.
59962
59963 2013-02-11 Roland McGrath <roland@hack.frob.com>
59964
59965 * misc/sys/mman.h: Fix typo in mremap comment.
59966
59967 2013-02-08 Roland McGrath <roland@hack.frob.com>
59968
59969 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
59970 the '\0' terminator.
59971
59972 2013-02-08 Joseph Myers <joseph@codesourcery.com>
59973
59974 [BZ #13550]
59975 * debug/segfault.c: Don't include <bp-checks.h>.
59976 * sysdeps/generic/bp-checks.h: Remove file.
59977 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
59978 (__GETDENTS): Don't use CHECK_N.
59979 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
59980 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
59981 (__getgroups): Don't use CHECK_N.
59982 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
59983 (setgroups): Don't use CHECK_N.
59984 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
59985 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
59986 (__libc_msgrcv): Don't use CHECK_N.
59987 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
59988 (__libc_msgsnd): Don't use CHECK_N.
59989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
59990 <bp-checks.h>.
59991 (__libc_pread): Don't use CHECK_N.
59992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
59993 include <bp-checks.h>.
59994 (__libc_pread64): Don't use CHECK_N.
59995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
59996 include <bp-checks.h>.
59997 (__libc_pwrite): Don't use CHECK_N.
59998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
59999 include <bp-checks.h>.
60000 (__libc_pwrite64): Don't use CHECK_N.
60001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60002 <bp-checks.h>.
60003 (__libc_pread): Don't use CHECK_N.
60004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60005 include <bp-checks.h>.
60006 (__libc_pread64): Don't use CHECK_N.
60007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60008 include <bp-checks.h>.
60009 (__libc_pwrite): Don't use CHECK_N.
60010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60011 include <bp-checks.h>.
60012 (__libc_pwrite64): Don't use CHECK_N.
60013 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60014 (do_pread): Don't use CHECK_N.
60015 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60016 (do_pread64): Don't use CHECK_N.
60017 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60018 (do_pwrite): Don't use CHECK_N.
60019 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60020 (do_pwrite64): Don't use CHECK_N.
60021 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60022 (__libc_readv): Don't use CHECK_N.
60023 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60024 (semop): Don't use CHECK_N.
60025 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60026 <bp-checks.h>.
60027 (semtimedop): Don't use CHECK_N.
60028 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60029 (__libc_pread): Don't use CHECK_N.
60030 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60031 <bp-checks.h>.
60032 (__libc_pread64): Don't use CHECK_N.
60033 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60034 <bp-checks.h>.
60035 (__libc_pwrite): Don't use CHECK_N.
60036 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60037 <bp-checks.h>.
60038 (__libc_pwrite64): Don't use CHECK_N.
60039 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60040 <bp-checks.h>.
60041 (__libc_msgrcv): Don't use CHECK_N.
60042 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60043 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
60044 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60045 (__libc_writev): Don't use CHECK_N.
60046
60047 2013-02-08 Roland McGrath <roland@hack.frob.com>
60048
60049 * string/strcpy.c: Removed unused variable.
60050
60051 * Makeconfig (+sysdep-includes): Define with := rather than =.
60052 Use an existing include/ subdir of each sysdeps dir before it.
60053
60054 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60055
60056 * nscd/connection.c (register_traced_file): Comment function.
60057 [HAVE_INOTIFY] (union __inev): Define.
60058 [HAVE_INOTIFY] (inotify_check_files): New function.
60059 [HAVE_INOTIFY] (clear_db_cache): Likewise.
60060 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60061 clear_db_cache.
60062 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60063
60064 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60065
60066 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60067 loaded if not already and that a failure is permanent.
60068
60069 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60070
60071 [BZ #15006]
60072 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60073 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60074
60075 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60076
60077 [BZ #13550]
60078 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60079 (CHECK_1_NULL_OK): Likewise.
60080 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60081 (__fxstat): Do not use CHECK_1.
60082 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60083 <bp-checks.h>.
60084 (___fxstat64): Do not use CHECK_1.
60085 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60086 <bp-checks.h>.
60087 (__fxstatat): Do not use CHECK_1.
60088 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60089 <bp-checks.h>.
60090 (__fxstatat64): Do not use CHECK_1.
60091 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60092 <bp-checks.h>.
60093 (__fxstat): Do not use CHECK_1.
60094 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60095 <bp-checks.h>.
60096 (__fxstatat): Do not use CHECK_1.
60097 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60098 <bp-checks.h>.
60099 (__getresgid): Do not use CHECK_1.
60100 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60101 <bp-checks.h>.
60102 (__getresuid): Do not use CHECK_1.
60103 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60104 <bp-checks.h>.
60105 (__lxstat): Do not use CHECK_1.
60106 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60107 <bp-checks.h>.
60108 (__old_msgctl): Do not use CHECK_1.
60109 (__new_msgctl): Likewise.
60110 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60111 <bp-checks.h>.
60112 (__new_setrlimit): Do not use CHECK_1.
60113 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60114 <bp-checks.h>.
60115 (__old_shmctl): Do not use CHECK_1.
60116 (__new_shmctl): Likewise.
60117 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60118 <bp-checks.h>.
60119 (__xstat): Do not use CHECK_1.
60120 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60121 (__lxstat): Do not use CHECK_1.
60122 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60123 <bp-checks.h>.
60124 (___lxstat64): Do not use CHECK_1.
60125 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60126 (__old_msgctl): Do not use CHECK_1.
60127 (__new_msgctl): Likewise.
60128 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60129 <bp-checks.h>.
60130 (__gettimeofday): Do not use CHECK_1.
60131 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60132 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60133 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60134 <bp-checks.h>.
60135 (__gettimeofday): Do not use CHECK_1.
60136 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60137 (__old_shmctl): Do not use CHECK_1_NULL_OK.
60138 (__new_shmctl): Do not use CHECK_1.
60139 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60140 <bp-checks.h>.
60141 (do_sigtimedwait): Do not use CHECK_1.
60142 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60143 <bp-checks.h>.
60144 (do_sigwaitinfo): Do not use CHECK_1.
60145 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60146 <bp-checks.h>.
60147 (msgctl): Do not use CHECK_1.
60148 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60149 <bp-checks.h>.
60150 (shmctl): Do not use CHECK_1.
60151 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60152 (ustat): Do not use CHECK_1.
60153 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60154 <bp-checks.h>.
60155 (__fxstat): Do not use CHECK_1.
60156 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60157 <bp-checks.h>.
60158 (__fxstatat): Do not use CHECK_1.
60159 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60160 <bp-checks.h>.
60161 (__lxstat): Do not use CHECK_1.
60162 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60163 <bp-checks.h>.
60164 (__xstat): Do not use CHECK_1.
60165 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60166 (__xstat): Do not use CHECK_1.
60167 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60168 (___xstat64): Do not use CHECK_1.
60169
60170 [BZ #13550]
60171 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60172 definitions.
60173 (CHECK_BOUNDS_HIGH): Likewise.
60174 * string/strcpy.c: Do not include <bp-checks.h>.
60175 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60176
60177 2013-02-07 Roland McGrath <roland@hack.frob.com>
60178
60179 * nscd/nscd-client.h (__nscd_drop_map_ref):
60180 Add __attribute__ ((unused)).
60181 * nis/nss-nisplus.h (niserr2nss): Likewise.
60182
60183 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60184 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60185
60186 * csu/libc-tls.c (init_static_tls, init_slotinfo):
60187 Remove inline keyword.
60188 * include/rounding-mode.h (round_away): Likewise.
60189 * libio/wfileops.c (adjust_wide_data): Likewise.
60190 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
60191 (__m128i_strloadu_tolower): Likewise.
60192 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
60193 (__m128i_strloadu_tolower): Likewise.
60194 * time/mktime.c (ydhms_diff): Likewise.
60195 * locale/elem-hash.h (elem_hash): Likewise.
60196 * locale/setlocale.c (setdata): Likewise.
60197 * posix/regex_internal.h (re_string_char_size_at): Likewise.
60198 (re_string_wchar_at): Likewise.
60199 (bitset_not, bitset_merge, bitset_mask): Likewise.
60200 [!(__GNUC__ > 3)] (inline): Remove macro.
60201 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
60202 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
60203 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
60204 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
60205 * string/memcmp.c (memcmp_bytes): Likewise.
60206 * locale/programs/locarchive.c (compute_hashval): Likewise.
60207 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
60208 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
60209 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
60210 * nss/getent.c (print_rpc, print_protocols): Likewise.
60211 (print_passwd, print_group, print_aliases): Likewise.
60212 * nis/nss-nisplus.h (niserr2nss): Likewise.
60213 * nscd/connections.c (restart_p): Likewise.
60214 Change return type to bool.
60215
60216 2013-02-05 Roland McGrath <roland@hack.frob.com>
60217
60218 * Makeconfig (all-Depend-files): Add existing
60219 $(sorted-subdirs:=/Depend) files.
60220 (all-subdirs): Remove nss.
60221 * sysdeps/unix/inet/Subdirs: Add it here instead.
60222 * hesiod/Depend: New file.
60223
60224 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
60225 instead of calling alloca.
60226
60227 * io/lseek.c (__lseek): Rename to __libc_lseek.
60228 Define __lseek as an alias.
60229
60230 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
60231
60232 2013-02-04 Carlos O'Donell <carlos@redhat.com>
60233
60234 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
60235 else clause and remove check for non-standard endianness.
60236
60237 2013-02-04 David S. Miller <davem@davemloft.net>
60238
60239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60240
60241 2013-02-04 Joseph Myers <joseph@codesourcery.com>
60242
60243 [BZ #13550]
60244 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
60245 (__ubp_memchr): Remove prototype.
60246 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
60247 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60248 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
60249 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60250 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
60251 Remove alias.
60252 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
60253 (__ubp_memchr): Likewise.
60254 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
60255 (__ubp_memchr): Likewise.
60256 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
60257 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
60258 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
60259 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
60260 CHECK_STRING.
60261 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
60262 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
60263 (__getcwd): Do not use CHECK_STRING.
60264 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60265 <bp-checks.h>.
60266 (__real_chown): Do not use CHECK_STRING.
60267 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
60268 <bp-checks.h>.
60269 (fchownat): Do not use CHECK_STRING.
60270 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
60271 CHECK_STRING.
60272 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60273 <bp-checks.h>.
60274 (__lchown): Do not use CHECK_STRING.
60275 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60276 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60277 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60278 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
60279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60280 include <bp-checks.h>.
60281 (truncate64): Do not use CHECK_STRING.
60282 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60283 <bp-checks.h>.
60284 (__real_chown): Do not use CHECK_STRING.
60285 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60286 <bp-checks.h>.
60287 (__lchown): Do not use CHECK_STRING.
60288 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60289 <bp-checks.h>.
60290 (__chown): Do not use CHECK_STRING.
60291 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
60292 <bp-checks.h>.
60293 (truncate64): Do not use CHECK_STRING.
60294 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
60295 Likewise.
60296 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
60297 (__xmknod): Do not use CHECK_STRING.
60298 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
60299 <bp-checks.h>.
60300 (__xmknodat): Do not use CHECK_STRING.
60301 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60302 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
60303
60304 2013-02-04 Andreas Schwab <schwab@suse.de>
60305
60306 [BZ #14142]
60307 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
60308 * include/netdb.h: Likewise for h_errno.
60309 * elf/tst-stackguard1.c: Include <tls.h>.
60310
60311 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
60312
60313 * elf/link.h (struct link_map): Extend the l_addr comment.
60314 * include/link.h (struct link_map): Likewise.
60315
60316 2013-02-01 Joseph Myers <joseph@codesourcery.com>
60317
60318 [BZ #13550]
60319 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
60320 (BOUNDED_1): Remove macro.
60321 * debug/backtrace.c: Don't include <bp-checks.h>.
60322 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
60323 (__backtrace): Likewise.
60324 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
60325 <bp-checks.h>.
60326 (__backtrace): Don't use BOUNDED_1.
60327 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
60328 <bp-checks.h>.
60329 (__backtrace): Don't use BOUNDED_1.
60330 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
60331 (__backtrace): Don't use BOUNDED_1.
60332 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
60333 (shmat): Don't use BOUNDED_N.
60334
60335 2013-01-31 Joseph Myers <joseph@codesourcery.com>
60336
60337 [BZ #13550]
60338 * sysdeps/generic/bp-start.h: Remove file.
60339 * csu/libc-start.c: Don't include <bp-start.h>.
60340 (LIBC_START_MAIN): Set up __environ directly instead of using
60341 INIT_ARGV_and_ENVIRON.
60342 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
60343 <bp-start.h>.
60344
60345 [BZ #13550]
60346 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
60347 definitions.
60348 (CHECK_FCNTL): Likewise.
60349 (CHECK_N_PAGES): Likewise.
60350
60351 [BZ #13550]
60352 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
60353 definitions.
60354 (CHECK_SIGSET_NULL_OK): Likewise.
60355 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
60356 <bp-checks.h>.
60357 (sigpending): Don't use CHECK_SIGSET.
60358 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
60359 <bp-checks.h>.
60360 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60361 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
60362 <bp-checks.h>.
60363 (do_sigsuspend): Don't use CHECK_SIGSET.
60364 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
60365 use CHECK_SIGSET.
60366 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
60367 (do_sigwait): Don't use CHECK_SIGSET.
60368 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
60369 use CHECK_SIGSET.
60370 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
60371 include <bp-checks.h>.
60372 (sigpending): Don't use CHECK_SIGSET.
60373 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
60374 include <bp-checks.h>.
60375 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60376 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
60377 <bp-checks.h>.
60378 (sigpending): Don't use CHECK_SIGSET.
60379 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
60380 <bp-checks.h>.
60381 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60382
60383 [BZ #13550]
60384 * sysdeps/generic/bp-semctl.h: Remove file.
60385 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
60386 <bp-checks.h> and <bp-semctl.h>.
60387 (__old_semctl): Don't use CHECK_SEMCTL.
60388 (__new_semctl): Likewise.
60389 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
60390 and <bp-semctl.h>.
60391 (__old_semctl): Don't use CHECK_SEMCTL.
60392 (__new_semctl): Likewise.
60393 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
60394 <bp-checks.h> and <bp-semctl.h>.
60395 (__old_semctl): Don't use CHECK_SEMCTL.
60396 (__new_semctl): Likewise.
60397 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
60398 <bp-checks.h> and <bp-semctl.h>.
60399 (semctl): Don't use CHECK_SEMCTL.
60400
60401 [BZ #13550]
60402 * Makerules (elide-bp-thunks): Remove variable.
60403 (elide-routines.oS): Don't use $(elide-bp-thunks).
60404 (elide-routines.os): Likewise.
60405 (elide-routines.o): Likewise.
60406 (elide-routines.op): Likewise.
60407 (elide-routines.og): Likewise.
60408 (objects): Don't use $(bp-thunks).
60409 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
60410 include.
60411 (common-generated): Do not add s-proto-bp.d.
60412 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
60413 (int): Likewise.
60414 (typ): Likewise.
60415 Do not generate makefile rules for bounded-pointer thunks.
60416 * sysdeps/generic/bp-thunks.h: Remove file.
60417 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
60418 * sysdeps/unix/s-proto-bp.S: Likewise.
60419
60420 [BZ #15062]
60421 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
60422 parts of result separately when argument is not close to line from
60423 -i to i and one part of argument is small.
60424 * math/k_casinhf.c (__kernel_casinhf): Likewise.
60425 * math/k_casinhl.c (__kernel_casinhl): Likewise.
60426 * math/libm-test.inc (cacos_test): Add more tests.
60427 (casin_test): Likewise.
60428 (casinh_test): Likewise.
60429 * sysdeps/i386/fpu/libm-test-ulps: Update.
60430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60431
60432 2013-01-31 David S. Miller <davem@davemloft.net>
60433
60434 * po/de.po: Update from translation team.
60435
60436 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
60437
60438 * time/tzfile.c: Include stdint.h for SIZE_MAX.
60439
60440 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
60441
60442 * configure.in (_AC_PROG_CC_C89): New definition.
60443 * configure: Regenerate.
60444
60445 * configure.in (AC_PROG_CPP): New definition.
60446 * configure: Regenerate.
60447
60448 2013-01-23 Joseph Myers <joseph@codesourcery.com>
60449
60450 * debug/tst-backtrace.h: New file.
60451 * debug/tst-backtrace2.c: Include tst-backtrace.h.
60452 (ret): Remove variable.
60453 (x): Likewise.
60454 (FAIL): Remove macro.
60455 (NO_INLINE): Likewise.
60456 (fn1): Use match function instead of strstr.
60457 * debug/tst-backtrace3.c: Include tst-backtrace.h.
60458 (ret): Remove variable.
60459 (x): Likewise.
60460 (FAIL): Remove macro.
60461 (NO_INLINE): Likewise.
60462 (fn): Use match function instead of strstr.
60463 * debug/tst-backtrace4.c: Include tst-backtrace.h.
60464 (ret): Remove variable.
60465 (x): Likewise.
60466 (FAIL): Remove macro.
60467 (NO_INLINE): Likewise.
60468 (handle_signal): Use match function instead of strstr.
60469 * debug/tst-backtrace5.c: Include tst-backtrace.h.
60470 (ret): Remove variable.
60471 (x): Likewise.
60472 (FAIL): Remove macro.
60473 (NO_INLINE): Likewise.
60474 (handle_signal): Use match function instead of strstr.
60475
60476 2013-01-23 Roland McGrath <roland@hack.frob.com>
60477
60478 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
60479
60480 2013-01-23 David S. Miller <davem@davemloft.net>
60481
60482 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
60483 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
60484 argument of CAS if possible.
60485 * sysdeps/sparc/sparc64/bits/atomic.h
60486 (__arch_compare_and_exchange_val_32_acq): Likewise.
60487 (__arch_compare_and_exchange_val_64_acq): Likewise.
60488
60489 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
60490
60491 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
60492 * sysdeps/posix/ulimit.c: ... this.
60493 Include <limits.h>.
60494 * sysdeps/unix/bsd/ulimit.c: Remove file.
60495
60496 2013-01-23 Adam Conrad <adconrad@0c3.net>
60497
60498 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
60499 (LDFLAGS-tst-array5): Likewise.
60500
60501 2013-01-23 Joseph Myers <joseph@codesourcery.com>
60502
60503 [BZ #15036]
60504 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
60505 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
60506 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
60507 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
60508
60509 2013-01-21 David S. Miller <davem@davemloft.net>
60510
60511 * sysdeps/sparc/backtrace.c: New file.
60512 * sysdeps/sparc/sparc32/backtrace.h: New file.
60513 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
60514 * sysdeps/sparc/sparc64/backtrace.h: New file.
60515 * sysdeps/sparc/sparc64/backtrace.c: Delete.
60516 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
60517 -funwind-tables.
60518
60519 2013-01-21 Andreas Schwab <schwab@suse.de>
60520
60521 [BZ #15020]
60522 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
60523 closed its stdout.
60524
60525 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
60526
60527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
60528 "mpa2.h".
60529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60530
60531 2013-01-18 Joseph Myers <joseph@codesourcery.com>
60532 Mark Mitchell <mark@codesourcery.com>
60533 Tom de Vries <tom@codesourcery.com>
60534 Paul Pluzhnikov <ppluzhnikov@google.com>
60535
60536 * debug/tst-backtrace2.c: New file.
60537 * debug/tst-backtrace3.c: Likewise.
60538 * debug/tst-backtrace4.c: Likewise.
60539 * debug/tst-backtrace5.c: Likewise.
60540 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
60541 (CFLAGS-tst-backtrace3.c): Likewise.
60542 (CFLAGS-tst-backtrace4.c): Likewise.
60543 (CFLAGS-tst-backtrace5.c): Likewise.
60544 (LDFLAGS-tst-backtrace2): Likewise.
60545 (LDFLAGS-tst-backtrace3): Likewise.
60546 (LDFLAGS-tst-backtrace4): Likewise.
60547 (LDFLAGS-tst-backtrace5): Likewise.
60548 (tests): Add new tests tst-backtrace2, tst-backtrace3,
60549 tst-backtrace4 and tst-backtrace5.
60550
60551 2013-01-18 Anton Blanchard <anton@samba.org>
60552 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
60553
60554 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
60555 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
60556 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
60557 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
60558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60559 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
60560 "+r" and remove output regs list as redundant. Add explicit inline
60561 asm to specify register of return val to work around compiler codegen
60562 bug. Remove (int) cast on return value. Add return type parameter to
60563 use in macro so that this macro does not truncate return value for
60564 64-bit values.
60565 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
60566 pass to INTERNAL_VSYSCALL_NCS.
60567 (INLINE_VSYSCALL): Add 'long int' as return type to
60568 INTERNAL_VSYSCALL_NCS macro invocation.
60569 (INTERNAL_VSYSCALL): Add 'long int' as return type to
60570 INTERNAL_VSYSCALL_NCS macro invocation.
60571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60572
60573 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60574
60575 [BZ #14496]
60576 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
60577 Fix application of SIMD FP exception mask.
60578
60579 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
60580 mp_no from a power of two.
60581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
60582 __mpexp_twomm1. Use __pow_mp.
60583
60584 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
60585 multiplication.
60586
60587 2013-01-17 David S. Miller <davem@davemloft.net>
60588
60589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60590
60591 2013-01-17 Joseph Myers <joseph@codesourcery.com>
60592
60593 [BZ #15023]
60594 * include/complex.h: Condition contents on [!_COMPLEX_H].
60595 (__kernel_casinhf): New prototype.
60596 (__kernel_casinh): Likewise.
60597 (__kernel_casinhl): Likewise.
60598 * math/Makefile (libm_calls): Add k_casinh.
60599 * math/k_casinh.c: New file.
60600 * math/k_casinhf.c: Likewise.
60601 * math/k_casinhl.c: Likewise.
60602 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
60603 finite nonzero arguments.
60604 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
60605 finite nonzero arguments.
60606 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
60607 finite nonzero arguments.
60608 * math/s_casinh.c: Do not include <float.h>.
60609 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
60610 * math/s_casinhf.c: Do not include <float.h>.
60611 (__casinhf): Move code for finite nonzero arguments to
60612 k_casinhf.c.
60613 * math/s_casinhl.c: Do not include <float.h>.
60614 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
60615 redefine.
60616 (__casinhl): Move code for finite nonzero arguments to
60617 k_casinhl.c.
60618 * math/libm-test.inc (cacos_test): Add more tests.
60619 * sysdeps/i386/fpu/libm-test-ulps: Update.
60620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60621
60622 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
60623
60624 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
60625 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
60626 [!HAVE_MREMAP]: Remove [defined linux] case.
60627 * malloc/arena.c: Do not include <malloc-sysdep.h>.
60628
60629 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
60630
60631 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
60632
60633 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
60634
60635 * elf/elf.h (R_386_SIZE32): New relocation.
60636 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
60637 R_386_SIZE32.
60638 (elf_machine_rela): Likewise.
60639 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60640 R_X86_64_SIZE64 and R_X86_64_SIZE32.
60641
60642 2013-01-17 Joseph Myers <joseph@codesourcery.com>
60643
60644 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
60645 (FP_FAST_FMA): Do not define.
60646 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
60647 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
60648 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
60649 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
60650 !_SOFT_FLOAT]: Likewise.
60651 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
60652 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
60653 value.
60654 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
60655 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
60656 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
60657 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
60658 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
60659 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
60660 file.
60661
60662 2013-01-16 Andreas Schwab <schwab@suse.de>
60663
60664 [BZ #14327]
60665 * include/stdlib.h (__mktemp): Add declaration.
60666 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
60667 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
60668
60669 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
60670
60671 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
60672 definitions.
60673 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60674 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
60675 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
60676 definitions here.
60677 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
60678 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
60679 definitions.
60680 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
60681 and ONE.
60682 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
60683 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
60684 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
60685 definitions.
60686 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
60687 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60688 definitions.
60689 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60690
60691 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
60692
60693 2013-01-15 David S. Miller <davem@davemloft.net>
60694
60695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60696 trunc{,f} to libm-sysdep_routes.
60697 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
60699 file.
60700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
60701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
60702 file.
60703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
60704 file.
60705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
60706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
60707 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
60708 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
60709 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
60710 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
60711 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
60712 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
60713
60714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60715 nearbyint{,f} to libm-sysdep_routes.
60716 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
60718 New file.
60719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
60720 file.
60721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
60722 New file.
60723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
60724 file.
60725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
60726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
60727 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
60728 file.
60729 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
60730 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
60731 file.
60732 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
60733 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
60734 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
60735
60736 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60737 libc_feholdexcept and libc_fesetenv.
60738
60739 2013-01-15 Mike Frysinger <vapier@gentoo.org>
60740
60741 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
60742
60743 2013-01-14 David S. Miller <davem@davemloft.net>
60744
60745 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
60746 (SPARC_ASM_VIS2_IFUNC): Likewise.
60747 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
60748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
60749 use of 'siam' instruction.
60750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
60751 Likewise.
60752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
60753 Likewise.
60754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
60755 Likewise.
60756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
60757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
60758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
60759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
60760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
60761 file.
60762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
60763 file.
60764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
60765 file.
60766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
60767 file.
60768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
60769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
60770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
60771 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
60772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
60773 new VIS2 routines.
60774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60777 Likewise.
60778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60779 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
60783 routines to libm-sysdep_routines.
60784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60785
60786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60787 fdim/fdimf to libm-sysdep_routines.
60788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
60789 file.
60790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
60791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
60792 file.
60793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
60794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
60795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
60796 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
60797 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
60798 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
60799 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
60800
60801 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
60802
60803 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
60804 to optimize copies.
60805
60806 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
60807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60809
60810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
60811 local variable MPTWO.
60812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60813 Likewise.
60814
60815 2013-01-13 Mike Frysinger <vapier@gentoo.org>
60816
60817 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
60818 GLOB_NOESCAPE.
60819
60820 2013-01-13 Mike Frysinger <vapier@gentoo.org>
60821
60822 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
60823
60824 2013-01-13 Mike Frysinger <vapier@gentoo.org>
60825
60826 * manual/pattern.texi (glob_t): Document gl_flags.
60827 (glob64_t): Likewise.
60828
60829 2013-01-11 David S. Miller <davem@davemloft.net>
60830
60831 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
60832 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
60833 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
60834 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
60835 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
60836 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
60837 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
60838 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
60839 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
60840 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
60841 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
60842 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
60843 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
60844
60845 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
60846 sparc V9 rather than using V8 code.
60847 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
60848 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
60849
60850 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60851 Move to...
60852 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
60853 Here.
60854
60855 2013-01-11 Roland McGrath <roland@hack.frob.com>
60856
60857 [BZ #14941]
60858 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
60859 not in the main loop.
60860 * configure: Regenerated.
60861
60862 2013-01-11 Joseph Myers <joseph@codesourcery.com>
60863
60864 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
60865 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
60866 to just #else.
60867 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
60868 [!__GLIBC_HAVE_LONG_LONG] case.
60869 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
60870 condition to just #else.
60871 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
60872 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
60873 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
60874 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
60875 unconditional.
60876 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
60877 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
60878 #elif condition to just #else.
60879 * sysdeps/unix/sysv/linux/sys/sysmacros.h
60880 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
60881 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
60882 #elif condition to just #else.
60883
60884 2013-01-11 Steve Ellcey <sellcey@mips.com>
60885
60886 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
60887 (EF_MIPS_ARCH_64): Fix value.
60888 (EF_MIPS_ARCH_32R2): New.
60889 (EF_MIPS_ARCH_64R2): New.
60890
60891 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
60892
60893 * Makeconfig (+link-pie-before-libc): New.
60894 (+link-pie-after-libc): Likewise.
60895 (+link-pie-tests): Likewise.
60896 (+link-pie): Rewritten.
60897 (link-before-libc): Remove $(config-LDFLAGS).
60898 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
60899 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
60900 (config-LDFLAGS): Renamed to ...
60901 (rtld-LDFLAGS): This.
60902 (rtld-tests-LDFLAGS): New macro.
60903 (link-libc-rpath-link): Likewise.
60904 (link-libc-tests-rpath-link): Likewise.
60905 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
60906 (link-libc): Prepand $(link-libc-rpath-link).
60907 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
60908 (test-program-prefix): New macro.
60909 (test-via-rtld-prefix): Likewise.
60910 (test-program-cmd): Likewise.
60911 (host-test-program-cmd): Likewise.
60912 * Makefile ($(common-objpfx)testrun.sh): Replace
60913 $(run-program-prefix) with $(test-program-prefix).
60914 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
60915 $(rtld-LDFLAGS).
60916 ($(common-objpfx)shlib.lds): Likewise.
60917 (build-module-helper): Likewise.
60918 ($(common-objpfx)format.lds): Likewise.
60919 * Rules (binaries-pie-tests): New.
60920 (binaries-pie-notests): Likewise.
60921 (binaries-pie): Rewritten.
60922 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
60923 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
60924 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
60925 (make-test-out): Replace $(host-built-program-cmd) with
60926 $(host-test-program-cmd).
60927 * config.make.in (build-hardcoded-path-in-tests): New variable.
60928 * configure.in (--enable-hardcoded-path-in-tests): New configure
60929 option.
60930 (hardcoded_path_in_tests): New AC_SUBST.
60931 * configure: Regenerated.
60932 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
60933 $(built-program-cmd) with $(test-program-cmd).
60934 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
60935 (test_program_cmd): This.
60936 * elf/Makefile ($(objpfx)order.out): Run test with
60937 $(test-program-prefix).
60938 ($(objpfx)order2.out): Likewise.
60939 ($(objpfx)tst-initorder.out): Likewise.
60940 ($(objpfx)tst-initorder2.out): Likewise.
60941 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
60942 $(test-program-cmd).
60943 ($(objpfx)tst-array1-static.out): Likewise.
60944 ($(objpfx)tst-array2.out): Likewise.
60945 ($(objpfx)tst-array3.out): Likewise.
60946 ($(objpfx)tst-array4.out): Likewise.
60947 ($(objpfx)tst-array5.out): Likewise.
60948 ($(objpfx)tst-array5-static.out): Likewise.
60949 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
60950 $(test-program-cmd).
60951 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
60952 $(run-program-prefix) with $(test-program-prefix).
60953 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
60954 (test_program_prefix): This.
60955 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
60956 $(run-program-prefix) with $(test-program-prefix).
60957 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
60958 (test_program_prefix): This.
60959 * iconvdata/tst-tables.sh: Likewise.
60960 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
60961 $(run-program-prefix) with $(test-program-prefix).
60962 ($(objpfx)tst-translit.out): Likewise.
60963 ($(objpfx)tst-gettext2.out): Likewise.
60964 ($(objpfx)tst-gettext4.out): Likewise.
60965 ($(objpfx)tst-gettext6.out): Likewise.
60966 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
60967 (test_program_prefix): This.
60968 * intl/tst-gettext2.sh: Likewise.
60969 * intl/tst-gettext4.sh Likewise.
60970 * intl/tst-gettext6.sh: Likewise.
60971 * intl/tst-translit.sh: Likewise.
60972 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
60973 with $(test-program-cmd).
60974 * libio/Makefile ($(objpfx)test-freopen.out): Replace
60975 $(run-program-prefix) with $(test-program-prefix).
60976 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
60977 (test_program_prefix): This.
60978 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
60979 $(run-program-prefix) with $(test-program-prefix).
60980 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
60981 (test_program_prefix): This.
60982 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
60983 * posix/Makefile ($(objpfx)globtest.out): Replace
60984 $(run-via-rtld-prefix) and $(test-wrapper) with
60985 $(test-program-prefix) and $(test-via-rtld-prefix).
60986 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
60987 $(test-program-prefix).
60988 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
60989 $(host-test-program-cmd).
60990 (tst-spawn-ARGS): Likewise.
60991 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
60992 $(test-program-prefix).
60993 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
60994 (test_via_rtld_prefix): This.
60995 (test_wrapper): Renamed to ...
60996 (test_program_prefix): This.
60997 (run_program_prefix): Replaced by test_program_prefix.
60998 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
60999 (test_program_prefix): This.
61000 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61001 with $(host-test-program-cmd).
61002 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61003 $(run-program-prefix) with $(test-program-prefix).
61004 ($(objpfx)tst-printf.out): Likewise.
61005 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61006 $(test-program-cmd).
61007 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61008 (test_program_prefix): This.
61009 * stdio-common/tst-unbputc.sh: Likewise.
61010 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61011 $(run-program-prefix) with $(test-program-prefix).
61012 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61013 (test_program_prefix): This.
61014 * string/Makefile ($(objpfx)tst-svc.out): Replace
61015 $(built-program-cmd) with $(test-program-cmd).
61016
61017 2013-01-11 Andreas Jaeger <aj@suse.de>
61018
61019 [BZ #15003]
61020 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61021 value. Sync with Linux 3.7.
61022
61023 2013-01-10 David S. Miller <davem@davemloft.net>
61024
61025 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61026 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61027 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61028
61029 2013-01-10 Roland McGrath <roland@hack.frob.com>
61030
61031 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61032 never set.
61033 * configure: Regenerated.
61034
61035 2013-01-10 David S. Miller <davem@davemloft.net>
61036
61037 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61038 sparc V9 rather than using V8 code.
61039 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61040 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61041
61042 2013-01-10 Roland McGrath <roland@hack.frob.com>
61043
61044 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61045 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61046 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61047 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61048 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61049 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61050 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61051 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61052 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61053 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61054 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61055 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61056 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61057 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61058 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61059 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61060 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61061 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61062 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61063 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61064 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61065 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61066 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61067 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61068 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61069 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61070 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61071
61072 2013-01-10 David S. Miller <davem@davemloft.net>
61073
61074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61075
61076 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61077
61078 * posix/Makefile (tests-static): New variable.
61079 (tests): Add $(tests-static).
61080 (tst-exec-static-ARGS): New variable.
61081 (tst-spawn-static-ARGS): Likewise.
61082 * posix/tst-exec-static.c: New file.
61083 * posix/tst-spawn-static.c: Likewise.
61084 * posix/tst-exec.c: Support run directly.
61085 * posix/tst-spawn.c: Likewise.
61086
61087 2013-01-10 Joseph Myers <joseph@codesourcery.com>
61088
61089 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61090 long.
61091 * math/bits/mathcalls.h (llrint): Likewise.
61092 (llround): Likewise.
61093 * stdlib/stdlib.h (struct drand48_data): Likewise.
61094 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61095 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61096 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61097 Likewise.
61098 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61099 Likewise.
61100 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61101 (elf_greg_t): Likewise.
61102 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61103 (__jmp_buf): Likewise.
61104 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61105 definitions.
61106 (llrint): Likewise, for all definitions.
61107 (llrintl): Likewise.
61108
61109 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61110 Remove [__GNUC__] condition.
61111 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61112 condition to just [__USE_ISOC99].
61113 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61114
61115 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61116
61117 [BZ #14200]
61118 * sysdeps/unix/sysv/linux/x86/bits/environments.h
61119 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61120 defined.
61121 (_POSIX_V6_ILP32_OFF32): Likewise.
61122 (_XBS5_ILP32_OFF32): Likewise.
61123 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61124 (__ILP32_OFFBIG_LDFLAGS): Likewise.
61125
61126 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61127
61128 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61129
61130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61131 doubles __mpexp_twomm1. Adjust usage.
61132 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61133 Remove.
61134
61135 2013-01-10 Andreas Schwab <schwab@suse.de>
61136
61137 [BZ #14964]
61138 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61139 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61140
61141 2013-01-09 David S. Miller <davem@davemloft.net>
61142
61143 [BZ #15003]
61144 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61145 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61146 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61147 (TCP_FASTOPEN): Define.
61148 (tcp_repair_opt): New structure.
61149 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61150 enum values.
61151 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61152 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61153 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61154 (tcp_cookie_transactions): New structure.
61155
61156 2013-01-09 Anton Blanchard <anton@samba.org>
61157
61158 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61159 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61160 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61161 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61162
61163 2013-01-09 Joseph Myers <joseph@codesourcery.com>
61164
61165 * include/features.h (__USE_ANSI): Remove.
61166
61167 2013-01-09 Roland McGrath <roland@hack.frob.com>
61168
61169 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61170
61171 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61172
61173 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
61174
61175 * sysdeps/s390/fpu/libm-test-ulps: Update.
61176
61177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61178
61179 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61180 (__acr): Likewise.
61181 (__cpy): Likewise.
61182 (norm): Likewise.
61183 (denorm): Likewise.
61184 (__mp_dbl): Likewise.
61185 (__dbl_mp): Likewise.
61186 (add_magnitudes): Likewise.
61187 (sub_magnitudes): Likewise.
61188 (__add): Likewise.
61189 (__sub): Likewise.
61190 (__mul): Likewise.
61191 (__inv): Likewise.
61192 (__dvd): Likewise.
61193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
61194 (__acr): Likewise.
61195 (__cpy): Likewise.
61196 (norm): Likewise.
61197 (denorm): Likewise.
61198 (__mp_dbl): Likewise.
61199 (__dbl_mp): Likewise.
61200 (add_magnitudes): Likewise.
61201 (sub_magnitudes): Likewise.
61202 (__add): Likewise.
61203 (__sub): Likewise.
61204 (__mul): Likewise.
61205 (__inv): Likewise.
61206 (__dvd): Likewise.
61207 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
61208 (__acr): Likewise.
61209 (__cpy): Likewise.
61210 (norm): Likewise.
61211 (denorm): Likewise.
61212 (__mp_dbl): Likewise.
61213 (__dbl_mp): Likewise.
61214 (add_magnitudes): Likewise.
61215 (sub_magnitudes): Likewise.
61216 (__add): Likewise.
61217 (__sub): Likewise.
61218 (__mul): Likewise.
61219 (__inv): Likewise.
61220 (__dvd): Likewise.
61221
61222 2013-01-08 Joseph Myers <joseph@codesourcery.com>
61223
61224 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
61225 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
61226 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
61227 2 && __USE_EXTERN_INLINES]: Likewise.
61228
61229 2013-01-08 Andreas Jaeger <aj@suse.de>
61230
61231 [BZ# 14985]
61232 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
61233 Remove.
61234 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61235 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61236
61237 2013-01-07 Anton Blanchard <anton@samba.org>
61238
61239 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
61240 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61241 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
61242 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61243 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61244 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61245 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
61246 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61248 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61249 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61250 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61251 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61252 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61253 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61254 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61255 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61256 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61257 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61258 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61259 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61260 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
61261 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61262 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61263 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
61264 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61265 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61266 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61267 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
61268 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61269 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61271 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61272 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61273 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61274 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61275 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61276 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61277 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
61278 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
61279 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
61280 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61281 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61282
61283 2013-01-07 Joseph Myers <joseph@codesourcery.com>
61284
61285 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
61286 (__MALLOC_PMT): Likewise.
61287 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
61288 [__GNUC__], only on [_LIBC].
61289 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61290 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
61291 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61292 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
61293 forward declaration.
61294 (realloc_hook_ini): Likewise.
61295 (memalign_hook_ini): Likewise.
61296 (__libc_memalign): Do not use __MALLOC_PMT in variable
61297 declaration.
61298 (__libc_valloc): Likewise.
61299 (__libc_pvalloc): Likewise.
61300 (__libc_calloc): Likewise.
61301 (__posix_memalign): Likewise.
61302
61303 [BZ #14996]
61304 * math/s_casinh.c: Include <float.h>.
61305 (__casinh): Do not do computation with squaring and square root
61306 for large arguments.
61307 * math/s_casinhf.c: Include <float.h>.
61308 (__casinhf): Do not do computation with squaring and square root
61309 for large arguments.
61310 * math/s_casinhl.c: Include <float.h>.
61311 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
61312 (__casinhl): Do not do computation with squaring and square root
61313 for large arguments.
61314 * math/libm-test.inc (casin_test): Add more tests.
61315 (casinh_test): Likewise.
61316 * sysdeps/i386/fpu/libm-test-ulps: Update.
61317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61318
61319 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
61320
61321 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
61322 (__x86_64_raw_data_cache_size): Likewise.
61323 (__x86_64_data_cache_size_half): Likewise.
61324 (__x86_64_raw_data_cache_size_half): Likewise.
61325 (__x86_64_shared_cache_size): Likewise.
61326 (__x86_64_raw_shared_cache_size): Likewise.
61327 (__x86_64_shared_cache_size_half): Likewise.
61328 (__x86_64_raw_shared_cache_size_half): Likewise.
61329 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
61330 to ...
61331 (__x86_data_cache_size): This.
61332 (__x86_64_raw_data_cache_size): Renamed to ...
61333 (__x86_raw_data_cache_size): This.
61334 (__x86_64_data_cache_size_half): Renamed to ...
61335 (__x86_data_cache_size_half): This.
61336 (__x86_64_raw_data_cache_size_half): Renamed to ...
61337 (__x86_raw_data_cache_size_half): This.
61338 (__x86_64_shared_cache_size): Renamed to ...
61339 (__x86_shared_cache_size): This.
61340 (__x86_64_raw_shared_cache_size): Renamed to ...
61341 (__x86_raw_shared_cache_size): This.
61342 (__x86_64_shared_cache_size_half): Renamed to ...
61343 (__x86_shared_cache_size_half): This.
61344 (__x86_64_raw_shared_cache_size_half): Renamed to ...
61345 (__x86_raw_shared_cache_size_half): This.
61346 * sysdeps/x86_64/memcpy.S: Updated.
61347 * sysdeps/x86_64/memset.S: Likewise.
61348 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61349 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61350 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61351
61352 2013-01-04 David S. Miller <davem@davemloft.net>
61353
61354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61355
61356 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
61357
61358 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
61359 1 to avoid redefinition warning.
61360 (__USE_GNU): Don't define.
61361 (init_signaling_nan): Protoize.
61362
61363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61364
61365 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61366
61367 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
61368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
61369 (__cpymn): Likewise.
61370 (norm): Remove commented code.
61371 (denorm): Likewise.
61372 (__mp_dbl): Likewise.
61373 (__inv): Likewise.
61374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
61375 (__cpymn): Likewise.
61376 (norm): Remove commented code.
61377 (denorm): Likewise.
61378 (__mp_dbl): Likewise.
61379 (__inv): Likewise.
61380
61381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
61382 mp_no value for 1.0 and 2.0.
61383 (norm): Use RADIXI instead of radixi.d.
61384 (denorm): Likewise.
61385 (__mul): Use 0.0 instead of zero.d.
61386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
61387 mp_no value for 1.0 and 2.0.
61388 (norm): Use RADIXI instead of radixi.d.
61389 (denorm): Likewise.
61390 (__mul): Use 0.0 instead of zero.d.
61391
61392 2013-01-04 Joseph Myers <joseph@codesourcery.com>
61393
61394 [BZ #14994]
61395 * math/s_casinh.c (__casinh): Reduce finite argument to first
61396 quadrant then set signs of results at the end.
61397 * math/s_casinhf.c (__casinhf): Likewise.
61398 * math/s_casinhl.c (__casinhl): Likewise.
61399 * math/libm-test.inc (casin_test): Add more tests.
61400 (casinh_test): Likewise.
61401 * sysdeps/i386/fpu/libm-test-ulps: Update.
61402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61403
61404 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61405
61406 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
61407
61408 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
61409
61410 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
61411 declarations.
61412 (denorm): Likewise.
61413 (__mp_dbl): Likewise.
61414 (__inv): Likewise.
61415
61416 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
61417 and adjust the header comment.
61418
61419 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
61420 variable name from declaration.
61421
61422 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
61423
61424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61425 Initialize COMMON_CPUID_INDEX_7 element.
61426 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
61427 (CPUID_RTM): Likewise.
61428 (HAS_RTM): Likewise.
61429 (COMMON_CPUID_INDEX_7): New enum.
61430
61431 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
61432
61433 [BZ #14981]
61434 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
61435 size is zero, record memory as freed.
61436
61437 2013-01-03 Andreas Jaeger <aj@suse.de>
61438
61439 * po/ia.po: Add new Interlingua translation.
61440
61441 2012-01-03 Allan McRae <allan@archlinux.org>
61442
61443 * locale/programs/localedef.c: Fix description of '--posix' flag.
61444
61445 2013-01-02 Joseph Myers <joseph@codesourcery.com>
61446
61447 * NEWS: Update dates in second copyright notice.
61448 * README: Update copyright dates in example.
61449 * manual/libc.texinfo: Update copyright dates.
61450 * scripts/test-installation.pl: Update copyright date in --version
61451 output.
61452
61453 * hurd/ctty-input.c: Fix copyright notice formatting.
61454 * hurd/ctty-output.c: Likewise.
61455 * hurd/dtable.c: Likewise.
61456 * hurd/hurd-raise.c: Likewise.
61457 * hurd/hurdprio.c: Likewise.
61458 * hurd/msgportdemux.c: Likewise.
61459 * misc/sys/file.h: Likewise.
61460 * misc/sys/ioctl.h: Likewise.
61461 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61462 * sysdeps/mach/hurd/chdir.c: Likewise.
61463 * sysdeps/mach/hurd/fchdir.c: Likewise.
61464 * sysdeps/mach/hurd/rename.c: Likewise.
61465 * sysdeps/mach/hurd/rmdir.c: Likewise.
61466 * sysdeps/mach/hurd/seekdir.c: Likewise.
61467 * sysdeps/mach/hurd/setsid.c: Likewise.
61468 * sysdeps/posix/wait3.c: Likewise.
61469
61470 * All files with FSF copyright notices: Update copyright dates
61471 using scripts/update-copyrights.
61472 * intl/plural.c: Regenerated.
61473 * locale/programs/charmap-kw.h: Likewise.
61474 * locale/programs/locfile-kw.h: Likewise.
61475
61476 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
61477
61478 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
61479 four values.
61480
61481 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
61482 calculation loop and add branch prediction.
61483
61484 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
61485 check access beyond bounds of m1np.
61486
61487 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61488 MPTWO.
61489 (__inv): Remove local variable MPTWO to use the global
61490 constant.
61491 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
61492 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61493 variable MPTWO.
61494 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
61495 MP3HALFS static const.
61496
61497 2013-01-01 David S. Miller <davem@davemloft.net>
61498
61499 * po/ca.po: Update from translation team.
61500
61501 2013-01-01 Joseph Myers <joseph@codesourcery.com>
61502
61503 * scripts/update-copyrights: New file.
61504 * Makeconfig: Reformat copyright notice.
61505 * ctype/ctype.h: Likewise.
61506 * debug/swprintf_chk.c: Likewise.
61507 * elf/dl-cache.c: Likewise.
61508 * elf/dl-debug.c: Likewise.
61509 * elf/dl-object.c: Likewise.
61510 * grp/initgroups.c: Likewise.
61511 * hurd/Makefile: Likewise.
61512 * hurd/hurd/signal.h: Likewise.
61513 * hurd/hurdfault.c: Likewise.
61514 * hurd/hurdioctl.c: Likewise.
61515 * hurd/hurdlookup.c: Likewise.
61516 * hurd/intr-msg.c: Likewise.
61517 * iconv/gconv_open.c: Likewise.
61518 * libio/swprintf.c: Likewise.
61519 * locale/lc-ctype.c: Likewise.
61520 * locale/nl_langinfo.c: Likewise.
61521 * mach/Machrules: Likewise.
61522 * mach/Makefile: Likewise.
61523 * malloc/obstack.h: Likewise.
61524 * manual/Makefile: Likewise.
61525 * manual/tsort.awk: Likewise.
61526 * misc/bits/stab.def: Likewise.
61527 * nis/nis_print_group_entry.c: Likewise.
61528 * nis/nis_table.c: Likewise.
61529 * nis/nss_compat/compat-pwd.c: Likewise.
61530 * nis/nss_compat/compat-spwd.c: Likewise.
61531 * po/Makefile: Likewise.
61532 * posix/fnmatch.c: Likewise.
61533 * posix/regex.h: Likewise.
61534 * resolv/Makefile: Likewise.
61535 * resolv/nss_dns/dns-network.c: Likewise.
61536 * resolv/res_hconf.c: Likewise.
61537 * scripts/gen-sorted.awk: Likewise.
61538 * soft-fp/soft-fp.h: Likewise.
61539 * stdio-common/printf.h: Likewise.
61540 * stdlib/monetary.h: Likewise.
61541 * stdlib/random.c: Likewise.
61542 * stdlib/random_r.c: Likewise.
61543 * sysdeps/generic/Makefile: Likewise.
61544 * sysdeps/gnu/Makefile: Likewise.
61545 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61546 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61547 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61548 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61549 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61550 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61552 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61553 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61554 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61555 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61556 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61557 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61558 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61559 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
61560 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61561 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61562 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61563 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61564 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61565 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61566 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61567 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61568 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61569 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
61570 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61571 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61572 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
61573 * sysdeps/mach/hurd/errnos.awk: Likewise.
61574 * sysdeps/mach/hurd/fork.c: Likewise.
61575 * sysdeps/mach/hurd/getcwd.c: Likewise.
61576 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
61577 * sysdeps/mach/hurd/mmap.c: Likewise.
61578 * sysdeps/mach/hurd/utimes.c: Likewise.
61579 * sysdeps/mach/hurd/xmknod.c: Likewise.
61580 * sysdeps/posix/profil.c: Likewise.
61581 * sysdeps/posix/readdir_r.c: Likewise.
61582 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61583 * sysdeps/powerpc/bits/setjmp.h: Likewise.
61584 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
61585 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61587 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61588 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61589 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61591 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61592 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61593 * sysdeps/pthread/lio_listio.c: Likewise.
61594 * sysdeps/sparc/dl-procinfo.h: Likewise.
61595 * sysdeps/unix/i386/sysdep.S: Likewise.
61596 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
61597 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
61598 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
61599 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
61600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61601 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
61602 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
61603 * sysdeps/unix/sysv/linux/speed.c: Likewise.
61604 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
61605 * sysdeps/wordsize-32/divdi3.c: Likewise.
61606 * time/sys/time.h: Likewise.
61607 * wcsmbs/Makefile: Likewise.
61608
61609 2013-01-01 David S. Miller <davem@davemloft.net>
61610
61611 * po/fr.po: Update from translation team.
61612
61613 * catgets/gencat.c: Update copyright year.
61614 * csu/version.c: Likewise.
61615 * debug/catchsegv.sh: Likewise.
61616 * debug/pcprofiledump.c: Likewise.
61617 * debug/xtrace.sh: Likewise.
61618 * elf/ldconfig.c: Likewise.
61619 * elf/ldd.bash.in: Likewise.
61620 * elf/pldd.c: Likewise.
61621 * elf/sotruss.ksh: Likewise.
61622 * elf/sprof.c: Likewise.
61623 * iconv/iconv_prog.c: Likewise.
61624 * iconv/iconvconfig.c: Likewise.
61625 * locale/programs/locale.c: Likewise.
61626 * locale/programs/localedef.c: Likewise.
61627 * login/programs/pt_chown.c: Likewise.
61628 * malloc/memusage.sh: Likewise.
61629 * malloc/memusagestat.c: Likewise.
61630 * malloc/mtrace.pl: Likewise.
61631 * nscd/nscd.c: Likewise.
61632 * nss/getent.c: Likewise.
61633 * nss/makedb.c: Likewise.
61634 * posix/getconf.c: Likewise.
61635
61636 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
61637
61638 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
61639 numbers.
61640
61641 2012-12-30 Mike Frysinger <vapier@gentoo.org>
61642
61643 * math/bits/mathcalls.h (modf): Use __nonnull.
61644
61645 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
61646
61647 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
61648 (split): Use macro CN instead of the bare value.
61649 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
61650 could be used.
61651 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
61652 instead of the bare value.
61653 (power1): Likewise.
61654
61655 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61656
61657 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
61658 __ATAN_TWOM.
61659 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61660
61661 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
61662 their values.
61663 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61664 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61665 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
61666 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61667
61668 2012-12-28 Andreas Jaeger <aj@suse.de>
61669
61670 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
61671 values are from Linux 3.7.
61672
61673 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
61674 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
61675
61676 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61677
61678 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
61679 TRUE case.
61680
61681 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
61682 (norm): Likewise.
61683 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
61684 variables with preprocessor constants.
61685 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61686 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61687 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61688
61689 2012-12-27 Bruno Haible <bruno@clisp.org>
61690
61691 [BZ #14317]
61692 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
61693 only if needed.
61694
61695 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
61696
61697 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
61698 and use variable directly.
61699 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
61700
61701 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61702 MPONE.
61703 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
61704 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61705 variable MPONE.
61706 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61707 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61708 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
61709 include directive. Remove local variable MPONE.
61710 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
61711 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
61712 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61713
61714 2012-12-25 David S. Miller <davem@davemloft.net>
61715
61716 * version.h (RELEASE): Set to "development".
61717 (VERSION): Set to "2.17.90".
61718 * NEWS: Add 2.18 section.
61719
61720 2012-12-21 David S. Miller <davem@davemloft.net>
61721
61722 * po/hr.po: Update from translation team.
61723
61724 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61725
61726 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
61727
61728 2012-12-19 Steve Ellcey <sellcey@mips.com>
61729
61730 * NEWS: Mention new memcpy for MIPS.
61731
61732 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61733
61734 * manual/contrib.texi (Contributors): Spelling correction.
61735
61736 2012-12-15 David S. Miller <davem@davemloft.net>
61737
61738 * po/ru.po: Update from translation team.
61739
61740 2012-12-13 David S. Miller <davem@davemloft.net>
61741
61742 * NEWS: Mention IFUNC testsuite enhancements.
61743
61744 * po/pl.po: Update from translation team.
61745 * po/bg.po: Likewise.
61746
61747 * manual/contrib.texi (Contributors): Update entries for Hongjiu
61748 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
61749
61750 2012-12-11 David S. Miller <davem@davemloft.net>
61751
61752 * po/sv.po: Update from translation team.
61753
61754 * po/vi.po: Update from translation team.
61755
61756 * po/cs.po: Update from translation team.
61757
61758 * po/de.po: Update from translation team.
61759 * po/eo.po: Likewise.
61760 * po/nl.po: Likewise.
61761
61762 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
61763
61764 [BZ #14246]
61765 * manual/argp.texi (Argp Helper Functions): Move node to follow
61766 Argp Parsing State.
61767
61768 [BZ #14872]
61769 * manual/conf.texi (Limits on File System Capacity): Mention if
61770 terminating null is included in the max size.
61771
61772 2012-12-10 Andreas Jaeger <aj@suse.de>
61773
61774 * po/cs.po: Update from translation team.
61775
61776 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
61777
61778 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
61779 void pointer and cast to uintptr_t.
61780 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
61781 path.
61782 * sysdeps/s390/s390-64/memcpy.S: Likewise.
61783 * sysdeps/s390/s390-64/memset.S: Likewise.
61784
61785 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
61786
61787 [BZ #14833]
61788 * menual/message.texi (Message Translation): Fix typos.
61789 (Helper programs for gettext): Likewise.
61790
61791 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
61792
61793 [BZ #14898]
61794 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
61795 Change to -1.
61796
61797 2012-12-07 David S. Miller <davem@davemloft.net>
61798
61799 * po/libc.pot: Update.
61800
61801 2012-12-07 Richard Henderson <rth@redhat.com>
61802
61803 [BZ #10114]
61804 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
61805 normal/normal case to before the switch.
61806 (_FP_DIV): Likewise.
61807
61808 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
61809 Mike Frysinger <vapier@gentoo.org>
61810
61811 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
61812 check for __NR_fadvise64_64.
61813
61814 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
61815
61816 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
61817 0, not just to plain "0" as a statement.
61818 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
61819 with cw.
61820
61821 2012-12-06 Joseph Myers <joseph@codesourcery.com>
61822
61823 * NEWS: Use sourceware.org in Bugzilla URL.
61824
61825 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
61826
61827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
61828 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
61829
61830 * stdio-common/tst-put-error.c (do_test): Add newline to the
61831 padded test to ensure flush.
61832
61833 2012-12-05 Jeff Law <law@redhat.com>
61834
61835 * sunrpc/etc.rpc (fedfs_admin): Add entry.
61836
61837 2012-12-05 Joseph Myers <joseph@codesourcery.com>
61838
61839 * README: Don't refer to ports add-on as distributed separately.
61840 Mention AArch64 in list of systems supported in the ports add-on.
61841
61842 * LICENSES: Add more non-FSF copyright and license notices.
61843
61844 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
61845 ((unused)).
61846
61847 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
61848
61849 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
61850 10000 as width of padded output.
61851
61852 2012-12-04 Joseph Myers <joseph@codesourcery.com>
61853
61854 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
61855
61856 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
61857 variable LX with __attribute__ ((unused)).
61858 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
61859 Likewise.
61860 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61861 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61862 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
61863 with __attribute__ ((unused)).
61864
61865 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
61866
61867 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
61868
61869 2012-12-04 Joseph Myers <joseph@codesourcery.com>
61870
61871 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
61872 (CFLAGS-nldbl-acos.c): New variable.
61873 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
61874 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
61875 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
61876 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
61877 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
61878 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
61879 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
61880 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
61881 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
61882 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
61883 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
61884 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
61885 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
61886 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
61887 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
61888 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
61889 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
61890 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
61891 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
61892 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
61893 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
61894 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
61895 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
61896 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
61897 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
61898 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
61899 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
61900 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
61901 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
61902 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
61903 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
61904 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
61905 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
61906 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
61907 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
61908 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
61909 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
61910 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
61911 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
61912 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
61913 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
61914 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
61915 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
61916 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
61917 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
61918 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
61919 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
61920 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
61921 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
61922 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
61923 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
61924 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
61925 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
61926 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
61927 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
61928 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
61929 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
61930 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
61931 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
61932 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
61933 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
61934 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
61935 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
61936 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
61937 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
61938 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
61939 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
61940 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
61941 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
61942 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
61943 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
61944 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
61945 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
61946 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
61947 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
61948 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
61949 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
61950 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
61951 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
61952 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
61953 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
61954 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
61955 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
61956 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
61957 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
61958 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
61959 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
61960 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
61961 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
61962 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
61963 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
61964 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
61965 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
61966 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
61967 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
61968 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
61969 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
61970
61971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61972 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
61973
61974 [BZ #14914]
61975 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
61976 whole low double instead of just low 47 bits when splitting values
61977 into two parts.
61978
61979 2012-12-03 Allan McRae <allan@archlinux.org>
61980
61981 * manual/stdio.texi (Predefined Printf Handlers): Remove
61982 @hsep and @vsep usage.
61983
61984 2012-12-03 Mike Frysinger <vapier@gentoo.org>
61985
61986 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
61987 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
61988
61989 2012-12-03 Jeff Law <law@redhat.com>
61990
61991 * time/sys/time.h (settimeofday): Do not mark TV argument
61992 as __nonnull.
61993
61994 2012-12-01 Mike Frysinger <vapier@gentoo.org>
61995
61996 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
61997 when currently writing and seek to current position when not.
61998 * libio/Makefile (tests): Remove bug-fclose1.
61999 * libio/bug-fclose1.c: Delete.
62000
62001 2012-12-01 Joseph Myers <joseph@codesourcery.com>
62002
62003 * manual/arith.texi (feenableexcept): Fix typo.
62004 (fedisableexcept): Likewise.
62005
62006 2012-11-30 Roland McGrath <roland@hack.frob.com>
62007
62008 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62009 second, differently-typed declaration, rather than a cast.
62010
62011 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62012
62013 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62014 * include/rpc/svc.h: ... here.
62015
62016 2012-11-30 Aurelien Jarno <aurel32@debian.org>
62017
62018 [BZ #13013]
62019 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62020 depending n and resplen2 to catch cases where answer
62021 equals answerp2.
62022
62023 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
62024
62025 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62026 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62027
62028 2012-11-29 Mike Frysinger <vapier@gentoo.org>
62029
62030 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62031
62032 2012-11-29 Roland McGrath <roland@hack.frob.com>
62033
62034 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62035
62036 2012-11-28 Jeff Law <law@redhat.com>
62037
62038 [BZ #13761]
62039 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62040 dataset_temporary. Track alloca usage into alloca_used.
62041 If dataset is large allocate and release it via malloc/free.
62042
62043 2012-06-04 Florian Weimer <fweimer@redhat.com>
62044
62045 [BZ #14197]
62046 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62047
62048 2012-11-28 David S. Miller <davem@davemloft.net>
62049
62050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62051
62052 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62053
62054 [BZ #14803]
62055 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62056 of pi/2 rounded to nearest to 64 bits.
62057 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62058 nearest to 64 bits.
62059 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62060 bits.
62061
62062 2012-11-28 Jeff Law <law@redhat.com>
62063 Martin Osvald <mosvald@redhat.com>
62064
62065 [BZ #14889]
62066 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62067 * sunrpc/svc.c: Include time.h.
62068 (__svc_accept_failed): New function.
62069 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62070 any reason other than EINTR, call __svc_accept_failed.
62071 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62072 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62073
62074 2012-11-28 Andreas Schwab <schwab@suse.de>
62075
62076 * scripts/abilist.awk: Also handle indirect functions in .opd
62077 section.
62078
62079 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62080
62081 [BZ #13881]
62082 * sysdeps/x86/fpu/powl_helper.c: New file.
62083 * sysdeps/x86/fpu/Makefile: Likewise.
62084 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62085 (p3): New object.
62086 (__ieee754_powl): Use __powl_helper for finite arguments except
62087 integer exponents below 8.
62088 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62089 (p3): New object.
62090 (__ieee754_powl): Use __powl_helper for finite arguments except
62091 integer exponents below 8.
62092 * math/libm-test.inc (pow_test): Add more tests and enable some
62093 previously disabled tests.
62094 * sysdeps/i386/fpu/libm-test-ulps: Update.
62095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62096
62097 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62098 Carlos O'Donell <carlos_odonell@mentor.com>
62099
62100 * nss/makedb.c (is_prime): Assert that input is odd and greater
62101 than 4. Note that fact in a comment too.
62102 (next_prime): Add 4 to input.
62103
62104 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62105
62106 [BZ #11741]
62107 * libio/Makefile (tests): Add test case tst-fwrite-error.
62108 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62109 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62110 * libio/tst-fwrite-error.c: New test case.
62111
62112 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
62113
62114 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62115 before casting to void *.
62116 * include/libc-internal.h (__pointer_type): New macro.
62117 (__integer_if_pointer_type_sub): Likewise.
62118 (__integer_if_pointer_type): Likewise.
62119 (cast_to_integer): Likewise.
62120 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62121 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62122 before casting to atomic64_t.
62123 (atomic_exchange_acq): Likewise.
62124 (__arch_exchange_and_add_body): Likewise.
62125 (__arch_add_body): Likewise.
62126 (atomic_add_negative): Likewise.
62127 (atomic_add_zero): Likewise.
62128
62129 2012-11-26 Joseph Myers <joseph@codesourcery.com>
62130
62131 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62132 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62133 (add_fdes): Likewise.
62134 (linear_search_fdes): Likewise.
62135 (binary_search_unencoded_fdes): Likewise.
62136
62137 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
62138
62139 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62140
62141 2012-11-24 Adam Conrad <adconrad@0c3.net>
62142
62143 * configure.in: Autodetect C++ header directories.
62144 * configure: Regenerated.
62145
62146 2012-11-23 Mike Frysinger <vapier@gentoo.org>
62147
62148 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62149
62150 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
62151
62152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62153
62154 2012-11-22 Joseph Myers <joseph@codesourcery.com>
62155
62156 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62157 LDBL_MANT_DIG == 106]: Disable some tests.
62158 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62159 Likewise.
62160 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62161 Likewise.
62162
62163 [BZ #14871]
62164 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62165 input for small inputs. Return +/- pi/2 for large inputs.
62166 * math/libm-test.inc (atan_test): Add more tests.
62167
62168 * sysdeps/generic/unwind-dw2-fde-glibc.c
62169 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62170 __attribute__ ((unused)).
62171
62172 [BZ #14645]
62173 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62174 x * y if x and y are nonzero and z is zero.
62175
62176 [BZ #14811]
62177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62178 nonzero exponents with absolute value below 0x1p-117 to +/-
62179 0x1p-117.
62180
62181 [BZ #14869]
62182 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62183 up arguments below 2**-450, not just those below 2**-500.
62184 * math/libm-test.inc (hypot_test): Add another test.
62185
62186 [BZ #14868]
62187 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62188 Return a+b for ratio over 2**120, not 2**60.
62189 * math/libm-test.inc (hypot_test): Add another test.
62190
62191 * math/libm-test.inc (clog_test): Use
62192 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
62193 (clog10_test): Likewise.
62194
62195 [BZ #6778]
62196 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
62197
62198 2012-11-22 Andreas Schwab <schwab@suse.de>
62199
62200 * sysdeps/i386/fpu/libm-test-ulps: Update.
62201
62202 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
62203
62204 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
62205 printf output with newline.
62206
62207 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
62208
62209 [BZ #14865]
62210 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62211 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
62212 -z nodlopen, -z initfirst and -z execstack support.
62213 * configure: Regenerated.
62214
62215 * elf/elf.h (DF_1_NODIRECT): New macro.
62216 (DF_1_IGNMULDEF): Likewise.
62217 (DF_1_NOKSYMS): Likewise.
62218 (DF_1_NOHDR): Likewise.
62219 (DF_1_EDITED): Likewise.
62220 (DF_1_NORELOC): Likewise.
62221 (DF_1_SYMINTPOSE): Likewise.
62222 (DF_1_GLOBAUDIT): Likewise.
62223 (DF_1_SINGLETON): Likewise.
62224 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
62225 DT_1_SUPPORTED_MASK bits.
62226 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
62227
62228 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
62229
62230 * sysdeps/unix/make-syscalls.sh: Document prefixes.
62231
62232 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
62233
62234 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
62235 macro.
62236
62237 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
62238 (sendmmsg): Move declarations...
62239 * socket/sys/socket.h: ... here.
62240 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
62241 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
62242 include it from...
62243 * socket/recvmmsg.c: ... this new file.
62244 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
62245 (sendmmsg): Rename to __sendmmsg, create weak alias and make
62246 definition of __sendmmsg hidden.
62247 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
62248 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
62249 Move ENOSYS stub into and include it from...
62250 * socket/sendmmsg.c: ... this new file.
62251 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
62252 (sysdep_routines): Move recvmmsg and sendmmsg...
62253 * socket/Makefile (routines): ... here.
62254 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
62255 (GLIBC_PRIVATE): Add __sendmmsg.
62256 * include/sys/socket.h (__sendmmsg): Add declarations.
62257 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
62258 sendmmsg.
62259
62260 2012-11-20 Joseph Myers <joseph@codesourcery.com>
62261
62262 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
62263 variable I1 with __attribute__ ((unused)).
62264 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62265
62266 2012-11-19 Joseph Myers <joseph@codesourcery.com>
62267
62268 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
62269 DUMMY variables with __attribute__ ((unused)).
62270
62271 * bits/byteswap.h: Include <bits/types.h>.
62272 (__bswap_64): Use __uint64_t instead of unsigned long long int.
62273
62274 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
62275
62276 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
62277 string_t. Do not manually set errno.
62278 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
62279 length with __strnlen. Make sure to both set errno and return it on
62280 failure.
62281
62282 2012-11-19 David S. Miller <davem@davemloft.net>
62283
62284 With help from Joseph Myers.
62285 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
62286 very large arguments properly.
62287 * math/libm-test.inc (atan_test): New tests.
62288 (atan2_test): New tests.
62289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62291
62292 2012-11-19 Joseph Myers <joseph@codesourcery.com>
62293
62294 [BZ #14856]
62295 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
62296 Define to 3.
62297
62298 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
62299 [POSIX] (EADDRNOTAVAIL): Likewise.
62300 [POSIX] (EAFNOSUPPORT): Likewise.
62301 [POSIX] (EALREADY): Likewise.
62302 [POSIX] (ECONNABORTED): Likewise.
62303 [POSIX] (ECONNREFUSED): Likewise.
62304 [POSIX] (ECONNRESET): Likewise.
62305 [POSIX] (EDESTADDRREQ): Likewise.
62306 [POSIX] (EDQUOT): Likewise.
62307 [POSIX] (EHOSTUNREACH): Likewise.
62308 [POSIX] (EIDRM): Likewise.
62309 [POSIX] (EISCONN): Likewise.
62310 [POSIX] (ELOOP): Likewise.
62311 [POSIX] (EMULTIHOP): Likewise.
62312 [POSIX] (ENETDOWN): Likewise.
62313 [POSIX] (ENETUNREACH): Likewise.
62314 [POSIX] (ENOBUFS): Likewise.
62315 [POSIX] (ENODATA): Likewise.
62316 [POSIX] (ENOLINK): Likewise.
62317 [POSIX] (ENOMSG): Likewise.
62318 [POSIX] (ENOPROTOOPT): Likewise.
62319 [POSIX] (ENOSR): Likewise.
62320 [POSIX] (ENOSTR): Likewise.
62321 [POSIX] (ENOTCONN): Likewise.
62322 [POSIX] (ENOTSOCK): Likewise.
62323 [POSIX] (EOPNOTSUPP): Likewise.
62324 [POSIX] (EOVERFLOW): Likewise.
62325 [POSIX] (EPROTO): Likewise.
62326 [POSIX] (EPROTONOSUPPORT): Likewise.
62327 [POSIX] (EPROTOTYPE): Likewise.
62328 [POSIX] (ESTALE): Likewise.
62329 [POSIX] (ETIME): Likewise.
62330 [POSIX] (ETXTBSY): Likewise.
62331 [POSIX] (EWOULDBLOCK): Likewise.
62332 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
62333 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
62334 [POSIX] (SEEK_CUR): Likewise.
62335 [POSIX] (SEEK_END): Likewise.
62336 [POSIX || UNIX98] (mode_t): Do not require.
62337 [POSIX] (off_t): Likewise.
62338 [POSIX] (pid_t): Likewise.
62339 [POSIX] (sys/stat.h): Do not allow header.
62340 [POSIX] (unistd.h): Likewise.
62341 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
62342 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
62343 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
62344 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
62345 require.
62346 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
62347 sigevent): Specify elements.
62348 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
62349 entry.
62350 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
62351 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
62352
62353 * conform/data/cpio.h-data [POSIX]: Disable whole file.
62354 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
62355 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
62356 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
62357 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
62358 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
62359 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
62360 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
62361 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
62362 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
62363 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
62364 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
62365 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
62366 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
62367 Likewise.
62368 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
62369 Likewise.
62370 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
62371 Likewise.
62372 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
62373 Likewise.
62374 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
62375 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
62376 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
62377 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
62378 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
62379 Specify lower bound on value.
62380 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
62381 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
62382 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
62383 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
62384 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
62385 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
62386 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
62387 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
62388 value.
62389 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
62390 as optional.
62391 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
62392 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
62393 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
62394 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
62395 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
62396 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
62397 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
62398 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
62399 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
62400 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
62401 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
62402 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
62403 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
62404 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
62405 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
62406 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
62407 entry.
62408 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
62409 optional.
62410 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
62411 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
62412 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
62413 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
62414 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
62415 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
62416 Likewise.
62417 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
62418 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
62419 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
62420 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
62421 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
62422 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
62423 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
62424 as optional.
62425 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
62426 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
62427 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
62428 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
62429 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
62430 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
62431 specify as optional.
62432 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
62433 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
62434 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
62435 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
62436 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
62437 [XPG3] (NL_LANGMAX): Likewise.
62438 [POSIX || XPG3] (NL_MSGMAX): Likewise.
62439 [POSIX || XPG3] (NL_NMAX): Likewise.
62440 [POSIX || XPG3] (NL_SETMAX): Likewise.
62441 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
62442 [XPG3] (NZERO): Likewise.
62443 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
62444 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
62445 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
62446 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
62447 (REG_ERANGE): Expect.
62448 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
62449 optional-constant.
62450 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
62451 Use (void) in prototype.
62452 [POSIX] (*_t): Allow.
62453 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
62454 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
62455 (WRDE_BADVAL): Expect.
62456
62457 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
62458 expect.
62459 [XPG3 || XPG4] (O_RSYNC): Likewise.
62460 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
62461 Likewise.
62462 [XPG3 || XPG4] (pthread_sigmask): Likewise.
62463 [XPG3 || XPG4] (sigqueue): Likewise.
62464 [XPG3 || XPG4] (sigtimedwait): Likewise.
62465 [XPG3 || XPG4] (sigwaitinfo): Likewise.
62466 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
62467 [XPG3 || XPG4] (vsnprintf): Likewise.
62468 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
62469 Likewise.
62470 [XPG3 || XPG4] (blksize_t): Likewise.
62471 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
62472 Likewise.
62473 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
62474 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
62475 [XPG3 || XPG4] (struct itimerspec): Likewise.
62476 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
62477 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
62478 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
62479 [XPG3 || XPG4] (clockid_t): Likewise.
62480 [XPG3 || XPG4] (timer_t): Likewise.
62481 [XPG3 || XPG4] (clock_getres): Likewise.
62482 [XPG3 || XPG4] (clock_gettime): Likewise.
62483 [XPG3 || XPG4] (clock_settime): Likewise.
62484 [XPG3 || XPG4] (nanosleep): Likewise.
62485 [XPG3 || XPG4] (timer_create): Likewise.
62486 [XPG3 || XPG4] (timer_delete): Likewise.
62487 [XPG3 || XPG4] (timer_gettime): Likewise.
62488 [XPG3 || XPG4] (timer_getoverrun): Likewise.
62489 [XPG3 || XPG4] (timer_settime): Likewise.
62490 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
62491 [XPG3 || XPG4] (getlogin_r): Likewise.
62492 [XPG3 || XPG4] (pread): Likewise.
62493 [XPG3 || XPG4] (pthread_atfork): Likewise.
62494 [XPG3 || XPG4] (pwrite): Likewise.
62495
62496 [BZ #14835]
62497 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
62498 <bits/siginfo.h>.
62499
62500 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
62501
62502 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
62503 finalizing MALLSTREAM.
62504
62505 * sysdeps/mach/hurd/syncfs.c: New file.
62506
62507 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
62508
62509 [BZ #14719]
62510 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
62511 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
62512 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
62513 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
62514 (_nss_dns_gethostbyname4_r): Likewise.
62515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
62516 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
62517
62518 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
62519
62520 [BZ #13763]
62521 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
62522
62523 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
62524
62525 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
62526 * elf/cache.c (print_entry): Print ",AArch64" for
62527 FLAG_AARCH64_LIB64
62528
62529 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
62530 * elf/cache.c (print_entry): Print ",hard-float" for
62531 FLAG_ARM_LIBHF.
62532
62533 2012-11-18 David S. Miller <davem@davemloft.net>
62534
62535 With help from Joseph Myers.
62536 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
62537 cutoff to 2**-13.
62538 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
62539 cutoff to 2**-25.
62540 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
62541 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
62542 small.
62543 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
62544 * math/libm-test.inc (y0_test): New tests.
62545 (y1_test): New tests.
62546 * sysdeps/i386/fpu/libm-test-ulps: Update.
62547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62549
62550 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
62551
62552 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
62553 64-bit targets.
62554 * configure: Regenerated.
62555
62556 2012-11-17 David S. Miller <davem@davemloft.net>
62557
62558 [BZ #14811]
62559 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
62560 nonzero exponents with absolute value below 0x1p-128 to +/-
62561 0x1p-128.
62562
62563 2012-11-17 Joseph Myers <joseph@codesourcery.com>
62564
62565 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
62566
62567 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
62568
62569 * posix/getconf-speclist.c: New file.
62570 * posix/posix-envs.def: Likewise.
62571 * posix/confstr.c (START_ENV_GROUP): New macro.
62572 (END_ENV_GROUP): Likewise.
62573 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62574 (KNOWN_PRESENT_ENV_STRING): Likewise.
62575 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62576 (UNKNOWN_ENVIRONMENT): Likewise.
62577 (confstr): Include posix-envs.def instead of handling
62578 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
62579 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
62580 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
62581 (END_ENV_GROUP): Likewise.
62582 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62583 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62584 (UNKNOWN_ENVIRONMENT): Likewise.
62585 (__sysconf): Include posix-envs.def instead of handling associated
62586 cases directly here.
62587 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
62588 preprocessing getconf-speclist.c rather than running getconf or
62589 generating empty file.
62590
62591 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
62592
62593 * scripts/check-local-headers.sh: Ignore 'mach' headers.
62594
62595 2012-11-16 Andrej Lajovic <natrij@gmail.com>
62596
62597 [BZ #14672]
62598 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
62599
62600 2012-11-16 David S. Miller <davem@davemloft.net>
62601
62602 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
62603 smaller than LDBL_EPSILON/2.0L, just return xm1.
62604
62605 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
62606
62607 * elf/tst-array1.c (init): Set constructor priority to 1000.
62608 (fini): Set destructor priority to 1000.
62609 * elf/tst-array2dep.c: Likewise.
62610
62611 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
62612
62613 [BZ #11741]
62614 * libio/fileops.c (_IO_new_file_write): Correctly return error.
62615 (_IO_new_file_xsputn): Also return EOF if none of the input
62616 data was written when overflow failed.
62617 * libio/iopadn.c (_IO_padn): Likewise.
62618 * libio/iowpadn.c (_IO_wpadn): Likewise.
62619 * stdio-common/tst-put-error.c: Add copyright notice.
62620 (do_test): Add case for printing padded string.
62621 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
62622 _IO_padn returned error.
62623 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
62624 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
62625 return EOF.
62626
62627 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
62628
62629 * libio/libioP.h: Add comment note that the references to C++
62630 bits are now obsolete.
62631
62632 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62633
62634 * math/libm-test.inc (check_complex): Use asprintf.
62635
62636 2012-11-14 Joseph Myers <joseph@codesourcery.com>
62637
62638 * debug/pcprofiledump.c (print_version): Update copyright year.
62639 * malloc/memusagestat.c (print_version): Likewise.
62640
62641 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
62642
62643 [BZ #14831]
62644 * elf/Makefile (tests): Add tst-audit8.
62645 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
62646 ($(objpfx)tst-audit8.out): New target.
62647 (tst-audit8-ENV): New variable.
62648 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
62649 audit if l_reloc_result is NULL.
62650 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
62651 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
62652 * elf/tst-audit8.c: New file.
62653
62654 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62655
62656 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
62657 * misc/Makefile (CFLAGS-select.c): Define.
62658 * posix/Makefile (CFLAGS-pause.c): Define.
62659
62660 2012-11-13 David S. Miller <davem@davemloft.net>
62661
62662 * crypt/Makefile: Move test targets after toplevel Rules
62663 inclusion. Grab any necessary sysdep routines when linking.
62664 * crypt/md5.c (md5_process_block): Remove define, we will always
62665 name it __md5_process_block.
62666 (md5_finish_ctx): Update md5_process_block call.
62667 (md5_stream): Likewise.
62668 (md5_process_bytes): Likewise.
62669 (md5_process_block): Rename to __md5_process_block and move to ...
62670 * crypt/md5-block.c: ... here.
62671 * crypt/sha256.c (sha256_process_block): Move to ...
62672 * crypt/sha256-block.c: ... here.
62673 * crypt/sha512.c (sha512_process_block): Move to ...
62674 * crypt/sha512-block.c: ... here.
62675 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
62676 path.
62677 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
62678 * sysdeps/sparc/sparc64/multiarch/Makefile
62679 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
62680 crypt subdir.
62681 (localedef-aux): Add md5 crypto assembler when in locale subdir.
62682 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
62683 multiarch changes.
62684 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
62685 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
62686 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
62687 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
62688 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
62689 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
62690 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
62691 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
62692 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
62693 file.
62694 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
62695 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
62696 file.
62697 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
62698
62699 2012-11-13 Joseph Myers <joseph@codesourcery.com>
62700
62701 * timezone/tzselect.ksh: Update from tzcode git revision
62702 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
62703 * timezone/zdump.c: Likewise.
62704 * timezone/zic.c: Likewise.
62705 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
62706 in TZVERSION setting, not $(PKGVERSION).
62707 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
62708 REPORT_BUGS_TO settings.
62709
62710 [BZ #14838]
62711 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
62712 macro.
62713
62714 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62715
62716 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
62717 detection to immediately after _FP_ROUND().
62718 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
62719 bits are 0.
62720
62721 2012-11-11 David S. Miller <davem@davemloft.net>
62722
62723 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
62724 inttypes.h
62725 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
62726 __close rather than their public counterparts.
62727
62728 2012-11-10 Joseph Myers <joseph@codesourcery.com>
62729
62730 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
62731 file.
62732 [UNIX98] (sem_timedwait): Do not expect.
62733 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
62734 [XPG4 || UNIX98] (sockatmark): Do not expect.
62735 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
62736 (clock_getcpuclockid): Do not expect.
62737 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
62738 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
62739 Do not expect.
62740 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
62741 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
62742 [UNIX98] (vwscanf): Likewise.
62743 [UNIX98] (vswscanf): Likewise.
62744
62745 2012-11-09 Joseph Myers <joseph@codesourcery.com>
62746
62747 * timezone/version.h: Remove file.
62748 * timezone/README: Do not refer to version.h.
62749 * timezone/Makefile ($(objpfx)zic.o): New dependency on
62750 $(objpfx)version.h.
62751 ($(objpfx)zdump.o): Likewise.
62752 ($(objpfx)version.h): New target.
62753
62754 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
62755 2012i.
62756 * timezone/README: Don't mention modification to tzselect.ksh.
62757 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
62758 work on unmodified tzselect.ksh. Substitute version numbers in
62759 tzselect.ksh.
62760
62761 * Makefile (format-me): Remove.
62762 (INSTALL): Adjust indentation. Use commands directly instead of
62763 using $(format-me).
62764
62765 * aclocal.m4 (ACX_PKGVERSION): New macro.
62766 (ACX_BUGURL): Likewise.
62767 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
62768 (PKGVERSION): New AC_DEFINE_UNQUOTED.
62769 (REPORT_BUGS_TO): Likewise.
62770 * configure: Regenerated.
62771 * config.h.in (PKGVERSION): New macro.
62772 (REPORT_BUGS_TO): Likewise.
62773 * config.make.in (PKGVERSION): New variable.
62774 (PKGVERSION_TEXI): Likewise.
62775 (REPORT_BUGS_TO): Likewise.
62776 (REPORT_BUGS_TEXI): Likewise.
62777 * Makefile (format-me): Use -I$(common-objpfx)manual.
62778 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
62779 ($(common-objpfx)manual/%): New target.
62780 (manual/%): Remove target.
62781 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
62782 (print_version): Use PKGVERSION.
62783 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
62784 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
62785 and REPORT_BUGS_TO.
62786 ($(objpfx)xtrace): Likewise.
62787 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
62788 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
62789 (print_version): Use PKGVERSION.
62790 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
62791 (do_version): Use PKGVERSION.
62792 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
62793 REPORT_BUGS_TO.
62794 (common-ldd-rewrite): Likewise.
62795 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
62796 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
62797 (print_version): Use PKGVERSION.
62798 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
62799 * elf/pldd.c (argp_program_bug_address): Remove variable.
62800 (more_help): New function.
62801 (argp): Use more_help.
62802 (print_version): Use PKGVERSION.
62803 * elf/sln.c (main): Use PKGVERSION.
62804 (usage): Use REPORT_BUGS_TO.
62805 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
62806 (top level): Use PKGVERSION.
62807 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
62808 (print_version): Use PKGVERSION.
62809 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
62810 (print_version): Use PKGVERSION.
62811 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
62812 (print_version): Use PKGVERSION.
62813 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
62814 (print_version): Use PKGVERSION.
62815 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
62816 (print_version): Use PKGVERSION.
62817 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
62818 (print_version): Use PKGVERSION.
62819 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
62820 and BUGURL.
62821 ($(objpfx)memusage): Likewise.
62822 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
62823 (do_version): Use PKGVERSION.
62824 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
62825 (print_version): Use PKGVERSION.
62826 * malloc/mtrace.pl ($PACKAGE): Remove variable.
62827 ($PKGVERSION): New variable.
62828 ($REPORT_BUGS_TO): Likewise.
62829 (usage): Use $REPORT_BUGS_TO.
62830 (top level): Use $PKGVERSION.
62831 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
62832 ($(objpfx)pkgvers.texi): New rule.
62833 ($(objpfx)stamp-pkgvers): Likewise.
62834 * manual/install.texi: Include pkgvers.texi.
62835 (--with-pkgversion): Document new configure option.
62836 (--with-bugurl): Likewise.
62837 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
62838 than necessarily for this particular distribution. Use
62839 REPORT_BUGS_TO for where to report bugs.
62840 * INSTALL: Regenerated.
62841 * manual/libc.texinfo: Include pkgvers.texi.
62842 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
62843 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
62844 (print_version): Use PKGVERSION.
62845 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
62846 (print_version): Use PKGVERSION.
62847 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
62848 (print_version): Use PKGVERSION.
62849 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
62850 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
62851 macro.
62852 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
62853 (print_version): Use PKGVERSION.
62854 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
62855 (print_version): Use PKGVERSION.
62856 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
62857 and PKGVERSION.
62858
62859 * timezone/checktab.awk: Update from tzcode 2012i.
62860 * timezone/ialloc.c: Likewise.
62861 * timezone/private.h: Likewise.
62862 * timezone/scheck.c: Likewise.
62863 * timezone/tzfile.h: Likewise.
62864 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
62865 (TZVERSION): Hardcode tzcode version number.
62866 * timezone/zdump.c: Update from tzcode 2012i.
62867 * timezone/zic.c: Likewise.
62868 * timezone/version.h: New file.
62869 * timezone/README: Describe version.h. Update upstream location.
62870
62871 [BZ #14824]
62872 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
62873 (mktemp): Enable declaration.
62874 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
62875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
62876 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
62877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
62878 Likewise.
62879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
62880 Likewise.
62881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
62882 Likewise.
62883 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
62884 Likewise.
62885 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
62886 Likewise.
62887 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
62888 Likewise.
62889
62890 [BZ #14821]
62891 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
62892 offset in buffer as u_int32_t not u_long. Consistently use memcpy
62893 for copies of such integer values.
62894 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62895 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62896
62897 2012-11-09 Andreas Jaeger <aj@suse.de>
62898
62899 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
62900 definitions and declarations that are provided by
62901 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62902
62903 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62904
62905 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
62906 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
62907 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
62908 definition.
62909
62910 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62911
62912 * elf/elf.h: Update comment before AArch64 relocations.
62913
62914 2012-11-07 David S. Miller <davem@davemloft.net>
62915
62916 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
62917 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62918 (__start_context): Declare.
62919 (__makecontext_ret): Delete.
62920 (__makecontext): Hook up __start_context instead of
62921 __makecontext_ret.
62922 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
62923 (sysdep_routines): Add __start_context when in stdlib.
62924
62925 2012-11-07 Joseph Myers <joseph@codesourcery.com>
62926
62927 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
62928 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
62929 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
62930 hardcoded "nm".
62931 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
62932 (READELF): New variable. Use it instead of hardcoded "readelf".
62933
62934 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
62935
62936 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
62937 * sysdeps/x86/Makefile: Here.
62938 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
62939 * sysdeps/x86/tst-xmmymm.sh: This.
62940
62941 2012-11-07 Joseph Myers <joseph@codesourcery.com>
62942
62943 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
62944 expectations.
62945 [UNIX98] (pthread_barrier_t): Do not expect.
62946 [UNIX98] (pthread_barrierattr_t): Likewise.
62947 [UNIX98] (pthread_spinlock_t): Likewise.
62948 [UNIX98] (pthread_barrier_destroy): Likewise.
62949 [UNIX98] (pthread_barrier_init): Likewise.
62950 [UNIX98] (pthread_barrier_wait): Likewise.
62951 [UNIX98] (pthread_barrierattr_destroy): Likewise.
62952 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
62953 [UNIX98] (pthread_barrierattr_init): Likewise.
62954 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
62955 [UNIX98] (pthread_getcpuclockid): Likewise.
62956 [UNIX98] (pthread_mutex_timedlock): Likewise.
62957 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
62958 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
62959 [UNIX98] (pthread_sigmask): Likewise.
62960 [UNIX98] (pthread_spin_destroy): Likewise.
62961 [UNIX98] (pthread_spin_init): Likewise.
62962 [UNIX98] (pthread_spin_lock): Likewise.
62963 [UNIX98] (pthread_spin_trylock): Likewise.
62964 [UNIX98] (pthread_spin_unlock): Likewise.
62965 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
62966 Do not expect.
62967 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
62968 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
62969 [XPG3 || XPG4] (pthread_cond_t): Likewise.
62970 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
62971 [XPG3 || XPG4] (pthread_key_t): Likewise.
62972 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
62973 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
62974 [XPG3 || XPG4] (pthread_once_t): Likewise.
62975 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
62976 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
62977 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
62978 [XPG3 || XPG4] (pthread_t): Likewise.
62979
62980 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
62981 not expect.
62982 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
62983
62984 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
62985 Change function return type to int.
62986
62987 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
62988 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
62989 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
62990 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
62991 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
62992 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
62993 [!POSIX] (posix_madvise): Likewise.
62994 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
62995 && !UNIX98].
62996 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
62997 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
62998 (mode_t): Likewise.
62999 (posix_mem_offset): Likewise.
63000 (posix_typed_mem_get_info): Likewise.
63001 (posix_typed_mem_open): Likewise.
63002
63003 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63004 Change condition to [XOPEN2K8].
63005
63006 * conform/conformtest.pl: Preprocess allow-header data with -x c
63007 instead of from stdin.
63008 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63009 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63010 [C99-based standards] (cerfc): Likewise.
63011 [C99-based standards] (cexp2): Likewise.
63012 [C99-based standards] (cexpm1): Likewise.
63013 [C99-based standards] (clog10): Likewise.
63014 [C99-based standards] (clog1p): Likewise.
63015 [C99-based standards] (clog2): Likewise.
63016 [C99-based standards] (clgamma): Likewise.
63017 [C99-based standards] (ctgamma): Likewise.
63018 [C99-based standards] (cerff): Likewise.
63019 [C99-based standards] (cerfcf): Likewise.
63020 [C99-based standards] (cexp2f): Likewise.
63021 [C99-based standards] (cexpm1f): Likewise.
63022 [C99-based standards] (clog10f): Likewise.
63023 [C99-based standards] (clog1pf): Likewise.
63024 [C99-based standards] (clog2f): Likewise.
63025 [C99-based standards] (clgammaf): Likewise.
63026 [C99-based standards] (ctgammaf): Likewise.
63027 [C99-based standards] (cerfl): Likewise.
63028 [C99-based standards] (cerfcl): Likewise.
63029 [C99-based standards] (cexp2l): Likewise.
63030 [C99-based standards] (cexpm1l): Likewise.
63031 [C99-based standards] (clog10l): Likewise.
63032 [C99-based standards] (clog1pl): Likewise.
63033 [C99-based standards] (clog2l): Likewise.
63034 [C99-based standards] (clgammal): Likewise.
63035 [C99-based standards] (ctgammal): Likewise.
63036 * conform/data/inttypes.h-data [C99-based standards]: Include
63037 stdint.h-data. Remove all expectations for stdint.h contents.
63038 [C99-based standards] (PRI*): Do not allow.
63039 [C99-based standards] (SCN*): Likewise.
63040 [C99-based standards] (*_t): Likewise.
63041 [C99-based-standards] (PRId8): Expect macro.
63042 [C99-based-standards] (PRIi8): Likewise.
63043 [C99-based-standards] (PRIo8): Likewise.
63044 [C99-based-standards] (PRIu8): Likewise.
63045 [C99-based-standards] (PRIx8): Likewise.
63046 [C99-based-standards] (PRIX8): Likewise.
63047 [C99-based-standards] (SCNd8): Likewise.
63048 [C99-based-standards] (SCNi8): Likewise.
63049 [C99-based-standards] (SCNo8): Likewise.
63050 [C99-based-standards] (SCNu8): Likewise.
63051 [C99-based-standards] (SCNx8): Likewise.
63052 [C99-based-standards] (PRIdLEAST8): Likewise.
63053 [C99-based-standards] (PRIiLEAST8): Likewise.
63054 [C99-based-standards] (PRIoLEAST8): Likewise.
63055 [C99-based-standards] (PRIuLEAST8): Likewise.
63056 [C99-based-standards] (PRIxLEAST8): Likewise.
63057 [C99-based-standards] (PRIXLEAST8): Likewise.
63058 [C99-based-standards] (SCNdLEAST8): Likewise.
63059 [C99-based-standards] (SCNiLEAST8): Likewise.
63060 [C99-based-standards] (SCNoLEAST8): Likewise.
63061 [C99-based-standards] (SCNuLEAST8): Likewise.
63062 [C99-based-standards] (SCNxLEAST8): Likewise.
63063 [C99-based-standards] (PRIdFAST8): Likewise.
63064 [C99-based-standards] (PRIiFAST8): Likewise.
63065 [C99-based-standards] (PRIoFAST8): Likewise.
63066 [C99-based-standards] (PRIuFAST8): Likewise.
63067 [C99-based-standards] (PRIxFAST8): Likewise.
63068 [C99-based-standards] (PRIXFAST8): Likewise.
63069 [C99-based-standards] (SCNdFAST8): Likewise.
63070 [C99-based-standards] (SCNiFAST8): Likewise.
63071 [C99-based-standards] (SCNoFAST8): Likewise.
63072 [C99-based-standards] (SCNuFAST8): Likewise.
63073 [C99-based-standards] (SCNxFAST8): Likewise.
63074 [C99-based-standards] (PRId16): Likewise.
63075 [C99-based-standards] (PRIi16): Likewise.
63076 [C99-based-standards] (PRIo16): Likewise.
63077 [C99-based-standards] (PRIu16): Likewise.
63078 [C99-based-standards] (PRIx16): Likewise.
63079 [C99-based-standards] (PRIX16): Likewise.
63080 [C99-based-standards] (SCNd16): Likewise.
63081 [C99-based-standards] (SCNi16): Likewise.
63082 [C99-based-standards] (SCNo16): Likewise.
63083 [C99-based-standards] (SCNu16): Likewise.
63084 [C99-based-standards] (SCNx16): Likewise.
63085 [C99-based-standards] (PRIdLEAST16): Likewise.
63086 [C99-based-standards] (PRIiLEAST16): Likewise.
63087 [C99-based-standards] (PRIoLEAST16): Likewise.
63088 [C99-based-standards] (PRIuLEAST16): Likewise.
63089 [C99-based-standards] (PRIxLEAST16): Likewise.
63090 [C99-based-standards] (PRIXLEAST16): Likewise.
63091 [C99-based-standards] (SCNdLEAST16): Likewise.
63092 [C99-based-standards] (SCNiLEAST16): Likewise.
63093 [C99-based-standards] (SCNoLEAST16): Likewise.
63094 [C99-based-standards] (SCNuLEAST16): Likewise.
63095 [C99-based-standards] (SCNxLEAST16): Likewise.
63096 [C99-based-standards] (PRIdFAST16): Likewise.
63097 [C99-based-standards] (PRIiFAST16): Likewise.
63098 [C99-based-standards] (PRIoFAST16): Likewise.
63099 [C99-based-standards] (PRIuFAST16): Likewise.
63100 [C99-based-standards] (PRIxFAST16): Likewise.
63101 [C99-based-standards] (PRIXFAST16): Likewise.
63102 [C99-based-standards] (SCNdFAST16): Likewise.
63103 [C99-based-standards] (SCNiFAST16): Likewise.
63104 [C99-based-standards] (SCNoFAST16): Likewise.
63105 [C99-based-standards] (SCNuFAST16): Likewise.
63106 [C99-based-standards] (SCNxFAST16): Likewise.
63107 [C99-based-standards] (PRId32): Likewise.
63108 [C99-based-standards] (PRIi32): Likewise.
63109 [C99-based-standards] (PRIo32): Likewise.
63110 [C99-based-standards] (PRIu32): Likewise.
63111 [C99-based-standards] (PRIx32): Likewise.
63112 [C99-based-standards] (PRIX32): Likewise.
63113 [C99-based-standards] (SCNd32): Likewise.
63114 [C99-based-standards] (SCNi32): Likewise.
63115 [C99-based-standards] (SCNo32): Likewise.
63116 [C99-based-standards] (SCNu32): Likewise.
63117 [C99-based-standards] (SCNx32): Likewise.
63118 [C99-based-standards] (PRIdLEAST32): Likewise.
63119 [C99-based-standards] (PRIiLEAST32): Likewise.
63120 [C99-based-standards] (PRIoLEAST32): Likewise.
63121 [C99-based-standards] (PRIuLEAST32): Likewise.
63122 [C99-based-standards] (PRIxLEAST32): Likewise.
63123 [C99-based-standards] (PRIXLEAST32): Likewise.
63124 [C99-based-standards] (SCNdLEAST32): Likewise.
63125 [C99-based-standards] (SCNiLEAST32): Likewise.
63126 [C99-based-standards] (SCNoLEAST32): Likewise.
63127 [C99-based-standards] (SCNuLEAST32): Likewise.
63128 [C99-based-standards] (SCNxLEAST32): Likewise.
63129 [C99-based-standards] (PRIdFAST32): Likewise.
63130 [C99-based-standards] (PRIiFAST32): Likewise.
63131 [C99-based-standards] (PRIoFAST32): Likewise.
63132 [C99-based-standards] (PRIuFAST32): Likewise.
63133 [C99-based-standards] (PRIxFAST32): Likewise.
63134 [C99-based-standards] (PRIXFAST32): Likewise.
63135 [C99-based-standards] (SCNdFAST32): Likewise.
63136 [C99-based-standards] (SCNiFAST32): Likewise.
63137 [C99-based-standards] (SCNoFAST32): Likewise.
63138 [C99-based-standards] (SCNuFAST32): Likewise.
63139 [C99-based-standards] (SCNxFAST32): Likewise.
63140 [C99-based-standards] (PRId64): Likewise.
63141 [C99-based-standards] (PRIi64): Likewise.
63142 [C99-based-standards] (PRIo64): Likewise.
63143 [C99-based-standards] (PRIu64): Likewise.
63144 [C99-based-standards] (PRIx64): Likewise.
63145 [C99-based-standards] (PRIX64): Likewise.
63146 [C99-based-standards] (SCNd64): Likewise.
63147 [C99-based-standards] (SCNi64): Likewise.
63148 [C99-based-standards] (SCNo64): Likewise.
63149 [C99-based-standards] (SCNu64): Likewise.
63150 [C99-based-standards] (SCNx64): Likewise.
63151 [C99-based-standards] (PRIdLEAST64): Likewise.
63152 [C99-based-standards] (PRIiLEAST64): Likewise.
63153 [C99-based-standards] (PRIoLEAST64): Likewise.
63154 [C99-based-standards] (PRIuLEAST64): Likewise.
63155 [C99-based-standards] (PRIxLEAST64): Likewise.
63156 [C99-based-standards] (PRIXLEAST64): Likewise.
63157 [C99-based-standards] (SCNdLEAST64): Likewise.
63158 [C99-based-standards] (SCNiLEAST64): Likewise.
63159 [C99-based-standards] (SCNoLEAST64): Likewise.
63160 [C99-based-standards] (SCNuLEAST64): Likewise.
63161 [C99-based-standards] (SCNxLEAST64): Likewise.
63162 [C99-based-standards] (PRIdFAST64): Likewise.
63163 [C99-based-standards] (PRIiFAST64): Likewise.
63164 [C99-based-standards] (PRIoFAST64): Likewise.
63165 [C99-based-standards] (PRIuFAST64): Likewise.
63166 [C99-based-standards] (PRIxFAST64): Likewise.
63167 [C99-based-standards] (PRIXFAST64): Likewise.
63168 [C99-based-standards] (SCNdFAST64): Likewise.
63169 [C99-based-standards] (SCNiFAST64): Likewise.
63170 [C99-based-standards] (SCNoFAST64): Likewise.
63171 [C99-based-standards] (SCNuFAST64): Likewise.
63172 [C99-based-standards] (SCNxFAST64): Likewise.
63173 [C99-based-standards] (PRIdMAX): Likewise.
63174 [C99-based-standards] (PRIiMAX): Likewise.
63175 [C99-based-standards] (PRIoMAX): Likewise.
63176 [C99-based-standards] (PRIuMAX): Likewise.
63177 [C99-based-standards] (PRIxMAX): Likewise.
63178 [C99-based-standards] (PRIXMAX): Likewise.
63179 [C99-based-standards] (SCNdMAX): Likewise.
63180 [C99-based-standards] (SCNiMAX): Likewise.
63181 [C99-based-standards] (SCNoMAX): Likewise.
63182 [C99-based-standards] (SCNuMAX): Likewise.
63183 [C99-based-standards] (SCNxMAX): Likewise.
63184 [C99-based-standards] (PRIdPTR): Likewise.
63185 [C99-based-standards] (PRIiPTR): Likewise.
63186 [C99-based-standards] (PRIoPTR): Likewise.
63187 [C99-based-standards] (PRIuPTR): Likewise.
63188 [C99-based-standards] (PRIxPTR): Likewise.
63189 [C99-based-standards] (PRIXPTR): Likewise.
63190 [C99-based-standards] (SCNdPTR): Likewise.
63191 [C99-based-standards] (SCNiPTR): Likewise.
63192 [C99-based-standards] (SCNoPTR): Likewise.
63193 [C99-based-standards] (SCNuPTR): Likewise.
63194 [C99-based-standards] (SCNxPTR): Likewise.
63195 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
63196 allow.
63197 * conform/data/stdint.h-data: Update comments to clarify
63198 requirements.
63199 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
63200 type.
63201 [C99-based standards] (INT8_MAX): Likewise.
63202 [C99-based standards] (INT16_MIN): Likewise.
63203 [C99-based standards] (INT16_MAX): Likewise.
63204 [C99-based standards] (INT32_MIN): Likewise.
63205 [C99-based standards] (INT32_MAX): Likewise.
63206 [C99-based standards] (INT64_MIN): Likewise.
63207 [C99-based standards] (INT64_MAX): Likewise.
63208 [C99-based standards] (UINT8_MAX): Likewise.
63209 [C99-based standards] (UINT16_MAX): Likewise.
63210 [C99-based standards] (UINT32_MAX): Likewise.
63211 [C99-based standards] (UINT64_MAX): Likewise.
63212 [C99-based standards] (INT_LEAST8_MIN): Likewise.
63213 [C99-based standards] (INT_LEAST8_MAX): Likewise.
63214 [C99-based standards] (INT_LEAST16_MIN): Likewise.
63215 [C99-based standards] (INT_LEAST16_MAX): Likewise.
63216 [C99-based standards] (INT_LEAST32_MIN): Likewise.
63217 [C99-based standards] (INT_LEAST32_MAX): Likewise.
63218 [C99-based standards] (INT_LEAST64_MIN): Likewise.
63219 [C99-based standards] (INT_LEAST64_MAX): Likewise.
63220 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
63221 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
63222 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
63223 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
63224 [C99-based standards] (INT_FAST8_MIN): Likewise.
63225 [C99-based standards] (INT_FAST8_MAX): Likewise.
63226 [C99-based standards] (INT_FAST16_MIN): Likewise.
63227 [C99-based standards] (INT_FAST16_MAX): Likewise.
63228 [C99-based standards] (INT_FAST32_MIN): Likewise.
63229 [C99-based standards] (INT_FAST32_MAX): Likewise.
63230 [C99-based standards] (INT_FAST64_MIN): Likewise.
63231 [C99-based standards] (INT_FAST64_MAX): Likewise.
63232 [C99-based standards] (UINT_FAST8_MAX): Likewise.
63233 [C99-based standards] (UINT_FAST16_MAX): Likewise.
63234 [C99-based standards] (UINT_FAST32_MAX): Likewise.
63235 [C99-based standards] (UINT_FAST64_MAX): Likewise.
63236 [C99-based standards] (INTPTR_MIN): Likewise.
63237 [C99-based standards] (INTPTR_MAX): Likewise.
63238 [C99-based standards] (UINTPTR_MAX): Likewise.
63239 [C99-based standards] (INTMAX_MIN): Likewise.
63240 [C99-based standards] (INTMAX_MAX): Likewise.
63241 [C99-based standards] (UINTMAX_MAX): Likewise.
63242 [C99-based standards] (PTRDIFF_MIN): Likewise.
63243 [C99-based standards] (PTRDIFF_MAX): Likewise.
63244 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
63245 [C99-based standards] (SIZE_MAX): Likewise.
63246 [C99-based standards] (WCHAR_MAX): Likewise.
63247 [C99-based standards] (WINT_MAX): Likewise.
63248 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
63249 constraint on value.
63250 [C99-based standards] (WCHAR_MIN): Likewise.
63251 [C99-based standards] (WINT_MIN): Likewise.
63252 [C99-based standards] (*_t): Allow.
63253 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
63254 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
63255 Include math.h-data and complex.h-data. Remove all expectations
63256 of math.h and complex.h contents.
63257 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
63258 at end of line.
63259 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
63260 (struct tm): Expect tag.
63261 [C99-based-standards] (wcstof): Expect function.
63262 [C99-based-standards] (wcstold): Likewise.
63263 [C99-based-standards] (wcstoll): Likewise.
63264 [C99-based-standards] (wcstoull): Likewise.
63265 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
63266 macro-int-constant. Specify type.
63267 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
63268 constraint on value.
63269 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63270 Specify type.
63271 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
63272 Specify value.
63273 [ISO C standards]: Do not allow headers.
63274 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
63275 wcs[abcdefghijklmnopqrstuvwxyz]*.
63276 [ISO C standards] (*_t): Do not allow.
63277 * conform/data/wctype.h-data [C99-based standards] (iswblank):
63278 Expect function.
63279 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
63280 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63281 Specify type.
63282 [ISO C standards]: Do not allow headers.
63283 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
63284 is[abcdefghijklmnopqrstuvwxyz]*.
63285 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
63286 to[abcdefghijklmnopqrstuvwxyz]*.
63287 [ISO C standards] (*_t): Do not allow.
63288 * conform/data/stdalign.h-data: New file.
63289 * conform/data/stdbool.h-data: Likewise.
63290 * conform/data/stdnoreturn.h-data: Likewise.
63291
63292 2012-11-07 Roland McGrath <roland@hack.frob.com>
63293
63294 [BZ #14815]
63295 * manual/filesys.texi (Directory Entries): Typo fix.
63296 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
63297
63298 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63299
63300 * elf/elf.h (EM_AARCH64): New macro.
63301 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
63302 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
63303 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
63304 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
63305 (R_AARCH64_TLSDESC): Likewise.
63306 (NT_ARM_TLS): Likewise.
63307 (NT_ARM_HW_BREAK): Likewise.
63308 (NT_ARM_HW_WATCH): Likewise.
63309
63310 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63311
63312 [BZ #14811]
63313 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
63314 (__ieee754_powl): Saturate nonzero exponents with absolute value
63315 below 0x1p-79 to +/- 0x1p-79.
63316 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
63317 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
63318 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
63319 nonzero exponents with absolute value below 0x1p-32 to +/-
63320 0x1p-32.
63321 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
63322 (__ieee754_powl): Saturate nonzero exponents with absolute value
63323 below 0x1p-79 to +/- 0x1p-79.
63324 * math/libm-test.inc (pow_test): Add more tests.
63325
63326 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63327
63328 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
63329 _dl_s390_cap_flags with kernel. Increase string length.
63330 (_dl_s390_platforms): Add z196 and zEC12.
63331
63332 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63333
63334 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
63335 Change XOPEN21K to XOPEN2K.
63336
63337 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
63338
63339 * string/memmove.c: Use memcpy when possible.
63340
63341 2012-11-06 Andreas Jaeger <aj@suse.de>
63342
63343 * po/eo.po: Update from translation team.
63344
63345 2012-11-06 Joseph Myers <joseph@codesourcery.com>
63346
63347 [BZ #14793]
63348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
63349 exponent and small x and y exponents, scale x or y up. Increase
63350 by 2 the exponent used in scaling up.
63351 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63352 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63353 * math/libm-test.inc (fma_test): Add more tests.
63354 (fma_test_towardzero): Likewise.
63355 (fma_test_downward): Likewise.
63356 (fma_test_upward): Likewise.
63357
63358 2012-11-05 Joseph Myers <joseph@codesourcery.com>
63359
63360 [BZ #14805]
63361 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
63362 fenv_t *.
63363
63364 [BZ #14801]
63365 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
63366 namespace for names of struct fields.
63367 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
63368 fenv_t fields.
63369 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
63370 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
63371
63372 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
63373
63374 [BZ #3665]
63375 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
63376
63377 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
63378
63379 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
63380 PTR_DEMANGLE.
63381
63382 [BZ #5246]
63383 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
63384 PTR_DEMANGLE.
63385
63386 2012-11-04 Joseph Myers <joseph@codesourcery.com>
63387
63388 [BZ #14797]
63389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
63390 definitely overflow as x * y not x * y + z.
63391 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63392 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63393 * math/libm-test.inc (fma_test): Add more tests.
63394 (fma_test_towardzero): Likewise.
63395 (fma_test_downward): Likewise.
63396 (fma_test_upward): Likewise.
63397
63398 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
63399
63400 [BZ #157]
63401
63402 * include/stub-tag.h: Remove file.
63403 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
63404 '#include' of it.
63405 * manual/maint.texi (Porting): Don't reference it.
63406 * Makerules ($(objpfx)stubs): Likewise.
63407 * dirent/closedir.c: Don't include <stub-tag.h>.
63408 * dirent/dirfd.c: Likewise.
63409 * dirent/fdopendir.c: Likewise.
63410 * dirent/getdents.c: Likewise.
63411 * dirent/getdents64.c: Likewise.
63412 * dirent/opendir.c: Likewise.
63413 * dirent/readdir.c: Likewise.
63414 * dirent/readdir64.c: Likewise.
63415 * dirent/readdir64_r.c: Likewise.
63416 * dirent/readdir_r.c: Likewise.
63417 * dirent/rewinddir.c: Likewise.
63418 * dirent/seekdir.c: Likewise.
63419 * dirent/telldir.c: Likewise.
63420 * gmon/profil.c: Likewise.
63421 * grp/setgroups.c: Likewise.
63422 * inet/if_index.c: Likewise.
63423 * io/access.c: Likewise.
63424 * io/chdir.c: Likewise.
63425 * io/chmod.c: Likewise.
63426 * io/chown.c: Likewise.
63427 * io/close.c: Likewise.
63428 * io/dup.c: Likewise.
63429 * io/dup2.c: Likewise.
63430 * io/dup3.c: Likewise.
63431 * io/euidaccess.c: Likewise.
63432 * io/faccessat.c: Likewise.
63433 * io/fchdir.c: Likewise.
63434 * io/fchmod.c: Likewise.
63435 * io/fchmodat.c: Likewise.
63436 * io/fchown.c: Likewise.
63437 * io/fchownat.c: Likewise.
63438 * io/fcntl.c: Likewise.
63439 * io/flock.c: Likewise.
63440 * io/fstatfs.c: Likewise.
63441 * io/fstatfs64.c: Likewise.
63442 * io/fstatvfs.c: Likewise.
63443 * io/fstatvfs64.c: Likewise.
63444 * io/futimens.c: Likewise.
63445 * io/fxstat.c: Likewise.
63446 * io/fxstat64.c: Likewise.
63447 * io/fxstatat.c: Likewise.
63448 * io/fxstatat64.c: Likewise.
63449 * io/getcwd.c: Likewise.
63450 * io/isatty.c: Likewise.
63451 * io/lchmod.c: Likewise.
63452 * io/lchown.c: Likewise.
63453 * io/link.c: Likewise.
63454 * io/linkat.c: Likewise.
63455 * io/lseek.c: Likewise.
63456 * io/lseek64.c: Likewise.
63457 * io/lxstat64.c: Likewise.
63458 * io/mkdir.c: Likewise.
63459 * io/mkdirat.c: Likewise.
63460 * io/mkfifo.c: Likewise.
63461 * io/mkfifoat.c: Likewise.
63462 * io/open.c: Likewise.
63463 * io/open64.c: Likewise.
63464 * io/openat.c: Likewise.
63465 * io/openat64.c: Likewise.
63466 * io/pipe.c: Likewise.
63467 * io/pipe2.c: Likewise.
63468 * io/poll.c: Likewise.
63469 * io/posix_fadvise.c: Likewise.
63470 * io/posix_fadvise64.c: Likewise.
63471 * io/posix_fallocate.c: Likewise.
63472 * io/posix_fallocate64.c: Likewise.
63473 * io/read.c: Likewise.
63474 * io/readlink.c: Likewise.
63475 * io/readlinkat.c: Likewise.
63476 * io/rmdir.c: Likewise.
63477 * io/sendfile.c: Likewise.
63478 * io/sendfile64.c: Likewise.
63479 * io/statfs.c: Likewise.
63480 * io/statfs64.c: Likewise.
63481 * io/statvfs.c: Likewise.
63482 * io/statvfs64.c: Likewise.
63483 * io/symlink.c: Likewise.
63484 * io/symlinkat.c: Likewise.
63485 * io/ttyname.c: Likewise.
63486 * io/ttyname_r.c: Likewise.
63487 * io/umask.c: Likewise.
63488 * io/unlink.c: Likewise.
63489 * io/unlinkat.c: Likewise.
63490 * io/utime.c: Likewise.
63491 * io/utimensat.c: Likewise.
63492 * io/write.c: Likewise.
63493 * io/xmknod.c: Likewise.
63494 * io/xmknodat.c: Likewise.
63495 * io/xstat.c: Likewise.
63496 * io/xstat64.c: Likewise.
63497 * login/getpt.c: Likewise.
63498 * login/grantpt.c: Likewise.
63499 * login/unlockpt.c: Likewise.
63500 * math/e_acoshl.c: Likewise.
63501 * math/e_acosl.c: Likewise.
63502 * math/e_asinl.c: Likewise.
63503 * math/e_atan2l.c: Likewise.
63504 * math/e_atanhl.c: Likewise.
63505 * math/e_coshl.c: Likewise.
63506 * math/e_expl.c: Likewise.
63507 * math/e_fmodl.c: Likewise.
63508 * math/e_gammal_r.c: Likewise.
63509 * math/e_hypotl.c: Likewise.
63510 * math/e_j0l.c: Likewise.
63511 * math/e_j1l.c: Likewise.
63512 * math/e_jnl.c: Likewise.
63513 * math/e_lgammal_r.c: Likewise.
63514 * math/e_log10l.c: Likewise.
63515 * math/e_log2l.c: Likewise.
63516 * math/e_logl.c: Likewise.
63517 * math/e_powl.c: Likewise.
63518 * math/e_rem_pio2l.c: Likewise.
63519 * math/e_sinhl.c: Likewise.
63520 * math/e_sqrtl.c: Likewise.
63521 * math/fclrexcpt.c: Likewise.
63522 * math/fedisblxcpt.c: Likewise.
63523 * math/feenablxcpt.c: Likewise.
63524 * math/fegetenv.c: Likewise.
63525 * math/fegetexcept.c: Likewise.
63526 * math/fegetround.c: Likewise.
63527 * math/feholdexcpt.c: Likewise.
63528 * math/fesetenv.c: Likewise.
63529 * math/fesetround.c: Likewise.
63530 * math/feupdateenv.c: Likewise.
63531 * math/fgetexcptflg.c: Likewise.
63532 * math/fraiseexcpt.c: Likewise.
63533 * math/fsetexcptflg.c: Likewise.
63534 * math/ftestexcept.c: Likewise.
63535 * math/k_cosl.c: Likewise.
63536 * math/k_rem_pio2l.c: Likewise.
63537 * math/k_sinl.c: Likewise.
63538 * math/k_tanl.c: Likewise.
63539 * math/s_asinhl.c: Likewise.
63540 * math/s_atanl.c: Likewise.
63541 * math/s_cbrtl.c: Likewise.
63542 * math/s_erfl.c: Likewise.
63543 * math/s_expm1l.c: Likewise.
63544 * math/s_log1pl.c: Likewise.
63545 * math/s_tanhl.c: Likewise.
63546 * misc/acct.c: Likewise.
63547 * misc/brk.c: Likewise.
63548 * misc/chflags.c: Likewise.
63549 * misc/chroot.c: Likewise.
63550 * misc/fchflags.c: Likewise.
63551 * misc/fgetxattr.c: Likewise.
63552 * misc/flistxattr.c: Likewise.
63553 * misc/fremovexattr.c: Likewise.
63554 * misc/fsetxattr.c: Likewise.
63555 * misc/fsync.c: Likewise.
63556 * misc/ftruncate.c: Likewise.
63557 * misc/futimes.c: Likewise.
63558 * misc/futimesat.c: Likewise.
63559 * misc/getdomain.c: Likewise.
63560 * misc/getdtsz.c: Likewise.
63561 * misc/gethostid.c: Likewise.
63562 * misc/gethostname.c: Likewise.
63563 * misc/getloadavg.c: Likewise.
63564 * misc/getpagesize.c: Likewise.
63565 * misc/getsysstats.c: Likewise.
63566 * misc/getxattr.c: Likewise.
63567 * misc/gtty.c: Likewise.
63568 * misc/ioctl.c: Likewise.
63569 * misc/lgetxattr.c: Likewise.
63570 * misc/listxattr.c: Likewise.
63571 * misc/llistxattr.c: Likewise.
63572 * misc/lremovexattr.c: Likewise.
63573 * misc/lsetxattr.c: Likewise.
63574 * misc/lutimes.c: Likewise.
63575 * misc/madvise.c: Likewise.
63576 * misc/mincore.c: Likewise.
63577 * misc/mlock.c: Likewise.
63578 * misc/mlockall.c: Likewise.
63579 * misc/mmap.c: Likewise.
63580 * misc/mprotect.c: Likewise.
63581 * misc/msync.c: Likewise.
63582 * misc/munlock.c: Likewise.
63583 * misc/munlockall.c: Likewise.
63584 * misc/munmap.c: Likewise.
63585 * misc/preadv.c: Likewise.
63586 * misc/preadv64.c: Likewise.
63587 * misc/ptrace.c: Likewise.
63588 * misc/pwritev.c: Likewise.
63589 * misc/pwritev64.c: Likewise.
63590 * misc/readv.c: Likewise.
63591 * misc/reboot.c: Likewise.
63592 * misc/remap_file_pages.c: Likewise.
63593 * misc/removexattr.c: Likewise.
63594 * misc/revoke.c: Likewise.
63595 * misc/select.c: Likewise.
63596 * misc/setdomain.c: Likewise.
63597 * misc/setegid.c: Likewise.
63598 * misc/seteuid.c: Likewise.
63599 * misc/sethostid.c: Likewise.
63600 * misc/sethostname.c: Likewise.
63601 * misc/setregid.c: Likewise.
63602 * misc/setreuid.c: Likewise.
63603 * misc/setxattr.c: Likewise.
63604 * misc/sstk.c: Likewise.
63605 * misc/stty.c: Likewise.
63606 * misc/swapoff.c: Likewise.
63607 * misc/swapon.c: Likewise.
63608 * misc/sync.c: Likewise.
63609 * misc/syncfs.c: Likewise.
63610 * misc/syscall.c: Likewise.
63611 * misc/truncate.c: Likewise.
63612 * misc/ualarm.c: Likewise.
63613 * misc/usleep.c: Likewise.
63614 * misc/ustat.c: Likewise.
63615 * misc/utimes.c: Likewise.
63616 * misc/vhangup.c: Likewise.
63617 * misc/writev.c: Likewise.
63618 * posix/_exit.c: Likewise.
63619 * posix/alarm.c: Likewise.
63620 * posix/execve.c: Likewise.
63621 * posix/fexecve.c: Likewise.
63622 * posix/fork.c: Likewise.
63623 * posix/fpathconf.c: Likewise.
63624 * posix/getaddrinfo.c: Likewise.
63625 * posix/getegid.c: Likewise.
63626 * posix/geteuid.c: Likewise.
63627 * posix/getgid.c: Likewise.
63628 * posix/getgroups.c: Likewise.
63629 * posix/getlogin.c: Likewise.
63630 * posix/getlogin_r.c: Likewise.
63631 * posix/getpgid.c: Likewise.
63632 * posix/getpid.c: Likewise.
63633 * posix/getppid.c: Likewise.
63634 * posix/getresgid.c: Likewise.
63635 * posix/getresuid.c: Likewise.
63636 * posix/getsid.c: Likewise.
63637 * posix/getuid.c: Likewise.
63638 * posix/glob64.c: Likewise.
63639 * posix/nanosleep.c: Likewise.
63640 * posix/pathconf.c: Likewise.
63641 * posix/pause.c: Likewise.
63642 * posix/posix_madvise.c: Likewise.
63643 * posix/pread.c: Likewise.
63644 * posix/pread64.c: Likewise.
63645 * posix/pwrite.c: Likewise.
63646 * posix/pwrite64.c: Likewise.
63647 * posix/sched_getaffinity.c: Likewise.
63648 * posix/sched_getp.c: Likewise.
63649 * posix/sched_gets.c: Likewise.
63650 * posix/sched_primax.c: Likewise.
63651 * posix/sched_primin.c: Likewise.
63652 * posix/sched_rr_gi.c: Likewise.
63653 * posix/sched_setaffinity.c: Likewise.
63654 * posix/sched_setp.c: Likewise.
63655 * posix/sched_sets.c: Likewise.
63656 * posix/sched_yield.c: Likewise.
63657 * posix/setgid.c: Likewise.
63658 * posix/setlogin.c: Likewise.
63659 * posix/setpgid.c: Likewise.
63660 * posix/setresgid.c: Likewise.
63661 * posix/setresuid.c: Likewise.
63662 * posix/setsid.c: Likewise.
63663 * posix/setuid.c: Likewise.
63664 * posix/sleep.c: Likewise.
63665 * posix/spawni.c: Likewise.
63666 * posix/sysconf.c: Likewise.
63667 * posix/times.c: Likewise.
63668 * posix/wait.c: Likewise.
63669 * posix/wait3.c: Likewise.
63670 * posix/wait4.c: Likewise.
63671 * posix/waitpid.c: Likewise.
63672 * resolv/gai_sigqueue.c: Likewise.
63673 * resource/getpriority.c: Likewise.
63674 * resource/getrlimit.c: Likewise.
63675 * resource/getrusage.c: Likewise.
63676 * resource/nice.c: Likewise.
63677 * resource/setpriority.c: Likewise.
63678 * resource/setrlimit.c: Likewise.
63679 * resource/ulimit.c: Likewise.
63680 * rt/aio_cancel.c: Likewise.
63681 * rt/aio_fsync.c: Likewise.
63682 * rt/aio_read.c: Likewise.
63683 * rt/aio_sigqueue.c: Likewise.
63684 * rt/aio_suspend.c: Likewise.
63685 * rt/aio_write.c: Likewise.
63686 * rt/clock_getres.c: Likewise.
63687 * rt/clock_gettime.c: Likewise.
63688 * rt/clock_nanosleep.c: Likewise.
63689 * rt/clock_settime.c: Likewise.
63690 * rt/lio_listio.c: Likewise.
63691 * rt/mq_close.c: Likewise.
63692 * rt/mq_getattr.c: Likewise.
63693 * rt/mq_notify.c: Likewise.
63694 * rt/mq_open.c: Likewise.
63695 * rt/mq_receive.c: Likewise.
63696 * rt/mq_send.c: Likewise.
63697 * rt/mq_setattr.c: Likewise.
63698 * rt/mq_timedreceive.c: Likewise.
63699 * rt/mq_timedsend.c: Likewise.
63700 * rt/mq_unlink.c: Likewise.
63701 * rt/shm_open.c: Likewise.
63702 * rt/shm_unlink.c: Likewise.
63703 * rt/timer_create.c: Likewise.
63704 * rt/timer_delete.c: Likewise.
63705 * rt/timer_getoverr.c: Likewise.
63706 * rt/timer_gettime.c: Likewise.
63707 * rt/timer_settime.c: Likewise.
63708 * setjmp/__longjmp.c: Likewise.
63709 * setjmp/setjmp.c: Likewise.
63710 * signal/kill.c: Likewise.
63711 * signal/killpg.c: Likewise.
63712 * signal/raise.c: Likewise.
63713 * signal/sigaction.c: Likewise.
63714 * signal/sigaltstack.c: Likewise.
63715 * signal/sigblock.c: Likewise.
63716 * signal/sigignore.c: Likewise.
63717 * signal/sigintr.c: Likewise.
63718 * signal/signal.c: Likewise.
63719 * signal/sigpause.c: Likewise.
63720 * signal/sigpending.c: Likewise.
63721 * signal/sigqueue.c: Likewise.
63722 * signal/sigreturn.c: Likewise.
63723 * signal/sigset.c: Likewise.
63724 * signal/sigsetmask.c: Likewise.
63725 * signal/sigstack.c: Likewise.
63726 * signal/sigsuspend.c: Likewise.
63727 * signal/sigtimedwait.c: Likewise.
63728 * signal/sigvec.c: Likewise.
63729 * signal/sigwait.c: Likewise.
63730 * signal/sigwaitinfo.c: Likewise.
63731 * signal/sysv_signal.c: Likewise.
63732 * socket/accept.c: Likewise.
63733 * socket/accept4.c: Likewise.
63734 * socket/bind.c: Likewise.
63735 * socket/connect.c: Likewise.
63736 * socket/getpeername.c: Likewise.
63737 * socket/getsockname.c: Likewise.
63738 * socket/getsockopt.c: Likewise.
63739 * socket/isfdtype.c: Likewise.
63740 * socket/listen.c: Likewise.
63741 * socket/recv.c: Likewise.
63742 * socket/recvfrom.c: Likewise.
63743 * socket/recvmsg.c: Likewise.
63744 * socket/send.c: Likewise.
63745 * socket/sendmsg.c: Likewise.
63746 * socket/sendto.c: Likewise.
63747 * socket/setsockopt.c: Likewise.
63748 * socket/shutdown.c: Likewise.
63749 * socket/sockatmark.c: Likewise.
63750 * socket/socket.c: Likewise.
63751 * socket/socketpair.c: Likewise.
63752 * stdio-common/ctermid.c: Likewise.
63753 * stdio-common/cuserid.c: Likewise.
63754 * stdio-common/remove.c: Likewise.
63755 * stdio-common/rename.c: Likewise.
63756 * stdio-common/renameat.c: Likewise.
63757 * stdio-common/tempname.c: Likewise.
63758 * stdlib/getcontext.c: Likewise.
63759 * stdlib/makecontext.c: Likewise.
63760 * stdlib/setcontext.c: Likewise.
63761 * stdlib/swapcontext.c: Likewise.
63762 * stdlib/system.c: Likewise.
63763 * streams/fattach.c: Likewise.
63764 * streams/fdetach.c: Likewise.
63765 * streams/getmsg.c: Likewise.
63766 * streams/getpmsg.c: Likewise.
63767 * streams/putmsg.c: Likewise.
63768 * streams/putpmsg.c: Likewise.
63769 * sysdeps/unix/bsd/getpt.c: Likewise.
63770 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
63771 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
63772 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63774 Likewise.
63775 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
63776 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63777 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
63778 * sysvipc/msgctl.c: Likewise.
63779 * sysvipc/msgget.c: Likewise.
63780 * sysvipc/msgrcv.c: Likewise.
63781 * sysvipc/msgsnd.c: Likewise.
63782 * sysvipc/semctl.c: Likewise.
63783 * sysvipc/semget.c: Likewise.
63784 * sysvipc/semop.c: Likewise.
63785 * sysvipc/semtimedop.c: Likewise.
63786 * sysvipc/shmat.c: Likewise.
63787 * sysvipc/shmctl.c: Likewise.
63788 * sysvipc/shmdt.c: Likewise.
63789 * sysvipc/shmget.c: Likewise.
63790 * termios/tcdrain.c: Likewise.
63791 * termios/tcflow.c: Likewise.
63792 * termios/tcflush.c: Likewise.
63793 * termios/tcgetattr.c: Likewise.
63794 * termios/tcgetpgrp.c: Likewise.
63795 * termios/tcsendbrk.c: Likewise.
63796 * termios/tcsetattr.c: Likewise.
63797 * termios/tcsetpgrp.c: Likewise.
63798 * time/adjtime.c: Likewise.
63799 * time/clock.c: Likewise.
63800 * time/getitimer.c: Likewise.
63801 * time/gettimeofday.c: Likewise.
63802 * time/setitimer.c: Likewise.
63803 * time/settimeofday.c: Likewise.
63804 * time/stime.c: Likewise.
63805 * time/time.c: Likewise.
63806
63807 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
63808
63809 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
63810 /usr/old/bin.
63811
63812 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
63813 instead of spaces.
63814 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
63815
63816 2012-11-03 Joseph Myers <joseph@codesourcery.com>
63817
63818 [BZ #14796]
63819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
63820 FE_TONEAREST before applying Dekker multiplication and Knuth
63821 addition. Clear inexact exceptions and check for exact zero
63822 results afterwards.
63823 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63824 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63825 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63826 * math/libm-test.inc (fma_test): Add more tests.
63827 (fma_test_towardzero): Likewise.
63828 (fma_test_downward): Likewise.
63829 (fma_test_upward): Likewise.
63830 * sysdeps/generic/math_private.h (default_libc_fesetround): New
63831 function.
63832 (libc_fesetround): New macro.
63833 (libc_fesetroundf): Likewise.
63834 (libc_fesetroundl): Likewise.
63835 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
63836 function.
63837 (libc_fesetround_387): Likewise.
63838 (libc_fesetroundf): New macro.
63839 (libc_fesetround): Likewise.
63840 (libc_fesetroundl): Likewise.
63841 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
63842 function.
63843 (libc_fesetroundf): New macro.
63844 (libc_fesetround): Likewise.
63845 (libc_fesetroundl): Likewise.
63846 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
63847 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
63848 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
63849 libm_hidden_ver.
63850 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
63851 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
63852 libm_hidden_def.
63853 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
63854 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
63855 libm_hidden_ver.
63856 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
63857 libm_hidden_def.
63858
63859 [BZ #3439]
63860 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
63861 integer constant usable in #if and use that to give value to enum
63862 constant.
63863 (FE_DIVBYZERO): Likewise.
63864 (FE_UNDERFLOW): Likewise.
63865 (FE_OVERFLOW): Likewise.
63866 (FE_INVALID): Likewise.
63867 (FE_INVALID_SNAN): Likewise.
63868 (FE_INVALID_ISI): Likewise.
63869 (FE_INVALID_IDI): Likewise.
63870 (FE_INVALID_ZDZ): Likewise.
63871 (FE_INVALID_IMZ): Likewise.
63872 (FE_INVALID_COMPARE): Likewise.
63873 (FE_INVALID_SOFTWARE): Likewise.
63874 (FE_INVALID_SQRT): Likewise.
63875 (FE_INVALID_INTEGER_CONVERSION): Likewise.
63876 (FE_TONEAREST): Likewise.
63877 (FE_TOWARDZERO): Likewise.
63878 (FE_UPWARD): Likewise.
63879 (FE_DOWNWARD): Likewise.
63880 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
63881 (FE_DIVBYZERO): Likewise.
63882 (FE_OVERFLOW): Likewise.
63883 (FE_UNDERFLOW): Likewise.
63884 (FE_INEXACT): Likewise.
63885 (FE_TONEAREST): Likewise.
63886 (FE_DOWNWARD): Likewise.
63887 (FE_UPWARD): Likewise.
63888 (FE_TOWARDZERO): Likewise.
63889 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
63890 (FE_UNDERFLOW): Likewise.
63891 (FE_OVERFLOW): Likewise.
63892 (FE_DIVBYZERO): Likewise.
63893 (FE_INVALID): Likewise.
63894 (FE_TONEAREST): Likewise.
63895 (FE_TOWARDZERO): Likewise.
63896 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
63897 (FE_OVERFLOW): Likewise.
63898 (FE_UNDERFLOW): Likewise.
63899 (FE_DIVBYZERO): Likewise.
63900 (FE_INEXACT): Likewise.
63901 (FE_TONEAREST): Likewise.
63902 (FE_TOWARDZERO): Likewise.
63903 (FE_UPWARD): Likewise.
63904 (FE_DOWNWARD): Likewise.
63905 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
63906 (FE_DIVBYZERO): Likewise.
63907 (FE_OVERFLOW): Likewise.
63908 (FE_UNDERFLOW): Likewise.
63909 (FE_INEXACT): Likewise.
63910 (FE_TONEAREST): Likewise.
63911 (FE_DOWNWARD): Likewise.
63912 (FE_UPWARD): Likewise.
63913 (FE_TOWARDZERO): Likewise.
63914
63915 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
63916
63917 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
63918
63919 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
63920
63921 * scripts/cross-test-ssh.sh (command): Use newlines to separate
63922 commands. Quote $PWD.
63923 (blacklist_exports): Don't use remove_newlines. Replace "declare
63924 -x" by "export".
63925 (remove_newlines): Remove.
63926
63927 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
63928
63929 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
63930 * stdlib/stdlib.h (atof): Moved to ...
63931 * include/bits/stdlib-float.h: Here. New file.
63932 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
63933 * stdlib/bits/stdlib-float.h: New file.
63934 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
63935 -mno-sse -mno-mmx.
63936 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
63937 <xmmintrin.h>.
63938
63939 2012-11-02 Joseph Myers <joseph@codesourcery.com>
63940
63941 * conform/conformtest.pl (@headers): Add fenv.h.
63942 * conform/data/fenv.h-data: New file.
63943 * include/fenv.h [_ISOMAC]: Disable all contents of file except
63944 include of <math/fenv.h>.
63945
63946 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
63947 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
63948 && !UNIX98]. Enables tests for XOPEN2K8.
63949 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
63950 POSIX2008]: Likewise.
63951
63952 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
63953 (struct rusage): Do not expect type or its members.
63954
63955 [BZ #3439]
63956 * math/math.h (FP_NAN): Define macro to integer constant usable in
63957 #if and use that to give value to enum constant.
63958 (FP_INFINITE): Likewise.
63959 (FP_ZERO): Likewise.
63960 (FP_SUBNORMAL): Likewise.
63961 (FP_NORMAL): Likewise.
63962
63963 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
63964
63965 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
63966 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
63967 arguments.
63968
63969 2012-11-02 Roland McGrath <roland@hack.frob.com>
63970
63971 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
63972 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
63973 autoconf-time if not.
63974 * configure.in: Remove AC_PREREQ.
63975
63976 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63977
63978 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
63979 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
63980 of the internal implementation.
63981
63982 2012-11-02 Joseph Myers <joseph@codesourcery.com>
63983
63984 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
63985 except include of <misc/sys/syslog.h>.
63986
63987 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
63988
63989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
63990 function returns with a NULL context exit with zero.
63991
63992 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63993
63994 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
63995
63996 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
63997
63998 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
63999 (run_program_cmd): This.
64000 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64001 (tst_langinfo): New variable. Use it.
64002
64003 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
64004
64005 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64006 floating point opcodes.
64007
64008 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64009
64010 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64011 variable.
64012
64013 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64014
64015 * sysdeps/mach/hurd/powerpc: Remove directory.
64016 * sysdeps/mach/powerpc: Likewise.
64017
64018 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64019
64020 * scripts/check-local-headers.sh: Ignore c++ headers.
64021
64022 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64023
64024 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64025 __libc_cleanup_region_start argument.
64026
64027 2012-11-01 Joseph Myers <joseph@codesourcery.com>
64028
64029 [BZ #14784]
64030 [BZ #14785]
64031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64032 x * y using scaling, not as x * y + z.
64033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64034 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64035 * math/libm-test.inc (fma_test): Add more tests.
64036 (fma_test_towardzero): Likewise.
64037 (fma_test_downward): Likewise.
64038 (fma_test_upward): Likewise.
64039
64040 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64041
64042 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64043
64044 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64045
64046 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64047 New variable.
64048
64049 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
64050
64051 * rt/tst-shm.c (worker): Correct checking for mmap failure.
64052
64053 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64054
64055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64056 Fix sort order.
64057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64058 Likewise.
64059
64060 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64061
64062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64063 Fix the order of the list for glibc 2.17.
64064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64065 Likewise.
64066
64067 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64068
64069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64070
64071 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64072
64073 [BZ #14610]
64074 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64075 for low part of x being zero before using __atanl (y).
64076 * math/libm-test.inc (atan2_test): Add another test.
64077
64078 * manual/install.texi (Configuring and compiling): Document
64079 general use of test-wrapper and test-wrapper-env.
64080 * INSTALL: Regenerated.
64081
64082 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64083 (__fma): Do not extract and scale down low bits on after-rounding
64084 systems when result rounded to normal precision would have normal
64085 exponent.
64086 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64087 (__fmal): Do not extract and scale down low bits on after-rounding
64088 systems when result rounded to normal precision would have normal
64089 exponent.
64090 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64091 (__fmal): Do not extract and scale down low bits on after-rounding
64092 systems when result rounded to normal precision would have normal
64093 exponent.
64094 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64095 macro.
64096 (fma_test): Add more tests.
64097 (fma_test_towardzero): Likewise.
64098 (fma_test_downward): Likewise.
64099 (fma_test_upward): Likewise.
64100
64101 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
64102
64103 * sysdeps/i386/tininess.h: Renamed to ...
64104 * sysdeps/x86/tininess.h: This.
64105 * sysdeps/x86_64/tininess.h: Removed.
64106
64107 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64108
64109 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64110 input. Use $(build-program-cmd).
64111 ($(objpfx)tst-array1-static.out): Likewise.
64112 ($(objpfx)tst-array2.out): Likewise.
64113 ($(objpfx)tst-array3.out): Likewise.
64114 ($(objpfx)tst-array4.out): Likewise.
64115 ($(objpfx)tst-array5.out): Likewise.
64116 ($(objpfx)tst-array5-static.out): Likewise.
64117
64118 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
64119
64120 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64121 if defined.
64122
64123 * nss/nsswitch.h (nss_interface_function): Provide new
64124 macro for use with NSS functions.
64125 * grp/initgroups.c: Use new macro.
64126 * nss/getXXbyYY.c: Likewise.
64127 * nss/getXXbyYY_r.c: Likewise.
64128 * nss/getXXent.c: Likewise.
64129 * nss/getXXent_r.c: Likewise.
64130 * sysdeps/posix/getaddrinfo.c: Likewise.
64131
64132 2012-10-30 Andreas Jaeger <aj@suse.de>
64133
64134 * po/ru.po: Update Russion translation from translation project.
64135
64136 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64137
64138 [BZ #14152]
64139 [BZ #14783]
64140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64141 result and shift together with sticky bit instead of replicating
64142 round-to-nearest rounding.
64143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64145 * math/libm-test.inc (fma_test): Add more tests. Do not permit
64146 missing underflow exceptions.
64147 (fma_test_towardzero): Add more tests.
64148 (fma_test_downward): Likewise.
64149 (fma_test_upward): Likewise.
64150
64151 [BZ #14047]
64152 * sysdeps/generic/tininess.h: New file.
64153 * sysdeps/i386/tininess.h: Likewise.
64154 * sysdeps/sh/tininess.h: Likewise.
64155 * sysdeps/x86_64/tininess.h: Likewise.
64156 * stdlib/tst-strtod-underflow.c: Likewise.
64157 * stdlib/tst-tininess.c: Likewise.
64158 * stdlib/strtod_l.c: Include <tininess.h>.
64159 (round_and_return): Do not set errno for exact underflow cases.
64160 Force an underflow exception when setting errno for underflow.
64161 Determine underflow based on rounding to normal precision if
64162 TININESS_AFTER_ROUNDING.
64163 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64164 ERANGE for exact underflow cases.
64165 * stdlib/Makefile (tests): Add tst-tininess and
64166 tst-strtod-underflow.
64167 ($(objpfx)tst-tininess): Use $(link-libm).
64168 ($(objpfx)tst-strtod-underflow): Likewise.
64169
64170 2012-10-30 Andreas Jaeger <aj@suse.de>
64171
64172 [BZ#14767]
64173 * elf/Makefile (tests): Remove conditional for have-initfini-array
64174 since this is now always required and the variable does not exist
64175 anymore.
64176 (tests-static): Likewise.
64177 (modules-names): Likewise.
64178
64179 * po/eo.po: Add Esperanto translation from translation project.
64180
64181 * elf/tst-array1.c (fini_array): Make writeable so that it can be
64182 merged with constructor/destructor.
64183 (init_array): Likewise.
64184 * elf/tst-array2dep.c (fini_array): Likewise.
64185 (init_array): Likewise.
64186
64187 2012-10-29 Mike Frysinger <vapier@gentoo.org>
64188
64189 * manual/message.texi: Delete @cartouche tags.
64190
64191 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
64192
64193 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
64194 EOPNOTSUPP.
64195 * sysdeps/mach/hurd/fsync.c: Likewise.
64196
64197 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
64198 [_POSIX_REALTIME_SIGNALS]: Change condition to
64199 [_POSIX_REALTIME_SIGNALS > 0].
64200
64201 2012-10-27 Andreas Jaeger <aj@suse.de>
64202
64203 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
64204 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
64205 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
64206 [__WORDSIZE != 64]: Likewise.
64207
64208 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
64209
64210 * iconvdata/tst-table.sh: Remove ${SHELL}.
64211 * iconvdata/tst-tables.sh: Likewise.
64212
64213 2012-10-25 David S. Miller <davem@davemloft.net>
64214
64215 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64216 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
64217 of strtoull.
64218
64219 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
64220 ifunc-impl-list.c
64221 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64222 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
64223 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
64224 file.
64225
64226 2012-10-25 Roland McGrath <roland@hack.frob.com>
64227
64228 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64229 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
64230 __getdirentries.
64231
64232 2012-10-25 Joseph Myers <joseph@codesourcery.com>
64233 Jim Blandy <jimb@codesourcery.com>
64234
64235 * scripts/cross-test-ssh.sh: New file.
64236 * manual/install.texi (Configuring and compiling): Document use of
64237 cross-test-ssh.sh.
64238 * INSTALL: Regenerated.
64239
64240 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
64241
64242 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
64243 EOPNOTSUPP.
64244
64245 2012-10-25 Joseph Myers <joseph@codesourcery.com>
64246
64247 * Makeconfig (run-program-prefix): Fix comment.
64248
64249 2012-10-24 Joseph Myers <joseph@codesourcery.com>
64250 Jim Blandy <jimb@codesourcery.com>
64251
64252 * Makeconfig (test-wrapper): New variable,
64253 (test-wrapper-env): Likewise.
64254 [$(cross-compiling) = yes && $(test-wrapper) != ""]
64255 (run-built-tests): Define to yes.
64256 (run-program-prefix): Use $(test-wrapper).
64257 (built-program-cmd): Likewise.
64258 * Rules (make-test-out): Use $(test-wrapper-env) and
64259 $(host-built-program-cmd).
64260 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
64261 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
64262 tst-pathopt.sh.
64263 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
64264 $(test-wrapper-env) to tst-rtld-load-self.sh.
64265 ($(objpfx)order2.out): Use $(test-wrapper).
64266 ($(objpfx)tst-initorder.out): Likewise.
64267 ($(objpfx)tst-initorder2.out): Likewise.
64268 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
64269 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
64270 (test_wrapper_env): New variable. Use it to run ld.so.
64271 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
64272 Use it to run ld.so.
64273 (test_wrapper_env): Likewise.
64274 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
64275 $(test-wrapper) to run-iconv-test.sh.
64276 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
64277 (ICONV): Use $test_wrapper.
64278 * posix/Makefile ($(objpfx)globtest.out): Pass
64279 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
64280 globtest.sh, not $(run-program-prefix).
64281 * posix/globtest.sh (run_via_rtld_prefix): New variable.
64282 (test_wrapper): Likewise.
64283 (test_wrapper_env): Likewise. Use it to run globtest with HOME
64284 set together with run_via_rtld_prefix.
64285 (run_program_prefix): Define in terms of test_wrapper and
64286 run_via_rtld_prefix.
64287
64288 2012-10-24 Roland McGrath <roland@hack.frob.com>
64289
64290 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
64291 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
64292 Targets removed.
64293
64294 [BZ #14743]
64295 * include/time.h: Remove librt_hidden_proto (clock_gettime).
64296 Declare __clock_getres, __clock_gettime, __clock_settime,
64297 __clock_nanosleep, and __clock_getcpuclockid.
64298 * rt/clock_gettime.c: Define __clock_gettime as an alias.
64299 Remove librt_hidden_def (clock_gettime).
64300 * sysdeps/unix/clock_gettime.c: Likewise.
64301 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
64302 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
64303 * rt/clock_getres.c: Define __clock_getres as an alias.
64304 * sysdeps/posix/clock_getres.c: Likewise.
64305 * rt/clock_settime.c: Define __clock_settime as an alias.
64306 * sysdeps/unix/clock_settime.c: Likewise.
64307 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
64308 * sysdeps/unix/clock_nanosleep.c: Likewise.
64309 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
64310 * rt/clock-compat.c: New file.
64311 * rt/Makefile (librt-routines): Add clock-compat and move
64312 $(clock-routines) to ...
64313 (routines): ... here, new variable.
64314 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
64315 Don't add get_clockfreq here.
64316 * rt/Versions (libc: GLIBC_2.17): New version set.
64317 Add clock_* symbols here.
64318 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
64319 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
64320 (GLIBC_2.17): Add clock_* symbols.
64321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64323 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64325 Likewise.
64326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64327 Likewise.
64328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64332 * NEWS: Mention the move.
64333
64334 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
64335 Use __open, __read, __close rather than their public counterparts.
64336 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64337 (__get_clockfreq_via_cpuinfo): Likewise.
64338 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
64339 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
64340
64341 * config.h.in (HAVE_IFUNC): New #undef.
64342 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
64343 was successful.
64344 * configure: Regenerated.
64345
64346 2012-10-24 Mike Frysinger <vapier@gentoo.org>
64347
64348 * configure.in: Move READELF check to start of file.
64349 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
64350 libc_cv_asm_gnu_indirect_function in the process.
64351 * configure: Regenerated.
64352
64353 2012-10-24 Mike Frysinger <vapier@gentoo.org>
64354
64355 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
64356 send the output to /dev/null.
64357 (libc_cv_cc_with_libunwind): Likewise.
64358 (libc_cv_as_noexecstack): Likewise.
64359 * configure: Regenerate.
64360
64361 2012-10-24 Joseph Myers <joseph@codesourcery.com>
64362
64363 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
64364
64365 * posix/globtest.sh (TMPDIR): Do not set.
64366 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
64367 (testout): Likewise.
64368
64369 2012-10-24 Andreas Jaeger <aj@suse.de>
64370
64371 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
64372 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
64373 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
64374 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
64375 posix_fadvise64, posix_fallocate64.
64376
64377 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
64378 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
64379 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
64380 Likewise.
64381 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
64382 Likewise.
64383 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
64384
64385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
64386 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
64387 <bits/fcntl-linux.h>.
64388 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
64389
64390 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
64391 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
64392 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
64393 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
64394 [__WORDSIZE != 64]: Likewise.
64395
64396 2012-10-23 Joseph Myers <joseph@codesourcery.com>
64397
64398 * Makeconfig (run-built-tests): New variable.
64399 * Rules [$(cross-compiling) = yes]: Change condition to
64400 [$(run-built-tests) = no].
64401 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
64402 to [$(run-built-tests) = yes].
64403 * elf/Makefile [$(cross-compiling) = no]: Likewise.
64404 * grp/Makefile [$(cross-compiling) = no]: Likewise.
64405 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
64406 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
64407 * intl/Makefile [$(cross-compiling) = no]: Likewise.
64408 * io/Makefile [$(cross-compiling) = no]: Likewise.
64409 * libio/Makefile [$(cross-compiling) = no]: Likewise.
64410 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
64411 * misc/Makefile [$(cross-compiling) = no]: Likewise.
64412 * posix/Makefile [$(cross-compiling) = no]: Likewise.
64413 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
64414 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
64415 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
64416 * string/Makefile [$(cross-compiling) = no]: Likewise.
64417
64418 * posix/Makefile ($(objpfx)globtest.out): Pass
64419 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
64420 $(rtld-installed-name).
64421 * posix/globtest.sh (elf_objpfx): Remove variable.
64422 (rtld_installed_name): Likewise.
64423 (library_path): Likewise.
64424 (run_program_prefix): New variable. Use for running globtest
64425 binary.
64426
64427 2012-10-23 Jim Blandy <jimb@codesourcery.com>
64428 Joseph Myers <joseph@codesourcery.com>
64429
64430 * Makeconfig (host-built-program-cmd): New variable.
64431 * elf/Makefile (tst-stackguard1-ARGS): Use
64432 $(host-built-program-cmd).
64433 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
64434 (tst-spawn-ARGS): Likewise.
64435 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
64436
64437 2012-10-23 Joseph Myers <joseph@codesourcery.com>
64438 Jim Blandy <jimb@codesourcery.com>
64439
64440 * Makeconfig (run-via-rtld-prefix): New variable.
64441 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
64442 (built-program-cmd): Likewise.
64443
64444 2012-10-22 Andreas Jaeger <aj@suse.de>
64445
64446 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
64447 __O_RSYNC if it exists, otherwise to O_SYNC.
64448
64449 2012-10-22 Jim Blandy <jimb@codesourcery.com>
64450 Joseph Myers <joseph@codesourcery.com>
64451
64452 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
64453 /dev/null.
64454 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
64455 from /dev/null
64456 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
64457 /dev/null.
64458
64459 2012-10-22 Andreas Jaeger <aj@suse.de>
64460
64461 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
64462 Define always.
64463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
64464
64465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64466 bits/fcntl-linux.h.
64467
64468 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
64469 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
64470
64471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
64472 to __O_LARGEFILE.
64473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
64474 to __O_LARGEFILE.
64475
64476 2012-10-21 Jim Blandy <jimb@codesourcery.com>
64477 Joseph Myers <joseph@codesourcery.com>
64478
64479 * config.make.in (NM): New variable.
64480
64481 2012-10-21 Andreas Jaeger <aj@suse.de>
64482
64483 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
64484 definitions and declarations that are provided by
64485 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
64486
64487 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
64488
64489 [BZ #14683]
64490 * elf/Makefile (tests-static): Add tst-leaks1-static.
64491 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
64492 ($(objpfx)tst-leaks1-static): New rule.
64493 ($(objpfx)tst-leaks1-static-mem): Likewise.
64494 (tst-leaks1-static-ENV): New macro.
64495 * elf/dl-open.c (dl_open_worker): Check the main application
64496 only if SHARED is defined.
64497 * elf/tst-leaks1-static.c: New file.
64498
64499 2012-10-20 Andreas Jaeger <aj@suse.de>
64500
64501 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
64502 generic values for Linux.
64503 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
64504 and declarations that are provided by <bits/fcntl-linux.h> and
64505 include <bits/fcntl-linux.h>.
64506 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64508
64509 2012-10-20 Roland McGrath <roland@hack.frob.com>
64510
64511 * io/fcntl.h: Move include of <bits/types.h> to the top and
64512 include it unconditionally.
64513
64514 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
64515
64516 * wcsmbs/Makefile (tests-ifunc): New variable.
64517 (tests): Add $(tests-ifunc).
64518 * wcsmbs/test-wcschr-ifunc.c: New file.
64519 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
64520 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
64521 * wcsmbs/test-wcslen-ifunc.c: Likewise.
64522 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
64523 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
64524
64525 * string/Makefile (tests-ifunc): New variable.
64526 (tests): Add $(tests-ifunc).
64527 * string/test-memccpy.c (TEST_NAME): New macro.
64528 * string/test-memchr.c (TEST_NAME): Likewise.
64529 * string/test-memcmp.c (TEST_NAME): Likewise.
64530 * string/test-memcpy.c (TEST_NAME): Likewise.
64531 * string/test-memmem.c (TEST_NAME): Likewise.
64532 * string/test-memmove.c (TEST_NAME): Likewise.
64533 * string/test-memset.c (TEST_NAME): Likewise.
64534 * string/test-rawmemchr.c (TEST_NAME): Likewise.
64535 * string/test-stpcpy.c (TEST_NAME): Likewise.
64536 * string/test-stpncpy.c (TEST_NAME): Likewise.
64537 * string/test-strcasecmp.c (TEST_NAME): Likewise.
64538 * string/test-strcasestr.c (TEST_NAME): Likewise.
64539 * string/test-strcat.c (TEST_NAME): Likewise.
64540 * string/test-strchr.c (TEST_NAME): Likewise.
64541 * string/test-strcmp.c(TEST_NAME): Likewise.
64542 * string/test-strcpy.c (TEST_NAME): Likewise.
64543 * string/test-strcspn.c (TEST_NAME): Likewise.
64544 * string/test-strlen.c (TEST_NAME): Likewise.
64545 * string/test-strncasecmp.c (TEST_NAME): Likewise.
64546 * string/test-strncmp.c (TEST_NAME): Likewise.
64547 * string/test-strncpy.c (TEST_NAME): Likewise.
64548 * string/test-strnlen.c (TEST_NAME): Likewise.
64549 * string/test-strpbrk.c (TEST_NAME): Likewise.
64550 * string/test-strrchr.c (TEST_NAME): Likewise.
64551 * string/test-strspn.c (TEST_NAME): Likewise.
64552 * string/test-strstr.c (TEST_NAME): Likewise.
64553 * string/test-bcopy-ifunc.c: New file.
64554 * string/test-bzero-ifunc.c: Likewise.
64555 * string/test-memccpy-ifunc.c: Likewise.
64556 * string/test-memchr-ifunc.c: Likewise.
64557 * string/test-memcmp-ifunc.c: Likewise.
64558 * string/test-memcpy-ifunc.c: Likewise.
64559 * string/test-memmem-ifunc.c: Likewise.
64560 * string/test-memmove-ifunc.c: Likewise.
64561 * string/test-mempcpy-ifunc.c: Likewise.
64562 * string/test-memset-ifunc.c: Likewise.
64563 * string/test-rawmemchr-ifunc.c: Likewise.
64564 * string/test-stpcpy-ifunc.c: Likewise.
64565 * string/test-stpncpy-ifunc.c: Likewise.
64566 * string/test-strcasecmp-ifunc.c: Likewise.
64567 * string/test-strcasestr-ifunc.c: Likewise.
64568 * string/test-strcat-ifunc.c: Likewise.
64569 * string/test-strchr-ifunc.c: Likewise.
64570 * string/test-strchrnul-ifunc.c: Likewise.
64571 * string/test-strcmp-ifunc.c: Likewise.
64572 * string/test-strcpy-ifunc.c: Likewise.
64573 * string/test-strcspn-ifunc.c: Likewise.
64574 * string/test-strlen-ifunc.c: Likewise.
64575 * string/test-strncasecmp-ifunc.c: Likewise.
64576 * string/test-strncat-ifunc.c: Likewise.
64577 * string/test-strncmp-ifunc.c: Likewise.
64578 * string/test-strncpy-ifunc.c: Likewise.
64579 * string/test-strnlen-ifunc.c: Likewise.
64580 * string/test-strpbrk-ifunc.c: Likewise.
64581 * string/test-strrchr-ifunc.c: Likewise.
64582 * string/test-strspn-ifunc.c: Likewise.
64583 * string/test-strstr-ifunc.c: Likewise.
64584
64585 * debug/Makefile (tests-ifunc): New variable.
64586 (tests): Add $(tests-ifunc).
64587 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
64588 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
64589 * debug/test-stpcpy_chk-ifunc.c: New file.
64590 * debug/test-strcpy_chk-ifunc.c: Likewise.
64591
64592 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64593
64594 [BZ #13601]
64595 * elf/dl-load.c (open_verify): Retry read if the entire ELF
64596 header is not read in.
64597
64598 2012-10-19 Joseph Myers <joseph@codesourcery.com>
64599
64600 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
64601 script to $(SHELL) as $<. Pass $(common-objpfx) to script
64602 directly. Pass built executable to script as
64603 $(built-program-cmd).
64604 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
64605 $testprogram without using LD_LIBRARY_PATH and $ldso.
64606
64607 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
64608 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
64609 $(rtld-installed-name).
64610 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
64611 (rtld_installed_name): Likewise.
64612 (library_path): Likewise.
64613 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
64614 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
64615 $(run-program-prefix) to tst-tables.sh.
64616 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
64617 it to run tst-table-from and tst-table-to.
64618 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
64619 Pass it to tst-table.sh.
64620 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
64621 $(run-program-prefix) to tst-gettext.sh.
64622 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
64623 tst-translit.sh.
64624 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
64625 tst-gettext2.sh.
64626 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
64627 to run tst-gettext.
64628 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
64629 to run tst-gettext2.
64630 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
64631 to run tst-translit.
64632 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
64633 $(run-program-prefix) to tst-mtrace.sh.
64634 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
64635 to run tst-mtrace.
64636 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
64637 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
64638 $(rtld-installed-name).
64639 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
64640 (rtld_installed_name): Likewise.
64641 (run_program_prefix): New variable. Use it to run wordexp-test.
64642
64643 * Makeconfig (ARCH): Remove all definitions.
64644 (machine): Likewise.
64645 [ARCH]: Remove conditional code.
64646 [!objdir]: Give error.
64647 [!objdir] (objpfx): Remove.
64648 [!objdir] (common-objpfx): Likewise.
64649 [!objdir] (common-objdir): Likewise.
64650 * configure.in (config_makefile): Remove. Hardcode Makefile in
64651 AC_CONFIG_FILES call.
64652 * configure: Regenerated.
64653
64654 [BZ #13888]
64655 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
64656 or TMPDIR.
64657 (testout): Likewise.
64658
64659 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
64660 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
64661 $(rtld-installed-name).
64662 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
64663 (rtld_installed_name): Likewise.
64664 (runit): Remove function.
64665 (run_getconf): New variable, Use it for running getconf binary.
64666
64667 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
64668
64669 [BZ #14716]
64670 * string/test-memmem.c (check_result): New function.
64671 (do_one_test): Use it.
64672 (check1): New function.
64673 (test_main): Use it.
64674
64675 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
64676
64677 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
64678
64679 2012-10-18 Joseph Myers <joseph@codesourcery.com>
64680
64681 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
64682 (_G_LSEEK64): Likewise.
64683 (_G_MMAP64): Likewise.
64684 (_G_FSTAT64): Likewise.
64685 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
64686 (_G_LSEEK64): Likewise.
64687 (_G_MMAP64): Likewise.
64688 (_G_FSTAT64): Likewise.
64689 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
64690 unconditional. Call __mmap64 directly.
64691 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
64692 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
64693 __lseek64 directly.
64694 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
64695 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
64696 __mmap64 directly.
64697 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
64698 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
64699 __lseek64 directly.
64700 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
64701 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
64702 __lseek64 directly.
64703 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
64704 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
64705 __lseek64 directly.
64706 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
64707 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
64708 __fxstat64 directly.
64709 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
64710 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
64711 unconditional.
64712 (freopen64) [!_G_OPEN64]: Remove conditional code.
64713 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
64714 unconditional.
64715 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
64716 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
64717 unconditional.
64718 (ftello64) [!_G_LSEEK64]: Remove conditional code.
64719 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
64720 unconditional.
64721 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64722 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
64723 unconditional.
64724 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
64725 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
64726 unconditional.
64727 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64728 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
64729 unconditional.
64730 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64731 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
64732 unconditional.
64733 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64734
64735 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
64736
64737 [BZ #12140]
64738 * manual/memory.texi (Malloc Tunable Parameters): Add note
64739 about free list pointers overwriting some perturb bytes.
64740 Wording suggested by Roland McGrath.
64741
64742 2012-10-17 Joseph Myers <joseph@codesourcery.com>
64743
64744 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
64745 (lgamma_test): Likewise.
64746 (tgamma_test): Likewise.
64747
64748 2012-10-16 Florian Weimer <fweimer@redhat.com>
64749
64750 [BZ #14700]
64751 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
64752 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
64753
64754 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
64755
64756 * NEWS: Mention BZ #14716.
64757 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
64758 when removing AVAILABLE1_USES_J macro.
64759
64760 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
64761
64762 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
64763 (__bswap_64): __uint64_t for unsigned 64-bit int.
64764
64765 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
64766
64767 * include/string.h (memmem): Declare libc hidden alias.
64768 * string/memmem.c (memmem): Define libc hidden alias.
64769 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
64770 __read, __close instead of open, read, close.
64771
64772 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
64773
64774 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
64775 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
64776 global and hidden.
64777 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
64778 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
64779 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
64780 Likewise.
64781 (__rawmemchr_sse2): Likewise.
64782 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
64783 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
64784 (__strchr_sse2): Likewise.
64785 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
64786 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
64787 (__strcasecmp_sse2): Likewise.
64788 (__strncasecmp_sse2): Likewise.
64789 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
64790 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
64791 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
64792 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
64793 (__strrchr_sse2): Likewise.
64794 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
64795 ifunc-impl-list.c.
64796 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
64797 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
64798 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
64799 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64800 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
64801 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
64802 * sysdeps/x86_64/multiarch/memset.S: Likewise.
64803 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
64804 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
64805 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
64806 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
64807 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
64808 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
64809 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
64810 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
64811 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64812 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
64813 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
64814 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
64815 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
64816 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
64817 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
64818 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
64819 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
64820 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
64821 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64822 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
64823 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64824 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
64825 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
64826
64827 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
64828 global and hidden.
64829 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
64830 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
64831 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
64832 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
64833 Likewise.
64834 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
64835 Likewise.
64836 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
64837 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
64838 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
64839 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
64840 ifunc-impl-list.c.
64841 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64842 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64843 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64844 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64845 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64846 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64847 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64848 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64849 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64850 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64851 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64852 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64853 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64854 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
64855 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
64856 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64857 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
64858 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
64859 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64860 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64861 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64862 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64863 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64864 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64865 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64866 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
64867 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
64868 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
64869 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
64870 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64871 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
64872 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64873 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64874 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
64875 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64876 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64877 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64878 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64879 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64880 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64881 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
64882
64883 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
64884 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
64885 * include/ifunc-impl-list.h: New file.
64886 * misc/ifunc-impl-list.c: Likewise.
64887 * misc/Makefile (routines): Add ifunc-impl-list.
64888 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
64889 * string/test-string.h: Include <ifunc-impl-list.h>.
64890 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
64891 TEST_NAME]: New variables.
64892 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
64893 are defined.
64894 (test_init): Call __libc_ifunc_impl_list to initialize
64895 func_list if TEST_IFUNC and TEST_NAME are defined.
64896
64897 * string/Makefile (strop-tests): Add bcopy and bzero.
64898 * string/test-bcopy.c: New file.
64899 * string/test-bzero.c: Likewise.
64900 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
64901 defined.
64902 * string/test-memset.c: Support bzero test if TEST_BZERO is
64903 defined.
64904 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
64905 __libc_memmove.
64906 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
64907 __libc_memset.
64908 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
64909 of memset.
64910
64911 2012-10-10 Joseph Myers <joseph@codesourcery.com>
64912
64913 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
64914 * configure: Regenerated.
64915
64916 * Makeconfig (+link-static-before-libc): Don't include
64917 $(link-static-libc).
64918
64919 * libio/libio.h (_IO_pos_t): Remove.
64920
64921 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
64922
64923 * NEWS: Add note about FIPS mode. Wording suggested by Roland
64924 McGrath.
64925
64926 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
64927
64928 * crypt/crypt-entry.c: Include fips-private.h.
64929 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
64930 * crypt/md5c-test.c (main): Tolerate disabled MD5.
64931 * sysdeps/unix/sysv/linux/fips-private.h: New file.
64932 * sysdeps/generic/fips-private.h: New file, dummy fallback.
64933
64934 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
64935
64936 * crypt/crypt-private.h: Include stdbool.h.
64937 (_ufc_setup_salt_r): Return bool.
64938 * crypt/crypt-entry.c: Include errno.h.
64939 (__crypt_r): Return NULL with EINVAL for bad salt.
64940 * crypt/crypt_util.c (bad_for_salt): New.
64941 (_ufc_setup_salt_r): Check that salt is long enough and within
64942 the specified alphabet.
64943 * crypt/badsalttest.c: New file.
64944 * crypt/Makefile (tests): Add it.
64945 ($(objpfx)badsalttest): New.
64946
64947 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
64948
64949 * NEWS: Add entry for BZ #14602.
64950
64951 2012-10-09 Joseph Myers <joseph@codesourcery.com>
64952
64953 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
64954 type-generic.
64955 * math/libm-test.inc: Update comment listing what functions and
64956 macros are tested.
64957 (isgreater_test): New function.
64958 (isgreaterequal_test): Likewise.
64959 (isless_test): Likewise.
64960 (islessequal_test): Likewise.
64961 (islessgreater_test): Likewise.
64962 (isunordered_test): Likewise.
64963 (main): Call the new functions.
64964
64965 2012-10-09 Roland McGrath <roland@hack.frob.com>
64966
64967 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
64968 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
64969 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
64970 * sysdeps/i386/configure: Regenerated.
64971 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
64972 * sysdeps/mach/configure: Regenerated.
64973 * sysdeps/mach/hurd/configure: Regenerated.
64974 * sysdeps/powerpc/configure: Regenerated.
64975 * sysdeps/powerpc/powerpc32/configure: Regenerated.
64976 * sysdeps/powerpc/powerpc64/configure: Regenerated.
64977 * sysdeps/s390/s390-32/configure: Regenerated.
64978 * sysdeps/s390/s390-64/configure: Regenerated.
64979 * sysdeps/sh/configure: Regenerated.
64980 * sysdeps/sparc/configure: Regenerated.
64981 * sysdeps/unix/sysv/linux/configure: Regenerated.
64982 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
64983 * sysdeps/x86_64/configure: Regenerated.
64984
64985 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
64986 defined. Don't check if MAP is NULL.
64987
64988 2012-10-09 Joseph Myers <joseph@codesourcery.com>
64989
64990 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
64991 (_G_stat64): Likewise.
64992 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
64993 (_G_stat64): Likewise.
64994 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
64995 instead of struct _G_stat64.
64996 * libio/fileops.c (mmap_remap_check): Likewise.
64997 (decide_maybe_mmap): Likewise.
64998 (_IO_new_file_seekoff): Likewise.
64999 (_IO_file_stat): Likewise.
65000 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65001 _G_off64_t.
65002 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65003 instead of struct _G_stat64.
65004 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65005
65006 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
65007
65008 [BZ #14602]
65009 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65010 Replace with ...
65011 (CHECK_EOL): New macro.
65012 (two_way_short_needle): Check beginning of haystack for EOL. Use
65013 CHECK_EOL.
65014 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65015 Replace with CHECK_EOL.
65016 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65017 Replace with CHECK_EOL.
65018
65019 2012-10-08 Joseph Myers <joseph@codesourcery.com>
65020
65021 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65022 type-generic.
65023 * math/libm-test.inc: Update comment listing what functions and
65024 macros are tested.
65025 (finite_test): New function.
65026 (isinf_test): Likewise.
65027 (isnan_test): Likewise.
65028 (fpclassify_test): Test subnormal input.
65029 (isfinite_test): Likewise.
65030 (isnormal_test): Likewise.
65031 (main): Call the new functions.
65032
65033 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
65034
65035 [BZ #14660]
65036 * Makerules (%.dynsym): Force C locale when running
65037 $(OBJDUMP) --dynamic-syms.
65038
65039 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
65040
65041 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65042 <stdint.h>.
65043
65044 2012-10-06 David S. Miller <davem@davemloft.net>
65045
65046 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65047 upper 32-bits of the length value in %o2 since we use branch-on-register
65048 tests which consider the entire 64-bit register.
65049
65050 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
65051
65052 * string/test-strstr.c (check2): Add a test for page boundary.
65053
65054 2012-10-05 David S. Miller <davem@davemloft.net>
65055
65056 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65057 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65058 file.
65059 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65060 sysdep_routines.
65061 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65062 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65063 and bzero when HWCAP_SPARC_CRYPTO is present.
65064
65065 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
65066
65067 [BZ #14602]
65068 * string/test-strstr.c (check2): New function.
65069 (test_main): Call check2.
65070
65071 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65072 and bug-strchr1.
65073 * string/bug-strcasestr1.c (do_test): Moved to ...
65074 * string/test-strcasestr.c (check1): Here. New function.
65075 (do_one_test): Break out result checking code into ...
65076 (check_result): This. New function.
65077 (do_one_test): Call check_result.
65078 (test_main): Call check1.
65079 * string/bug-strchr1.c (do_test): Moved to ...
65080 * string/test-strchr.c (check1): Here. New function.
65081 (do_one_test): Break out result checking code into ...
65082 (check_result): This. New function.
65083 (do_one_test): Call check_result.
65084 (test_main): Call check1.
65085 * string/bug-strstr1.c (main): Moved to ...
65086 * string/test-strstr.c (check1): Here. New function.
65087 (do_one_test): Break out result checking code into ...
65088 (check_result): This. New function.
65089 (do_one_test): Call check_result.
65090 (test_main): Call check1.
65091 * string/bug-strcasestr1.c: Removed.
65092 * string/bug-strchr1.c: Likewise.
65093 * string/bug-strstr1.c: Likewise.
65094
65095 * elf/Makefile (dl-routines): Add hwcaps.
65096 * elf/dl-support.c (_dl_important_hwcaps): Removed.
65097 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65098 (_dl_important_hwcaps): Moved to ...
65099 * elf/dl-hwcaps.c: Here. New file.
65100 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65101
65102 [BZ #14557]
65103 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65104 if IS_IN_rtld isn't defined.
65105
65106 * elf/dl-support.c (_dl_sysinfo_map): New.
65107 Include "get-dynamic-info.h" and "setup-vdso.h".
65108 (_dl_non_dynamic_init): Call setup_vdso.
65109 * elf/dynamic-link.h: Don't include <assert.h>.
65110 (elf_get_dynamic_info): Moved to ...
65111 * elf/get-dynamic-info.h: Here. New file.
65112 * elf/dynamic-link.h: Include "get-dynamic-info.h".
65113 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65114 * elf/setup-vdso.h: Here. New file.
65115 * elf/rtld.c: Include "setup-vdso.h".
65116 (dl_main): Call setup_vdso.
65117
65118 2012-10-05 Joseph Myers <joseph@codesourcery.com>
65119
65120 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65121 creal in comment listing functions tested. List finite, isinf,
65122 isnan, isless, islessequal, isgreater, isgreaterequal,
65123 islessgreater, isunordered, lgamma_r and pow10 as functions and
65124 macros not tested. Mention which functions not tested are aliases
65125 for other functions. Fix typo. Note that signs of NaNs are not
65126 tested.
65127
65128 * scripts/config.guess: Update from config.git.
65129 * scripts/config.sub: Likewise.
65130
65131 2012-10-04 Roland McGrath <roland@hack.frob.com>
65132
65133 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65134 * misc/madvise.c (madvise): Renamed to __madvise.
65135 Make madvise a weak alias.
65136 * include/sys/mman.h: Declare __madvise.
65137 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65138 * sysdeps/unix/syscalls.list
65139 (madvise): Make __madvise the strong name, and madvise a weak alias.
65140 * sysdeps/unix/sysv/linux/syscalls.list
65141 (madvise, mmap): Remove redundant entries.
65142 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65143 * malloc/malloc.c (mtrim): Likewise.
65144 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65145
65146 2012-10-03 Roland McGrath <roland@hack.frob.com>
65147
65148 * sysdeps/mach/hurd/dl-cache.c: File removed.
65149 * config.h.in (USE_LDCONFIG): New #undef.
65150 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65151 * configure: Regenerated.
65152 * elf/Makefile (dl-routines): Add dl-cache only under
65153 [$(use-ldconfig) = yes].
65154 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65155 cache on [USE_LDCONFIG].
65156 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65157 [USE_LDCONFIG].
65158 * elf/rtld.c (dl_main): Likewise.
65159
65160 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
65161
65162 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65163 _SC_LEVEL4_CACHE_LINESIZE.
65164
65165 2012-10-03 Roland McGrath <roland@hack.frob.com>
65166
65167 * sysdeps/unix/bsd/confstr.h: File removed.
65168
65169 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
65170
65171 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65172 sys/sdt-config.h.
65173
65174 2012-10-02 Roland McGrath <roland@hack.frob.com>
65175
65176 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65177 Make 'mapoff' field ElfW(Off) rather than off_t.
65178
65179 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
65180
65181 * nscd/Makefile: Remove nscd-cflags and all its users.
65182 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65183 (CFLAGS-nonlib): Add compiler flags for nscd modules.
65184
65185 [BZ #10631]
65186 * malloc.c (malloc_printerr): Clarify error message.
65187
65188 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
65189
65190 [BZ #14648]
65191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65192 Set bit_FMA_Usable if FMA is supported.
65193 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
65194 macro.
65195 (bit_FMA4_Usable): Updated.
65196 (index_FMA_Usable): New macro.
65197 (CPUID_FMA): Likewise.
65198 (HAS_FMA): Defined with bit_FMA_Usable.
65199
65200 2012-10-01 Roland McGrath <roland@hack.frob.com>
65201
65202 * bits/types.h (__swblk_t): Type removed.
65203 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
65204 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
65205 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65206 (__SWBLK_T_TYPE): Likewise.
65207 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65208 (__SWBLK_T_TYPE): Likewise.
65209 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65210 (__SWBLK_T_TYPE): Likewise.
65211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65212 (__SWBLK_T_TYPE): Likewise.
65213
65214 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
65215 Honza Horak <hhorak@redhat.com>
65216
65217 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
65218 (xdr_mapname): Use YPMAXMAP as maxsize.
65219 (xdr_peername): Use YPMAXPEER as maxsize.
65220 (xdr_keydat): Use YPAXRECORD as maxsize.
65221 (xdr_valdat): Use YPMAXRECORD as maxsize.
65222
65223 2012-10-01 Roland McGrath <roland@hack.frob.com>
65224
65225 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
65226
65227 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
65228 * csu/init-first.c: ... here.
65229 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
65230 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
65231 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
65232 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
65233 * sysdeps/i386/init-first.c: File removed.
65234 * sysdeps/sh/init-first.c: File removed.
65235
65236 2012-10-01 Joseph Myers <joseph@codesourcery.com>
65237
65238 [BZ #14645]
65239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
65240 if x * y might underflow to zero and z is zero.
65241 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65242 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65243 * math/libm-test.inc (min_subnorm_value): New variable.
65244 (fma_test): Add more tests.
65245 (fma_test_towardzero): Likewise.
65246 (fma_test_downward): Likewise.
65247 (fma_test_upward): Likewise.
65248 (initialize): Set min_subnorm_value.
65249
65250 2012-09-29 Joseph Myers <joseph@codesourcery.com>
65251
65252 [BZ #14638]
65253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
65254 0 + 0.
65255 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
65256 mode for addition resulting in exact zero.
65257 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
65258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
65259 exact 0 + 0.
65260 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65261 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65262 * math/libm-test.inc (fma_test): Add more tests.
65263 (fma_test_towardzero): New function.
65264 (fma_test_downward): Likewise.
65265 (fma_test_upward): Likewise.
65266 (main): Call the new functions.
65267
65268 2012-09-28 David S. Miller <davem@davemloft.net>
65269
65270 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
65271
65272 2012-09-28 Roland McGrath <roland@hack.frob.com>
65273
65274 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
65275 instead of SIGALRM.
65276
65277 * sysdeps/gnu/_G_config.h: Moved to ...
65278 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
65279 * sysdeps/mach/hurd/_G_config.h: Moved to ...
65280 * sysdeps/generic/_G_config.h: ... here.
65281
65282 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
65283
65284 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
65285
65286 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
65287 Conditionalize target on [libnss_test1.so-version].
65288
65289 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
65290
65291 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
65292 (elfobjdir): Move out of conditionals.
65293
65294 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
65295 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
65296 (__nss_lookup_function): Conditionalize label remove_from_tree on
65297 [!DO_STATIC_NSS || SHARED], matching its only use.
65298
65299 2012-09-28 David S. Miller <davem@davemloft.net>
65300
65301 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
65302 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
65303 file.
65304 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65305 sysdep_routines.
65306 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65307 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
65308 when HWCAP_SPARC_CRYPTO is present.
65309
65310 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65311
65312 * io/tst-mknodat.c: Create a FIFO instead of a socket.
65313
65314 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
65315
65316 [BZ #6530]
65317 * stdio-common/vfprintf.c (process_string_arg): Revert
65318 2000-07-22 change.
65319
65320 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
65321
65322 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
65323 for testcase.
65324 * stdio-common/tst-sprintf.c: Include <locale.h>
65325 (main): Test sprintf's handling of incomplete multibyte
65326 characters.
65327
65328 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
65329
65330 * elf/dl-runtime.c (VERSYMIDX): Removed.
65331 * elf/dl-version.c (VERSYMIDX): Likewise.
65332 * elf/do-rel.h (VERSYMIDX): Likewise.
65333 (VALIDX): Likewise.
65334 * elf/dynamic-link.h (VERSYMIDX): Likewise.
65335 * elf/rtld.c (VALIDX): Likewise.
65336 (ADDRIDX): Likewise.
65337 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
65338 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
65339 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
65340 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
65341 (VALIDX): Likewise.
65342 (ADDRIDX): Likewise.
65343
65344 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65345
65346 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
65347
65348 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
65349
65350 [BZ #11438]
65351 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
65352 to global scope.
65353 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
65354 addresses are in the same scope as 192.0.2/24.
65355 * posix/gai.conf: Document new scope table defaults.
65356
65357 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65358
65359 [BZ #5298]
65360 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
65361 for ftell. Compute offsets from write pointers instead.
65362 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65363
65364 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65365
65366 [BZ #14543]
65367 * libio/Makefile (tests): New test case tst-fseek.
65368 * libio/tst-fseek.c: New test case to verify that fseek/ftell
65369 combination works in wide mode.
65370 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
65371 state when the external buffer state changes.
65372
65373 2012-09-27 David S. Miller <davem@davemloft.net>
65374
65375 [BZ #14376]
65376 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
65377 pass reloc->r_addend in as the 'high' argument to
65378 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
65379
65380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65381
65382 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65383
65384 * rt/tst-aio2.c: Include <pthread.h>.
65385 * rt/tst-aio3.c: Likewise.
65386
65387 2012-09-27 Steve Ellcey <sellcey@mips.com>
65388
65389 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
65390
65391 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
65392
65393 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
65394 contents on [SHARED].
65395
65396 2012-09-26 Marek Polacek <polacek@redhat.com>
65397
65398 [BZ #14530]
65399 [BZ #13741]
65400 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
65401 for C++ and GCC <4.3 as well as for non GCC compilers.
65402
65403 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
65404
65405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65406
65407 2012-09-25 Roland McGrath <roland@hack.frob.com>
65408
65409 * Makefile.in (all, install): Declare with .PHONY.
65410 Reported by Michael Hope <michael.hope@linaro.org>.
65411
65412 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65413
65414 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
65415 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
65416 system header.
65417 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
65418 Likewise.
65419 (sydep_routines): Add the new and the internal functions.
65420 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
65421 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
65422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
65423 (GLIBC_2.17): Add the new function.
65424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65425 (GLIBC_2.17): Likewise.
65426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
65427 (GLIBC_2.17): Likewise.
65428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
65429 (GLIBC_2.17): Likewise.
65430 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
65431
65432 2012-09-25 Alan Modra <amodra@gmail.com>
65433
65434 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
65435 Add release barrier before setting once_control to say
65436 initialisation is done. Add hints on lwarx. Use macro in
65437 place of isync.
65438 (clear_once_control): Add release barrier.
65439
65440 2012-09-25 Joseph Myers <joseph@codesourcery.com>
65441
65442 [BZ #13629]
65443 * math/s_clog.c (__clog): Handle more values close to |z| = 1
65444 specially.
65445 * math/s_clog10.c (__clog10): Likewise.
65446 * math/s_clog10f.c (__clog10f): Likewise.
65447 * math/s_clog10l.c (__clog10l): Likewise.
65448 * math/s_clogf.c (__clogf): Likewise.
65449 * math/s_clogl.c (__clogl): Likewise.
65450 * math/Makefile (libm-calls): Add x2y2m1.
65451 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
65452 (__x2y2m1): Likewise.
65453 (__x2y2m1l): Likewise.
65454 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
65455 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
65456 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
65457 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
65458 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
65459 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
65460 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
65461 * sysdeps/i386/fpu/libm-test-ulps: Update.
65462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65463
65464 [BZ #14621]
65465 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
65466 int as type of variable DEPTH.
65467 (glob): Use size_t instead of int as type of variables NEWCOUNT
65468 and OLD_PATHC.
65469
65470 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65471
65472 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
65473 Add s_sincosf-sse2.
65474 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
65475 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
65476 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
65477 macros for using routine as __sincosf_ia32.
65478 Use macro for function declaration and weak_alias.
65479 * sysdeps/i386/fpu/libm-test-ulps: Update.
65480
65481 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
65482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65483
65484 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
65485 subnormal argument.
65486 * math/s_cexpf.c (__cexpf): Likewise.
65487 * math/s_csinf.c (__csinf): Likewise.
65488 * math/s_csinhf.c (__csinhf): Likewise.
65489 * math/s_ctanf.c (__ctanf): Likewise.
65490 * math/s_ctanhf.c (__ctanhf): Likewise.
65491 * math/s_ccosh.c (__ccoshf): Likewise.
65492 * math/s_cexp.c (__cexpl): Likewise.
65493 * math/s_csin.c (__csin): Likewise.
65494 * math/s_csinh.c (__csinh): Likewise.
65495 * math/s_ctan.c (__ctan): Likewise.
65496 * math/s_ctanh.c (ctanh): Likewise.
65497 * math/s_ccoshl.c (__ccoshl): Likewise.
65498 * math/s_cexpl.c (__cexpl): Likewise.
65499 * math/s_csinl.c (__csinl): Likewise.
65500 * math/s_csinhl.c (__csinhl): Likewise.
65501 * math/s_ctanl.c (__ctanl): Likewise.
65502 * math/s_ctanhl.c (__ctanhl): Likewise.
65503
65504 2012-09-25 Joseph Myers <joseph@codesourcery.com>
65505
65506 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
65507 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
65508 (_IO_off_t): Define to __off_t, not _G_off_t.
65509 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
65510 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
65511 (_IO_wint_t): Define to wint_t, not _G_wint_t.
65512 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
65513 type of __dummy and __dummy2 fields.
65514 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
65515 (_G_ssize_t): Likewise.
65516 (_G_off_t): Likewise.
65517 (_G_pid_t): Likewise.
65518 (_G_uid_t): Likewise.
65519 (_G_wchar_t): Likewise.
65520 (_G_wint_t): Likewise.
65521 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
65522 (_G_ssize_t): Likewise.
65523 (_G_off_t): Likewise.
65524 (_G_pid_t): Likewise.
65525 (_G_uid_t): Likewise.
65526 (_G_wchar_t): Likewise.
65527 (_G_wint_t): Likewise.
65528 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
65529 (_G_ssize_t): Likewise.
65530 (_G_off_t): Likewise.
65531 (_G_pid_t): Likewise.
65532 (_G_uid_t): Likewise.
65533 (_G_wchar_t): Likewise.
65534 (_G_wint_t): Likewise.
65535
65536 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65537
65538 * malloc/arena.c: Include malloc-sysdep.h.
65539 (shrink_heap): Use check_may_shrink_heap to decide if madvise
65540 is sufficient to shrink the heap or an unmap is needed.
65541 * sysdeps/generic/malloc-sysdep.h: New file. Define
65542 new function check_may_shrink_heap.
65543 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
65544 new function check_may_shrink_heap.
65545
65546 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65547
65548 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
65549 comments.
65550
65551 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
65552
65553 * catgets/test-gencat.sh: Add "set -e".
65554 * elf/tst-pathopt.sh: Likewise.
65555 * grp/tst_fgetgrent.sh: Likewise.
65556 * iconvdata/run-iconv-test.sh: Likewise.
65557 * intl/tst-gettext.sh: Likewise.
65558 * intl/tst-gettext2.sh: Likewise.
65559 * intl/tst-gettext4.sh: Likewise.
65560 * intl/tst-gettext6.sh: Likewise.
65561 * intl/tst-translit.sh: Likewise.
65562 * io/ftwtest-sh: Likewise.
65563 * libio/test-freopen.sh: Likewise.
65564 * malloc/tst-mtrace.sh: Likewise.
65565 * posix/globtest.sh: Likewise.
65566 * posix/tst-getconf.sh: Likewise.
65567 * posix/wordexp-tst.sh: Likewise.
65568 * stdio-common/tst-printf.sh: Likewise.
65569 * stdio-common/tst-unbputc.sh: Likewise.
65570 * stdlib/tst-fmtmsg.sh: Likewise.
65571 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65572 * catgets/Makefile: Do not specify -e option when running
65573 testsuite shell scripts.
65574 * elf/Makefile: Likewise.
65575 * grp/Makefile: Likewise.
65576 * iconvdata/Makefile: Likewise.
65577 * intl/Makefile: Likewise.
65578 * io/Makefile: Likewise.
65579 * libio/Makefile: Likewise.
65580 * malloc/Makefile: Likewise.
65581 * posix/Makefile: Likewise.
65582 * stdio-common/Makefile: Likewise.
65583 * stdlib/Makefile: Likewise.
65584 * sysdeps/x86_64/Makefile: Likewise.
65585
65586 * io/ftwtest-sh: Add copyright header.
65587 * posix/globtest.sh: Likewise.
65588 * posix/tst-getconf.sh: Likewise.
65589 * posix/wordexp-tst.sh: Likewise.
65590 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65591
65592 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
65593
65594 [BZ #13679]
65595 * Makeconfig (+link): Defined as $(+link-static) if
65596 $(build-shared) isn't yes.
65597 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
65598 isn't yes.
65599 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
65600
65601 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
65602
65603 [BZ #14562]
65604 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
65605 new chunk size with MALLOC_ALIGN_MASK.
65606
65607 2012-09-24 Joseph Myers <joseph@codesourcery.com>
65608
65609 [BZ #5044]
65610 * stdio-common/printf_fphex.c: Include <stdbool.h> and
65611 <rounding-mode.h>.
65612 (__printf_fphex): Determine rounding using get_rounding_mode and
65613 round_away.
65614 * stdio-common/tst-printf-round.c (struct hex_test): New
65615 structure.
65616 (hex_tests): New variable.
65617 (test_hex_in_one_mode): New function.
65618 (do_test): Also run tests for hex float output.
65619
65620 2012-09-21 Joseph Myers <joseph@codesourcery.com>
65621
65622 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65623 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65624 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
65625 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65626 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65627 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
65628 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65629 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65630
65631 2012-09-20 Joseph Myers <joseph@codesourcery.com>
65632
65633 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
65634 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
65635 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
65636 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
65637
65638 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
65639
65640 [BZ #14579]
65641 * elf/rtld.c (dl_main): Limit the check for self loading to normal
65642 mode only.
65643 * elf/tst-rtld-load-self.sh: New test.
65644 * elf/Makefile: Run it.
65645
65646 2012-09-18 Joseph Myers <joseph@codesourcery.com>
65647
65648 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
65649 (tst-writev-ENV): Remove.
65650 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
65651
65652 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
65653
65654 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
65655
65656 2012-09-17 Joseph Myers <joseph@codesourcery.com>
65657
65658 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
65659 unconditional.
65660 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
65661 Likewise.
65662 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
65663 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
65664 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
65665 Likewise.
65666
65667 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
65668
65669 [BZ #14587]
65670 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
65671 * config.make.in (have-cpp-asm-debuginfo): Removed.
65672 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
65673 * configure: Regenerated.
65674
65675 2012-09-14 Joseph Myers <joseph@codesourcery.com>
65676
65677 [BZ #5044]
65678 * stdio-common/printf_fp.c: Include <stdbool.h> and
65679 <rounding-mode.h>.
65680 (___printf_fp): Determine rounding using get_rounding_mode and
65681 round_away.
65682 * stdio-common/tst-printf-round.c: New file.
65683 * stdio-common/Makefile (tests): Add tst-printf-round.
65684 (link-libm): New variable.
65685 ($(objpfx)tst-printf-round): Depend in $(link-libm).
65686
65687 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
65688
65689 [BZ #14576]
65690 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
65691 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
65692 Likewise.
65693 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
65694 Likewise.
65695
65696 2012-09-13 Joseph Myers <joseph@codesourcery.com>
65697
65698 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
65699 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65700 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65701 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65702
65703 2012-09-12 Joseph Myers <joseph@codesourcery.com>
65704
65705 [BZ #14518]
65706 * include/rounding-mode.h: New file.
65707 * sysdeps/generic/get-rounding-mode.h: Likewise.
65708 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
65709 * stdlib/strtod_l.c: Include <rounding-mode.h>.
65710 (MAX_VALUE): New macro.
65711 (MIN_VALUE): Likewise.
65712 (overflow_value): New function.
65713 (underflow_value): Likewise.
65714 (round_and_return): Use overflow_value and underflow_value to
65715 determine return values in overflow and underflow cases. Use
65716 round_away to determine rounding depending on rounding mode.
65717 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
65718 determine return values in overflow and underflow cases.
65719 * stdlib/tst-strtod-round.c: Include <fenv.h>.
65720 (struct test_results): New structure.
65721 (struct test): Use struct test_results to store expected results
65722 for all rounding modes.
65723 (TEST): Include expected results for all rounding modes.
65724 (test_in_one_mode): New function.
65725 (do_test): Use test_in_one_mode to compute and check results.
65726 Check results for all rounding modes.
65727 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
65728 $(link-libm).
65729
65730 2012-12-09 Allan McRae <allan@archlinux.org>
65731
65732 * sysdeps/i386/fpu/libm-test-ulps: Update
65733
65734 2012-09-11 Joseph Myers <joseph@codesourcery.com>
65735
65736 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
65737 (_G_int32_t): Likewise.
65738 (_G_uint16_t): Likewise.
65739 (_G_uint32_t): Likewise.
65740 (_G_HAVE_BOOL): Likewise.
65741 (_G_HAVE_ATEXIT): Likewise.
65742 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65743 (_G_HAVE_IO_FILE_OPEN): Likewise.
65744 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
65745 (_G_int32_t): Likewise.
65746 (_G_uint16_t): Likewise.
65747 (_G_uint32_t): Likewise.
65748 (_G_HAVE_BOOL): Likewise.
65749 (_G_HAVE_ATEXIT): Likewise.
65750 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65751 (_G_HAVE_IO_FILE_OPEN): Likewise.
65752 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
65753 (_G_int32_t): Likewise.
65754 (_G_uint16_t): Likewise.
65755 (_G_uint32_t): Likewise.
65756 (_G_HAVE_BOOL): Likewise.
65757 (_G_HAVE_ATEXIT): Likewise.
65758 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65759 (_G_HAVE_IO_FILE_OPEN): Likewise.
65760
65761 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
65762
65763 * csu/libc-tls.c: Update copyright years.
65764
65765 2012-09-10 Joseph Myers <joseph@codesourcery.com>
65766
65767 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
65768 [!_G_USING_THUNKS]: Remove conditional code.
65769 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
65770 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
65771
65772 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
65773 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
65774 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65775 (_G_VTABLE_LABEL_PREFIX): Likewise.
65776 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65777 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65778 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65779 (_G_VTABLE_LABEL_PREFIX): Likewise.
65780 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65781 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65782 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65783 (_G_VTABLE_LABEL_PREFIX): Likewise.
65784 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65785
65786 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
65787
65788 * libio/Makefile: Include ../Makeconfig before tests.
65789 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
65790 only if $(build-shared) is yes.
65791
65792 * iconv/gconv_db.c: Update copyright years.
65793
65794 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65795
65796 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
65797 unwind info if defined PIC. Fix special cases description.
65798 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
65799
65800 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
65801 DP_HI_MASK entry.
65802 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
65803
65804 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
65805
65806 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
65807
65808 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
65809 is NULL.
65810
65811 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
65812 (LDLIBS-tst-chk4): This.
65813 (LDFLAGS-tst-chk5): Renamed to ...
65814 (LDLIBS-tst-chk5): This.
65815 (LDFLAGS-tst-chk6): Renamed to ...
65816 (LDLIBS-tst-chk6): This.
65817 (LDFLAGS-tst-lfschk4): Renamed to ...
65818 (LDLIBS-tst-lfschk4): This.
65819 (LDFLAGS-tst-lfschk5): Renamed to ...
65820 (LDLIBS-tst-lfschk5): This.
65821 (LDFLAGS-tst-lfschk6): Renamed to ...
65822 (LDLIBS-tst-lfschk6): This.
65823
65824 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
65825 on $(common-objpfx)soversions.mk.
65826
65827 2012-09-07 Joseph Myers <joseph@codesourcery.com>
65828
65829 [BZ #10014]
65830 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
65831 example host name.
65832
65833 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
65834
65835 * malloc/arena.c (arena_get_retry): New function that gets
65836 another arena for the caller to try its request on.
65837 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
65838 current arena cannot fulfill the request.
65839 (__libc_memalign): Likewise.
65840 (__libc_memalign): Likewise.
65841 (__libc_pvalloc): Likewise.
65842 (__libc_calloc): Likewise.
65843
65844 2012-09-05 John Tobey <john.tobey@gmail.com>
65845
65846 [BZ #13542]
65847 * manual/arith.texi (Operations on Complex): Fix description
65848 of carg branch cut.
65849
65850 2012-09-06 Joseph Myers <joseph@codesourcery.com>
65851
65852 [BZ #10014]
65853 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
65854 host name.
65855
65856 [BZ #10038]
65857 * manual/memory.texi (Memory): Make order of menu items match
65858 order of sections.
65859
65860 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
65861
65862 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
65863 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
65864 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
65865
65866 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
65867
65868 * csu/libc-tls.c (static_dtv): Renamed to ...
65869 (_dl_static_dtv): This. Make it global.
65870 (_dl_initial_dtv): Removed.
65871 (__libc_setup_tls): Updated.
65872 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
65873 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
65874 DL_INITIAL_DTV.
65875
65876 2012-09-06 Petr Machata <pmachata@redhat.com>
65877
65878 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
65879 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
65880 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
65881 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
65882
65883 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
65884
65885 [BZ #14545]
65886 * csu/libc-tls.c (_dl_initial_dtv): New variable.
65887 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
65888 freeing dtv[-1].
65889
65890 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
65891
65892 [BZ #14544]
65893 * Makeconfig (link-static-before-libc): Replace $(+prector)
65894 with $(+prectorT).
65895 (link-static-after-libc): Replace $(+postctor) with
65896 $(+postctorT).
65897 (link-bounded): Replace $(+prector)/$(+postctor) with
65898 $(+prectorT)/$(+postctorT).
65899 (+prectorT): New macro.
65900 (+postctorT): Likewise.
65901
65902 2012-09-06 Joseph Myers <joseph@codesourcery.com>
65903
65904 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
65905 (round_str): Handle values above the maximum for IBM long double
65906 as inexact.
65907 * stdlib/tst-strtod-round.c (tests): Regenerated.
65908
65909 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65910
65911 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
65912 assembler flag.
65913 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
65914 zarch_nohighgprs around the zarch optimized routines.
65915 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
65916 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
65917 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
65918 for zarch.
65919
65920 2012-09-05 David S. Miller <davem@davemloft.net>
65921
65922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65923
65924 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
65925 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
65926 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
65927 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
65928 entries.
65929
65930 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
65931
65932 * malloc/arena.c: Fold copyright years.
65933 * malloc/mcheck.c, malloc/memusage.c: Likewise.
65934
65935 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
65936
65937 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
65938
65939 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
65940
65941 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
65942
65943 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
65944
65945 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
65946 change internal state upon failure.
65947
65948 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
65949
65950 * malloc/mcheck.c (mcheck_check_all): Fix typo.
65951 * malloc/memusage.c (mmap): Likewise.
65952 (mmap64, mremap): Likewise. Adjust name in comment.
65953
65954 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
65955
65956 * libio/fileops.c: Fix typos in comments.
65957 * libio/oldfileops.c: Likewise.
65958 * libio/wfileops.c: Likewise.
65959
65960 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
65961
65962 [BZ #1349]
65963 * malloc/Makefile (tests): Add tst-malloc-usable test case.
65964 (tst-malloc-usable-ENV): Set environment for test case.
65965 * malloc/hooks.c (malloc_check_get_size): New function to get
65966 requested size.
65967 * malloc/malloc.c (musable): Use malloc_check_get_size.
65968 * malloc/tst-malloc-usable.c: New test case.
65969
65970 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
65971
65972 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
65973
65974 2012-09-05 Allan McRae <allan@archlinux.org>
65975
65976 [BZ #13966]
65977 * configure.in (CXX_SYSINCLUDES): Use compiler output to
65978 determine header location.
65979 * configure: Regenerated.
65980
65981 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
65982
65983 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
65984 float format.
65985 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
65986 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
65987 format.
65988 (test): Regenerate.
65989
65990 2012-09-04 David S. Miller <davem@davemloft.net>
65991
65992 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
65993 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
65994 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
65995
65996 2012-09-04 Florian Weimer <fweimer@redhat.com>
65997
65998 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
65999 failures.
66000
66001 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66002
66003 2012-09-04 Joseph Myers <joseph@codesourcery.com>
66004
66005 [BZ #9914]
66006 * libio/iogetdelim.c: Include <limits.h>.
66007 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66008 + len + 1 would overflow.
66009
66010 2012-09-03 Andreas Jaeger <aj@suse.de>
66011
66012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66013 * sysdeps/i386/fpu/libm-test-ulps: Update.
66014
66015 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66016
66017 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66018 Add s_sinf-sse2, s_conf-sse2.
66019
66020 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66021 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66022 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66023 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66024
66025 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66026 for using routine as __sinf_ia32.
66027 Use macro for function declaration and weak_alias.
66028 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66029 for using routine as __cosf_ia32.
66030 Use macro for function declaration and weak_alias.
66031
66032 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66033 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66034
66035 * sysdeps/x86_64/fpu/s_sinf.S: New file.
66036 * sysdeps/x86_64/fpu/s_cosf.S: New file.
66037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66038
66039 * math/libm-test.inc (cos_test): Add more test cases.
66040 (sin_test): Likewise.
66041 (sincos_test): Likewise.
66042
66043 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66044
66045 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66046 (IFUNC_RESOLVE): Make pointers to the specialized implementations
66047 hidden.
66048 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66049
66050 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
66051
66052 [BZ #14538]
66053 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66054 first element of the GOT.
66055 (elf_machine_load_address): Return the difference between
66056 the runtime address of _DYNAMIC and elf_machine_dynamic ().
66057
66058 2012-09-01 Allan McRae <allan@archlinux.org>
66059
66060 [BZ #13412]
66061 * configure.in (AWK): Require gawk version 3.0 or later.
66062 * configure: Regenerated.
66063
66064 2012-09-01 Joseph Myers <joseph@codesourcery.com>
66065
66066 * sysdeps/unix/sysv/linux/kernel-features.h
66067 (__ASSUME_POSIX_CPU_TIMERS): Remove.
66068 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66069 [__NR_clock_getres]: Make code unconditional.
66070 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66071 (clock_getcpuclockid): Remove code left unreachable by removal of
66072 conditionals.
66073 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66074 code unconditional.
66075 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66076 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66077 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66078 Make code unconditional.
66079 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66080 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66081 * sysdeps/unix/sysv/linux/clock_settime.c
66082 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66083 conditional code.
66084 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66085 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66086
66087 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
66088
66089 [BZ #14476]
66090 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66091 scripts/test-installation.pl.
66092
66093 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66094 and $ld_so_version if it is set.
66095
66096 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66097
66098 [BZ #14516]
66099 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66100 failure if reading from procfs failed.
66101 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66102
66103 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66104
66105 * sysdeps/unix/sysv/linux/kernel-features.h
66106 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66107 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66108 Remove conditional code.
66109 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66110 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66111 Remove conditional code.
66112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66113 * sysdeps/unix/sysv/linux/i386/fxstat.c
66114 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66115 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66116 * sysdeps/unix/sysv/linux/i386/fxstatat.c
66117 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66118 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66119 * sysdeps/unix/sysv/linux/i386/lxstat.c
66120 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66121 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66122 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66123 Remove conditional code.
66124 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66125 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66126 Remove conditional code.
66127 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66128 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66129 <kernel-features.h>.
66130 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66131 Remove.
66132 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66133 Remove conditional code.
66134 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66135 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66136 Remove conditional.
66137
66138 2012-08-27 Mike Frysinger <vapier@gentoo.org>
66139
66140 [BZ #5400]
66141 * NEWS: Add fixed bug number.
66142
66143 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66144
66145 [BZ #14519]
66146 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66147 underflowing exponent in case of negative sign.
66148 * stdlib/tst-strtod-round-data: Add more tests.
66149 * stdlib/tst-strtod-round.c (tests): Regenerated.
66150
66151 [BZ #3479]
66152 * stdlib/strtod_l.c (NDIG): Remove.
66153 (HEXNDIG): Likewise.
66154 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66155 smallest representable value.
66156 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66157 lie within an exact representation of 1/2 ulp of the result.
66158 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66159 unconditionally.
66160 (TENS_P9_IDX): Define unconditionally.
66161 (TENS_P9_SIZE): Likewise.
66162 (TENS_P10_IDX): Likewise.
66163 (TENS_P10_SIZE): Likewise.
66164 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66165 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66166 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66167 entries for 10^2^13 and 10^2^14.
66168 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66169 (TENS_P13_IDX): Define.
66170 (TENS_P13_SIZE): Likewise.
66171 (TENS_P14_IDX): Likewise.
66172 (TENS_P14_SIZE): Likewise.
66173 (_fpioconst_pow10): Change array size to
66174 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
66175 unconditional.
66176 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66177 1024]: Add entries for 10^2^13 and 10^2^14.
66178 [LAST_POW10 > _LAST_POW10]: Remove #error.
66179 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66180 (_fpioconst_pow10): Change array size to
66181 FPIOCONST_POW10_ARRAY_SIZE.
66182 * stdlib/gen-fpioconst.c: New file.
66183 * stdlib/gen-tst-strtod-round.c: Likewise.
66184 * stdlib/tst-strtod-round-data: Likewise.
66185 * stdlib/tst-strtod-round.c: Likewise.
66186 * stdlib/Makefile (tests): Add tst-strtod-round.
66187
66188 [BZ #14459]
66189 * stdlib/strtod_l.c: Include <stdint.h>.
66190 (NDEBUG): Do not define.
66191 (round_and_return): Change EXPONENT parameter to type intmax_t.
66192 Rearrange calculations to avoid internal overflow possibilities.
66193 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
66194 Rearrange calculations to avoid internal overflow possibilities.
66195 Assert that number fits inside MPNSIZE limbs.
66196 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
66197 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
66198 calculations and add assertions to avoid internal overflow
66199 possibilities. Add casts to avoid signed/unsigned operations.
66200 * stdlib/tst-strtod-overflow.c: New file.
66201 * stdlib/Makefile (tests): Add tst-strtod-overflow.
66202
66203 2012-08-25 Marek Polacek <polacek@redhat.com>
66204
66205 * time/time.h: Fix some typos in comments.
66206
66207 2012-08-23 Roland McGrath <roland@hack.frob.com>
66208
66209 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
66210 * posix/tst-rfc3484-2.c: Likewise.
66211 * posix/tst-rfc3484-3.c: Likewise.
66212
66213 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
66214
66215 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
66216 (EF_ARM_ABI_FLOAT_HARD): Likewise.
66217
66218 2012-08-23 Joseph Myers <joseph@codesourcery.com>
66219
66220 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
66221 #include of fxstatat64.c.
66222
66223 2012-08-22 Roland McGrath <roland@hack.frob.com>
66224
66225 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
66226 * shadow/getspent_r.c: Likewise.
66227 * shadow/getspnam.c: Likewise.
66228 * shadow/getspnam_r.c: Likewise.
66229 * gshadow/getsgent.c: Likewise.
66230 * gshadow/getsgent_r.c: Likewise.
66231 * gshadow/getsgnam.c: Likewise.
66232 * gshadow/getsgnam_r.c: Likewise.
66233 * inet/getnetbyad.c: Likewise.
66234 * inet/getnetbyad_r.c: Likewise.
66235 * inet/getnetbynm.c: Likewise.
66236 * inet/getnetbynm_r.c: Likewise.
66237 * inet/getnetent.c: Likewise.
66238 * inet/getnetent_r.c: Likewise.
66239 * inet/getproto.c: Likewise.
66240 * inet/getproto_r.c: Likewise.
66241 * inet/getprtent.c: Likewise.
66242 * inet/getprtent_r.c: Likewise.
66243 * inet/getprtname.c: Likewise.
66244 * inet/getprtname_r.c: Likewise.
66245 * inet/getrpcbyname.c: Likewise.
66246 * inet/getrpcbyname_r.c: Likewise.
66247 * inet/getrpcbynumber.c: Likewise.
66248 * inet/getrpcbynumber_r.c: Likewise.
66249 * inet/getrpcent.c: Likewise.
66250 * inet/getrpcent_r.c: Likewise.
66251 * inet/getaliasent.c: Likewise.
66252 * inet/getaliasent_r.c: Likewise.
66253 * inet/getaliasname.c: Likewise.
66254 * inet/getaliasname_r.c: Likewise.
66255 * nscd/getgrgid_r.c: Likewise.
66256 * nscd/getgrnam_r.c: Likewise.
66257 * nscd/gethstbyad_r.c: Likewise.
66258 * nscd/gethstbynm3_r.c: Likewise.
66259 * nscd/getpwnam_r.c: Likewise.
66260 * nscd/getpwuid_r.c: Likewise.
66261 * nscd/getsrvbynm_r.c: Likewise.
66262 * nscd/getsrvbypt_r.c: Likewise.
66263 * nscd/gai.c: Likewise.
66264
66265 * configure.in (build_nscd): New substituted variable, set
66266 by --disable-build-nscd and defaults to $use_nscd.
66267 * configure: Regenerated.
66268 * config.make.in (build-nscd): New substituted variable.
66269 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
66270 Change conditional to require [$(build-nscd) = yes] as well.
66271 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
66272
66273 [BZ# 13696]
66274 * configure.in (use_nscd): New substituted variable, set by
66275 --disable-nscd. If enabled, define USE_NSCD.
66276 * configure: Regenerated.
66277 * config.h.in: Add USE_NSCD.
66278 * config.make.in (use-nscd): New substituted variable.
66279 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
66280 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
66281 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
66282 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
66283 (CFLAGS-getgrnam_r.c): Likewise.
66284 (CFLAGS-initgroups.c): Likewise.
66285 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
66286 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
66287 Variables removed.
66288 * inet/getnetgrent_r.c
66289 (nscd_setnetgrent): New function, broken out of ...
66290 (setnetgrent): ... here. Call it.
66291 (innetgr): Conditionalize nscd bits on [USE_NSCD].
66292 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
66293 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
66294 * nscd/Makefile (routines, aux): Move definitions after include of
66295 Makeconfig. Conditionalize on [$(use-nscd) != no].
66296 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
66297 Conditionalize on [USE_NSCD].
66298 (is_nscd, nscd_init_cb): Likewise.
66299 (nss_load_library): Conditionalize init callback on [USE_NSCD].
66300 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
66301 * nss/nss_db/db-init.c: Likewise.
66302 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
66303 [USE_NSCD].
66304 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
66305 (make_request): Use it.
66306 (cache_valid_p): New function.
66307 (__check_pf): Use it.
66308 * NEWS: Add item for --disable-nscd.
66309
66310 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
66311
66312 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
66313 to support sed >= 4.2.1-20-ga9bf076.
66314 * configure: Regenerated.
66315
66316 2012-08-22 Roland McGrath <roland@hack.frob.com>
66317
66318 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
66319 Conditionalize whole body on [IREL].
66320
66321 2012-08-22 Jeff Law <law@redhat.com>
66322
66323 [BZ #14505]
66324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
66325 if the family is PF_UNSPEC.
66326
66327 2012-08-22 Mike Frysinger <vapier@gentoo.org>
66328
66329 * Makerules (lib-version): Rename from V.
66330 (install-lib-nosubdir): Change V to lib-version.
66331
66332 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
66333
66334 [BZ #14252]
66335 * powerpc32/power6/wcschr.c: New file.
66336 * powerpc32/power6/wcscpy.c: New file.
66337 * powerpc32/power6/wcsrchr.c: New file.
66338 * powerpc64/power6/wcschr.c: New file.
66339 * powerpc64/power6/wcscpy.c: New file.
66340 * powerpc64/power6/wcsrchr.c: New file.
66341
66342 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
66343
66344 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
66345 (two_way_short_needle): Use it.
66346 * string/strstr.c (AVAILABLE1_USES_J): Define.
66347 * string/strcasestr.c: Likewise.
66348
66349 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
66350 array references.
66351 * string/strcasestr.c (TOLOWER): Make side-effect safe.
66352
66353 [BZ #11607]
66354 * NEWS: Add an entry.
66355 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
66356 define their defaults.
66357 (two_way_short_needle): Detect end-of-string on-the-fly.
66358 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
66359 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
66360 * string/bug-strcasestr1.c: New test.
66361 * string/Makefile: Run it.
66362
66363 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
66364
66365 [BZ #11607]
66366 * string/str-two-way.h (two_way_short_needle): Optimize matching of
66367 the first character.
66368
66369 2012-08-21 Roland McGrath <roland@hack.frob.com>
66370
66371 * csu/elf-init.c (__libc_csu_irel): Function removed.
66372 * csu/libc-start.c (apply_irel): New function.
66373 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
66374
66375 2012-08-21 Joseph Myers <joseph@codesourcery.com>
66376
66377 * sysdeps/unix/sysv/linux/kernel-features.h
66378 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
66379 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66380 <kernel-features.h>.
66381 [__NR_fadvise64_64]: Make code unconditional.
66382 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
66383 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66384 !__NR_fadvise64_64)]: Likewise.
66385 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66386 !__NR_fadvise64_64))]: Likewise.
66387 [__NR_fadvise64]: Make code unconditional.
66388 [!__NR_fadvise64]: Remove conditional code.
66389 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
66390 <kernel-features.h>.
66391 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66392 unconditional.
66393 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66394 conditional code.
66395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
66396 not include <kernel-features.h>.
66397 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66398 unconditional.
66399 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66400 conditional code.
66401 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
66402 include <kernel-features.h>.
66403 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66404 unconditional.
66405 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66406 conditional code.
66407
66408 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
66409
66410 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
66411 slight instruction rearrangements per scrollpipe analysis.
66412 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66413
66414 2012-08-20 Roland McGrath <roland@hack.frob.com>
66415
66416 * manual/syslog.texi (syslog; vsyslog, closelog):
66417 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
66418 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
66419
66420 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
66421 DSOCAPS to match condition on defining it.
66422
66423 2012-08-20 Joseph Myers <joseph@codesourcery.com>
66424
66425 * sysdeps/unix/sysv/linux/kernel-features.h
66426 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
66427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
66428 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66429 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
66431 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66432 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
66434 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66435 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66436
66437 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
66438 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
66439
66440 * sysdeps/unix/sysv/linux/kernel-features.h
66441 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
66442 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
66443 unconditional.
66444 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66445 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
66446 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66447 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66448 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
66449 Make code unconditional.
66450 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66451 (__mmap64) [!__NR_mmap2]: Likewise.
66452 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
66453 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66454 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66455 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
66456 [__NR_mmap2]: Make code unconditional.
66457 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66458 (__mmap64) [!__NR_mmap2]: Likewise.
66459
66460 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66461
66462 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
66463
66464 2012-08-18 Andreas Jaeger <aj@suse.de>
66465
66466 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
66467
66468 2012-08-18 Mike Frysinger <vapier@gentoo.org>
66469
66470 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
66471 * include/unistd.h (__have_sock_cloexec): Likewise.
66472 (__have_pipe2): Likewise.
66473 (__have_dup3): Likewise.
66474
66475 2012-08-18 Mike Frysinger <vapier@gentoo.org>
66476
66477 [BZ #9685]
66478 * include/unistd.h (__have_pipe2): Change define into an extern int.
66479 (__have_dup3): Likewise.
66480 * socket/have_sock_cloexec.c: Include fcntl.h.
66481 (__have_pipe2): New variable.
66482 (__have_dup3): Likewise.
66483
66484 2012-08-17 Mike Frysinger <vapier@gentoo.org>
66485
66486 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
66487
66488 2012-08-17 Marek Polacek <polacek@redhat.com>
66489
66490 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
66491 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
66492
66493 2012-08-17 Roland McGrath <roland@hack.frob.com>
66494
66495 * configure.in: Add AC_SUBST for sysheaders.
66496 * configure: Regenerated.
66497 * config.make.in (sysheaders): New substituted variable.
66498
66499 * sysdeps/unix/mkfifo.c: Moved ...
66500 * sysdeps/posix/mkfifo.c: ... here.
66501 * sysdeps/unix/mkfifoat.c: Moved ...
66502 * sysdeps/posix/mkfifoat.c: ... here.
66503
66504 * sysdeps/unix/utime.c: Moved ...
66505 * sysdeps/posix/utime.c: ... here.
66506
66507 * sysdeps/unix/time.c: Moved ...
66508 * sysdeps/posix/time.c: ... here.
66509 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
66510 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
66511
66512 * sysdeps/unix/nice.c: Moved ...
66513 * sysdeps/posix/nice.c: ... here.
66514
66515 * sysdeps/unix/alarm.c: Moved ...
66516 * sysdeps/posix/alarm.c: ... here.
66517
66518 * intl/Makefile ($(codeset_mo)): Depend on the input file.
66519
66520 2012-08-17 Jeff Law <law@redhat.com>
66521
66522 * intl/Makefile (codeset_mo): New variable.
66523 ($(codeset_mo)): New target.
66524 (tst-codeset.out): Depend on that. Remove explicit rule.
66525 (tst-gettext3.out, tst-gettext5.out): Likewise.
66526 (LOCPATH-ENV, tst-codeset-ENV): New variables.
66527 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
66528 * intl/tst-codeset.sh: Remove.
66529 * intl/tst-gettext3.sh: Likewise.
66530 * intl/tst-gettext5.sh: Likewise.
66531
66532 2012-08-17 Roland McGrath <roland@hack.frob.com>
66533
66534 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
66535 * sysdeps/unix/syscalls.list: ... here.
66536
66537 * sysdeps/posix/getaddrinfo.c
66538 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
66539 (gaiconf_init, gaiconf_reload): Use them.
66540 [!_STATBUF_ST_NSEC]
66541 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
66542 Define using time_t rather than struct timespec.
66543
66544 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
66545 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
66546 Macros removed.
66547 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
66548 [!NO_THREADS].
66549 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
66550 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
66551 Likewise.
66552
66553 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
66554 __libc_cleanup_push argument.
66555
66556 * bits/param.h: New file.
66557 * misc/sys/param.h: New file.
66558 * include/sys/param.h: New file.
66559 * misc/Makefile (headers): Add bits/param.h.
66560 * sysdeps/generic/sys/param.h: File removed.
66561 * sysdeps/unix/sysv/linux/bits/param.h: New file.
66562 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
66563 * sysdeps/mach/hurd/bits/param.h: New file.
66564 * sysdeps/mach/hurd/sys/param.h: File removed.
66565
66566 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
66567 last change.
66568
66569 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
66570 [_IO_MTSAFE_IO].
66571 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
66572 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
66573 New macros.
66574
66575 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
66576 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
66577 rather than -D_IO_MTSAFE_IO conditionally.
66578 * stdio-common/Makefile (CPPFLAGS): Likewise.
66579 * wcsmbs/Makefile (CPPFLAGS): Likewise.
66580 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
66581 Use $(libio-mtsafe).
66582 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
66583 of -D_IO_MTSAFE_IO.
66584 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
66585 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
66586 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
66587 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
66588 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
66589 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
66590 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
66591 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
66592 (CFLAGS-fread_u_chk.c): Likewise.
66593 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
66594 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
66595 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
66596 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
66597 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
66598 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
66599 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
66600 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
66601 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
66602
66603 * libio/Makefile: Test [$(libc-reentrant) = yes]
66604 instead of [$(filter %REENTRANT, $(defines)) nonempty].
66605
66606 * Makeconfig
66607 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
66608 * sysdeps/pthread/configure: File removed.
66609 * sysdeps/pthread/Makeconfig: New file.
66610 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
66611 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
66612
66613 2012-08-16 Gary Benson <gbenson@redhat.com>
66614
66615 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
66616 unmapping the first object in a namespace.
66617
66618 2012-08-16 Roland McGrath <roland@hack.frob.com>
66619
66620 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
66621 (__internal_setnetgrent): ... this. Add internal_function to
66622 definition. Add libc_hidden_def.
66623 (setnetgrent): Update caller.
66624 (internal_endnetgrent): Renamed to ...
66625 (__internal_endnetgrent): ... this. Add internal_function to
66626 definition. Add libc_hidden_def.
66627 (endnetgrent): Update caller.
66628 (internal_getnetgrent_r): Renamed to ...
66629 (__internal_getnetgrent_r): ... this. Add internal_function to
66630 definition. Add libc_hidden_def.
66631 (__getnetgrent_r): Update caller.
66632 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
66633
66634 2012-08-16 Joseph Myers <joseph@codesourcery.com>
66635
66636 * stdlib/longlong.h: Update from GCC.
66637
66638 2012-08-16 Roland McGrath <roland@hack.frob.com>
66639
66640 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
66641 on _QL, which is set by umul_ppmm but never used.
66642 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
66643 variables, which are set by GMP macros but never used.
66644 * stdio-common/_itowa.c (_itowa): Likewise.
66645 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
66646 * stdlib/mod_1.c (mpn_mod_1): Likewise.
66647
66648 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
66649
66650 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
66651 struct La_sh_regs is not constant.
66652 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
66653 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
66654 and struct La_sparc64_regs are not constant.
66655
66656 2012-08-16 Joseph Myers <joseph@codesourcery.com>
66657
66658 * sysdeps/unix/sysv/linux/kernel-features.h
66659 (__ASSUME_POSIX_TIMERS): Remove.
66660 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66661 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66662 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
66663 Make code unconditional.
66664 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66665 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
66666 Make code unconditional.
66667 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66668 * sysdeps/unix/sysv/linux/clock_nanosleep.c
66669 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
66670 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66671 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
66672 Make code unconditional.
66673 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66674 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
66675 (__libc_missing_posix_timers): Remove.
66676
66677 2012-08-15 Roland McGrath <roland@hack.frob.com>
66678
66679 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
66680 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
66681
66682 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
66683
66684 * elf/dl-sym.c: Include <stdlib.h>.
66685
66686 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
66687 constants, which avoids warnings in 32-bit builds.
66688
66689 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
66690 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
66691
66692 * misc/lseek.c: File moved to ...
66693 * io/lseek.c: ... here.
66694
66695 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
66696
66697 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
66698 shifting LEN more than 31 bits at once.
66699
66700 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66701
66702 [BZ #14195]
66703 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
66704 segmentation fault for a case of two empty input strings.
66705 * string/test-strncasecmp.c (check1): Renamed to...
66706 (bz12205): ...this.
66707 (bz14195): Add new testcase for two empty input strings and N > 0.
66708 (test_main): Call new testcase, adapt for renamed function.
66709
66710 2012-08-15 Andreas Jaeger <aj@suse.de>
66711
66712 [BZ #14090]
66713 * crypt/md5test2.c: New test, based on test supplied by Serge
66714 Belyshev <belyshev@depni.sinp.msu.ru>.
66715 * crypt/Makefile (xtests): Add md5test-giant..
66716 * crypt/Makefile ($(objpfx)md5test-giant): Add.
66717
66718 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
66719
66720 [BZ #14090]
66721 * crypt/md5.c (md5_process_block): Don't assume the buffer
66722 length is less than 2**32.
66723 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
66724 length is less than 2**64.
66725
66726 2012-08-15 Roland McGrath <roland@hack.frob.com>
66727
66728 * string/str-two-way.h: Include <sys/param.h>.
66729 (MAX): Macro removed.
66730
66731 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
66732 Move #define and #undef of memmove to just before and after
66733 including <string.h>.
66734
66735 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
66736 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
66737 and after including <string.h>. Move declarations of
66738 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
66739 to before #include "string/memmove.c".
66740
66741 * include/dirent.h: Declare __getdirentries.
66742
66743 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
66744 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
66745
66746 2012-08-14 Mike Frysinger <vapier@gentoo.org>
66747
66748 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
66749 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
66750 * sysdeps/i386/configure: Regenerated.
66751 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
66752 STABS_CURRENT_FILE, and STABS_FUN.
66753 (END): Remove call to STABS_FUN_END.
66754 (STABS_CURRENT_FILE1): Delete.
66755 (STABS_CURRENT_FILE): Likewise.
66756 (STABS_FUN): Likewise.
66757 (STABS_FUN_END): Likewise.
66758 (STABS_FUN2): Likewise.
66759 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
66760 * sysdeps/x86_64/configure: Regenerated.
66761
66762 2012-08-14 Roland McGrath <roland@hack.frob.com>
66763
66764 * elf/dl-open.c: Include <atomic.h>.
66765 * elf/dl-lookup.c: Likewise.
66766
66767 2012-08-14 Joseph Myers <joseph@codesourcery.com>
66768
66769 * sysdeps/unix/sysv/linux/kernel-features.h
66770 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
66771 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
66772 unconditionally.
66773 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
66774 unconditionally.
66775 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
66776 condition on __ASSUME_CLONE_THREAD_FLAGS.
66777
66778 2012-08-14 Andreas Jaeger <aj@suse.de>
66779
66780 * sysdeps/i386/fpu/libm-test-ulps: Update.
66781
66782 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
66783
66784 * include/atomic.h (atomic_exchange_and_add): Split into ...
66785 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
66786 New atomic macros.
66787
66788 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
66789
66790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66791
66792 2012-08-13 Jeff Law <law@redhat.com>
66793
66794 * manual/stdio.texi (snprintf): Clarify handling of the trailing
66795 null byte in the output string.
66796
66797 2012-08-10 Joseph Myers <joseph@codesourcery.com>
66798
66799 * sysdeps/unix/sysv/linux/kernel-features.h
66800 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
66801 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
66802 (__ASSUME_ARG_MAX_STACK_BASED): Define.
66803 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
66804 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
66805 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
66806 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
66807
66808 2012-08-09 Jeff Law <law@redhat.com>
66809
66810 [BZ #13939]
66811 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
66812 When avoid_arena is set, don't retry in the that arena. Pick the
66813 next one, whatever it might be.
66814 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
66815 (arena_lock): Pass in new parameter to arena_get2.
66816 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
66817 arena_get2.
66818 (__libc_malloc): Unify retrying after main arena failure with
66819 __libc_memalign version.
66820 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
66821
66822 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
66823
66824 [BZ #14166]
66825 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
66826 to __redirect_strstr.
66827 (__strstr_sse42): Use typeof __redirect_strstr.
66828 (__strstr_ia32): Likewise.
66829 (__libc_strstr): New prototype.
66830 (strstr): Renamed to ...
66831 (__libc_strstr): This.
66832 (strstr): New strong alias of __libc_strstr.
66833 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
66834 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
66835 __redirect_time.
66836 Include <time.h>.
66837 (__libc_time): New prototype.
66838 (time_ifunc): Replace time with __libc_time.
66839 (time): New strong alias and hidden definition of __libc_time.
66840 (__GI_time): Remove strong alias.
66841 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
66842 Include <stddef.h>.
66843 (memmove): Redefined to __redirect_memmove.
66844 (__memmove_sse2): Use typeof __redirect_memmove.
66845 (__memmove_ssse3): Likewise.
66846 (__memmove_ssse3_back): Likewise.
66847 (__libc_memmove): New prototype.
66848 (memmove): Renamed to ...
66849 (__libc_memmove): This.
66850 (memmove): New strong alias of __libc_memmove.
66851
66852 2012-08-08 Mark Salter <msalter@redhat.com>
66853
66854 * elf/elf.h
66855 (R_MN10300_TLS_GD): Define.
66856 (R_MN10300_TLS_LD): Likewise.
66857 (R_MN10300_TLS_LDO): Likewise.
66858 (R_MN10300_TLS_GOTIE): Likewise.
66859 (R_MN10300_TLS_IE): Likewise.
66860 (R_MN10300_TLS_LE): Likewise.
66861 (R_MN10300_TLS_DTPMOD): Likewise.
66862 (R_MN10300_TLS_DTPOFF): Likewise.
66863 (R_MN10300_TLS_TPOFF): Likewise.
66864 (R_MN10300_SYM_DIFF): Likewise.
66865 (R_MN10300_ALIGN): Likewise.
66866 (R_MN10300_NUM): Update.
66867
66868 2012-08-08 Joseph Myers <joseph@codesourcery.com>
66869
66870 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
66871 Remove.
66872
66873 2012-08-08 Roland McGrath <roland@hack.frob.com>
66874
66875 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
66876
66877 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
66878 sysdeps/unix -> sysdeps/posix move.
66879 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
66880
66881 2012-08-07 Allan McRae <allan@archlinux.org>
66882
66883 [BZ #14303]
66884 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
66885 (SUNOS_CPP): Likewise.
66886 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
66887 not found.
66888 (open_input): Call CPP using execvp.
66889
66890 2012-08-07 Joseph Myers <joseph@codesourcery.com>
66891
66892 * sysdeps/unix/sysv/linux/kernel-features.h
66893 (__ASSUME_PROT_GROWSUPDOWN): Remove.
66894 (__ASSUME_NO_CLONE_DETACHED): Likewise.
66895 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
66896 (__ASSUME_WAITID_SYSCALL): Likewise.
66897 * sysdeps/unix/sysv/linux/dl-execstack.c
66898 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
66899 code unconditional.
66900 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
66901 conditional code.
66902 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
66903 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
66904 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
66905 code.
66906 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
66907 unconditional.
66908 [__ASSUME_WAITID_SYSCALL]: Likewise.
66909 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
66910
66911 2012-08-07 Roland McGrath <roland@hack.frob.com>
66912
66913 * sysdeps/unix/closedir.c: Renamed to ...
66914 * sysdeps/posix/closedir.c: ... here.
66915 * sysdeps/unix/dirfd.c: Renamed to ...
66916 * sysdeps/posix/dirfd.c: ... here.
66917 * sysdeps/unix/dirstream.h: Renamed to ...
66918 * sysdeps/posix/dirstream.h: ... here.
66919 * sysdeps/unix/fdopendir.c: Renamed to ...
66920 * sysdeps/posix/fdopendir.c: ... here.
66921 * sysdeps/unix/opendir.c: Renamed to ...
66922 * sysdeps/posix/opendir.c: ... here.
66923 * sysdeps/unix/readdir.c: Renamed to ...
66924 * sysdeps/posix/readdir.c: ... here.
66925 * sysdeps/unix/readdir_r.c: Renamed to ...
66926 * sysdeps/posix/readdir_r.c: ... here.
66927 * sysdeps/unix/rewinddir.c: Renamed to ...
66928 * sysdeps/posix/rewinddir.c: ... here.
66929 * sysdeps/unix/seekdir.c: Renamed to ...
66930 * sysdeps/posix/seekdir.c: ... here.
66931 * sysdeps/unix/telldir.c: Renamed to ...
66932 * sysdeps/posix/telldir.c: ... here.
66933 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
66934 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
66935 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
66936 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
66937
66938 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
66939 * bits/fcntl.h: ... here.
66940
66941 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
66942 not 0.
66943 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
66944 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
66945 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
66946 (struct flock): Move l_start, l_len to the beginning.
66947 Use __pid_t for l_pid.
66948 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
66949 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
66950 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
66951 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
66952 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
66953 [__USE_LARGEFILE64] (struct flock64): New type.
66954 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
66955
66956 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
66957 * bits/dirent.h: ... here.
66958
66959 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
66960 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
66961
66962 2012-08-07 Joseph Myers <joseph@codesourcery.com>
66963
66964 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66965 Change from 2.6.0 to 2.6.16.
66966 * sysdeps/unix/sysv/linux/configure: Regenerated.
66967 * sysdeps/unix/sysv/linux/kernel-features.h
66968 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
66969 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
66970 version.
66971 (__ASSUME_UTIMES): Likewise.
66972 (__ASSUME_CLONE_STOPPED): Remove.
66973 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
66974 architectures, not kernel version.
66975 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
66976 (__ASSUME_NO_CLONE_DETACHED): Likewise.
66977 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
66978 (__ASSUME_WAITID_SYSCALL): Likewise.
66979 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
66980 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
66981 * README: State 2.6.16 as minimum Linux kernel version. Do not
66982 refer to older versions.
66983
66984 2012-08-06 Roland McGrath <roland@hack.frob.com>
66985
66986 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
66987 Define alphasort64 as an alias.
66988 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
66989 Define versionsort64 as an alias.
66990 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
66991 Define scandir64 as an alias.
66992 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
66993 Define scandirat64 as an alias.
66994 * dirent/alphasort64.c (alphasort64):
66995 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
66996 * dirent/versionsort64.c: Likewise.
66997 * dirent/scandir64.c: Likewise.
66998 * dirent/scandirat64.c: Likewise.
66999 * sysdeps/wordsize-64/alphasort.c: File removed.
67000 * sysdeps/wordsize-64/alphasort64.c: File removed.
67001 * sysdeps/wordsize-64/scandir.c: File removed.
67002 * sysdeps/wordsize-64/scandir64.c: File removed.
67003 * sysdeps/wordsize-64/scandirat.c: File removed.
67004 * sysdeps/wordsize-64/scandirat64.c: File removed.
67005 * sysdeps/wordsize-64/versionsort.c: File removed.
67006 * sysdeps/wordsize-64/versionsort64.c: File removed.
67007 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67008 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67009 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67010 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67011 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67012 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67013 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67014 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67015
67016 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67017 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67018 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67019 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67020 [defined __arch64__ || defined __sparcv9]
67021 (__INO_T_MATCHES_INO64_T): New macro.
67022 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67023 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67024 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67025 * sysdeps/unix/sysv/linux/bits/dirent.h
67026 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67027 (_DIRENT_MATCHES_DIRENT64): New macro.
67028
67029 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67030 Define lockf64 as an alias.
67031 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67032 Define fseeko64 as an alias.
67033 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67034 Define ftello64 as an alias.
67035 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67036 Define _IO_fgetpos64 and fgetpos64 as aliases.
67037 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67038 Define _IO_fsetpos64 and fsetpos64 as aliases.
67039 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67040 Conditionalize body on this.
67041 * libio/fseeko64.c: Likewise.
67042 * libio/ftello64.c: Likewise.
67043 * libio/iofgetpos64.c: Likewise.
67044 * libio/iofsetpos64.c: Likewise.
67045 * sysdeps/wordsize-64/lockf.c: File removed.
67046 * sysdeps/wordsize-64/lockf64.c: File removed.
67047 * sysdeps/wordsize-64/fseeko.c: File removed.
67048 * sysdeps/wordsize-64/fseeko64.c: File removed.
67049 * sysdeps/wordsize-64/ftello.c: File removed.
67050 * sysdeps/wordsize-64/ftello64.c: File removed.
67051 * sysdeps/wordsize-64/iofgetpos.c: File removed.
67052 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67053 * sysdeps/wordsize-64/iofsetpos.c: File removed.
67054 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67055 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67056 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67057 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67058 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67059 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67060 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67061 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67062 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67063 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67064 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67065
67066 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67067 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67068 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67069 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67070 [defined __arch64__ || defined __sparcv9]
67071 (__OFF_T_MATCHES_OFF64_T): New macro.
67072 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67073 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67074 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67075 (__OFF_T_MATCHES_OFF64_T): New macro.
67076
67077 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67078
67079 * stdlib/secure-getenv.c (__secure_getenv): Replace
67080 GLIBC_2_16 with GLIBC_2_17.
67081
67082 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67083
67084 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67085 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67086
67087 2012-08-03 David S. Miller <davem@davemloft.net>
67088
67089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67090
67091 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67092
67093 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67094 Remove.
67095 (__ASSUME_CORRECT_SI_PID): Likewise.
67096 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67097 (__ASSUME_TMPFS_NAME): Likewise.
67098 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67099 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67100 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67101 (HAVE_AUX_SECURE): Make definition unconditional.
67102 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67103 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67104
67105 2012-08-03 Roland McGrath <roland@hack.frob.com>
67106
67107 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67108 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67109 * sysdeps/mach/hurd/eloop-threshold.h: New file.
67110 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67111 __eloop_threshold instead of SYMLOOP_MAX.
67112
67113 * sysdeps/generic/eloop-threshold.h: New file.
67114 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67115 of MAXSYMLINKS.
67116 * elf/chroot_canon.c (chroot_canon): Likewise.
67117
67118 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67119
67120 [BZ #13717]
67121 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67122 Change to 2.6.0 everywhere.
67123 * sysdeps/unix/sysv/linux/configure: Regenerated.
67124 * sysdeps/unix/sysv/linux/kernel-features.h
67125 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67126 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67127 kernel versions.
67128 (__ASSUME_POSIX_TIMERS): Define unconditionally.
67129 (__ASSUME_FUTEX_REQUEUE): Remove.
67130 (__ASSUME_STATFS64): Define unconditionally.
67131 (__ASSUME_AT_SECURE): Likewise.
67132 (__ASSUME_CORRECT_SI_PID): Likewise.
67133 (__ASSUME_TGKILL): Define without depending on kernel version for
67134 i386.
67135 (__ASSUME_UTIMES): Likewise.
67136 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67137 kernel version.
67138 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67139 (__ASSUME_TMPFS_NAME): Likewise.
67140 * README: Update reference to Linux kernel versions.
67141
67142 2012-08-02 Marek Polacek <polacek@redhat.com>
67143
67144 [BZ# 14150]
67145 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
67146 libc_cv_asm_type_prefix with %.
67147 * configure: Regenerated.
67148 * include/libc-symbols.h: Remove comment about
67149 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67150 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67151 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67152 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67153 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67154 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67155 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67156 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67157 * elf/tst-unique2mod1.c: Likewise.
67158 * elf/tst-unique1mod2.c: Likewise.
67159 * elf/tst-unique1mod1.c: Likewise.
67160 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67161 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67162 Replace ASM_TYPE_DIRECTIVE with .type.
67163 * sysdeps/s390/s390-64/sysdep.h: Likewise.
67164 * sysdeps/i386/sysdep.h: Likewise.
67165 * sysdeps/x86_64/sysdep.h: Likewise.
67166 * sysdeps/sh/sysdep.h: Likewise.
67167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67168 Do not define ASM_TYPE_DIRECTIVE.
67169 * sysdeps/powerpc/sysdep.h: Likewise.
67170 * sysdeps/powerpc/powerpc32/sysdep.h:
67171 Replace ASM_TYPE_DIRECTIVE with .type.
67172 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67173 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67174 * sysdeps/i386/fpu/e_powf.S: Likewise.
67175 * sysdeps/i386/fpu/e_expl.S: Likewise.
67176 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67177 * sysdeps/i386/fpu/e_acosh.S: Likewise.
67178 * sysdeps/i386/fpu/e_pow.S: Likewise.
67179 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67180 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67181 * sysdeps/i386/fpu/s_expm1.S: Likewise.
67182 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67183 * sysdeps/i386/fpu/e_log2.S: Likewise.
67184 * sysdeps/i386/fpu/e_log2l.S: Likewise.
67185 * sysdeps/i386/fpu/e_scalb.S: Likewise.
67186 * sysdeps/i386/fpu/e_powl.S: Likewise.
67187 * sysdeps/i386/fpu/e_log10f.S: Likewise.
67188 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67189 * sysdeps/i386/fpu/e_logl.S: Likewise.
67190 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67191 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67192 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67193 * sysdeps/i386/fpu/e_log2f.S: Likewise.
67194 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67195 * sysdeps/i386/fpu/e_log.S: Likewise.
67196 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67197 * sysdeps/i386/fpu/e_logf.S: Likewise.
67198 * sysdeps/i386/fpu/e_log10l.S: Likewise.
67199 * sysdeps/i386/fpu/e_atanh.S: Likewise.
67200 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67201 * sysdeps/i386/fpu/e_log10.S: Likewise.
67202 * sysdeps/i386/fpu/s_frexp.S: Likewise.
67203 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67204 * sysdeps/i386/fpu/s_asinh.S: Likewise.
67205 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67206 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67207 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67208 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67209 * sysdeps/i386/i686/strtok.S: Likewise.
67210 * sysdeps/i386/i386-mcount.S: Likewise.
67211 * sysdeps/i386/strtok.S: Likewise.
67212 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
67213 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67214 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67215 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67216 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67217 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67218 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67219 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67220 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67221 * sysdeps/x86_64/_mcount.S: Likewise.
67222 * sysdeps/x86_64/strtok.S: Likewise.
67223 * sysdeps/sh/_mcount.S: Likewise.
67224
67225 2012-08-01 Roland McGrath <roland@hack.frob.com>
67226
67227 * libio/iofopen.c: Include <fcntl.h>.
67228 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
67229 (_IO_fopen64, fopen64): Define as aliases.
67230 * libio/iofopen64.c: Include <fcntl.h>.
67231 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
67232 Conditionalize body on this.
67233 * sysdeps/wordsize-64/iofopen.c: File removed.
67234 * sysdeps/wordsize-64/iofopen64.c: File removed.
67235
67236 2012-08-01 Marek Polacek <polacek@redhat.com>
67237
67238 * libc/Makeconfig: Use elf in place of binfmt-subdir.
67239 Use dlfcn directly instead of a variable.
67240 (binfmt-subdir): Do not define.
67241 (dlfcn): Likewise.
67242
67243 2012-08-01 Joseph Myers <joseph@codesourcery.com>
67244
67245 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
67246 Remove all definitions.
67247 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
67248 <kernel-features.h>.
67249 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67250 (miss_F_GETOWN_EX): Remove all definitions.
67251 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
67252 macro definition.
67253 [!__ASSUME_FCNTL64]: Remove conditional code.
67254 [__ASSUME_FCNTL64]: Make code unconditional.
67255 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
67256 <kernel-features.h>.
67257 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67258 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
67259 (lockf64) [__NR_fcntl64]: Make code unconditional.
67260 (lockf64) [__ASSUME_FCNTL64]: Likewise.
67261
67262 * sysdeps/unix/sysv/linux/kernel-features.h
67263 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
67264 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
67265 Make code unconditional.
67266 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67267 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
67269 [__NR_vfork]: Make code unconditional.
67270 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67271 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
67273 [__NR_vfork]: Make code unconditional.
67274 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67275 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67276
67277 2012-08-01 Roland McGrath <roland@hack.frob.com>
67278
67279 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
67280 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
67281
67282 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67283 Define mkstemp64 as an alias.
67284 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67285 Define mkstemps64 as an alias.
67286 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67287 Define mkostemp64 as an alias.
67288 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67289 Define mkostemps64 as an alias.
67290 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
67291 Conditionalize body on this.
67292 * misc/mkostemp64.c: Likewise.
67293 * misc/mkostemps64.c: Likewise.
67294 * misc/mkstemps64.c: Likewise.
67295 * sysdeps/wordsize-64/mkstemp64.c: File removed.
67296 * sysdeps/wordsize-64/mkostemp64.c: File removed.
67297 * sysdeps/wordsize-64/mkostemp.c: File removed.
67298 * sysdeps/wordsize-64/mkstemp.c: File removed.
67299 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
67300 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
67301 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
67302 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
67303
67304 [BZ #14138]
67305 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
67306 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
67307 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
67308 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
67309
67310 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
67311 compat_symbol macros from <shlib-compat.h> rather than the underlying
67312 default_symbol_version and symbol_version macros, so that DEFAULT
67313 lines in shlib-versions are respected.
67314 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
67315
67316 2012-08-01 Florian Weimer <fweimer@redhat.com>
67317
67318 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
67319 Declare with warn_unused_result.
67320 (setgid, setregid, setegid, setresgid): Likewise.
67321 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
67322 Likewise.
67323 * WUR-REPORT: Remove set*id functions.
67324
67325 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
67326
67327 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
67328
67329 2012-07-31 Roland McGrath <roland@hack.frob.com>
67330
67331 [BZ #10191]
67332 * include/sys/socket.h (__libc_accept, __libc_accept4):
67333 Add attribute_hidden.
67334 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
67335
67336 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
67337 use of PTR_MANGLE.
67338 * inet/getnetgrent_r.c (setup): Likewise.
67339
67340 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
67341
67342 2012-07-31 David S. Miller <davem@davemloft.net>
67343
67344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67345
67346 2012-07-31 Joseph Myers <joseph@codesourcery.com>
67347
67348 [BZ #13629]
67349 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
67350 value between 1.0 and 2.0 and smaller part has absolute value less
67351 than 1.0.
67352 * math/s_clog10.c (__clog10): Likewise.
67353 * math/s_clog10f.c (__clog10f): Likewise.
67354 * math/s_clog10l.c (__clog10l): Likewise.
67355 * math/s_clogf.c (__clogf): Likewise.
67356 * math/s_clogl.c (__clogl): Likewise.
67357 * math/libm-test.inc (clog_test): Add more tests.
67358 (clog10_test): Likewise.
67359 * sysdeps/i386/fpu/libm-test-ulps: Update.
67360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67361
67362 2012-07-31 Florian Weimer <fweimer@redhat.com>
67363
67364 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
67365 Exit with zero in case no suitable GID is found, and write a
67366 message to standard error.
67367
67368 2012-07-30 Roland McGrath <roland@hack.frob.com>
67369
67370 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
67371 rather than to 1.
67372 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
67373 (MAXPATHLEN): Removed.
67374 (NOGROUP, NODEV): New macros.
67375 (setbit, clrbit, isset, isclr): New macros.
67376 (howmany, roundup, powerof2): New macros.
67377 (DEV_BSIZE): New macro.
67378
67379 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
67380 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
67381
67382 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
67383 definition on [!__NO_LONG_DOUBLE_MATH].
67384
67385 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
67386 PTR_MANGLE and PTR_DEMANGLE.
67387
67388 * socket/accept4.c (accept4): Rename to __libc_accept4.
67389 Define accept4 as a weak alias.
67390
67391 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
67392 on [_DIRENT_HAVE_D_TYPE].
67393 * io/ftw.c (ftw_dir): Likewise.
67394
67395 * io/xmknod.c (__xmknod): Don't check PATH for being null.
67396
67397 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
67398
67399 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
67400 Use the BSD numbers rather than the arbitrary ones we had.
67401 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
67402 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
67403 (SIGXCPU, SIGXFSZ): New macros.
67404 (_NSIG): Now 32.
67405
67406 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
67407 initializer on [_LIBC_REENTRANT].
67408
67409 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
67410 definitions inside [_POSIX_MAPPED_FILES].
67411
67412 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
67413
67414 * dirent/opendir.c: Include <fcntl.h>.
67415
67416 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
67417 (__libc_getspecific): Likewise.
67418 (__libc_key_create): Likewise.
67419
67420 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
67421 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
67422 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
67423 (tmpfile64): Define as alias.
67424 * sysdeps/wordsize-64/tmpfile.c: File removed.
67425 * sysdeps/wordsize-64/tmpfile64.c: File removed.
67426 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
67427 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
67428
67429 * stdio-common/vfscanf.c: Include <stdbool.h>.
67430 * nss/makedb.c: Likewise.
67431 * stdio-common/_i18n_number.h: Likewise.
67432 * argp/argp-help.c: Likewise.
67433 * posix/wordexp.c: Likewise.
67434 * sysdeps/posix/spawni.c: Likewise.
67435 * nss/nss_files/files-initgroups.c: Likewise.
67436 * stdio-common/reg-modifier.c: Include <stdlib.h>.
67437 * nss/nss_files/files-initgroups.c: Likewise.
67438 * nss/nss_db/db-netgrp.c: Likewise.
67439 * nss/nss_db/db-initgroups.c: Likewise.
67440 * io/fchmodat.c: Include <sys/stat.h>.
67441
67442 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
67443 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
67444
67445 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
67446 [HAVE_MMAP].
67447
67448 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
67449 Add multiple inclusion protection.
67450
67451 2012-07-27 David S. Miller <davem@davemloft.net>
67452
67453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67454
67455 2012-07-27 Gary Benson <gbenson@redhat.com>
67456
67457 [BZ #14298]
67458 * elf/rtld.c: Include <stap-probe.h>.
67459 (dl_main): Added static probes "init_start" and "init_complete".
67460 * elf/dl-load.c: Include <stap-probe.h>.
67461 (lose): Take new parameter "nsid".
67462 Added static probe "map_failed".
67463 (_dl_map_object_from_fd): Pass namespace id to lose.
67464 Added static probe "map_start".
67465 (open_verify): Pass namespace id to lose.
67466 * elf/dl-open.c: Include <stap-probe.h>.
67467 (dl_open_worker) Added static probes "map_complete", "reloc_start"
67468 and "reloc_complete".
67469 * elf/dl-close.c: Include <stap-probe.h>.
67470 (_dl_close_worker): Added static probes "unmap_start" and
67471 "unmap_complete".
67472 * elf/rtld-debugger-interface.txt: New file documenting the above.
67473
67474 2012-07-26 Roland McGrath <roland@hack.frob.com>
67475
67476 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
67477 rather than a string variable.
67478 * sunrpc/rpc_main.c (h_output): Likewise.
67479 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
67480
67481 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
67482
67483 * inet/check_native.c: New file.
67484
67485 2012-07-26 Joseph Myers <joseph@codesourcery.com>
67486
67487 [BZ #13629]
67488 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
67489 if larger part has absolute value 1.0.
67490 * math/s_clog10.c (__clog10): Likewise.
67491 * math/s_clog10f.c (__clog10f): Likewise.
67492 * math/s_clog10l.c (__clog10l): Likewise.
67493 * math/s_clogf.c (__clogf): Likewise.
67494 * math/s_clogl.c (__clogl): Likewise.
67495 * math/libm-test.inc (clog_test): Add more tests.
67496 (clog10_test): Likewise.
67497 * sysdeps/i386/fpu/libm-test-ulps: Update.
67498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67499
67500 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
67501 (pltexit): Likewise.
67502 (La_regs): Likewise.
67503 (La_retval): Likewise.
67504 (int_retval): Likewise.
67505 Update #error for removed macros to refer only to definitions in
67506 tst-audit.h.
67507 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
67508 macro.
67509 (pltexit): Likewise.
67510 (La_regs): Likewise.
67511 (La_retval): Likewise.
67512 (int_retval): Likewise.
67513 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
67514 macro.
67515 (pltexit): Likewise.
67516 (La_regs): Likewise.
67517 (La_retval): Likewise.
67518 (int_retval): Likewise.
67519 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
67520 macro.
67521 (pltexit): Likewise.
67522 (La_regs): Likewise.
67523 (La_retval): Likewise.
67524 (int_retval): Likewise.
67525 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
67526 macro.
67527 (pltexit): Likewise.
67528 (La_regs): Likewise.
67529 (La_retval): Likewise.
67530 (int_retval): Likewise.
67531 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
67532 macro.
67533 (pltexit): Likewise.
67534 (La_regs): Likewise.
67535 (La_retval): Likewise.
67536 (int_retval): Likewise.
67537 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
67538 macro.
67539 (pltexit): Likewise.
67540 (La_regs): Likewise.
67541 (La_retval): Likewise.
67542 (int_retval): Likewise.
67543 * sysdeps/generic/tst-audit.h: Update comment to refer only to
67544 macro definitions in tst-audit.h.
67545 * sysdeps/i386/tst-audit.h: New file.
67546 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
67547 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
67548 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
67549 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
67550 * sysdeps/sh/tst-audit.h: Likewise.
67551 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
67552 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
67553 * sysdeps/x86_64/tst-audit.h: Likewise.
67554
67555 2012-07-26 Andreas Jaeger <aj@suse.de>
67556
67557 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
67558 ptrace.
67559
67560 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
67561 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
67562 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
67563 PTRACE_O_MASK.
67564 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
67565 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
67566 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
67567
67568 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
67569 value.
67570
67571 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
67572 _sigsys.
67573 (si_call_addr, si_syscall, si_arch): Define new macro.
67574 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
67575 _sigsys.
67576 (si_call_addr, si_syscall, si_arch): Define new marcro.
67577 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
67578 _sigsys.
67579 (si_call_addr, si_syscall, si_arch): Define new macro.
67580 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
67581 _sigsys.
67582 (si_call_addr, si_syscall, si_arch): Define new macro.
67583
67584 2012-07-25 Joseph Myers <joseph@codesourcery.com>
67585
67586 [BZ #13717]
67587 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67588 Change to 2.4.21 where previously 2.4.1.
67589 * sysdeps/unix/sysv/linux/configure: Regenerated.
67590 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
67591 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
67592 Linux kernel version.
67593 (__ASSUME_STD_AUXV): Remove.
67594 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
67595 kernel version.
67596 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
67597 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
67598 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
67599 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
67600 (__ASSUME_NETLINK_SUPPORT): Likewise.
67601 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
67602 (__no_netlink_support): Remove conditional definition.
67603 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
67604 Remove.
67605 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67606 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
67607 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
67608 (if_nameindex_ioctl): Remove.
67609 (if_nameindex_netlink): Do not handle __no_netlink_support.
67610 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67611 code.
67612 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
67613 Remove conditional code.
67614 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67615 code.
67616 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
67617 unconditional.
67618 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67619 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
67620 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
67621 Remove.
67622 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
67623 [!__ASSUME_STD_AUXV]: Remove conditional code.
67624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
67625 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
67626 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
67627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
67628 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
67629 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67630 code.
67631 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
67633 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
67634 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67635 conditional code.
67636 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
67638 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67639 code.
67640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
67641 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67642 conditional code.
67643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
67644 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67645 code unconditional.
67646 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67647 conditional code.
67648 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67649 unconditional.
67650 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67651 conditional code.
67652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67653 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67654 unconditional.
67655 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67656 conditional code.
67657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
67658 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67659 code unconditional.
67660 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67661 conditional code.
67662 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67663 unconditional.
67664 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67665 conditional code.
67666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
67667 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67668 code unconditional.
67669 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67670 conditional code.
67671 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67672 unconditional.
67673 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67674 conditional code.
67675
67676 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
67677
67678 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
67679 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
67680 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
67681 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
67682 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
67683 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
67684 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
67685 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
67686 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
67687 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
67688 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
67689 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
67690 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
67691 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
67692 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
67693 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
67694 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
67695 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
67696 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
67697 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
67698 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
67699 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
67700 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67701
67702 2012-07-25 Florian Weimer <fweimer@redhat.com>
67703
67704 * Versions.def: Add GLIBC_2.17.
67705 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
67706 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
67707 Introduce __libc_secure_getenv.
67708 * stdlib/Versions (2.17): Add secure_getenv
67709 (GLIBC_PRIVATE): Add __libc_secure_getenv.
67710 * stdlib/secure-getenv.c: Rename __secure_getenv to
67711 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
67712 symbol __secure_getenv for GLIBC_2.0.
67713 * stdlib/tst-secure-getenv.c: New.
67714 * stdlib/Makefile (tests): Add testcase.
67715 * manual/startup.texi (Environment Access): Document
67716 secure_getenv.
67717 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
67718 __libc_secure_getenv.
67719 * inet/ruserpass.c (ruserpass): Likewise.
67720 * malloc/mtrace.c (mtrace): Likewise.
67721 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
67722 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
67723 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
67724 * sysdeps/posix/tempname.c: Likewise. Evaluate
67725 HAVE_SECURE_GETENV.
67726 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
67727 __secure_getenv to __libc_secure_getenv.
67728 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
67729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67730 Likewise.
67731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67732 Likewise.
67733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67735 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67740
67741 2012-07-25 Joseph Myers <joseph@codesourcery.com>
67742
67743 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
67744 (struct La_i86_retval): Likewise.
67745 (struct La_x86_64_regs): Likewise.
67746 (struct La_x86_64_retval): Likewise.
67747 (struct La_x32_regs): Likewise.
67748 (struct La_x32_retval): Likewise.
67749 (struct La_ppc32_regs): Likewise.
67750 (struct La_ppc32_retval): Likewise.
67751 (struct La_ppc64_regs): Likewise.
67752 (struct La_ppc64_retval): Likewise.
67753 (struct La_sh_regs): Likewise.
67754 (struct La_sh_retval): Likewise.
67755 (struct La_s390_32_regs): Likewise.
67756 (struct La_s390_32_retval): Likewise.
67757 (struct La_s390_64_regs): Likewise.
67758 (struct La_s390_64_retval): Likewise.
67759 (struct La_sparc32_regs): Likewise.
67760 (struct La_sparc32_retval): Likewise.
67761 (struct La_sparc64_regs): Likewise.
67762 (struct La_sparc64_retval): Likewise.
67763 (struct audit_ifaces): Remove architecture-specific pltenter and
67764 pltexit members.
67765 * sysdeps/i386/ldsodefs.h: New file.
67766 * sysdeps/powerpc/ldsodefs.h: Likewise.
67767 * sysdeps/s390/ldsodefs.h: Likewise.
67768 * sysdeps/sh/ldsodefs.h: Likewise.
67769 * sysdeps/sparc/ldsodefs.h: Likewise.
67770 * sysdeps/x86_64/ldsodefs.h: Likewise.
67771
67772 2012-07-25 Marek Polacek <polacek@redhat.com>
67773
67774 [BZ #6808]
67775 * math/libm-test.inc (yn_test): Add another test.
67776 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
67777 to ERANGE when the result is +-Inf.
67778 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
67779 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
67780 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
67781 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
67782
67783 2012-07-24 Joseph Myers <joseph@codesourcery.com>
67784
67785 * conform/data/time.h-data (NULL): Use macro-constant. Require
67786 equal to 0.
67787 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
67788 clock_t.
67789 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
67790
67791 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
67792
67793 * configure.in <sysdeps resolving>: Correct printing
67794 Implies_before.
67795 * configure: Regenerate.
67796
67797 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
67798
67799 * math/w_ilogb.c: Include <limits.h>.
67800 * math/w_ilogbl.c: Likewise.
67801
67802 2012-07-20 Joseph Myers <joseph@codesourcery.com>
67803
67804 * manual/lang.texi (__va_copy): Document primarily as ISO C99
67805 va_copy. Document allowing for unavailable va_copy only as
67806 pre-C99 compatibility.
67807 * manual/string.texi (Copying and Concatenation): Use va_copy
67808 instead of __va_copy in concat example.
67809
67810 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
67811
67812 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
67813 (__sendto): Use create_address_port. Initialize APORT and deallocate
67814 it if not null.
67815
67816 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
67817 with O_NOLINK passed to __file_name_lookup.
67818
67819 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
67820 with O_NOLINK passed to __file_name_lookup.
67821
67822 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
67823 negative N or less than NGIDS.
67824
67825 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
67826 type to string_t. Set ERANGE as errno and return it if NAME is not big
67827 enough. Use memcpy instead of strncpy.
67828
67829 2012-07-20 Joseph Myers <joseph@codesourcery.com>
67830
67831 * elf/Makefile (check-data): Remove.
67832 (localplt.data): New vpath directive.
67833 ($(objpfx)check-localplt.out): Use localplt.data from vpath
67834 instead of $(check-data).
67835 * scripts/data/localplt-generic.data: Move to ...
67836 * sysdeps/generic/localplt.data: ... here.
67837 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
67838 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
67839 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
67840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
67841 ... here.
67842 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
67843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
67844 ... here.
67845 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
67846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
67847 ... here.
67848 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
67849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
67850 ... here.
67851 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
67852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
67853 ... here.
67854 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
67855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
67856 ... here.
67857
67858 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67859
67860 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
67861 PPC32 and PPC64 files.
67862 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
67863 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
67864
67865 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67866
67867 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
67868 __makecontext_ret to ...
67869 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
67870 ... here and call exit if uc_link is NULL. New file.
67871 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
67872 __makecontext_ret.S.
67873 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
67874 __makecontext_ret to ...
67875 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
67876 ... here and call exit if uc_link is NULL. New file.
67877 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
67878 __makecontext_ret.S.
67879
67880 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67881
67882 * elf/elf.h (R_390_IRELATIVE): New definition.
67883 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
67884 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
67885 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
67886 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
67887 (elf_machine_lazy_rel): Likewise.
67888 * sysdeps/s390/dl-irel.h: New file.
67889 * sysdeps/s390/s390-64/memcpy.S: New asm code.
67890 * sysdeps/s390/s390-64/memset.S: New asm code.
67891 * sysdeps/s390/s390-64/memcmp.S: New asm code.
67892 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
67893 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
67894 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
67895 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
67896 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
67897 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
67898 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
67899 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
67900 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
67901 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
67902 * sysdeps/s390/s390-32/memcpy.S: New asm code.
67903 * sysdeps/s390/s390-32/memset.S: New asm code.
67904 * sysdeps/s390/s390-32/memcmp.S: New asm code.
67905
67906 2012-07-17 Marek Polacek <polacek@redhat.com>
67907
67908 [BZ #14349]
67909 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
67910 * sysdeps/s390/s390-64/configure.in: Likewise.
67911 * sysdeps/sparc/configure.in: Likewise.
67912 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
67913 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
67914 * sysdeps/i386/configure.in: Likewise.
67915 * sysdeps/x86_64/configure.in: Likewise.
67916 * sysdeps/sh/configure.in: Likewise.
67917 * sysdeps/s390/s390-32/configure: Regenerated.
67918 * sysdeps/s390/s390-64/configure: Likewise.
67919 * sysdeps/x86_64/configure: Likewise.
67920 * sysdeps/sh/configure: Likewise.
67921 * sysdeps/powerpc/powerpc64/configure: Likewise.
67922 * sysdeps/powerpc/powerpc32/configure: Likewise.
67923 * sysdeps/sparc/configure: Likewise.
67924 * sysdeps/i386/configure: Likewise.
67925
67926 * elf/dl-open.c: Comment fixes.
67927
67928 2012-07-17 Joseph Myers <joseph@codesourcery.com>
67929
67930 * Makefile [CXX] (check-data): Remove.
67931 [CXX] (c++-types.data): New vpath directive.
67932 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
67933 vpath. Do not allow for C++ type data being missing.
67934 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
67935 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
67936 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
67937 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
67938 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
67939 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
67940 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
67941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
67942 ... here.
67943 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
67944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
67945 ... here.
67946 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
67947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
67948 ... here.
67949 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
67950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
67951 ... here.
67952 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
67953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
67954 ... here.
67955 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
67956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
67957 ... here.
67958 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
67959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
67960 ... here.
67961 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
67962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
67963
67964 * elf/tls-macros.h (TLS_LE): Move architecture-specific
67965 definitions to architecture-specific files.
67966 (TLS_IE): Likewise.
67967 (TLS_LD): Likewise.
67968 (TLS_GD): Likewise.
67969 * sysdeps/i386/tls-macros.h: New file.
67970 * sysdeps/powerpc/tls-macros.h: Likewise.
67971 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
67972 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
67973 * sysdeps/sh/tls-macros.h: Likewise.
67974 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
67975 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
67976 * sysdeps/x86_64/tls-macros.h: Likewise.
67977
67978 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
67979
67980 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
67981 zero value for regular exit case.
67982
67983 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
67984 (__start_context): Preserve zero value for regular exit case.
67985
67986 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
67987 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67988
67989 * manual/setjmp.texi (setcontext): Clarify normal process
67990 termination when uc_link is the null pointer.
67991 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
67992 exit call.
67993
67994 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
67995
67996 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
67997 preprocessor. Test for each exception mask separately.
67998
67999 2012-07-16 Andreas Jaeger <aj@suse.de>
68000
68001 * po/ru.po: Update from translation team.
68002
68003 2012-07-15 Joseph Myers <joseph@codesourcery.com>
68004
68005 * conform/data/string.h-data (NULL): Use macro-constant. Require
68006 equal to 0.
68007 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68008 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68009 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68010 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68011 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68012
68013 2012-07-13 Andreas Jaeger <aj@suse.de>
68014
68015 * po/fr.po: Update from translation team.
68016
68017 2012-07-12 Marek Polacek <polacek@redhat.com>
68018
68019 [BZ #14173]
68020 * math/libm-test.inc (yn_test): Add test for BZ #14173.
68021 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68022 loop condition.
68023
68024 2012-07-12 Joseph Myers <joseph@codesourcery.com>
68025
68026 [BZ #13717]
68027 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68028 Change to 2.4.1 where previously 2.4.0.
68029 * sysdeps/unix/sysv/linux/configure: Regenerated.
68030 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68031 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68032 version.
68033 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68034 (__ASSUME_AT_CLKTCK): Remove.
68035 (__ASSUME_AT_PAGESIZE): Likewise.
68036 (__ASSUME_AT_XID): Likewise.
68037 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68038 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68039 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68040 unconditionally.
68041 (HAVE_AUX_PAGESIZE): Likewise.
68042 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68043 [__ASSUME_AT_CLKTCK]: Make code unconditional.
68044 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68045
68046 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
68047
68048 [BZ #14307]
68049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68050 the temporary buffer used to invoke __gethostbyname2_r,
68051 __gethostbyaddr_r and gethostbyname4_r to make room for struct
68052 host_data / struct gaih_addrtuple.
68053 * resolv/nss_dns/dns-host.c (global scope): Move definition of
68054 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68055 header file nss/nsswitch.h.
68056 * nss/nsswitch.h (global scope): Add definition of implementation
68057 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68058 resolv/nss_dns/dns-host.c).
68059
68060 2012-07-11 Andreas Jaeger <aj@suse.de>
68061
68062 * po/fr.po: Update from translation team.
68063
68064 * po/sv.po: Update from translation team
68065 * po/fr.po: Another update from translation team.
68066
68067 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68068
68069 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68070 for subnormals or multiply small sinh result by itself.
68071 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68073
68074 2012-07-11 David S. Miller <davem@davemloft.net>
68075
68076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68077
68078 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
68079
68080 [BZ #14347]
68081 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68082 (INTERNAL_MARK): Shift it here.
68083
68084 2012-07-10 Marek Polacek <polacek@redhat.com>
68085
68086 [BZ #14151]
68087 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
68088 libc_cv_asm_global_directive with .globl.
68089 * configure: Regenerated.
68090 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68091 with .globl.
68092 * sysdeps/i386/configure: Regenerated.
68093 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68094 with .globl.
68095 * sysdeps/x86_64/configure: Regenerated.
68096 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68097 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68098 * elf/tst-unique2mod2.c: Likewise.
68099 * elf/tst-unique2mod1.c: Likewise.
68100 * elf/tst-unique1mod2.c: Likewise.
68101 * elf/tst-unique1mod1.c: Likewise.
68102 * sysdeps/s390/s390-32/sysdep.h: Likewise.
68103 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68104 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68105 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68106 * sysdeps/mach/sysdep.h: Likewise.
68107 * sysdeps/i386/sysdep.h: Likewise.
68108 * sysdeps/i386/i386-mcount.S: Likewise.
68109 * sysdeps/x86_64/_mcount.S: Likewise.
68110 * sysdeps/x86_64/sysdep.h: Likewise.
68111 * sysdeps/sh/_mcount.S: Likewise.
68112 * sysdeps/sh/sysdep.h: Likewise.
68113 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68114 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68115 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68116 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68117 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68118 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68119 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68120 * locale/localeinfo.h: Likewise.
68121 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68122 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68123
68124 2012-07-09 Roland McGrath <roland@hack.frob.com>
68125
68126 [BZ #14336]
68127 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68128 system".
68129 * manual/message.texi (The Uniforum approach): Likewise.
68130 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68131 (glibc iconv Implementation): Likewise.
68132
68133 2012-07-09 Joseph Myers <joseph@codesourcery.com>
68134
68135 [BZ #14337]
68136 * math/s_clog.c (__clog): Avoid scaling a value down where that
68137 could result in underflow.
68138 * math/s_clog10.c (__clog10): Likewise.
68139 * math/s_clog10f.c (__clog10f): Likewise.
68140 * math/s_clog10l.c (__clog10l): Likewise.
68141 * math/s_clogf.c (__clogf): Likewise.
68142 * math/s_clogl.c (__clogl): Likewise.
68143 * math/libm-test.inc (clog_test): Add more tests.
68144 (clog10_test): Likewise.
68145 * sysdeps/i386/fpu/libm-test-ulps: Update.
68146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68147
68148 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
68149
68150 [BZ #14283]
68151 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68152 by 7 not 8 to examine high bit of fractional part.
68153
68154 [BZ #14042]
68155 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68156 for call to __mcount_internal.
68157 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68158 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68159 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68160
68161 2012-07-06 Joseph Myers <joseph@codesourcery.com>
68162
68163 [BZ #14154]
68164 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68165 approximation for values within 0x1p-13f of an odd multiple of
68166 pi/4.
68167 * math/libm-test.inc (tan_test): Do not allow spurious underflow
68168 exception. Add more tests.
68169 * sysdeps/i386/fpu/libm-test-ulps: Update.
68170
68171 [BZ #6778]
68172 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68173 inputs and return -1 for them. Do not check for +Inf in case not
68174 reachable for +Inf.
68175 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68176 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68177 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68178 and return -1 for them. Do not check for +Inf in case not
68179 reachable for +Inf.
68180 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68181 define.
68182 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68183 and return -1 for them. Do not check for +Inf in case not
68184 reachable for +Inf.
68185 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
68186 spurious underflow.
68187 * sysdeps/i386/fpu/libm-test-ulps: Update.
68188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68189
68190 2012-07-06 Mike Frysinger <vapier@gentoo.org>
68191
68192 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
68193
68194 2012-07-05 Joseph Myers <joseph@codesourcery.com>
68195
68196 [BZ #14157]
68197 [BZ #14331]
68198 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
68199 could result in spurious underflow. Scale down values above
68200 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
68201 * math/s_csqrtf.c (__csqrtf): Likewise.
68202 * math/s_csqrtl.c (__csqrtl): Likewise.
68203 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
68204 spurious underflow.
68205 * sysdeps/i386/fpu/libm-test-ulps: Update.
68206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68207
68208 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
68209
68210 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
68211 xopen-msg.sed.
68212 * catgets/xopen-msg.awk: New file.
68213 * catgets/xopen-msg.sed: Removed.
68214
68215 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
68216 po2text.sed.
68217 * intl/po2test.awk: New file.
68218 * intl/po2test.sed: Removed.
68219
68220 2012-07-04 Joseph Myers <joseph@codesourcery.com>
68221
68222 [BZ #14328]
68223 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
68224 or multiply small sinh result by itself.
68225 * math/s_ctanf.c (__ctanf): Likewise.
68226 * math/s_ctanh.c (__ctanh): Likewise.
68227 * math/s_ctanhf.c (__ctanhf): Likewise.
68228 * math/s_ctanhl.c (__ctanhl): Likewise.
68229 * math/s_ctanl.c (__ctanl): Likewise.
68230 * math/libm-test.inc (ctan_test_tonearest): New function.
68231 (ctan_test_towardzero): Likewise.
68232 (ctan_test_downward): Likewise.
68233 (ctan_test_upward): Likewise.
68234 (ctanh_test_tonearest): Likewise.
68235 (ctanh_test_towardzero): Likewise.
68236 (ctanh_test_downward): Likewise.
68237 (ctanh_test_upward): Likewise.
68238 (main): Call these new functions.
68239 * sysdeps/i386/fpu/libm-test-ulps: Update.
68240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68241
68242 2012-07-03 Mike Frysinger <vapier@gentoo.org>
68243
68244 * .gitignore: Delete /ports entry.
68245
68246 2012-07-03 Andreas Jaeger <aj@suse.de>
68247
68248 * po/bg.po: Update from translation team.
68249 * po/cs.po: Likewise.
68250 * po/de.po: Likewise.
68251 * po/hr.po: Likewise.
68252 * po/nl.pl: Likewise.
68253 * po/pl.po: Likewise.
68254 * po/vi.po: Likewise.
68255
68256 2012-07-03 Joseph Myers <joseph@codesourcery.com>
68257
68258 * Makeconfig [!+link] (+link-before-libc): New variable.
68259 [!+link] (+link-after-libc): Likewise.
68260 [!+link] (+link-tests): Likewise.
68261 [!+link] (+link): Define in terms of $(+link-before-libc) and
68262 $(+link-after-libc).
68263 [!+link-static] (+link-static-before-libc): New variable.
68264 [!+link-static] (+link-static-after-libc): Likewise.
68265 [!+link-static] (+link-static-tests): Likewise.
68266 [!+link-static] (+link-static): Define in terms of
68267 $(+link-static-before-libc) and $(+link-static-after-libc).
68268 [build-shared] (link-libc-before-gnulib): New variable.
68269 [build-shared] (link-libc-tests): Likewise.
68270 [build-shared] (link-libc): Define in terms of
68271 $(link-libc-before-gnulib).
68272 [!build-shared] (link-libc-tests): New variable.
68273 (link-libc-static-tests): New variable.
68274 [!gnulib] (gnulib-arch): New variable.
68275 [!gnulib] (gnulib-tests): Likewise.
68276 [!gnulib] (static-gnulib-arch): Likewise.
68277 [!gnulib] (static-gnulib-tests): Likewise.
68278 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
68279 Define with "=" instead of ":=".
68280 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
68281 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
68282 * Rules (binaries-all-notests): New variable.
68283 (binaries-all-tests): Likewise.
68284 (binaries-static-notests): Likewise.
68285 (binaries-static-tests): Likewise.
68286 (binaries-all): Define using $(binaries-all-notests) and
68287 $(binaries-all-tests).
68288 (binaries-static): Define using $(binaries-static-notests) and
68289 $(binaries-static-tests).
68290 (binaries-shared-tests): New variable.
68291 (binaries-shared-notests): Likewise.
68292 (binaries-shared): Remove variable.
68293 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
68294 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
68295 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
68296 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
68297 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
68298 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
68299 * elf/Makefile (sln-modules): New variable.
68300 (extra-objs): Add $(sln-modules:=.o).
68301 (ldconfig-modules): Add static-stubs.
68302 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
68303 * elf/static-stubs.c: New file.
68304
68305 [BZ #14283]
68306 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
68307 by 7 not 8 to examine high bit of fractional part. Use volatile
68308 variables when splitting into final array of floats if
68309 __FLT_EVAL_METHOD__ != 0.
68310 * math/libm-test.inc (cos_test): Add another test.
68311 (sin_test): Likewise.
68312 * sysdeps/i386/fpu/libm-test-ulps: Update.
68313
68314 [BZ #14273]
68315 * math/libm-test.inc (cosh_test): Add more tests.
68316
68317 * version.h (RELEASE): Set to "development".
68318 (VERSION): Set to "2.16.90".
68319
68320 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
68321
68322 * NEWS: Update copyright. Remove last-updated date.
68323 Mention math library bug fixes and timezone data changes.
68324 * README: Mention GNU/Hurd, x32, and HPPA support status.
68325
68326 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
68327
68328 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
68329
68330 2012-06-27 Andreas Jaeger <aj@suse.de>
68331
68332 * manual/contrib.texi (Contributors): Add Samuel Thibault.
68333
68334 2012-06-25 Andreas Jaeger <aj@suse.de>
68335
68336 * sysdeps/s390/fpu/libm-test-ulps: Update.
68337
68338 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
68339 Thomas Schwinge <thomas@codesourcery.com>
68340
68341 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
68342 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
68343 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
68344 fanotify_mark.
68345
68346 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
68347
68348 * sysdeps/mach/start.c: Remove file.
68349 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
68350 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
68351 * sysdeps/sh/init-first.c: Likewise.
68352
68353 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
68354 registers for frame unwinding purposes, add CFI directives.
68355 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68356 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
68357 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
68358 Likewise.
68359
68360 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
68361 __fortify_fail returning.
68362 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68363
68364 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
68365 sysdeps/sh/____longjmp_chk.S.
68366 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
68367 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
68368 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
68369 (gen-as-const-headers): Append sigaltstack-offsets.sym.
68370
68371 * sysdeps/sh/abort-instr.h: New file.
68372 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
68373 process in case exit returns.
68374
68375 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
68376 initialize the GOT register before use.
68377
68378 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
68379 calculation of ARGC > 4.
68380
68381 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
68382 meaningful names to some local labels.
68383
68384 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
68385 Kaz Kojima <kkojima@rr.iij4u.or.jp>
68386
68387 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
68388 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
68389 (__arch_compare_and_exchange_val_16_acq): Likewise.
68390 (__arch_compare_and_exchange_val_32_acq): Likewise.
68391 (atomic_exchange_and_add): Fix gUSA sequence.
68392 (atomic_add): Likewise.
68393 (atomic_add_negative): Likewise.
68394 (atomic_add_zero): Likewise.
68395 (atomic_bit_test_set): Likewise.
68396
68397 2012-06-22 Andreas Schwab <schwab@redhat.com>
68398
68399 [BZ #13579]
68400 * include/link.h (struct link_map): Add l_free_initfini.
68401 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
68402 l_initfini.
68403 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
68404 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
68405 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
68406 set.
68407
68408 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
68409
68410 * configure.in: Use AC_LANG_SOURCE.
68411 * configure: Regenerate.
68412
68413 2012-06-22 Roland McGrath <roland@hack.frob.com>
68414
68415 * configure.in (libc_cv_localstatedir): New substituted variable.
68416 * configure: Regenerated.
68417 * config.make.in (localstatedir): New variable, substituted from
68418 libc_cv_localstatedir.
68419 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
68420 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
68421 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
68422 * sysdeps/gnu/configure: Regenerated.
68423
68424 2012-06-21 Jeff Law <law@redhat.com>
68425
68426 [BZ #14277]
68427 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
68428 free. Simplify list management for _LIBC case.
68429
68430 2012-06-21 Joseph Myers <joseph@codesourcery.com>
68431
68432 [BZ #14273]
68433 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
68434 Clear sign bit of 64-bit integer value before comparing against
68435 overflow value.
68436
68437 * sysdeps/mach/configure: Regenerated.
68438
68439 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
68440
68441 [BZ #14278]
68442 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
68443
68444 2012-06-21 Jeff Law <law@redhat.com>
68445
68446 [BZ #13882]
68447 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
68448 uint16_t for elements in the "seen" array to avoid char overflows.
68449 * elf/dl-fini.c (_dl_sort_fini): Likewise.
68450 * elf/dl-open.c (dl_open_worker): Likewise.
68451
68452 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
68453
68454 * scripts/list-sources.sh: Scan PORTS for translations.
68455 * po/libc.pot: Regenerated.
68456
68457 2012-06-21 Andreas Jaeger <aj@suse.de>
68458
68459 [BZ #12194]
68460 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
68461 warning.
68462 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
68463 * bits/byteswap-16.h (__bswap_16): Likewise.
68464 * bits/byteswap.h (__bswap_constant_16): Likewise.
68465
68466 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
68467
68468 [BZ #14117]
68469 * sysdeps/i386/fpu_control.h: Removed.
68470 * sysdeps/x86_64/fpu_control.h: Moved to ...
68471 * sysdeps/x86/fpu_control.h: Here.
68472
68473 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
68474 (_FPU_SETCW): Likewise.
68475
68476 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
68477
68478 [BZ #14117]
68479 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
68480 * sysdeps/x86/fpu/bits/mathinline.h: This.
68481 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
68482
68483 [BZ #14050]
68484 [BZ #14117]
68485 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
68486 functions if __x86_64__ is defined.
68487
68488 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
68489
68490 * string/endian.h: Add !__ASSEMBLER__ condition for including
68491 conversion interfaces.
68492
68493 2012-06-15 Joseph Myers <joseph@codesourcery.com>
68494
68495 [BZ #14241]
68496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
68497 of ABS(x) in calculating zero to negative powers other than odd
68498 integers.
68499 * math/libm-test.inc (pow_test): Add more tests.
68500
68501 2012-06-15 Andreas Jaeger <aj@suse.de>
68502
68503 * manual/contrib.texi (Contributors): Update entry of Liubov
68504 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
68505 Machado Filho.
68506
68507 2012-06-15 Cyril Hrubis <metan@ucw.cz>
68508
68509 * string/string.h: Add __wur to GNU version of strerror_r.
68510
68511 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
68512
68513 [BZ #14229]
68514 * string/Makefile (tests): Add tst-strtok_r.
68515 * string/tst-strtok_r.c: New file.
68516 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
68517 RAX_LP/RDX_LP on SAVE_PTR.
68518
68519 2012-06-14 Roland McGrath <roland@hack.frob.com>
68520
68521 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
68522
68523 2012-06-14 Joseph Myers <joseph@codesourcery.com>
68524
68525 * libm_test.inc (csqrt_test): Allow more spurious underflow
68526 exceptions.
68527 (j0_test): Likewise.
68528 (j1_test): Likewise.
68529 (y0_test): Likewise.
68530 (y1_test): Likewise.
68531
68532 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
68533
68534 * po/Makefile (libc.pot): Use UTF-8 charset.
68535
68536 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
68537
68538 [BZ #14210]
68539 Suppress sign-conversion warning from FD_SET.
68540 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
68541 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
68542 not unsigned long int.
68543 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
68544
68545 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
68546
68547 [BZ #14050]
68548 [BZ #14117]
68549 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
68550 __extern_always_inline instead of __extern_inline.
68551 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
68552 (__signbit): Likewise.
68553 (__signbitl): Support C++ namespace.
68554 (lrintf): New inline function.
68555 (lrint): Likewise.
68556 (llrintf): Likewise.
68557 (llrint): Likewise.
68558 (fmaxf): Likewise.
68559 (fmax): Likewise.
68560 (fminf): Likewise.
68561 (fmin): Likewise.
68562 (rint): Likewise.
68563 (rintf): Likewise.
68564 (ceil): Likewise.
68565 (ceilf): Likewise.
68566 (floor): Likewise.
68567 (floorf): Likewise.
68568 (nearbyint): Likewise.
68569 (nearbyintf): Likewise.
68570
68571 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
68572
68573 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
68574 non-default versions.
68575
68576 2012-06-11 Roland McGrath <roland@hack.frob.com>
68577
68578 [BZ #14218]
68579 * manual/argp.texi (Argp): Reword argp_parse description slightly.
68580
68581 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
68582
68583 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
68584 (FE_UPWARD, FE_DOWNWARD): Don't define.
68585 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
68586 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68587
68588 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
68589 reading it.
68590 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68591 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68592
68593 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
68594
68595 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68596 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
68597 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
68598 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
68599
68600 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
68601
68602 [BZ #14117]
68603 * sysdeps/i386/fpu/bits/fenv.h: Removed.
68604 * sysdeps/i386/fpu/Implies: New file.
68605 * sysdeps/x86_64/fpu/Implies: Likewise.
68606 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
68607 * sysdeps/x86/fpu/bits/fenv.h: This.
68608
68609 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
68610 __SSE_MATH__.
68611
68612 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
68613
68614 [BZ #14134]
68615 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
68616 character 0xffff that matches the last element of the
68617 conversion table.
68618
68619 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68620
68621 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
68622 fmodl commit.
68623
68624 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68625
68626 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
68627 values higher than 25.6283.
68628
68629 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68630
68631 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
68632 subnormal exponent extraction and add some __builtin_expect.
68633 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
68634 Fix for subnormal mantissa calculation.
68635
68636 2012-06-04 Mike Frysinger <vapier@gentoo.org>
68637
68638 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
68639 cpu2 is -1 and errno is not ENOSYS.
68640
68641 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
68642
68643 [BZ #14117]
68644 * sysdeps/i386/i486/bits/string.h: Renamed to ...
68645 * sysdeps/x86/bits/string.h: This.
68646 * sysdeps/x86_64/bits/string.h: Removed.
68647
68648 * sysdeps/i386/i486/bits/string.h: Define inline functions only
68649 if not compiling for x86-64, but compiling for >= i486.
68650
68651 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
68652 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
68653
68654 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
68655 New macro from Linux kernel 3.4.0.
68656 (FP_XSTATE_MAGIC2): Likewise.
68657 (FP_XSTATE_MAGIC2_SIZE): Likewise.
68658 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
68659 (struct _fpx_sw_bytes): New struct.
68660 (struct _xsave_hdr): Likewise.
68661 (struct _ymmh_state): Likewise.
68662 (struct _xstate): Likewise.
68663
68664 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
68665 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
68666 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
68667 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
68668 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
68669 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
68670
68671 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
68672 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68673 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
68674 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
68675 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
68676 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
68677
68678 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68679
68680 [BZ #13743]
68681 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
68682 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
68683 (sysdep_headers): Include sys/platform/ppc.h.
68684 * sysdeps/powerpc/test-gettimebase.c: Test for
68685 __ppc_get_timebase() to catch future ISA opcode/insn changes.
68686 * manual/Makefile (appendices): Include platform.texi.
68687 * manual/contrib.texi (Contributors): Update @node pointers.
68688 * manual/maint.texi (Maintenance): Likewise.
68689 (Platform): New node.
68690 * manual/platform.texi: New file. Document the new features.
68691
68692 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
68693 Jakub Jelinek <jakub@redhat.com>
68694
68695 [BZ #14188]
68696 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
68697 where __builtin_expect is unavailable.
68698
68699 2012-06-03 David S. Miller <davem@davemloft.net>
68700
68701 * stdlib/longlong.h: Updated from GCC.
68702
68703 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
68704
68705 [BZ #14042]
68706 * sysdeps/powerpc/powerpc32/mcount.c: New file.
68707 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
68708 __mcount_internal.
68709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68710 (GLIBC_2.16): Likewise.
68711
68712 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68713
68714 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
68715
68716 2012-06-01 Joseph Myers <joseph@codesourcery.com>
68717
68718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
68719 (default-abi): New variable.
68720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
68721 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
68722 variable.
68723 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
68724 Likewise.
68725 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
68726 Likewise.
68727 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
68728 Likewise.
68729
68730 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
68731 definition. Document in comment.
68732
68733 2012-06-01 David S. Miller <davem@davemloft.net>
68734
68735 * stdlib/longlong.h: Updated from GCC.
68736
68737 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68738
68739 [BZ #14117]
68740 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
68741 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
68742 sys/debugreg.h sys/io.h here.
68743 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
68744 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
68745 sys/io.h.
68746 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
68747 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
68748 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
68749 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
68750 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
68751 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
68752
68753 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
68754 Define only if __x86_64__ is defined.
68755
68756 2012-06-01 Joseph Myers <joseph@codesourcery.com>
68757
68758 [BZ #14048]
68759 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
68760 Use int64_t for variable i.
68761 * math/libm-test.inc (fmod_test): Add more tests.
68762
68763 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
68764 z computation is not scheduled after fetestexcept.
68765 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
68766 Use math_force_eval instead of asm to ensure calculation scheduled
68767 before exception test.
68768 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
68769 Ensure a1 + u.d computation is not scheduled after fetestexcept.
68770
68771 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
68772
68773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
68774 computation is not scheduled after fetestexcept.
68775
68776 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68777
68778 [BZ #14117]
68779 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
68780 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
68781
68782 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68783
68784 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
68785 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68786
68787 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
68788
68789 [BZ #14117]
68790 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
68791 <bits/wordsize.h>.
68792 (__WCHAR_MIN): Support __WORDSIZE == 64.
68793 (__WCHAR_MAX): Likewise.
68794
68795 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
68796 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
68797
68798 [BZ #14183]
68799 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
68800 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
68801
68802 [BZ #14117]
68803 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
68804 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
68805
68806 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
68807 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
68808
68809 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
68810 Defined to 1 if __x86_64__ isn't defined.
68811 (_STAT_VER_LINUX_OLD): New.
68812 (st_atime): Remove duplicate.
68813 (st_mtime): Likewise.
68814 (st_ctime): Likewise.
68815
68816 2012-05-31 David S. Miller <davem@davemloft.net>
68817
68818 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
68819 entries.
68820
68821 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
68822
68823 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
68824 gen-libm-test.pl.
68825
68826 [BZ #14132]
68827 * elf/dl-reloc.c: Include <_itoa.h>.
68828 (_dl_reloc_bad_type): Remove use of INTUSE.
68829 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
68830 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
68831 * stdio-common/psiginfo.c (psiginfo): Likewise.
68832 * stdio-common/psignal.c (psignal): Likewise.
68833 * string/strsignal.c (strsignal): Likewise.
68834 * include/signal.h (_sys_siglist): Declare hidden proto.
68835 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
68836 INTVARDEF with libc_hidden_data_def.
68837 * stdio-common/itoa-udigits.c: Likewise.
68838 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
68839 (_itoa_lower_digits_internal): Remove declaration.
68840 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
68841 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
68842 (_sys_sigabbrev_internal): Remove aliases.
68843 (_sys_siglist): Define hidden alias.
68844
68845 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
68846
68847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68848 bits/sysctl.h.
68849
68850 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
68851
68852 [BZ #14117]
68853 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
68854 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
68855
68856 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
68857 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
68858 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
68859 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
68860 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
68861 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
68862
68863 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
68864 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
68865 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
68866
68867 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
68868 with __addr.
68869 (insw): Likewise.
68870 (insl): Likewise.
68871 (outsb): Likewise.
68872 (outsw): Likewise.
68873 (outsl): Likewise.
68874
68875 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
68876 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
68877 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
68878
68879 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
68880 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
68881 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
68882 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
68883 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
68884 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
68885
68886 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
68887 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
68888
68889 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
68890 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
68891
68892 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
68893 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
68894 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
68895
68896 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
68897 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
68898 to ...
68899 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
68900
68901 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
68902 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
68903 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
68904
68905 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
68906 for x86-64.
68907 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
68908
68909 2012-05-31 Joseph Myers <joseph@codesourcery.com>
68910
68911 * math/math.h (M_El): Use two more decimal places.
68912 (M_LOG2El): Likewise.
68913 (M_LOG10El): Likewise.
68914 (M_LN2l): Likewise.
68915 (M_LN10l): Likewise.
68916 (M_PIl): Likewise.
68917 (M_PI_2l): Likewise.
68918 (M_PI_4l): Likewise.
68919 (M_1_PIl): Likewise.
68920 (M_2_PIl): Likewise.
68921 (M_2_SQRTPIl): Likewise.
68922 (M_SQRT2l): Likewise.
68923 (M_SQRT1_2l): Likewise.
68924
68925 2012-05-31 David S. Miller <davem@davemloft.net>
68926
68927 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
68928 values between float registers.
68929 * sysdeps/sparc/sparc64/memset.S: Likewise.
68930 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68931
68932 2012-05-31 Mike Frysinger <vapier@gentoo.org>
68933
68934 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
68935 -D_FORTIFY_SOURCE=1.
68936 (CPPFLAGS-tst-longjmp_chk.c): Define.
68937 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
68938 (CPPFLAGS-tst-longjmp_chk2.c): Define.
68939 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
68940 CFLAGS-tst-wchar-h.c.
68941
68942 2012-05-31 Marek Polacek <polacek@redhat.com>
68943
68944 [BZ #14132]
68945 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
68946 __endmntent_internal): Remove declaration.
68947 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
68948 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
68949 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
68950
68951 2012-05-30 David S. Miller <davem@davemloft.net>
68952
68953 * sysdeps/sparc/sparc32/soft-fp/q_util.c
68954 (___Q_simulate_exceptions): Use real FP ops rather than writing
68955 into the %fsr.
68956 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
68957 Likewise.
68958
68959 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
68960
68961 [BZ #14117]
68962 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
68963 * sysdeps/x86/bits/xtitypes.h: This.
68964
68965 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
68966 * sysdeps/x86/bits/wordsize.h: This.
68967
68968 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
68969 * sysdeps/x86/bits/huge_vall.h: This.
68970
68971 * sysdeps/i386/bits/select.h: Removed.
68972 * sysdeps/x86_64/bits/select.h: Renamed to ...
68973 * sysdeps/x86/bits/select.h: This.
68974
68975 * sysdeps/i386/bits/setjmp.h: Removed.
68976 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
68977 * sysdeps/x86/bits/setjmp.h: This.
68978
68979 * sysdeps/i386/bits/mathdef.h: Removed.
68980 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
68981 * sysdeps/x86/bits/mathdef.h: This.
68982
68983 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
68984
68985 [BZ #14132]
68986 * include/sys/socket.h (__connect_internal)
68987 (__libc_sa_len_internal): Remove declaration.
68988 (__connect, __libc_sa_len): Declare hidden_proto.
68989 (SA_LEN): Remove use of INTUSE.
68990 * socket/connect.c: Add libc_hidden_def.
68991 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
68992 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
68993 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
68994 alias.
68995 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
68996 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
68997 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
68998 of adding _internal alias.
68999
69000 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69001
69002 [BZ #14117]
69003 * sysdeps/i386/bits/link.h: Removed.
69004 * sysdeps/i386/bits/linkmap.h: Likewise.
69005 * sysdeps/x86_64/bits/link.h: Renamed to ...
69006 * sysdeps/x86/bits/link.h: This.
69007 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69008 * sysdeps/x86/bits/linkmap.h: This.
69009
69010 * sysdeps/i386/bits/endian.h: Removed.
69011 * sysdeps/x86_64/bits/endian.h: Renamed to ...
69012 * sysdeps/x86/bits/endian.h: This.
69013
69014 * sysdeps/i386/bits/byteswap.h: Removed.
69015 * sysdeps/i386/bits/byteswap-16.h: Likewise.
69016 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69017 * sysdeps/x86/bits/byteswap.h: This.
69018 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69019 * sysdeps/x86/bits/byteswap-16.h: This.
69020 * sysdeps/i386/Implies: Add x86.
69021 * sysdeps/x86_64/Implies: Likewise.
69022
69023 2012-05-30 David S. Miller <davem@davemloft.net>
69024
69025 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69026 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69027 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69028 (FP_TRAPPING_EXCEPTIONS): Define.
69029 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69030 (FP_TRAPPING_EXCEPTIONS): Define.
69031 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69032 subnormals only when inexact has been signalled or underflow
69033 exceptions are enabled.
69034 (_FP_PACK_CANONICAL): Likewise.
69035
69036 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69037
69038 [BZ #14183]
69039 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69040 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69041
69042 2012-05-30 Richard Henderson <rth@twiddle.net>
69043
69044 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69045 with #ifndef NOT_IN_libc.
69046
69047 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
69048 marked to avoid plt entry.
69049
69050 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69051
69052 [BZ #14112]
69053 * Makeconfig (default-abi): New macro.
69054 (abi-includes): Likewise.
69055 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
69056 $(abi-$(default-abi)-lib-soname) for soname if defined.
69057 ($(common-objpfx)gnu/lib-names.stmp): Generate from
69058 abi-variants.
69059 * Makefile (installed-stubs): Likewise.
69060 * include/stubs-biarch.h: Removed.
69061 * scripts/lib-names.awk: Only handle one library at a time.
69062 * scripts/soversions.awk: Remove WORDSIZE support.
69063 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69064 entries.
69065 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69066 Removed.
69067 (syscall-list-default-condition): Likewise.
69068 (syscall-list-default-condition): Likewise.
69069 (syscall-list-includes): Likewise.
69070 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69071 syscall-list-* with abi-*. Handle undefined abi-variants.
69072 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69073 * sysdeps/unix/sysv/linux/i386/Implies: New file.
69074 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69075 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69076 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69077 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69078 Removed.
69079 (syscall-list-32-options): Likewise.
69080 (syscall-list-32-condition): Likewise.
69081 (syscall-list-64-options): Likewise.
69082 (syscall-list-64-condition): Likewise.
69083 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69084 macro.
69085 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69086 Renamed to ...
69087 (abi-*): This.
69088 (abi-64-ld-soname): New macro.
69089 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69090 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69091 Renamed to ...
69092 (abi-*): This.
69093 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69094 * sysdeps/x86_64/x32/shlib-versions: Likewise.
69095
69096 2012-05-30 Joseph Myers <joseph@codesourcery.com>
69097
69098 * sysdeps/unix/sysv/linux/kernel-features.h
69099 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69100 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69101 include <kernel-features.h>.
69102 [!__NR_ftruncate64]: Remove conditional code.
69103 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69104 [__NR_ftruncate64]: Make code unconditional.
69105 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69106 * sysdeps/unix/sysv/linux/truncate64.c: Do not
69107 include <kernel-features.h>.
69108 [!__NR_ftruncate64]: Remove conditional code.
69109 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69110 [__NR_ftruncate64]: Make code unconditional.
69111 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69113 include <kernel-features.h>.
69114 [!__NR_ftruncate64]: Remove conditional code.
69115 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69116 [__NR_ftruncate64]: Make code unconditional.
69117 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69119 include <kernel-features.h>.
69120 [!__NR_ftruncate64]: Remove conditional code.
69121 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69122 [__NR_ftruncate64]: Make code unconditional.
69123 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69124
69125 * configure.in (libc_cv_fpie): Weaken to a compile test using
69126 LIBC_TRY_CC_OPTION.
69127 * configure: Regenerated.
69128
69129 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69130
69131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69135 Refreshed.
69136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69142 Refreshed.
69143
69144 2012-05-27 David S. Miller <davem@davemloft.net>
69145
69146 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69147 (___Q_zero): New.
69148 (__Q_simulate_exceptions): Return void. Change to simulate
69149 exceptions by writing into the %fsr.
69150 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69151 (__Qp_handle_exceptions): Likewise.
69152 (numbers): Delete.
69153 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69154 __Qp_handle_exceptions.
69155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69156 __Qp_handle_exceptions.
69157 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69158 as unused and give dummy FP_RND_NEAREST initializer.
69159 (FP_INHIBIT_RESULTS): Define.
69160 (___Q_simulate_exceptions): Update declaration.
69161 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69162 formatting.
69163 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69164 as unused and give dummy FP_RND_NEAREST initializer.
69165 (__Qp_handle_exceptions): Update declaration.
69166 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69167 formatting.
69168
69169 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
69170
69171 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69172 the temporary FPU control word.
69173 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69174 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69175 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69176 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69177 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69178 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69179 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69180 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69181 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69182 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69183 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69184
69185 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69186
69187 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69188 fields.
69189
69190 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
69191
69192 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
69193 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
69194 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
69195 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
69196 Likewise.
69197 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
69198 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
69199 Likewise.
69200
69201 2012-05-27 Ulrich Drepper <drepper@gmail.com>
69202
69203 * po/h.po: Update from translation team.
69204
69205 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
69206
69207 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
69208
69209 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
69210 handling of denormals.
69211 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69212 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
69213 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69214 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69215 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69216 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
69217 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
69218 Likewise.
69219
69220 2012-05-26 Marek Polacek <polacek@redhat.com>
69221
69222 [BZ #14152]
69223 * math/libm-test.inc (fma_test): Don't always expect underflow
69224 exception.
69225
69226 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69227
69228 [BZ #12416]
69229 * elf/tst-execstack.c: Include stackinfo.h.
69230 (do_test): Adjust test case to ensure that pthread_getattr_np
69231 behaviour remains the same after marking stack executable.
69232
69233 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69234
69235 * sysdeps/unix/sysv/linux/kernel-features.h
69236 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69237 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
69238 kernel-features.h.
69239 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69240 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69241 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
69242 kernel-features.h.
69243 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69244 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69245
69246 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
69247
69248 * configure.in: Define the default includes to being none.
69249 * configure: Regenerated.
69250
69251 2012-05-25 Roland McGrath <roland@hack.frob.com>
69252
69253 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
69254 * sysdeps/x86_64/setjmp.S: Likewise.
69255 * sysdeps/i386/bsd-setjmp.S: Likewise.
69256 * sysdeps/i386/bsd-_setjmp.S: Likewise.
69257 * sysdeps/i386/setjmp.S: Likewise.
69258 * sysdeps/i386/__longjmp.S: Likewise.
69259 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69260 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
69261
69262 * include/stap-probe.h: New file.
69263 * configure.in: Handle --enable-systemtap.
69264 * configure: Regenerated.
69265 * config.h.in (USE_STAP_PROBE): New #undef.
69266 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
69267 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
69268 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
69269
69270 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69271
69272 [BZ #13717]
69273 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69274 to 2.4.0 where earlier.
69275 * sysdeps/unix/sysv/linux/configure: Regenerated.
69276 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69277 <kernel-features.h>.
69278 [__ASSUME_32BITUIDS]: Make code unconditional.
69279 [!__ASSUME_32BITUIDS]: Remove conditional code.
69280 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
69281 <kernel-features.h>.
69282 [__ASSUME_32BITUIDS]: Make code unconditional.
69283 [!__ASSUME_32BITUIDS]: Remove conditional code.
69284 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
69285 [__ASSUME_32BITUIDS]: Make code unconditional.
69286 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
69287 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
69288 <kernel-features.h>.
69289 [__ASSUME_32BITUIDS]: Make code unconditional.
69290 [!__ASSUME_32BITUIDS]: Remove conditional code.
69291 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
69292 <kernel-features.h>.
69293 [__ASSUME_32BITUIDS]: Make code unconditional.
69294 [!__ASSUME_32BITUIDS]: Remove conditional code.
69295 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
69296 <kernel-features.h>.
69297 [__ASSUME_32BITUIDS]: Make code unconditional.
69298 [!__ASSUME_32BITUIDS]: Remove conditional code.
69299 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
69300 <kernel-features.h>.
69301 [__ASSUME_32BITUIDS]: Make code unconditional.
69302 [!__ASSUME_32BITUIDS]: Remove conditional code.
69303 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69304 <kernel-features.h>.
69305 [__ASSUME_32BITUIDS]: Make code unconditional.
69306 [!__ASSUME_32BITUIDS]: Remove conditional code.
69307 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69308 <kernel-features.h>.
69309 [__ASSUME_32BITUIDS]: Make code unconditional.
69310 [!__ASSUME_32BITUIDS]: Remove conditional code.
69311 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
69312 <kernel-features.h>.
69313 [__ASSUME_32BITUIDS]: Make code unconditional.
69314 [!__ASSUME_32BITUIDS]: Remove conditional code.
69315 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69316 <kernel-features.h>.
69317 [__ASSUME_32BITUIDS]: Make code unconditional.
69318 [!__ASSUME_32BITUIDS]: Remove conditional code.
69319 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69320 <kernel-features.h>.
69321 [__ASSUME_32BITUIDS]: Make code unconditional.
69322 [!__ASSUME_32BITUIDS]: Remove conditional code.
69323 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
69324 <kernel-features.h>.
69325 [__ASSUME_32BITUIDS]: Make code unconditional.
69326 [!__ASSUME_32BITUIDS]: Remove conditional code.
69327 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
69328 <kernel-features.h>.
69329 [__NR_setresgid] (__setresgid): Do not declare.
69330 [__ASSUME_32BITUIDS]: Make code unconditional.
69331 [!__ASSUME_32BITUIDS]: Remove conditional code.
69332 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
69333 <kernel-features.h>.
69334 [__NR_setresuid] (__setresuid): Do not declare.
69335 [__ASSUME_32BITUIDS]: Make code unconditional.
69336 [!__ASSUME_32BITUIDS]: Remove conditional code.
69337 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
69338 <kernel-features.h>.
69339 [__ASSUME_32BITUIDS]: Make code unconditional.
69340 [!__ASSUME_32BITUIDS]: Remove conditional code.
69341 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
69342 <kernel-features.h>.
69343 [__ASSUME_32BITUIDS]: Make code unconditional.
69344 [!__ASSUME_32BITUIDS]: Remove conditional code.
69345 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
69346 <kernel-features.h>.
69347 [__ASSUME_32BITUIDS]: Make code unconditional.
69348 [!__ASSUME_32BITUIDS]: Remove conditional code.
69349 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
69350 <kernel-features.h>.
69351 [__ASSUME_32BITUIDS]: Make code unconditional.
69352 [!__ASSUME_32BITUIDS]: Remove conditional code.
69353 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
69354 <kernel-features.h>.
69355 [__ASSUME_32BITUIDS]: Make code unconditional.
69356 [!__ASSUME_32BITUIDS]: Remove conditional code.
69357 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
69358 <kernel-features.h>.
69359 [__ASSUME_32BITUIDS]: Make code unconditional.
69360 [!__ASSUME_32BITUIDS]: Remove conditional code.
69361 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
69362 <kernel-features.h>.
69363 [__ASSUME_32BITUIDS]: Make code unconditional.
69364 [!__ASSUME_32BITUIDS]: Remove conditional code.
69365 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
69366 <kernel-features.h>.
69367 [__ASSUME_32BITUIDS]: Make code unconditional.
69368 [!__ASSUME_32BITUIDS]: Remove conditional code.
69369 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
69370 <kernel-features.h>.
69371 [__ASSUME_32BITUIDS]: Make code unconditional.
69372 [!__ASSUME_32BITUIDS]: Remove conditional code.
69373 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69374 <kernel-features.h>.
69375 [__ASSUME_32BITUIDS]: Make code unconditional.
69376 [!__ASSUME_32BITUIDS]: Remove conditional code.
69377 * sysdeps/unix/sysv/linux/kernel-features.h
69378 (__ASSUME_SETRESUID_SYSCALL): Remove.
69379 (__ASSUME_SETRESGID_SYSCALL): Likewise.
69380 (__ASSUME_32BITUIDS): Likewise.
69381 (__ASSUME_LDT_WORKS): Likewise.
69382 (__ASSUME_O_DIRECTORY): Likewise.
69383 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
69384 architecture but not kernel version.
69385 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
69386 (__ASSUME_MMAP2_SYSCALL): Likewise.
69387 (__ASSUME_STAT64_SYSCALL): Likewise.
69388 (__ASSUME_IPC64): Likewise.
69389 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
69390 <kernel-features.h>.
69391 [__ASSUME_32BITUIDS]: Make code unconditional.
69392 [!__ASSUME_32BITUIDS]: Remove conditional code.
69393 * sysdeps/unix/sysv/linux/opendir.c: Do not include
69394 <kernel-features.h>.
69395 [__ASSUME_O_DIRECTORY]: Make code unconditional.
69396 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
69397 132096]: Remove conditional code.
69398 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
69399 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69400 <kernel-features.h>.
69401 [__ASSUME_32BITUIDS]: Make code unconditional.
69402 [!__ASSUME_32BITUIDS]: Remove conditional code.
69403 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69404 <kernel-features.h>.
69405 [__ASSUME_32BITUIDS]: Make code unconditional.
69406 [!__ASSUME_32BITUIDS]: Remove conditional code.
69407 * sysdeps/unix/sysv/linux/setegid.c: Do not include
69408 <kernel-features.h>.
69409 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
69410 unconditional.
69411 (__setresgid): Do not declare.
69412 [__ASSUME_32BITUIDS]: Make code unconditional.
69413 [!__ASSUME_32BITUIDS]: Remove conditional code.
69414 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
69415 <kernel-features.h>.
69416 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
69417 unconditional.
69418 (__setresuid): Do not declare.
69419 [__ASSUME_32BITUIDS]: Make code unconditional.
69420 [!__ASSUME_32BITUIDS]: Remove conditional code.
69421 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69422 <kernel-features.h>.
69423 [__ASSUME_32BITUIDS]: Make code unconditional.
69424 [!__ASSUME_32BITUIDS]: Remove conditional code.
69425 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
69426 <kernel-features.h>.
69427 [__ASSUME_32BITUIDS]: Make code unconditional.
69428 [!__ASSUME_32BITUIDS]: Remove conditional code.
69429
69430 2012-05-25 Richard Henderson <rth@twiddle.net>
69431
69432 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
69433 dl_hwcap to ifunc resolver.
69434 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
69435 elf_ifunc_invoke.
69436 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
69437 dl_hwcap to ifunc resolver.
69438 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
69439
69440 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69441
69442 [BZ #14153]
69443 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
69444 for |x| <= 2**-26, not 2**-57.
69445 * math/libm-test.inc (acos_test): Do not allow spurious underflow
69446 exception.
69447
69448 2012-05-24 Jeff Law <law@redhat.com>
69449
69450 * stdio-common/Makefile (tests): Add bug25.
69451 * stdio-common/bug25.c: New test.
69452
69453 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
69454
69455 [BZ #13576]
69456 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
69457 multiple of MALLOC_ALIGNMENT in size.
69458 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
69459
69460 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69461
69462 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
69463 Require >= 256.
69464 (FILENAME_MAX): Use macro-int-constant.
69465 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
69466 (_IOFBF): Use macro-int-constant.
69467 (_IOLBF): Likewise.
69468 (_IONBF): Likewise.
69469 (SEEK_CUR): Likewise.
69470 (SEEK_END): Likewise.
69471 (SEEK_SET): Likewise.
69472 (TMP_MAX): Likewise.
69473 (EOF): Use macro-int-constant. Require < 0.
69474 (NULL): Use macro-constant. Require == 0.
69475 (stdin): Require type to be FILE *.
69476 (stdout): Likewise.
69477 (stderr): Likewise.
69478 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
69479 macro-int-constant.
69480 (EXIT_SUCCESS): Likewise.
69481 (NULL): Use macro-constant. Require == 0.
69482 (RAND_MAX): Use macro-int-constant.
69483 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
69484 [C99-based standards] (strtof): Require function.
69485 [C99-based standards] (strtold): Likewise.
69486 [C99-based standards] (strtoll): Likewise.
69487 [C99-based standards] (strtoull): Likewise.
69488 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69489 [ISO || ISO99 || ISO11] (limits.h): Likewise.
69490 [ISO || ISO99 || ISO11] (math.h): Likewise.
69491 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
69492 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69493 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69494
69495 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
69496
69497 [BZ #14132]
69498 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
69499 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
69500 * intl/dgettext.c (DCGETTEXT): Likewise.
69501 * intl/gettext.c (DCGETTEXT): Likewise.
69502 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
69503 * posix/regex_internal.h (gettext): Likewise.
69504 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
69505 Remove declaration.
69506 * include/argz.h (__argz_count_internal)
69507 (__argz_stringify_internal): Remove declaration.
69508 (__argz_count, __argz_stringify): Declare hidden proto.
69509 * intl/dcgettext.c: Remove use of INTDEF.
69510 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
69511 * string/argz-stringify.c: Likewise.
69512 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69513 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69514 Declare hidden proto.
69515 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69516 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69517 Declare hidden proto.
69518 * include/stdio.h (__asprintf_internal): Don't declare.
69519 (__asprintf): Don't define as macro. Declare hidden proto.
69520 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
69521 (__fsetlocking): Declare hidden proto.
69522 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
69523 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
69524 hidden proto.
69525 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
69526 (_IO_setlinebuf): Remove use of INTUSE.
69527 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
69528 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
69529 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
69530 Remove declaration.
69531 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
69532 (_IO_do_flush): Remove use of INTUSE.
69533 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
69534 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
69535 (_IO_adjust_column, _IO_least_wmarker)
69536 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
69537 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
69538 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
69539 (_IO_default_doallocate, _IO_wdefault_doallocate)
69540 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
69541 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
69542 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
69543 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
69544 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
69545 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
69546 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
69547 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
69548 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
69549 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
69550 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
69551 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
69552 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
69553 proto.
69554 (_IO_flush_all_internal, _IO_adjust_column_internal)
69555 (_IO_default_uflow_internal, _IO_default_finish_internal)
69556 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
69557 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
69558 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
69559 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
69560 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
69561 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
69562 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
69563 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
69564 (_IO_file_close_internal, _IO_file_close_it_internal)
69565 (_IO_file_underflow_internal, _IO_file_overflow_internal)
69566 (_IO_file_init_internal, _IO_file_attach_internal)
69567 (_IO_file_fopen_internal, _IO_file_read_internal)
69568 (_IO_file_sync_internal, _IO_file_seek_internal)
69569 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
69570 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
69571 (_IO_str_underflow_internal, _IO_str_overflow_internal)
69572 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
69573 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
69574 (_IO_list_all_internal, _IO_link_in_internal)
69575 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
69576 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
69577 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
69578 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
69579 (_IO_do_write_internal, _IO_padn_internal)
69580 (_IO_getline_info_internal, _IO_getline_internal)
69581 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
69582 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
69583 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
69584 (_IO_vfscanf_internal, _IO_vfprintf_internal)
69585 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
69586 (_IO_init_internal, _IO_un_link_internal): Don't declare.
69587 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
69588 with libc_hidden_ver, remove use of INTUSE.
69589 * libio/genops.c: Likewise.
69590 * libio/freopen.c: Likewise.
69591 * libio/freopen64.c: Likewise.
69592 * libio/iofclose.c: Likewise.
69593 * libio/iofdopen.c: Likewise.
69594 * libio/iofflush.c: Likewise.
69595 * libio/iofflush_u.c: Likewise.
69596 * libio/iofgets.c: Likewise.
69597 * libio/iofgets_u.c: Likewise.
69598 * libio/iofopen.c: Likewise.
69599 * libio/iofopncook.c: Likewise.
69600 * libio/iofread.c: Likewise.
69601 * libio/iofread_u.c: Likewise.
69602 * libio/ioftell.c: Likewise.
69603 * libio/iofwrite.c: Likewise.
69604 * libio/iogetline.c: Likewise.
69605 * libio/iogets.c: Likewise.
69606 * libio/iogetwline.c: Likewise.
69607 * libio/iopadn.c: Likewise.
69608 * libio/iopopen.c: Likewise.
69609 * libio/ioseekoff.c: Likewise.
69610 * libio/ioseekpos.c: Likewise.
69611 * libio/iosetbuffer.c: Likewise.
69612 * libio/iosetvbuf.c: Likewise.
69613 * libio/ioungetc.c: Likewise.
69614 * libio/ioungetwc.c: Likewise.
69615 * libio/iovdprintf.c: Likewise.
69616 * libio/iovsprintf.c: Likewise.
69617 * libio/iovsscanf.c: Likewise.
69618 * libio/memstream.c: Likewise.
69619 * libio/obprintf.c: Likewise.
69620 * libio/oldfileops.c: Likewise.
69621 * libio/oldiofclose.c: Likewise.
69622 * libio/oldiofdopen.c: Likewise.
69623 * libio/oldiofopen.c: Likewise.
69624 * libio/oldiopopen.c: Likewise.
69625 * libio/oldstdfiles.c: Likewise.
69626 * libio/putc.c: Likewise.
69627 * libio/setbuf.c: Likewise.
69628 * libio/setlinebuf.c: Likewise.
69629 * libio/stdfiles.c: Likewise.
69630 * libio/strops.c: Likewise.
69631 * libio/vasprintf.c: Likewise.
69632 * libio/vscanf.c: Likewise.
69633 * libio/vsnprintf.c: Likewise.
69634 * libio/vswprintf.c: Likewise.
69635 * libio/wfiledoalloc.c: Likewise.
69636 * libio/wfileops.c: Likewise.
69637 * libio/wgenops.c: Likewise.
69638 * libio/wmemstream.c: Likewise.
69639 * libio/wstrops.c: Likewise.
69640 * libio/__fpurge.c: Likewise.
69641 * libio/__fsetlocking.c: Likewise.
69642 * assert/assert.c: Likewise.
69643 * debug/fgets_chk.c: Likewise.
69644 * debug/fgets_u_chk.c: Likewise.
69645 * debug/fread_chk.c: Likewise.
69646 * debug/fread_u_chk.c: Likewise.
69647 * debug/gets_chk.c: Likewise.
69648 * debug/obprintf_chk.c: Likewise.
69649 * debug/vasprintf_chk.c: Likewise.
69650 * debug/vdprintf_chk.c: Likewise.
69651 * debug/vsnprintf_chk.c: Likewise.
69652 * debug/vsprintf_chk.c: Likewise.
69653 * malloc/mtrace.c: Likewise.
69654 * misc/error.c: Likewise.
69655 * misc/syslog.c: Likewise.
69656 * stdio-common/asprintf.c: Likewise.
69657 * stdio-common/fxprintf.c: Likewise.
69658 * stdio-common/getw.c: Likewise.
69659 * stdio-common/isoc99_fscanf.c: Likewise.
69660 * stdio-common/isoc99_scanf.c: Likewise.
69661 * stdio-common/isoc99_vfscanf.c: Likewise.
69662 * stdio-common/isoc99_vscanf.c: Likewise.
69663 * stdio-common/isoc99_vsscanf.c: Likewise.
69664 * stdio-common/printf-prs.c: Likewise.
69665 * stdio-common/printf_fp.c: Likewise.
69666 * stdio-common/printf_fphex.c: Likewise.
69667 * stdio-common/printf_size.c: Likewise.
69668 * stdio-common/putw.c: Likewise.
69669 * stdio-common/scanf.c: Likewise.
69670 * stdio-common/sprintf.c: Likewise.
69671 * stdio-common/tmpfile.c: Likewise.
69672 * stdio-common/vfprintf.c: Likewise.
69673 * stdio-common/vfscanf.c: Likewise.
69674 * stdlib/strfmon_l.c: Likewise.
69675 * sunrpc/openchild.c: Likewise.
69676 * sunrpc/xdr_stdio.c: Likewise.
69677 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
69678 * sysdeps/mach/hurd/tmpfile.c: Likewise.
69679
69680 2012-05-24 Roland McGrath <roland@hack.frob.com>
69681
69682 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69683
69684 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
69685 in the third column, to generate for the shared library an IFUNC
69686 that uses _dl_vdso_vsym.
69687 * Makerules (COMPILE.c, compile-stdin.c): New variables.
69688 * Makeconfig (object-suffixes-noshared): New variable.
69689
69690 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
69691 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
69692 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
69693 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
69694
69695 [BZ #14132]
69696 * include/sys/time.h (__gettimeofday): Remove macro.
69697 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
69698 * time/gettimeofday.c (__gettimeofday): Remove #undef.
69699 Remove INTDEF.
69700 (__gettimeofday): Add libc_hidden_def.
69701 (gettimeofday): Add libc_hidden_weak.
69702 * sysdeps/mach/gettimeofday.c: Likewise.
69703 * sysdeps/posix/gettimeofday.c: Likewise.
69704 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
69705 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
69706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
69707 (__gettimeofday_internal): Remove strong_alias.
69708 (__gettimeofday): Add libc_hidden_def.
69709 (gettimeofday): Add libc_hidden_weak.
69710 * sysdeps/unix/syscalls.list (gettimeofday):
69711 Remove __gettimeofday_internal alias.
69712
69713 2012-05-24 Daniel Jacobowitz <drow@false.org>
69714 H.J. Lu <hongjiu.lu@intel.com>
69715
69716 [BZ #12495]
69717 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
69718 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
69719 (largebin_index_32_big): New.
69720 (largebin_index): Use it for 16-byte alignment.
69721 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
69722 correction with front_misalign.
69723
69724 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
69725
69726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
69727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
69728 Likewise.
69729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
69730 Likewise.
69731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69732 Likewise.
69733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
69734 Likewise.
69735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
69736 Likewise.
69737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
69738 Likewise.
69739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
69740 Likewise.
69741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
69742 Likewise.
69743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
69744 Likewise.
69745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
69746 Likewise.
69747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
69748 Likewise.
69749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
69750 Likewise.
69751
69752 * scripts/data/c++-types-x32-linux-gnu.data: New file.
69753 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
69754
69755 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69756
69757 [BZ #10846]
69758 [BZ #14036]
69759 * math/libm-test.inc (exp_test): Add test from bug 14036.
69760 (pow_test): Add test from bug 10846.
69761
69762 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
69763 and other flags.
69764 (special_function): Do not include flags in test name.
69765 (parse_args): Likewise.
69766 * sysdeps/i386/fpu/libm-test-ulps: Update.
69767 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69768 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
69769 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
69770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69771
69772 * math/gen-libm-test.pl (%beautify): Add entries for underflow
69773 exceptions.
69774 * math/libm-test.inc ("Philosophy"): Update comment about
69775 exception testing.
69776 (UNDERFLOW_EXCEPTION): New macro.
69777 (UNDERFLOW_EXCEPTION_OK): Likewise.
69778 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
69779 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
69780 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
69781 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
69782 (INVALID_EXCEPTION_OK): Update value.
69783 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69784 (OVERFLOW_EXCEPTION_OK): Likewise.
69785 (IGNORE_ZERO_INF_SIGN): Likewise.
69786 (test_exceptions): Handle underflow exceptions.
69787 (acos_test): Update for underflow exception expectations.
69788 (cexp_test): Likewise.
69789 (clog_test): Likewise.
69790 (clog10_test): Likewise.
69791 (csqrt_test): Likewise.
69792 (ctan_test): Likewise.
69793 (ctanh_test): Likewise.
69794 (exp_test): Likewise.
69795 (exp10_test): Likewise.
69796 (exp2_test): Likewise.
69797 (expm1_test): Likewise.
69798 (fma_test): Likewise.
69799 (j0_test): Likewise.
69800 (jn_test): Likewise.
69801 (nexttoward_test): Likewise.
69802 (pow_test): Likewise.
69803 (scalbn_test): Likewise.
69804 (scalbln_test): Likewise.
69805 (tan_test): Likewise.
69806 (y1_test): Likewise.
69807 * sysdeps/i386/fpu/libm-test-ulps: Update.
69808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69809
69810 2012-05-23 David S. Miller <davem@davemloft.net>
69811
69812 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69813 (__libc_sigaction): Remove unused local variables.
69814
69815 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
69816
69817 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
69818
69819 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
69820
69821 mktime: avoid signed integer overflow
69822 * time/mktime.c (__mktime_internal): Do not mishandle the case
69823 where diff == INT_MIN.
69824
69825 mktime: simplify computation of average
69826 * time/mktime.c (ranged_convert): Use new time_t_avg function
69827 instead of rolling our own (probably-slower) code.
69828
69829 mktime: do not assume signed right shift propagates sign bit
69830 * time/mktime.c (isdst_differ): New static function.
69831 (__mktime_internal): No need to normalize tm_isdst now.
69832 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
69833 tm_isdst values.
69834
69835 mktime: merge another wrapv change from gnulib
69836 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
69837 from some compilers.
69838
69839 mktime: remove incorrect attempt at unusual arithmetics
69840 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
69841 The code didn't really work on such machines anyway.
69842 (TYPE_MINIMUM): Assume two's complement.
69843 (twos_complement_arithmetic): Verify that long_int and time_t
69844 are two's complement (or unsigned, in the latter case).
69845
69846 mktime: check signed shifts on long_int and time_t, too
69847 * time/mktime.c (SHR): Check that shifts work as desired
69848 on the types long_int and time_t too, as SHR is used on
69849 such types.
69850
69851 mktime: do not assume 'long' is wide enough
69852 * time/mktime.c (verify): Move decl up.
69853 (long_int): New type.
69854 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
69855 to remove assumption in the code that 'long' is wide enough to
69856 store year values. This assumption is not true on x32 and on
69857 some non-glibc platforms.
69858
69859 mktime: merge wrapv change from gnulib
69860 * time/mktime.c (WRAPV): New macro.
69861 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
69862 (guess_time_tm, __mktime_internal): Do not assume that signed
69863 integer overflow wraps around; modern compilers generate code
69864 where this assumption is no longer valid.
69865
69866 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
69867
69868 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
69869 Replace "jmp L(pseudo_end)" with "ret".
69870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
69871 Likewise.
69872
69873 2012-05-23 Andreas Jaeger <aj@suse.de>
69874
69875 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
69876 * sysdeps/unix/sysv/linux/poll.c: Remove file.
69877
69878 2012-05-23 Andreas Jaeger <aj@suse.de>
69879 Maximilian Attems <max@stro.at>
69880
69881 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
69882 New macros.
69883
69884 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
69885
69886 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
69887 code so that pseudo_end is just ret and the stack pointer is
69888 correct also for static library in error case.
69889
69890 2012-05-23 Joseph Myers <joseph@codesourcery.com>
69891
69892 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
69893 move to syscalls.list.
69894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
69895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
69896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
69897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
69898
69899 * manual/install.texi (Running make install): Do not mention Linux
69900 kernel version for which pt_chown is not needed.
69901 (Linux): Do not mention problems with nscd with 2.0 kernels.
69902 * INSTALL: Regenerated.
69903
69904 2012-05-23 Andreas Jaeger <aj@suse.de>
69905
69906 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
69907 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
69908 macro.
69909 * sysdeps/unix/sysv/linux/s390/bits/mman.h
69910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69911 * sysdeps/unix/sysv/linux/sh/bits/mman.h
69912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69913 * sysdeps/unix/sysv/linux/i386/bits/mman.h
69914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69915 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
69916 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69917 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
69918 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69919 * sysdeps/unix/sysv/linux/bits/in.h
69920 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
69921
69922 2012-05-22 Roland McGrath <roland@hack.frob.com>
69923
69924 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
69925 (PREPARE_VERSION): Just use assert instead, it will be elided
69926 under [NDEBUG] anyway.
69927
69928 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
69929
69930 * sysdeps/unix/sysv/linux/Makefile: Include
69931 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
69932 (sysdep_routines): Remove sysctl.
69933 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
69934 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
69935 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
69936 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
69937 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
69938
69939 2012-05-22 Andreas Jaeger <aj@suse.de>
69940
69941 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
69942 that pseudo_end is just ret and the stack pointer is correct also
69943 for static library in error case.
69944
69945 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
69946
69947 [BZ #14122]
69948 * nss/nsswitch.c (defconfig_entries): New variable.
69949 (__nss_database_lookup): Don't leak defconfig entries.
69950 (nss_parse_service_list): Don't leak on error paths.
69951 (free_database_entries): New function.
69952 (free_defconfig): New function.
69953 (free_mem): Move common code to free_database_entries.
69954
69955 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
69956
69957 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
69958 Add arch_prctl.
69959 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
69960
69961 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
69962 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
69963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
69964 New macro.
69965 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
69966 (INTERNAL_SYSCALL_TYPES): Likewise.
69967 (LOAD_ARGS_TYPES_[1-6]): Likewise.
69968 (LOAD_REGS_TYPES_[1-6]): Likewise.
69969 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
69970 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
69971
69972 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69973
69974 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
69975 copysignl for GLIBC_2_0.
69976 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
69977 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
69978 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
69979 logbl for GLIBC_2_0.
69980 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
69981 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
69982
69983 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
69984
69985 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
69986 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
69987
69988 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
69989 Use "neg %eax".
69990
69991 * time/mktime.c: Update copyright years.
69992
69993 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
69994
69995 mktime: merge comment-quoting-style change from gnulib
69996 * time/mktime.c: Quote 'like this' in comments.
69997 The GNU coding standards suggest that we no longer quote `like this',
69998 as "`" and "'" are typically rendered asymmetrically nowadays.
69999 The typical gnulib style is to quote 'like this' when quoting
70000 code, and "like this" when quoting English.
70001
70002 * time/mktime.c (compile-command): Add "-I.".
70003
70004 mktime: merge mktime-internal.h change from gnulib
70005 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70006
70007 mktime: merge time_r change from gnulib
70008 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70009
70010 mktime: merge DEBUG change from gnulib
70011 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70012 case system <time.h> has a #define.
70013
70014 mktime: merge <sys/types.h> change from gnulib
70015 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70016 since <time.t> is now guaranteed to define time_t.
70017
70018 mktime: merge HAVE_CONFIG_H change from gnulib
70019 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70020
70021 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70022
70023 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70024 Use "neg %eax".
70025
70026 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70027 __rlim_t cast.
70028 (struct rusage): Use anonymous union to pad each field to
70029 __syscall_slong_t.
70030
70031 2012-05-21 David S. Miller <davem@davemloft.net>
70032
70033 * Makefules (o-iterator): Remove .s cases.
70034 (compile-command.s): Delete.
70035 (COMPILE.s): Delete.
70036 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70037
70038 2012-05-21 Joseph Myers <joseph@codesourcery.com>
70039
70040 * configure.in (libc_cv_predef_stack_protector): Only consider
70041 "foobar" and "__stack_chk_fail" lines in libc_undefs.
70042 * configure: Regenerated.
70043
70044 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70045
70046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70047 New macro. Use R*LP on int and pointer.
70048 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70049 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70050 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70051 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70052
70053 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70054 [__WORDSIZE_TIME64_COMPAT32] instead of
70055 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70056 (struct utmp): Likewise.
70057 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70058 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70059 Renamed to ...
70060 (__WORDSIZE_TIME64_COMPAT32): This.
70061 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70062 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70063 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70064 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70065 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70066 (__WORDSIZE_TIME64_COMPAT32): New macro.
70067
70068 2012-05-21 Andreas Jaeger <aj@suse.de>
70069
70070 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70071 only if [SHARED]. Add prototype for __wcschr_ia32.
70072
70073 2012-05-21 Roland McGrath <roland@hack.frob.com>
70074
70075 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70076 of %rbp unmolested in the jmp_buf while mangling the low bits.
70077 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70078 unmolested high bits of %rbp while demangling the low bits.
70079 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70080
70081 2012-05-21 Andreas Jaeger <aj@suse.de>
70082
70083 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70084 * sunrpc/svc_simple.c: Use it for registerrpc.
70085 * sunrpc/xcrypt.c: Use it for passwd2des.
70086
70087 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70088
70089 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70090
70091 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70092 Don't define if [__SYSCALL_WORDSIZE != 32].
70093 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70094 New macro.
70095
70096 2012-05-21 Bruno Haible <bruno@clisp.org>
70097 Andreas Jaeger <aj@suse.de>
70098
70099 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70100 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70101 inptr and inend for must_buffer_ch.
70102 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70103 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70104 * stdio-common/Makefile (tests): Remove bug15.
70105 (bug15-ENV): Remove macro.
70106 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70107 anymore.
70108
70109 2012-05-19 Andreas Jaeger <aj@suse.de>
70110 Roland McGrath <roland@hack.frob.com>
70111
70112 * manual/contrib.texi: Completely rewritten. It contains now an
70113 alphabetical list of contributors and their contributions.
70114
70115 2012-05-21 Richard Henderson <rth@twiddle.net>
70116
70117 * misc/getauxval.c (__getauxval): Use unsigned long int.
70118 * misc/sys/auxv.h: Include <sys/cdefs.h>.
70119 (getauxval): Use unsigned long int.
70120
70121 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70122
70123 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70124
70125 2012-05-21 Roland McGrath <roland@hack.frob.com>
70126
70127 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70128 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70129 __alignof__ (long double).
70130
70131 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70132
70133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70134
70135 2012-05-20 Richard Henderson <rth@twiddle.net>
70136
70137 * misc/getauxval.c: New file.
70138 * misc/sys/auxv.h: New file.
70139 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70140 (routines): Add getauxval.
70141 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70142 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70143 * elf/dl-sysdep.c (_dl_auxv): Remove.
70144 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70145 * elf/dl-support.c (_dl_auxv): New variable.
70146 (_dl_aux_init): Initialize it.
70147 * manual/startup.texi (Auxiliary Vector): New node.
70148 * sysdeps/generic/bits/hwcap.h: New file.
70149 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70150 * sysdeps/powerpc/sysdep.h: ... here. Include it.
70151 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70152 * sysdeps/sparc/sysdep.h: ... here. Include it.
70153 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70154 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70156 Update.
70157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70160 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70165
70166 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70167
70168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70169
70170 2012-05-19 David S. Miller <davem@davemloft.net>
70171
70172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70173
70174 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70175
70176 [BZ #14123]
70177 * math/s_ccosh.c: Include <float.h>
70178 (__ccosh): Avoid internal overflow calculating sinh and cosh
70179 values before multiplying by sin and cos values.
70180 * math/s_ccoshf.c: Likewise.
70181 * math/s_ccoshl.c: Likewise.
70182 * math/s_csin.c: Likewise.
70183 * math/s_csinf.c: Likewise.
70184 * math/s_csinl.c: Likewise.
70185 * math/s_csinh.c: Likewise.
70186 * math/s_csinhf.c: Likewise.
70187 * math/s_csinhl.c: Likewise.
70188 * math/libm-test.inc (ccos_test): Add more tests.
70189 (ccosh_test): Likewise.
70190 (csin_test): Likewise.
70191 (csinh_test): Likewise.
70192 * sysdeps/i386/fpu/libm-test-ulps: Update.
70193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70194
70195 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
70196
70197 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
70198 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
70199
70200 * sysdeps/x86_64/x32/_itoa.h: Add comment.
70201
70202 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70203
70204 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70205 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
70206 * sysdeps/powerpc/soft-fp/Versions: Likewise.
70207 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
70208 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
70209 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
70210 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
70211 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
70212 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
70213 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
70214 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
70215 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
70216 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
70217 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
70218 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
70219 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
70220 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
70221 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
70222 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
70223 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
70224 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
70225 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
70226 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
70227 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
70228 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
70229 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
70230 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
70231 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
70232 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
70233 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
70234 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
70235
70236 2012-05-18 Andreas Jaeger <aj@suse.de>
70237
70238 * csu/.gitignore: Delete.
70239
70240 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70241
70242 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
70243 (timex): Use __syscall_slong_t.
70244
70245 2012-05-18 Andreas Jaeger <aj@suse.de>
70246 Carlos O'Donell <carlos_odonell@mentor.com>
70247
70248 * manual/install.texi (Configuring and compiling): Update
70249 description about files modified in the source directory.
70250 * INSTALL: Regenerated.
70251
70252 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70253
70254 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
70255 value. Use "or" to set return value to -1.
70256 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
70257 negate return value.
70258
70259 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70260
70261 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
70262 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
70263 failure if the compiler has Graphite support disabled.
70264 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
70265 Likewise.
70266 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
70267 (CFLAGS-memmove.c): Likewise.
70268 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
70269 Likewise.
70270
70271 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70272
70273 * sysdeps/x86_64/x32/_itoa.h: New file.
70274
70275 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
70276 getdents system call only if kernel and user dirents have the
70277 same d_ino and d_off.
70278
70279 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70280 LLONG_MAX != LONG_MAX.
70281 (_itoa_word): Use _ITOA_WORD_TYPE on value.
70282 (_fitoa_word): Likewise.
70283
70284 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
70285 years.
70286 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
70287 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
70288 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
70289
70290 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
70291 include <bits/wordsize.h>. Check __x86_64__ instead of
70292 __WORDSIZE.
70293 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
70294 if __x86_64__ is defined. Use anonymous union on fpstate.
70295
70296 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
70297 anonymous union.
70298
70299 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
70300
70301 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
70302 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
70303 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
70304 Refer to _rtld_local_ro instead of _rtld_global_ro.
70305 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
70306 Likewise.
70307 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
70308 Likewise.
70309 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
70310 Likewise.
70311 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
70312 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
70313 of _rtld_global, and rtld_progname instead of _dl_argv[0].
70314
70315 [BZ #10882]
70316 * sysdeps/powerpc/powerpc32/dl-machine.c
70317 (__elf_machine_runtime_setup) [PROF]: Don't reference
70318 _dl_prof_resolve.
70319
70320 2012-05-18 Andreas Jaeger <aj@suse.de>
70321
70322 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
70323 function only available for GCCs before 3.4 since GCC 3.4
70324 introduced a builtin.
70325 (lrint): Likewise.
70326 (llrintf): Likewise.
70327 (llrint): Likewise.
70328 (fmaxf): Likewise.
70329 (fmax): Likewise.
70330 (fminf): Likewise.
70331 (fmin): Likewise.
70332 (rint): Likewise.
70333 (rintf): Likewise.
70334 (nearbyint): Likewise.
70335 (nearbyintf): Likewise.
70336 (ceil): Likewise.
70337 (ceilf): Likewise.
70338 (floor): Likewise.
70339 (floorf): Likewise.
70340
70341 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70342
70343 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
70344 on both fields and cast pointer to __syscall_ulong_t.
70345
70346 * bits/types.h (__fsword_t): New type.
70347 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
70348 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
70349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70350 (__FSWORD_T_TYPE): Likewise.
70351 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70352 (__FSWORD_T_TYPE): Likewise.
70353 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70354 (__FSWORD_T_TYPE): Likewise.
70355 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
70356 (__FSWORD_T_TYPE): Likewise.
70357 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
70358 __SWORD_TYPE with __fsword_t.
70359 (statfs64): Likewise.
70360
70361 2012-05-17 David S. Miller <davem@davemloft.net>
70362
70363 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
70364
70365 2012-05-17 Andreas Jaeger <aj@suse.de>
70366
70367 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
70368 warning.
70369
70370 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70371
70372 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
70373
70374 2012-05-17 Andreas Jaeger <aj@suse.de>
70375
70376 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
70377 when it is used.
70378
70379 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
70380
70381 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
70382
70383 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70384
70385 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
70386 * sysdeps/x86_64/tst-mallocalign1.c: New file.
70387
70388 2012-05-17 Andreas Jaeger <aj@suse.de>
70389 Carlos O'Donell <carlos_odonell@mentor.com>
70390
70391 [BZ #14059]
70392 * sysdeps/x86_64/multiarch/init-arch.h
70393 (bit_YMM_Usable): Rename to...
70394 (bit_AVX_Usable): ... this.
70395 (bit_FMA4_Usable): New macro.
70396 (bit_XMM_state): New macro.
70397 (bit_YMM_state): New macro.
70398 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
70399 [__ASSEMBLER__] (index_AVX_Usable): ... this.
70400 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
70401 (CPUID_OSXSAVE): New macro.
70402 (CPUID_AVX): New macro.
70403 (CPUID_FMA4): New macro.
70404 (index_YMM_Usable): Rename to...
70405 (index_AVX_Usable): ... this.
70406 (HAS_AVX): Use HAS_ARCH_FEATURE.
70407 (HAS_FMA4): Likewise.
70408 (HAS_YMM_USABLE): Remove.
70409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70410 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
70411 are present.
70412 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
70413 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
70414 * sysdeps/x86_64/multiarch/Makefile: Likewise.
70415 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
70416 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
70417
70418 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
70419
70420 * math/libm-test.c: Support platforms without multiple rounding modes.
70421 * math/bug-nextafter.c: Support platforms without FP exceptions.
70422 * math/bug-nexttoward.c: Likewise.
70423 * math/test-fenv.c: Likewise.
70424 * math/test-misc.c: Likewise.
70425 * stdlib/bug-getcontext.c: Likewise.
70426
70427 2012-05-17 Andreas Jaeger <aj@suse.de>
70428
70429 * manual/examples/search.c (critter_cmp): Change signature to
70430 avoid warnings.
70431 * manual/string.texi (Collation Functions): Likewise.
70432
70433 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70434
70435 * bits/types.h: Fold copyright years.
70436 * bits/typesizes.h: Likewise.
70437 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
70438 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
70439 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
70440 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
70441 * time/time.h: Likewise.
70442
70443 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
70444
70445 [BZ #208]
70446 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
70447 in instead of returning them. Return void.
70448 (__libc_mallinfo): Accumulate over all arenas.
70449 (__malloc_stats): Adjust for change in int_mallinfo interface.
70450
70451 2012-05-16 Roland McGrath <roland@hack.frob.com>
70452
70453 [BZ #10375]
70454 * configure.in (NM): Add AC_CHECK_TOOL for it.
70455 (libc_extra_cflags): New substituted variable.
70456 Check for -fstack-protector being used implicitly.
70457 * configure: Regenerated.
70458 * config.make.in (config-extra-cflags): New variable,
70459 gets @libc_extra_cflags@.
70460 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
70461
70462 [BZ #10375]
70463 * configure.in: Check for _FORTIFY_SOURCE being predefined.
70464 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
70465 * configure: Regenerated.
70466 * config.make.in (CPPUNDEFS): New substituted variable.
70467 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
70468 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
70469 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
70470
70471 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70472
70473 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
70474 (mq_attr): Use __syscall_slong_t.
70475
70476 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70477
70478 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
70479 Check __x86_64__ instead of __WORDSIZE.
70480 (_STAT_VER_LINUX): Likewise.
70481 (stat): Check __x86_64__ instead of __WORDSIZE. Use
70482 __syscall_ulong_t and __syscall_slong_t.
70483 (stat64): Likewise.
70484
70485 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70486
70487 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
70488
70489 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70490
70491 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
70492
70493 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70494
70495 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
70496 __syscall_ulong_t.
70497
70498 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
70499 include <bits/wordsize.h>. Check __x86_64__ instead of
70500 __WORDSIZE.
70501 (greg_t): Use "__extension__ long long int" if __x86_64__ is
70502 defined.
70503 (mcontext_t): Replace "unsigned long" with "unsigned long long".
70504
70505 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
70506 include <bits/wordsize.h>. Check __x86_64__ instead of
70507 __WORDSIZE.
70508 (user_regs_struct): Use "__extension__ unsigned long long"
70509 instead of "unsigned long" if __x86_64__ is defined.
70510 (user): Likewise. Pad after pointer field if __ILP32__ is
70511 defined.
70512
70513 2012-05-16 Joseph Myers <joseph@codesourcery.com>
70514
70515 * configure.in (makeinfo): Require version 4.5 or later. Allow
70516 versions 5 to 9.
70517 * configure: Regenerated.
70518 * manual/install.texi (texinfo): Increase version requirement to
70519 4.5 or later.
70520 * INSTALL: Regenerated.
70521
70522 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
70523
70524 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70525
70526 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
70527
70528 * sysdeps/x86_64/x32/ffs.c: New file.
70529
70530 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
70531 __syscall_ulong_t.
70532 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
70533 defined. Use __syscall_ulong_t.
70534 (shminfo): Use __syscall_ulong_t.
70535 (shm_info): Likewise.
70536
70537 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
70538 __syscall_ulong_t.
70539
70540 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
70541 <bits/wordsize.h>.
70542 (msgqnum_t): Use __syscall_ulong_t.
70543 (msglen_t): Likewise.
70544 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
70545 __syscall_ulong_t.
70546
70547 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
70548 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70549
70550 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
70551
70552 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
70553 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
70554
70555 * sysvipc/sys/msg.h (msgbuf): Replace long int with
70556 __syscall_slong_t.
70557
70558 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
70559 include <bits/wordsize.h>. Check __x86_64__ instead of
70560 __WORDSIZE.
70561
70562 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
70563 "unsigned long long int" if __x86_64__ is defined.
70564 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
70565
70566 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
70567 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70568 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
70569
70570 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
70571 <stdint.h>.
70572 (GET_PC): Cast to uintptr_t first.
70573 (GET_FRAME): Likewise.
70574 (GET_STACK): Likewise.
70575
70576 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
70577 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
70578 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
70579 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
70580 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
70581 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
70582 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
70583 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
70584 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
70585 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
70586 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
70587 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
70588 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70589 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
70590 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
70591 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
70592 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
70593 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
70594 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
70595 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
70596 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
70597 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
70598 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
70599 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
70600 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
70601 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
70602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
70603 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
70604 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
70605
70606 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
70607
70608 * Makerules (+depfiles): Also collect depfiles from .oS in
70609 $(extra-objs).
70610 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
70611 .oS, $(libnldbl-routines)).
70612
70613 * Makerules (native-compile-mkdep-flags): Define.
70614 * sunrpc/Makefile (extra-objs): Add $(addprefix
70615 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
70616 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
70617 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
70618 calling $(make-target-directory).
70619
70620 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70621
70622 * bits/types.h (__snseconds_t): Removed.
70623 * time/time.h (struct timespec): Replace __snseconds_t with
70624 __syscall_slong_t.
70625 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
70626 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
70627 Likewise.
70628 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70629 (__SNSECONDS_T_TYPE): Likewise.
70630 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70631 (__SNSECONDS_T_TYPE): Likewise.
70632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70633 (__SNSECONDS_T_TYPE): Likewise.
70634
70635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70636
70637 * sysdeps/mach/hurd/bits/typesizes.h
70638 (__SYSCALL_SLONG_TYPE): New macro.
70639 (__SYSCALL_ULONG_TYPE): Likewise.
70640
70641 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70642
70643 * bits/types.h (__syscall_slong_t): New type.
70644 (__syscall_ulong_t): Likewise.
70645
70646 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
70647 (__SYSCALL_ULONG_TYPE): Likewise.
70648 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70649 (__SYSCALL_SLONG_TYPE): Likewise.
70650 (__SYSCALL_ULONG_TYPE): Likewise.
70651 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70652 (__SYSCALL_SLONG_TYPE): Likewise.
70653 (__SYSCALL_ULONG_TYPE): Likewise.
70654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70655 (__SYSCALL_SLONG_TYPE): Likewise.
70656 (__SYSCALL_ULONG_TYPE): Likewise.
70657
70658 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70659
70660 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
70661 Add sigaltstack-offsets.sym.
70662 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
70663 <sigaltstack-offsets.h>.
70664 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
70665 longjmp_msg pointer.
70666 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
70667 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
70668 signal stack.
70669 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
70670
70671 2012-05-15 Joseph Myers <joseph@codesourcery.com>
70672
70673 * elf/stackguard-macros.h: Remove file.
70674 * sysdeps/generic/stackguard-macros.h: New file.
70675 * sysdeps/i386/stackguard-macros.h: Likewise.
70676 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
70677 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
70678 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
70679 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
70680 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
70681 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
70682 * sysdeps/x86_64/stackguard-macros.h: Likewise.
70683 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
70684 <elf/stackguard-macros.h>.
70685
70686 [BZ #14109]
70687 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
70688 __aligned__ in attribute.
70689 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
70690 (gregset_t): Likewise.
70691
70692 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70693
70694 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
70695 * sysdeps/x86_64/64/Implies-after: Here. New file.
70696 * sysdeps/x86_64/x32/Implies-after: New file.
70697
70698 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70699
70700 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
70701 and access return value for _dl_profile_fixup. Use R10_LP to
70702 load frame size.
70703
70704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70705
70706 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
70707
70708 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70709
70710 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
70711 * sysdeps/x86_64/x32/sysdep.h: New file.
70712
70713 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70714
70715 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
70716 * sysdeps/x86_64/setjmp.S: Likewise.
70717
70718 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70719
70720 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
70721 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
70722 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
70723 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
70724 remove unused global constant.
70725
70726 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
70727
70728 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
70729 include of <not-cancel.h>.
70730
70731 2012-05-15 Roland McGrath <roland@hack.frob.com>
70732
70733 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
70734
70735 2012-05-15 Jeff Law <law@redhat.com>
70736 Andreas Jaeger <aj@suse.de>
70737
70738 [BZ #13594]
70739 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
70740 out from...
70741 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
70742 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
70743 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
70744 code changing __hst_map_handle.map.
70745
70746 2012-05-15 Roland McGrath <roland@hack.frob.com>
70747
70748 * configure.in (sysnames): Look for Implies-before and Implies-after
70749 files.
70750 * configure: Regenerated.
70751
70752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70753
70754 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
70755 8-byte data alignment with LP_SIZE alignment.
70756
70757 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70758
70759 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
70760 into R10_LP.
70761
70762 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70763
70764 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
70765
70766 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70767
70768 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
70769 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
70770 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
70771 Likewise.
70772 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70773
70774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70775
70776 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
70777 (stackinfo_sub_sp): Likewise.
70778
70779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70780
70781 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
70782 RAX_LP.
70783
70784 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70785
70786 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
70787 into R*_LP.
70788
70789 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70790
70791 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
70792 sizes into R*_LP.
70793
70794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70795
70796 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
70797
70798 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70799
70800 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
70801 into R11_LP and load __x86_64_shared_cache_size_half into
70802 R8_LP.
70803
70804 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70805
70806 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
70807 R8_LP.
70808
70809 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70810
70811 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
70812 logb for POWER7.
70813 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
70814 logbf for POWER7.
70815 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
70816 logbl for POWER7.
70817 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
70818 powerpc32/power7/fpu/s_logb.c via #include.
70819 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
70820 powerpc32/power7/fpu/s_logbf.c via #include.
70821 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
70822 powerpc32/power7/fpu/s_logbl.c via #include.
70823
70824 2012-05-15 Joseph Myers <joseph@codesourcery.com>
70825
70826 * README.libm: Remove file.
70827
70828 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70829
70830 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
70831 count for x32. Use R*_LP and omit operand-size suffix.
70832
70833 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70834
70835 * shlib-versions: Move x86_64-.*-linux.* entries to ...
70836 * sysdeps/x86_64/64/shlib-versions: Here. New file.
70837 * sysdeps/x86_64/x32/shlib-versions: New file.
70838
70839 2012-05-14 Roland McGrath <roland@hack.frob.com>
70840
70841 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
70842 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
70843 Use _dl_fatal_printf instead.
70844
70845 2012-05-14 Joseph Myers <joseph@codesourcery.com>
70846
70847 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
70848 set if not set by the user. Do not allow for being unset.
70849 * sysdeps/unix/sysv/linux/configure: Regenerated.
70850
70851 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70852
70853 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
70854 the `q' suffix from lea and replace .quad with ASM_ADDR.
70855
70856 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70857
70858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
70859 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
70860 instead of $17.
70861 (PTR_DEMANGLE): Likewise.
70862
70863 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70864
70865 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
70866 (LP_OP): Likewise.
70867 (ASM_ADDR): Likewise.
70868 (RAX_LP): Likewise.
70869 (RBP_LP): Likewise.
70870 (RBX_LP): Likewise.
70871 (RCX_LP): Likewise.
70872 (RDI_LP): Likewise.
70873 (RSI_LP): Likewise.
70874 (RSP_LP): Likewise.
70875 (R8_LP): Likewise.
70876 (R9_LP): Likewise.
70877 (R10_LP): Likewise.
70878 (R10_LP): Likewise.
70879 (R11_LP): Likewise.
70880 (R12_LP): Likewise.
70881 (R13_LP): Likewise.
70882 (R14_LP): Likewise.
70883 (R15_LP): Likewise.
70884
70885 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70886
70887 * sysdeps/x86_64/x32/dl-machine.h: New file.
70888
70889 2012-05-14 Andreas Jaeger <aj@suse.de>
70890
70891 * manual/Makefile (subdir): Remove export of subdir.
70892 (all): Remove target.
70893 (.PHONY): Remove all from list.
70894 (mkinstalldirs): Remove.
70895 (.PHONY): Remove installdirs from list.
70896 ($(inst_infodir)/libc.info): Use make-target-directory.
70897 (installdirs): Remove.
70898 (subdir_%): Remove.
70899 (glibc-targets): Remove.
70900 (lib): Remove.
70901 (stubs): Remove.
70902 ($(objpfx)stubs ../po/manual.pot): Remove.
70903 ($(objpfx)stamp%): Remove.
70904 (make-target-directory): Remove.
70905 (subdir_install): Remove.
70906 (routines): Remove.
70907 (aux): Remove.
70908 (sources): Remove.
70909 (objects): Remove.
70910 (headers): Remove.
70911
70912 [BZ #13750]
70913 * manual/.gitignore: Remove, it's not needed anymore.
70914 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
70915 all files in it.
70916 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
70917 directory.
70918 (texis): Renamed to $(objpfx)texis.
70919 (texis-path): New, contains path to generated files.
70920 (chapters.%): Use texis-path for complete path, add extra argument
70921 libc-texinfo.sh.
70922 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
70923 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
70924 (summary,texi, stamp-summary): Use complete path of
70925 files. Generate files in build dir.
70926 (dir-add.texi): Build in build dir.
70927 (libm-err.texi,stamp-libm-err): Likewise.
70928 (version.texi, stamp-version): Likewise.
70929 (.%c.texi): Likewise.
70930 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
70931 (mostlyclean): Remove target.
70932 (realclean): Remove target.
70933 (generated): Add new variable with contents from mostlyclean and
70934 realclean, remove entries duplicated in common-mostlyclean, add
70935 stamp-libm-err and stamp-version.
70936 (generated-dirs): Add libc directory.
70937 ($(inst_infodir)/libc.info): Install files from build dir.
70938
70939 * manual/install.texi (Configuring and compiling): Adjust since
70940 the info files are not part of the tar ball anymore.
70941
70942 2012-05-14 Andreas Jaeger <aj@suse.de>
70943
70944 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
70945 variable.
70946
70947 2012-05-14 Joseph Myers <joseph@codesourcery.com>
70948
70949 [BZ #13717]
70950 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70951 to 2.2.0 where earlier.
70952 * sysdeps/unix/sysv/linux/configure: Regenerated.
70953 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
70954 Remove conditional code.
70955 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
70956 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
70957 Remove conditional code.
70958 [!__NR_lchown]: Likewise.
70959 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
70960 [__NR_lchown]: Likewise.
70961 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
70962 comment referencing __ASSUME_LCHOWN_SYSCALL.
70963 * sysdeps/unix/sysv/linux/i386/sigaction.c
70964 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70965 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70966 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
70967 Remove conditional code.
70968 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
70969 (__protocol_available): Remove #if 0 code.
70970 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
70971 conditional code.
70972 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
70973 * sysdeps/unix/sysv/linux/kernel-features.h
70974 (__ASSUME_GETCWD_SYSCALL): Don't define.
70975 (__ASSUME_REALTIME_SIGNALS): Likewise.
70976 (__ASSUME_PREAD_SYSCALL): Likewise.
70977 (__ASSUME_PWRITE_SYSCALL): Likewise.
70978 (__ASSUME_POLL_SYSCALL): Likewise.
70979 (__ASSUME_LCHOWN_SYSCALL): Likewise.
70980 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
70981 non-SPARC.
70982 (__ASSUME_SIOCGIFNAME): Don't define.
70983 (__ASSUME_MSG_NOSIGNAL): Likewise.
70984 (__ASSUME_SENDFILE): Define unconditionally.
70985 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
70986 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
70987 conditional code.
70988 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
70989 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
70990 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
70991 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
70992 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
70993 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
70994 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
70995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
70996 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
70997 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
70999 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71000 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71002 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71003 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71005 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71006 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71008 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71011 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71014 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71017 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71019 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71020 Remove conditional code.
71021 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71022 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71023 Remove conditional code.
71024 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71025 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71026 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71027 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71028 Remove conditional code.
71029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71030 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71031 Remove conditional code.
71032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71033 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71034 Remove conditional code.
71035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71036 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71037 Remove conditional code.
71038 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71039 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71040 Remove conditional code.
71041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71042 * sysdeps/unix/sysv/linux/sh/pwrite64.c
71043 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71044 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71045 * sysdeps/unix/sysv/linux/sigaction.c
71046 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71047 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71048 * sysdeps/unix/sysv/linux/sigpending.c
71049 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71050 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71051 * sysdeps/unix/sysv/linux/sigprocmask.c
71052 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71053 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71054 * sysdeps/unix/sysv/linux/sigsuspend.c
71055 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71056 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71057 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71058 (__libc_missing_rt_sigs): Remove.
71059 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71060 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71061 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71062 Remove conditional code.
71063 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71064 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71065 return 1.
71066 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71067 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71068 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71069 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71070
71071 2012-05-14 Andreas Jaeger <aj@suse.de>
71072
71073 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71074 it's not used in glibc.
71075 (__coshm1): Likewise.
71076 (__acosh1p): Likewise.
71077 (__sgn): Likewise.
71078
71079 * manual/string.texi (Copying and Concatenation): Add missing
71080 variable in concat example.
71081 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71082
71083 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71084
71085 [BZ #14103]
71086 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71087 __builtin_clzl with __builtin_clzll.
71088
71089 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71090
71091 [BZ #14104]
71092 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71093 libc_freeres_ptr.
71094
71095 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71096
71097 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71098 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71099 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71100 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71101
71102 2012-05-14 Mike Frysinger <vapier@gentoo.org>
71103
71104 * NEWS: Update ia64 info.
71105
71106 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
71107
71108 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71109 used as bcopy.
71110
71111 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
71112
71113 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71114 * sysdeps/unix/syscalls.list (dup3): Likewise.
71115 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71116 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71117
71118 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71119
71120 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71121 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71122
71123 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71124
71125 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71126 thread pointer.
71127 (TLS_IE): Use mov/add instead of movq/addq to load thread
71128 pointer.
71129 (TLS_GD_PREFIX): New.
71130 (TLS_GD): Use it.
71131
71132 2012-05-11 David S. Miller <davem@davemloft.net>
71133
71134 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71135 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71136 (_FPU_SETCW): Likewise.
71137
71138 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71139
71140 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71141 is 32-byte aligned.
71142
71143 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
71144
71145 [BZ #11837]
71146 * iconvdata/gb18030.c: Update tables.
71147 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
71148 characters specially.
71149 (BODY for TO_LOOP): Add encoding of missing ranges.
71150
71151 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
71152
71153 [BZ #13673]
71154 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71155 * sysdeps/mach/hurd/dup3.c: Likewise.
71156 * sysdeps/mach/hurd/readlinkat.c: Likewise.
71157 * sysdeps/powerpc/memmove.c:: Likewise.
71158
71159 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71160
71161 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71162 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71163
71164 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71165
71166 * elf/elf.h (R_X86_64_RELATIVE64): New.
71167 (R_X86_64_NUM): Updated.
71168 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71169 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
71170 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71171 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71172 tst-quad1pie tst-quad2pie
71173 (modules-names): Add tst-quadmod1 tst-quadmod2.
71174 ($(objpfx)tst-quad1): New dependency.
71175 ($(objpfx)tst-quad2): Likewise.
71176 ($(objpfx)tst-quad1pie): Likewise.
71177 ($(objpfx)tst-quad2pie): Likewise.
71178 * sysdeps/x86_64/tst-quad1.c: New file.
71179 * sysdeps/x86_64/tst-quad1pie.c: New file.
71180 * sysdeps/x86_64/tst-quad2.c: Likewise.
71181 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71182 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71183 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71184 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71185 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71186
71187 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71188
71189 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
71190 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
71191 * streams/stropts.h (t_scalar_t): Define type.
71192
71193 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
71194 (_PATH_PRESERVE): Set to "/var/lib".
71195 (_PATH_RWHODIR): Set to "/var/spool/rwho".
71196
71197 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
71198 instead of int.
71199
71200 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
71201 if __dir_mkfile succeeded.
71202
71203 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
71204 checking for _hurd_dtablesize. Unlock it right after having
71205 finished _hurd_dtable allocation.
71206
71207 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71208
71209 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
71210 * sysdeps/mach/hurd/configure: Regenerated.
71211 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
71212 special-casing to...
71213 * sysdeps/gnu/configure.in: ... this new file.
71214 * sysdeps/unix/sysv/linux/configure: Regenerated.
71215 * sysdeps/gnu/configure: New generated file.
71216
71217 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
71218 for Linux: use nsec instead of usec, as well as:
71219 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
71220 members of type struct timespec.
71221 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
71222 New macros.
71223 (struct stat64): Likewise.
71224 (_STATBUF_ST_NSEC): New macro.
71225 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
71226
71227 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71228 __strtoul_internal rather than strtoul.
71229
71230 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71231
71232 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
71233 and reject them.
71234
71235 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71236
71237 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
71238 which preserves existing values.
71239 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
71240
71241 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71242
71243 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
71244 TIMEOUT values. Return EINVAL for NFDS values either negative or
71245 greater than FD_SETSIZE.
71246
71247 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71248
71249 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
71250 allocated, call __vm_protect to finish enabling the existing space, and
71251 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
71252 allocate the remainder.
71253
71254 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71255
71256 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
71257 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
71258
71259 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71260
71261 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
71262 sysdeps/mach/hurd/readlink.c.
71263
71264 * posix/tst-sysconf.c (posix_options): Only use
71265 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
71266 _POSIX_SYNCHRONIZED_IO when they are defined
71267 * sysdeps/mach/hurd/bits/posix_opt.h:
71268 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
71269 (_XOPEN_REALTIME): Undefine macro.
71270 (_XOPEN_REALTIME_THREADS): Undefine macro.
71271 (_XOPEN_SHM): Undefine macro.
71272 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
71273 macro to -1.
71274 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
71275 macro to -1.
71276 (_POSIX_ASYNC_IO): Undefine macro.
71277 (_POSIX_PRIORITIZED_IO): Undefine macro.
71278 (_POSIX_SPIN_LOCKS): Define macro to -1.
71279
71280 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
71281 SA_NODEFER, SA_RESETHAND.
71282 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
71283 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
71284 F_DUPFD_CLOEXEC.
71285
71286 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71287
71288 * elf/Makefile (pldd-modules): Define unconditionally.
71289
71290 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71291
71292 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
71293
71294 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71295
71296 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
71297 Return ENOENT when name is empty.
71298 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
71299
71300 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71301
71302 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
71303
71304 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
71305
71306 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71307
71308 Fix mlock in all cases except non-readable pages.
71309 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
71310 instead of VM_PROT_ALL as parameter to __vm_wire function.
71311
71312 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
71313 (__mkdir): When path is `/', just fail with EEXIST.
71314 * sysdeps/mach/hurd/mkdirat.c: Likewise.
71315
71316 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71317
71318 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
71319 <sys/uio.h> (for writev).
71320 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
71321 and <sys/param.h> (for MIN).
71322
71323 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71324
71325 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
71326 REQUESTED_TIME. Properly set the remaining time and return EINTR
71327 if interrupted.
71328
71329 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71330
71331 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
71332 Depend on against $(link-rpcuserlibs).
71333
71334 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71335
71336 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
71337 (__libc_stack_end): Do not use attribute_relro.
71338 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
71339 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
71340 to libthread-provided value.
71341 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
71342 attribute_relro.
71343
71344 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71345
71346 [BZ #3748]
71347 * bits/libc-lock.h (__libc_once_get): New macro.
71348 * sysdeps/mach/bits/libc-lock.h: Likewise.
71349 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
71350 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
71351 instead of using implementation details.
71352
71353 * libio/fileops.c: Unconditionally include <kernel-features.h>.
71354 * libio/freopen.c: Likewise.
71355 * libio/freopen64.c: Likewise.
71356 * misc/syslog.c: Likewise.
71357 * nscd/connections.c: Likewise.
71358 * nscd/netgroupcache.c: Likewise.
71359 * sysdeps/posix/getcwd.c: Likewise.
71360
71361 2012-05-10 Roland McGrath <roland@hack.frob.com>
71362
71363 * math/w_ilogbf.c: Add #include <limits.h>.
71364
71365 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71366
71367 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
71368 path instead of returning without unlocking.
71369
71370 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
71371 immediate-write ioctls.
71372 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
71373
71374 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71375
71376 * sysdeps/mach/hurd/i386/init-first.c (init): Use
71377 __builtin_frame_address instead of making assumptions about the
71378 location of the return address relative to DATA. Force early load of
71379 the return address.
71380 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
71381 __builtin_frame_address.
71382
71383 dup3 for GNU Hurd.
71384 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
71385 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
71386 implement dup3 and do some further code clean-ups.
71387 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
71388 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
71389
71390 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71391
71392 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
71393
71394 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
71395 HURD_CRITICAL_END around holding _hurd_dtable_lock.
71396 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
71397 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
71398 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
71399 d->port.lock.
71400
71401 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
71402 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
71403 when handler == SIG_ERR, not when handler != SIG_ERR.
71404
71405 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71406
71407 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
71408 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
71409 definitions.
71410
71411 accept4 for GNU Hurd.
71412 * include/sys/socket.h (__libc_accept4): New prototype.
71413 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
71414 to implement __libc_accept4.
71415 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
71416 __libc_accept4.
71417 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
71418
71419 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
71420 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
71421 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
71422 signal-defines.sym.
71423
71424 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71425
71426 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
71427
71428 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71429
71430 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
71431 assertion on O_CLOEXEC flag.
71432 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
71433 * hurd/intern-fd.c: Likewise.
71434 * hurd/port2fd.c: Likewise.
71435
71436 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71437
71438 [BZ #3906]
71439 * bits/in.h (IPV6_PKTINFO): Define new macro.
71440 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
71441
71442 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71443
71444 [BZ #13954]
71445 [BZ #13955]
71446 [BZ #13956]
71447 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
71448 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71449 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
71450 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71451 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71452 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71453 * math/libm-test.inc (logb_test) : Additional logb tests.
71454
71455 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
71456 Andreas Jaeger <aj@suse.de>
71457
71458 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
71459 * configure: Regenerated.
71460 * config.h.in (LINK_OBSOLETE_RPC): New macro.
71461 * config.make.in (link-obsolete-rpc): New substituted variable.
71462 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
71463 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
71464 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71465 (shared-only-routines): Don't set it under [link-obsolete-rpc],
71466 so that libc.a contains the symbols.
71467 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71468 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
71469 * sunrpc/auth_none.c: Likewise.
71470 * sunrpc/auth_unix.c: Likewise.
71471 * sunrpc/authdes_prot.c: Likewise.
71472 * sunrpc/authuxprot.c: Likewise.
71473 * sunrpc/clnt_gen.c: Likewise.
71474 * sunrpc/clnt_perr.c: Likewise.
71475 * sunrpc/clnt_raw.c: Likewise.
71476 * sunrpc/clnt_simp.c: Likewise.
71477 * sunrpc/clnt_tcp.c: Likewise.
71478 * sunrpc/clnt_udp.c: Likewise.
71479 * sunrpc/clnt_unix.c: Likewise.
71480 * sunrpc/des_crypt.c: Likewise.
71481 * sunrpc/des_soft.c: Likewise.
71482 * sunrpc/get_myaddr.c: Likewise.
71483 * sunrpc/key_call.c: Likewise.
71484 * sunrpc/key_prot.c: Likewise.
71485 * sunrpc/netname.c: Likewise.
71486 * sunrpc/pm_getmaps.c: Likewise.
71487 * sunrpc/pm_getport.c: Likewise.
71488 * sunrpc/pmap_clnt.c: Likewise.
71489 * sunrpc/pmap_prot.c: Likewise.
71490 * sunrpc/pmap_prot2.c: Likewise.
71491 * sunrpc/pmap_rmt.c: Likewise.
71492 * sunrpc/publickey.c: Likewise.
71493 * sunrpc/rpc_cmsg.c: Likewise.
71494 * sunrpc/rpc_common.c: Likewise.
71495 * sunrpc/rpc_dtable.c: Likewise.
71496 * sunrpc/rpc_prot.c: Likewise.
71497 * sunrpc/rpc_thread.c: Likewise.
71498 * sunrpc/rtime.c: Likewise.
71499 * sunrpc/svc.c: Likewise.
71500 * sunrpc/svc_auth.c: Likewise.
71501 * sunrpc/svc_raw.c: Likewise.
71502 * sunrpc/svc_run.c: Likewise.
71503 * sunrpc/svc_tcp.c: Likewise.
71504 * sunrpc/svc_udp.c: Likewise.
71505 * sunrpc/svc_unix.c: Likewise.
71506 * sunrpc/svcauth_des.c: Likewise.
71507 * sunrpc/xcrypt.c: Likewise.
71508 * sunrpc/xdr.c: Likewise.
71509 * sunrpc/xdr_array.c: Likewise.
71510 * sunrpc/xdr_float.c: Likewise.
71511 * sunrpc/xdr_intXX_t.c: Likewise.
71512 * sunrpc/xdr_mem.c: Likewise.
71513 * sunrpc/xdr_rec.c: Likewise.
71514 * sunrpc/xdr_ref.c: Likewise.
71515 * sunrpc/xdr_sizeof.c: Likewise.
71516 * sunrpc/xdr_stdio.c: Likewise.
71517
71518 2012-05-10 Roland McGrath <roland@hack.frob.com>
71519
71520 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
71521 change. Update copyright years.
71522
71523 2012-05-10 Joseph Myers <joseph@codesourcery.com>
71524
71525 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
71526
71527 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
71528 Joseph Myers <joseph@codesourcery.com>
71529 Paul Pluzhnikov <ppluzhnikov@google.com>
71530
71531 [BZ #14012]
71532 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
71533 requiring rpcgen.
71534 [cross-compiling] (extra-libs): Likewise.
71535 [cross-compiling] (extra-libs-others): Likewise.
71536 [cross-compiling] (librpcsvc-routines): Likewise.
71537 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
71538 [cross-compiling] (omit-deps): Likewise.
71539 (sunrpc-CPPFLAGS): New variable.
71540 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
71541 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
71542 (cross-rpcgen-objs): New variable.
71543 (extra-objs): Append $(cross-rpcgen-objs).
71544 ($(cross-rpcgen-objs)): New rule.
71545 ($(objpfx)cross-rpcgen): Likewise.
71546 (rpcgen-cmd): Define to use $(built-program-file). Expand
71547 comment.
71548 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
71549 ($(objpfx)x%.stmp): Likewise.
71550 * sunrpc/proto.h [IS_IN_build] (_): Define.
71551 [IS_IN_build] (_libc_intl_domainname): Likewise.
71552
71553 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71554
71555 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
71556 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
71557 and R_X86_64_TPOFF64.
71558
71559 2012-05-10 Joseph Myers <joseph@codesourcery.com>
71560
71561 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
71562 sysdeps/unix/sysv/syscalls.list.
71563 (stime): Likewise.
71564 (utime): Likewise.
71565 * sysdeps/unix/sysv/syscalls.list: Remove file.
71566
71567 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
71568
71569 [BZ #3440]
71570 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
71571 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
71572 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
71573 (__LC_IDENTIFICATION): Make these macros useful in #if
71574 expressions, as required by C99.
71575
71576 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
71577
71578 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
71579 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
71580 after this.
71581
71582 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
71583
71584 * stdlib/longlong.h: Updated from GCC.
71585
71586 2012-05-09 Andreas Jaeger <aj@suse.de>
71587
71588 * nscd/nscd.c (run_modes): Make named enum, reorder so that
71589 default is first entry.
71590 (run_mode): Set type.
71591 (main): Remove informal message about syslog.
71592 (options): Fix typo.
71593
71594 [BZ #14053]
71595 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
71596 to asm.
71597 (lrint): Likewise.
71598 (llrintf): Likewise.
71599 (llrint): Likewise.
71600 (rint): Likewise.
71601 (rintf): Likewise.
71602 (nearbyint): Likewise.
71603 (nearbyintf): Likewise.
71604
71605 2012-05-09 Andreas Jaeger <aj@suse.de>
71606 Pedro Alves <palves@redhat.com>
71607
71608 * nscd/nscd.c (run_mode): Use enum.
71609 (main): Cleanup coding style issue.
71610
71611 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
71612 Andreas Jaeger <aj@suse.de>
71613
71614 * nscd/nscd.c (go_background): Replaced with...
71615 (run_mode): ... this.
71616 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
71617 (options): Add -F --foreground.
71618 (main): Implement it.
71619 (parse_opt): Parse it.
71620
71621 2012-05-09 Andreas Jaeger <aj@suse.de>
71622
71623 [BZ #14083]
71624 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
71625 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
71626 -Wconversion warning.
71627 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
71628 Likewise.
71629
71630 2012-05-09 Joseph Myers <joseph@codesourcery.com>
71631
71632 * conform/data/locale.h-data (NULL): Use macro-constant. Require
71633 == 0.
71634 (LC_ALL): Use macro-int-constant.
71635 (LC_COLLATE): Likewise.
71636 (LC_CTYPE): Likewise.
71637 (LC_MESSAGES): Likewise.
71638 (LC_MONETARY): Likewise.
71639 (LC_NUMERIC): Likewise.
71640 (LC_TIME): Likewise.
71641 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
71642 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71643 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71644 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
71645 Specify type.
71646 [C99-based standards] (float_t): Expect type.
71647 [C99-based standards] (double_t): Expect type.
71648 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
71649 type.
71650 [C99-based standards] (HUGE_VALL): Likewise.
71651 [C99-based standards] (INFINITY): Likewise.
71652 [C99-based standards] (NAN): Likewise.
71653 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
71654 [C99-based standards] (FP_NAN): Likewise.
71655 [C99-based standards] (FP_NORMAL): Likewise.
71656 [C99-based standards] (FP_SUBNORMAL): Likewise.
71657 [C99-based standards] (FP_ZERO): Likewise.
71658 [C99-based standards] (FP_FAST_FMA): Use
71659 optional-macro-int-constant. Specify type. Require == 1.
71660 [C99-based standards] (FP_FAST_FMAF): Likewise.
71661 [C99-based standards] (FP_FAST_FMAL): Likewise.
71662 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
71663 [C99-based standards] (FP_ILOGBNAN): Likewise.
71664 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
71665 Specify type.
71666 [C99-based standards] (MATH_ERREXCEPT): Likewise.
71667 [C99-based standards] (math_errhandling): Specify type.
71668 [ISO99 || ISO11] (signgam): Do not allow.
71669 [non-C99-based standards] (copysignf): Do not allow.
71670 [non-C99-based standards] (exp2f): Likewise.
71671 [non-C99-based standards] (log2f): Likewise.
71672 [non-C99-based standards] (modff): Allow.
71673 [non-C99-based standards] (erff): Do not allow.
71674 [non-C99-based standards] (erfcf): Likewise.
71675 [non-C99-based standards] (gammaf): Likewise.
71676 [non-C99-based standards] (hypotf): Likewise.
71677 [non-C99-based standards] (j0f): Likewise.
71678 [non-C99-based standards] (j1f): Likewise.
71679 [non-C99-based standards] (jnf): Likewise.
71680 [non-C99-based standards] (lgammaf): Likewise.
71681 [non-C99-based standards] (tgammaf): Likewise.
71682 [non-C99-based standards] (y0f): Likewise.
71683 [non-C99-based standards] (y1f): Likewise.
71684 [non-C99-based standards] (ynf): Likewise.
71685 [non-C99-based standards] (isnanf): Likewise.
71686 [non-C99-based standards] (acoshf): Likewise.
71687 [non-C99-based standards] (asinhf): Likewise.
71688 [non-C99-based standards] (atanhf): Likewise.
71689 [non-C99-based standards] (cbrtf): Likewise.
71690 [non-C99-based standards] (expm1f): Likewise.
71691 [non-C99-based standards] (ilogbf): Likewise.
71692 [non-C99-based standards] (log1pf): Likewise.
71693 [non-C99-based standards] (logbf): Likewise.
71694 [non-C99-based standards] (nextafterf): Likewise.
71695 [non-C99-based standards] (remainderf): Likewise.
71696 [non-C99-based standards] (rintf): Likewise.
71697 [non-C99-based standards] (scalbf): Likewise.
71698 [non-C99-based standards] (copysignl): Likewise.
71699 [non-C99-based standards] (exp2l): Likewise.
71700 [non-C99-based standards] (log2l): Likewise.
71701 [non-C99-based standards] (modfl): Allow.
71702 [non-C99-based standards] (erfl): Do not allow.
71703 [non-C99-based standards] (erfcl): Likewise.
71704 [non-C99-based standards] (gammal): Likewise.
71705 [non-C99-based standards] (hypotl): Likewise.
71706 [non-C99-based standards] (j0l): Likewise.
71707 [non-C99-based standards] (j1l): Likewise.
71708 [non-C99-based standards] (jnl): Likewise.
71709 [non-C99-based standards] (lgammal): Likewise.
71710 [non-C99-based standards] (tgammal): Likewise.
71711 [non-C99-based standards] (y0l): Likewise.
71712 [non-C99-based standards] (y1l): Likewise.
71713 [non-C99-based standards] (ynl): Likewise.
71714 [non-C99-based standards] (isnanl): Likewise.
71715 [non-C99-based standards] (acoshl): Likewise.
71716 [non-C99-based standards] (asinhl): Likewise.
71717 [non-C99-based standards] (atanhl): Likewise.
71718 [non-C99-based standards] (cbrtl): Likewise.
71719 [non-C99-based standards] (expm1l): Likewise.
71720 [non-C99-based standards] (ilogbl): Likewise.
71721 [non-C99-based standards] (log1pl): Likewise.
71722 [non-C99-based standards] (logbl): Likewise.
71723 [non-C99-based standards] (nextafterl): Likewise.
71724 [non-C99-based standards] (remainderl): Likewise.
71725 [non-C99-based standards] (rintl): Likewise.
71726 [non-C99-based standards] (scalbl): Likewise.
71727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71728 [non-C99-based standards] (FP_*): Do not allow.
71729 [C99-based standards] (FP_*): Change to
71730 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71731 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71732 allow.
71733 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
71734 (SIG_ERR): Likewise.
71735 [X/Open-based standards] (SIG_HOLD): Likewise.
71736 (SIG_IGN): Likewise.
71737 (SIGABRT): Use macro-int-constant. Specify type. Require
71738 positive value.
71739 (SIGFPE): Likewise.
71740 (SIGILL): Likewise.
71741 (SIGINT): Likewise.
71742 (SIGSEGV): Likewise.
71743 (SIGTER): Likewise.
71744 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
71745 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
71746 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
71747 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
71748 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
71749 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
71750 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
71751 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
71752 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
71753 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
71754 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
71755 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
71756 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
71757 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
71758 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
71759 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
71760 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
71761 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
71762 [X/Open-based standards] (SIGTRAP): Likewise.
71763 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
71764 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
71765 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
71766 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
71767 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71768 allow.
71769
71770 2012-05-08 Ian Wienand <ianw@vmware.com>
71771
71772 [BZ #14080]
71773 * time/tzset.c (__tzset_parse_tz): Update default rules for
71774 daylight time changes in the Energy Policy Act of 2005.
71775
71776 2012-05-09 Andreas Jaeger <aj@suse.de>
71777
71778 [BZ #13983]
71779 * elf/ldconfig.c (parse_conf): Change string to make clear that
71780 ldconfig only issued a warning if ld.so.conf does not exist.
71781
71782 2012-05-08 David S. Miller <davem@davemloft.net>
71783
71784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
71785 movxtod instead of popping the value on the stack.
71786
71787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71788
71789 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
71790
71791 * config.h.in: Add HAVE_ARM_PCS_VFP.
71792
71793 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
71794
71795 [BZ #13979]
71796 * include/features.h: Warn if user requests __FORTIFY_SOURCE
71797 checking but the checks are disabled for any reason.
71798
71799 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
71800
71801 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
71802 and ELF64_R_TYPE with ELFW(R_TYPE).
71803
71804 2012-05-08 Joseph Myers <joseph@codesourcery.com>
71805
71806 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
71807 (ulimit): Likewise.
71808
71809 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
71810 (settimeofday): Likewise.
71811
71812 2012-05-08 Mike Frysinger <vapier@gentoo.org>
71813
71814 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
71815 a struct th_u2 inside the union, and move tu_block/tu_code into
71816 a new th_u3 union of tu_block/tu_code inside of that. Move
71817 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
71818 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
71819 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
71820 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
71821 (th_stuff): Change to th_u1.tu_stuff.
71822 (th_data): Define.
71823 (th_msg): Change to th_u1.th_u2.tu_data.
71824
71825 2012-05-07 David S. Miller <davem@davemloft.net>
71826
71827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71828
71829 [BZ #14074]
71830 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
71831 (SETUP_PIC_REG): Use it.
71832 (SETUP_PIC_REG_LEAF): Use it.
71833
71834 2012-05-07 Joseph Myers <joseph@codesourcery.com>
71835
71836 [BZ #13885]
71837 [BZ #13923]
71838 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71839 USE_AS_EXPM1L.
71840 (EXPL_FINITE): Likewise.
71841 (FLDLOG): Likewise.
71842 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
71843 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
71844 e_expl.S.
71845 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71846 USE_AS_EXPM1L.
71847 (EXPL_FINITE): Likewise.
71848 (FLDLOG): Likewise.
71849 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
71850 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
71851 e_expl.S.
71852 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
71853 test of -max_value argument for long double.
71854 * sysdeps/i386/fpu/libm-test-ulps: Update.
71855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71856
71857 2012-05-06 David S. Miller <davem@davemloft.net>
71858
71859 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
71860 quad soft-float symbols whose references which are compiler
71861 generated.
71862 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71863
71864 2012-05-06 Joseph Myers <joseph@codesourcery.com>
71865
71866 [BZ #13884]
71867 [BZ #13914]
71868 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71869 USE_AS_EXP10L.
71870 (EXPL_FINITE): Likewise.
71871 (FLDLOG): Likewise.
71872 (c0): Likewise.
71873 (c1): Likewise.
71874 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
71875 Adjust comments for base varying.
71876 (__expl_finite): Change alias to EXPL_FINITE.
71877 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
71878 e_expl.S.
71879 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
71880 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
71881 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
71882 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
71883 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71884 USE_AS_EXP10L.
71885 (EXPL_FINITE): Likewise.
71886 (FLDLOG): Likewise.
71887 (c0): Likewise.
71888 (c1): Likewise.
71889 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
71890 Adjust comments for base varying.
71891 (__expl_finite): Change alias to EXPL_FINITE.
71892 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
71893 tests for bugs.
71894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71895
71896 [BZ #14064]
71897 * math/libm-test.inc (check_float_internal): Correct ulp
71898 calculation for subnormal expected results.
71899
71900 2012-05-06 Andreas Jaeger <aj@suse.de>
71901
71902 * Makeconfig (+math-flags): New, set to -frounding-math.
71903 (+cflags): Add +math-flags so that all of glibc gets compiled with
71904 it.
71905
71906 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
71907
71908 2012-05-05 Joseph Myers <joseph@codesourcery.com>
71909
71910 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
71911 Disable one test.
71912
71913 [BZ #13787]
71914 [BZ #13922]
71915 [BZ #14036]
71916 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
71917 (__ieee754_expl): Allow for and saturate large arguments.
71918 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
71919 (u_threshold): Likewise.
71920 (__exp): Call __ieee754_exp before checking for overflow and
71921 underflow.
71922 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
71923 (u_threshold): Likewise.
71924 (__expf): Call __ieee754_expf before checking for overflow and
71925 underflow.
71926 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
71927 (u_threshold): Likewise.
71928 (__expl): Call __ieee754_expl before checking for overflow and
71929 underflow.
71930 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
71931 (__ieee754_expl): Allow for and saturate large arguments.
71932 * math/libm-test.inc (exp_test): Add another test. Do not allow
71933 missing overflow exception on overflow.
71934 (expm1_test): Do not allow missing overflow exception on overflow.
71935
71936 * sysdeps/i386/fpu/e_expl.c: Move to ...
71937 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
71938 rather than using inline asm.
71939 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
71940 * sysdeps/x86_64/fpu/e_expl.S: Copy from
71941 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
71942
71943 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
71944 (nice): Likewise.
71945 (poll): Likewise.
71946 (signal): Likewise.
71947 (time): Likewise.
71948 (times): Likewise.
71949
71950 2012-05-04 Joseph Myers <joseph@codesourcery.com>
71951
71952 * sysdeps/unix/syscalls.list (adjtime): Add entry from
71953 sysdeps/unix/common/syscalls.list.
71954 (fchmod): Likewise.
71955 (fchown): Likewise.
71956 (ftruncate): Likewise.
71957 (getrusage): Likewise.
71958 (gettimeofday): Likewise.
71959 (setpgid): Likewise.
71960 (setregid): Likewise.
71961 (setreuid): Likewise.
71962 (sigaction): Likewise.
71963 (truncate): Likewise.
71964 (vhangup): Likewise.
71965 * sysdeps/unix/common/syscalls.list: Remove file.
71966 * sysdeps/unix/bsd/Implies: Don't include unix/common.
71967 * sysdeps/unix/sysv/linux/Implies: Likewise.
71968
71969 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
71970
71971 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
71972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
71973 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
71974 Moved to ...
71975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
71976 Here.
71977 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
71978 to ...
71979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
71980 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
71981 to ...
71982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
71983 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
71984 to ...
71985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
71986 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
71987 to ...
71988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
71989 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
71990 to ...
71991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
71992 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
71993 to ...
71994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
71995 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
71996 to ...
71997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
71998 Here.
71999 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72000 to ...
72001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72002 Here.
72003 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72004 to ...
72005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72006 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72007 Moved to ...
72008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72009 Here.
72010 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72011 to ...
72012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72013
72014 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72015
72016 * sysdeps/unix/common/bits/dirent.h: Remove file.
72017 * sysdeps/unix/common/bits/fcntl.h: Likewise.
72018
72019 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72020 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72021 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72022 * sysdeps/unix/bsd/isatty.c: Likewise.
72023 * sysdeps/unix/bsd/tcdrain.c: Likewise.
72024 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72025 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72026
72027 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72028
72029 [BZ #13563]
72030 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72031 long double comparison inaccuracies.
72032 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72034
72035 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
72036
72037 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72038 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72039
72040 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72041
72042 [BZ #14049]
72043 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72044 nonzero digits before rounding a hex value.
72045 * stdlib/tst-strtod.c (tests): Add another test.
72046
72047 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72048
72049 * sysdeps/s390/fpu/libm-test-ulps: Update.
72050
72051 2012-05-03 Andreas Jaeger <aj@suse.de>
72052
72053 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72054 does not get optimized out.
72055 (malloc_opt_barrier): New.
72056
72057 2012-05-03 Andreas Jaeger <aj@suse.de>
72058 Roland McGrath <roland@hack.frob.com>
72059
72060 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72061 intermediate file deletion.
72062 (generated): Add .symlist files.
72063
72064 2012-05-03 Joseph Myers <joseph@codesourcery.com>
72065
72066 [BZ #13775]
72067 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72068 Redirect under this condition.
72069 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72070 [__USE_GNU] (__dprintf_chk): Not under this condition.
72071 [__USE_GNU] (__vdprintf_chk): Likewise.
72072 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72073 under this condition.
72074 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72075 [__USE_XOPEN2K8] (dprintf): Define under this condition.
72076 [__USE_XOPEN2K8] (vdprintf): Likewise.
72077 [__USE_GNU] (__dprintf_chk): Not under this condition.
72078 [__USE_GNU] (__vdprintf_chk): Likewise.
72079 [__USE_GNU] (dprintf): Likewise.
72080 [__USE_GNU] (vdprintf): Likewise.
72081
72082 2012-05-03 Roland McGrath <roland@hack.frob.com>
72083
72084 * elf/Makefile (common-generated): Set this instead of generated for
72085 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
72086 $(all-built-dso)-derived lists.
72087
72088 2012-05-03 Andreas Jaeger <aj@suse.de>
72089
72090 * sysdeps/i386/fpu/libm-test-ulps: Update.
72091
72092 * FAQ: Removed.
72093 * FAQ.in: Likewise.
72094 * scripts/gen-FAQ.pl: Likewise.
72095 * manual/install.texi (Installation): Point to online location of
72096 FAQ.
72097 * Makefile (files-for-dist): Remove FAQ.
72098 (FAQ): Remove.
72099
72100 2012-05-02 Allan McRae <allan@archlinux.org>
72101
72102 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72103 (LDFLAGS-reldepmod5.so): Likewise.
72104 (LDFLAGS-reldep6mod1.so): Likewise.
72105 (LDFLAGS-reldep6mod4.so): Likewise.
72106 (LDFLAGS-reldep8mod3.so): Likewise.
72107 (LDFLAGS-unload4mod1.so): Likewise.
72108 (LDFLAGS-unload4mod2.so): Likewise.
72109 (LDFLAGS-tst-initorder): Likewise.
72110 (LDFLAGS-tst-initordera2.so): Likewise.
72111 (LDFLAGS-tst-initordera3.so): Likewise.
72112 (LDFLAGS-tst-initordera4.so): Likewise.
72113 (LDFLAGS-tst-initorderb2.so): Likewise.
72114 (LDFLAGS-noload): Likewise.
72115 (LDFLAGS-next): Likewise.
72116 (LDFLAGS-order2mod1.so): Likewise.
72117 (LDFLAGS-order2mod2.so): Likewise.
72118 (LDFLAGS-tst-initorder2): Likewise.
72119 (LDFLAGS-tst-initorder2a.so): Likewise.
72120 (LDFLAGS-tst-initorder2b.so): Likewise.
72121 (LDFLAGS-tst-initorder2c.so): Likewise.
72122 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72123
72124 2012-05-02 David S. Miller <davem@davemloft.net>
72125
72126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72127
72128 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
72129
72130 [BZ #14055]
72131 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72132
72133 2012-05-02 Andreas Jaeger <aj@suse.de>
72134
72135 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72136 since we manipulate rounding mode.
72137 (CPPFLAGS-test-idouble.c): Likewise.
72138 (CPPFLAGS-test-ifloat.c): Likewise.
72139 (CFLAGS-test-ldouble.c): Likewise.
72140 (CFLAGS-test-double.c): Likewise.
72141 (CFLAGS-test-float.c): Likewise.
72142 (CFLAGS-test-misc.c): Likewise.
72143 (CFLAGS-test-test-fenv.c): Likewise.
72144
72145 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72146
72147 [BZ #2550]
72148 [BZ #2570]
72149 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72150 comparisons to determine direction to adjust input.
72151
72152 2012-05-01 Roland McGrath <roland@hack.frob.com>
72153
72154 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72155 output to the target.
72156
72157 * scripts/localplt.awk: New file.
72158 * elf/Makefile ($(objpfx)check-localplt): Target removed.
72159 (check-localplt-CFLAGS): Variable removed.
72160 ($(all-built-dso:=.jmprel)): New static pattern rule.
72161 (generated): Add those targets.
72162 (localplt-built-dso): New variable.
72163 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72164
72165 * elf/check-localplt.c: File removed.
72166
72167 * scripts/check-execstack.awk: New file.
72168 * elf/Makefile ($(objpfx)check-execstack): Target removed.
72169 (check-execstack-CFLAGS): Variable removed.
72170 ($(objpfx)check-execstack.h): Target removed.
72171 ($(objpfx)execstack-default): New target.
72172 (generated): Add that instead of check-execstack.h.
72173 ($(all-built-dso:=.phdr)): New static pattern rule.
72174 (generated): Add those targets.
72175 * elf/check-execstack.c: File removed.
72176
72177 * scripts/check-textrel.awk: New file.
72178 * elf/Makefile ($(objpfx)check-textrel): Target removed.
72179 (check-textrel-CFLAGS): Variable removed.
72180 (all-built-dso): Use := to define.o
72181 ($(all-built-dso:=.dyn)): New static pattern rule.
72182 (generated): Add those targets.
72183 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72184 * config.make.in (READELF): New substituted variable.
72185 * elf/check-textrel.c: File removed.
72186
72187 2012-05-01 Joseph Myers <joseph@codesourcery.com>
72188
72189 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72190 allow.
72191 * conform/data/ctype.h-data [C99-based standards] (isblank):
72192 Expect function.
72193 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
72194 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
72195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72196 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
72197 Specify type. Require positive value.
72198 (EILSEQ): Likewise.
72199 (ERANGE): Likewise.
72200 [ISO || POSIX] (EILSEQ): Do not expect.
72201 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
72202 Specify type. Require positive value.
72203 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72204 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
72205 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
72206 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
72207 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
72208 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
72209 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
72210 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
72211 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
72212 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
72213 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
72214 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
72215 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
72216 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
72217 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
72218 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
72219 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
72220 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
72221 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
72222 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
72223 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
72224 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
72225 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
72226 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
72227 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
72228 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
72229 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
72230 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
72231 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
72232 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
72233 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
72234 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
72235 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
72236 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
72237 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
72238 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
72239 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
72240 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
72241 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
72242 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
72243 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
72244 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
72245 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
72246 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
72247 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
72248 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
72249 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
72250 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
72251 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
72252 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
72253 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
72254 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
72255 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
72256 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
72257 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
72258 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
72259 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
72260 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
72261 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
72262 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
72263 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
72264 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
72265 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
72266 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
72267 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
72268 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
72269 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
72270 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
72271 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
72272 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
72273 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
72274 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
72275 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
72276 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
72277 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
72278 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
72279 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
72280 Require >= 2.
72281 (FLT_ROUNDS): Expect as macro, not constant.
72282 (FLT_MANT_DIG): Use macro-int-constant.
72283 (DBL_MANT_DIG): Likewise.
72284 (LDBL_MANT_DIG): Likewise.
72285 (FLT_DIG): Likewise.
72286 (DBL_DIG): Likewise.
72287 (LDBL_DIG): Likewise.
72288 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
72289 (DBL_MIN_EXP): Likewise.
72290 (LDBL_MIN_EXP): Likewise.
72291 (FLT_MAX_EXP): Use macro-int-constant.
72292 (DBL_MAX_EXP): Likewise.
72293 (LDBL_MAX_EXP): Likewise.
72294 (FLT_MAX_10_EXP): Likewise.
72295 (DBL_MAX_10_EXP): Likewise.
72296 (LDBL_MAX_10_EXP): Likewise.
72297 (FLT_MAX): Use macro-constant.
72298 (DBL_MAX): Likewise.
72299 (LDBL_MAX): Likewise.
72300 (FLT_EPSILON): Use macro-constant. Give upper bound.
72301 (DBL_EPSILON): Likewise.
72302 (LDBL_EPSILON): Likewise.
72303 (FLT_MIN): Likewise.
72304 (DBL_MIN): Likewise.
72305 (LDBL_MIN): Likewise.
72306 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
72307 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
72308 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
72309 [ISO11] (FLT_HAS_SUBNORM): Likewise.
72310 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
72311 [ISO11] (DBL_DECIMAL_DIG): Likewise.
72312 [ISO11] (FLT_DECIMAL_DIG): Likewise.
72313 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
72314 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
72315 [ISO11] (FLT_TRUE_MIN): Likewise.
72316 [ISO11] (LDBL_TRUE_MIN): Likewise.
72317 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72318 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
72319 (SCHAR_MIN): Use macro-int-constant. Specify type.
72320 (SCHAR_MAX): Likewise.
72321 (UCHAR_MAX): Likewise.
72322 (CHAR_MIN): Likewise.
72323 (CHAR_MAX): Likewise.
72324 (MB_LEN_MAX): Use macro-int-constant.
72325 (SHRT_MIN): Use macro-int-constant. Specify type.
72326 (SHRT_MAX): Likewise.
72327 (USHRT_MAX): Likewise.
72328 (INT_MAX): Likewise.
72329 (INT_MIN): Use macro-int-constant. Specify type. Make upper
72330 bound negative.
72331 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
72332 bound with "U".
72333 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
72334 bound with "L".
72335 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
72336 bound negative. Suffix upper bound with "L".
72337 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
72338 bound with "UL".
72339 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
72340 Specify type.
72341 [C99-based standards] (LLONG_MAX): Likewise.
72342 [C99-based standards] (ULLONG_MAX): Likewise.
72343 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
72344 == 0.
72345 [ISO11] (max_align_t): Require type.
72346 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72347
72348 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
72349 from $CFLAGS, without defining away __attribute__ calls.
72350 (checknamespace): Use $CFLAGS_namespace.
72351
72352 * conform/conformtest.pl (@keywords): Only include C99 keywords
72353 for standards based on C99 or C11.
72354
72355 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
72356 Disable tests.
72357 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
72358 UNIX98]: Likewise.
72359
72360 * conform/conformtest.pl: Handle "macro-int-constant" and test for
72361 usability of symbols in #if.
72362
72363 * conform/conformtest.pl: If macro or constant types start
72364 "promoted:", expect the symbol to be of the following type
72365 promoted by the integer promotions.
72366
72367 * conform/conformtest.pl: Parse all "constant" and "macro" lines
72368 in one place. Also handle "macro-constant".
72369
72370 * conform/conformtest.pl: Only accept expected macro values with
72371 "==". Parse all "macro" lines in one place.
72372 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
72373
72374 * conform/conformtest.pl: Handle braced types on "constant" lines
72375 instead of handling "typed-constant".
72376 * conform/data/signal.h-data: Use "constant" instead of
72377 "typed-constant".
72378
72379 * conform/conformtest.pl: Handle "optional-" at start of lines in
72380 one place rather than duplicating several cases. Handle each
72381 format of "macro" line with initial "optional-".
72382
72383 * conform/conformtest.pl: Only accept expected constant or
72384 optional-constant values with "==". Parse all "constant" lines in
72385 one place. Parse all "optional-constant" lines in one place.
72386 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
72387 * conform/data/fmtmsg.h-data: Likewise.
72388 * conform/data/netinet/in.h-data: Likewise.
72389 * conform/data/tar.h-data: Likewise.
72390 * conform/data/limits.h-data: Use "==" form on "constant" and
72391 "optional-constant" lines.
72392
72393 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
72394 Use -std=c99 for XOPEN2K.
72395 (@knownproblems): Remove.
72396 (newtoken): Don't check %isknown.
72397
72398 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
72399 Do not expect macro.
72400 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
72401 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
72402 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
72403 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
72404 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
72405 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
72406 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
72407 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
72408 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
72409 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
72410 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
72411 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
72412 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
72413 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
72414 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
72415 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
72416 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
72417 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
72418 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
72419 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
72420 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
72421 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
72422 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
72423 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
72424 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
72425 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
72426 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
72427 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
72428 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
72429 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
72430 [XPG3] (acosh): Likewise.
72431 [XPG3] (asinh): Likewise.
72432 [XPG3] (atanh): Likewise.
72433 [XPG3] (cbrt): Likewise.
72434 [XPG3] (expm1): Likewise.
72435 [XPG3] (ilogb): Likewise.
72436 [XPG3] (log1p): Likewise.
72437 [XPG3] (logb): Likewise.
72438 [XPG3] (nextafter): Likewise.
72439 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
72440 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
72441 [XPG3] (remainder): Likewise.
72442 [XPG3] (rint): Likewise.
72443 [XPG3 || XPG4 || UNIX98] (round): Likewise.
72444 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
72445 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
72446 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
72447 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
72448 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
72449 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
72450 [UNIX98 || XOPEN2K] (scalb): Expect.
72451 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
72452 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
72453 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
72454 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
72455 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
72456 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
72457 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
72458 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
72459 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
72460 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
72461 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
72462 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
72463 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
72464 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
72465 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
72466 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
72467 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
72468 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
72469 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
72470 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
72471 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
72472 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
72473 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
72474 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
72475 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
72476 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
72477 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
72478 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
72479 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
72480 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
72481 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
72482 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
72483 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
72484 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
72485 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
72486 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
72487 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
72488 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
72489 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
72490 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
72491 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
72492 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
72493 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
72494 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
72495 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
72496 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
72497 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
72498 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
72499 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
72500 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
72501 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
72502 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
72503 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
72504 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
72505 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
72506 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
72507 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
72508 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
72509 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
72510 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
72511 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
72512 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
72513 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
72514 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
72515 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
72516 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
72517 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
72518 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
72519 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
72520 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
72521 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
72522 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
72523 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
72524 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
72525 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
72526 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
72527 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
72528 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
72529 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
72530 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
72531 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
72532 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
72533 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
72534 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
72535 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
72536 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
72537 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
72538 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
72539 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
72540 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
72541 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
72542 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
72543 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
72544 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
72545 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
72546 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
72547 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
72548 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
72549 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
72550 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
72551 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
72552 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
72553 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
72554 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
72555 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
72556 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
72557 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
72558 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
72559 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
72560 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
72561 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
72562 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
72563 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
72564 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
72565 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
72566 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
72567 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
72568 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
72569 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
72570 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
72571 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
72572 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
72573 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
72574 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
72575 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
72576 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
72577 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
72578 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
72579 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
72580 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
72581 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
72582 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
72583 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
72584 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
72585 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
72586 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
72587 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
72588
72589 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
72590 _XOPEN_SOURCE_EXTENDED for XPG4.
72591
72592 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
72593
72594 * Makeconfig (localtime): Remove variable.
72595 (inst_localtime-file): Likewise.
72596
72597 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
72598
72599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
72600 Update.
72601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72602 Update.
72603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
72604 Update.
72605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
72606 Update.
72607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
72608 Update.
72609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
72610 Update.
72611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72612 Update.
72613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
72614 Update.
72615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72616 Update.
72617
72618 2012-05-01 Joseph Myers <joseph@codesourcery.com>
72619
72620 [BZ #2550]
72621 [BZ #2570]
72622 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
72623 comparisons to determine direction to adjust input.
72624 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
72625 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
72626 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
72627 Likewise.
72628 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
72629 Likewise.
72630 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
72631 Likewise.
72632 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
72633 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
72634 Likewise.
72635 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
72636 Likewise.
72637 * math/libm-test.inc (nexttoward_test): Add more tests.
72638
72639 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
72640
72641 [BZ #14040]
72642 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
72643 in version GLIBC_2.1, not GLIBC_2.0.
72644 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
72645 Likewise.
72646
72647 2012-04-30 Joseph Myers <joseph@codesourcery.com>
72648
72649 [BZ #13942]
72650 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
72651 (1 - x) * (1 + x).
72652 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72653 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
72654 * math/libm-test.inc (acos_test): Add more tests.
72655 (asin_test): Likewise.
72656 * sysdeps/i386/fpu/libm-test-ulps: Update.
72657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72658
72659 [BZ #14034]
72660 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
72661 of square root.
72662 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
72663 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72664 * math/libm-test.inc (acos_test_tonearest): New function.
72665 (acos_test_towardzero): Likewise.
72666 (acos_test_downward): Likewise.
72667 (acos_test_upward): Likewise.
72668 (asin_test_tonearest): Likewise.
72669 (asin_test_towardzero): Likewise.
72670 (asin_test_downward): Likewise.
72671 (asin_test_upward): Likewise.
72672 (main): Call the new functions.
72673 * sysdeps/i386/fpu/libm-test-ulps: Update.
72674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72675
72676 [BZ #13884]
72677 [BZ #13924]
72678 * math/e_exp10.c: Include <float.h>.
72679 (__ieee754_exp10): Handle underflow here rather than multiplying
72680 large negative argument by M_LN10.
72681 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
72682 of __ieee754_expf.
72683 * math/e_exp10l.c: Include <float.h>.
72684 (__ieee754_exp10l): Handle underflow here rather than multiplying
72685 large negative argument by M_LN10l.
72686 * math/libm-test.inc (exp10_test): Add another test. Do not allow
72687 spurious overflow exception on underflow.
72688
72689 2012-04-29 Marek Polacek <polacek@redhat.com>
72690
72691 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
72692 (__fortify_function): New macro.
72693 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
72694 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
72695 __extern_always_inline.
72696 * libio/bits/stdio2.h: Likewise.
72697 * libio/bits/stdio.h: Likewise.
72698 * string/string.h: Likewise.
72699 * string/bits/string3.h: Likewise.
72700 * include/stdio.h: Likewise.
72701 * stdlib/bits/stdlib.h: Likewise.
72702 * stdlib/stdlib.h: Likewise.
72703 * rt/bits/mqueue2.h: Likewise.
72704 * rt/mqueue.h: Likewise.
72705 * posix/bits/unistd.h: Likewise.
72706 * posix/unistd.h: Likewise.
72707 * io/bits/poll2.h: Likewise.
72708 * io/bits/fcntl2.h: Likewise.
72709 * io/fcntl.h: Likewise.
72710 * io/sys/poll.h: Likewise.
72711 * misc/bits/syslog.h: Likewise.
72712 * misc/bits/syslog-ldbl.h: Likewise.
72713 * misc/sys/syslog.h: Likewise.
72714 * socket/bits/socket2.h: Likewise.
72715 * socket/sys/socket.h: Likewise.
72716 * debug/tst-chk1.c: Likewise.
72717 * wcsmbs/bits/wchar2.h: Likewise.
72718 * wcsmbs/bits/wchar-ldbl.h: Likewise.
72719 * wcsmbs/wchar.h: Likewise.
72720
72721 2012-04-29 Andreas Jaeger <aj@suse.de>
72722
72723 * Makerules (tests): Remove enable-check-abi protection.
72724 (check-abi-warn): Remove.
72725 (check-abi-%): Remove check-abi-warn usage.
72726
72727 * configure.in: Remove check-abi configure option.
72728 * configure: Regenerated.
72729 * config.make.in (enable-check-abi): Remove.
72730
72731 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
72732
72733 [BZ #14033]
72734 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
72735 double functions to double *_finite functions.
72736
72737 [BZ #13941]
72738 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
72739 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
72740 LDBL_MIN_EXP.
72741 * stdio-common/Makefile (tests): Add tst-sprintf3.
72742 * stdio-common/tst-sprintf3.c: New file.
72743
72744 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
72745 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
72746
72747 2012-04-28 Joseph Myers <joseph@codesourcery.com>
72748
72749 * conform/conformtest.pl: Remove duplicate typed-constant
72750 handling.
72751
72752 2012-04-28 David S. Miller <davem@davemloft.net>
72753
72754 * Makerules (%.abilist): Add vpath on sysdep_dirs.
72755 (check-abi-%): Remove AWK script prerequisite and explicit
72756 abilist directory.
72757 (check-abi): Rewrite to just diff the symlist with the abilist.
72758 (config-tls, config-abi-config): Delete, no longer used.
72759 (update-abi-%): Remove AWK script and explicit abilist directory.
72760 (update-abi): Rewrite to simply compare and conditionally copy the
72761 symlist and the sysdep abilist file. Remove update-abi-config
72762 checks.
72763 * abilist/ld.abilist: Remove.
72764 * abilist/libBrokenLocale.abilist: Remove.
72765 * abilist/libanl.abilist: Remove.
72766 * abilist/libcrypt.abilist: Remove.
72767 * abilist/libdl.abilist: Remove.
72768 * abilist/librt.abilist: Remove.
72769 * abilist/libthread_db.abilist: Remove.
72770 * abilist/libutil.abilist: Remove.
72771 * scripts/extract-abilist.awk: Remove.
72772 * scripts/merge-abilist.awk: Remove.
72773 * sysdeps/generic/libcidn.abilist: New file.
72774 * sysdeps/generic/libnss_compat.abilist: New file.
72775 * sysdeps/generic/libnss_db.abilist: New file.
72776 * sysdeps/generic/libnss_dns.abilist: New file.
72777 * sysdeps/generic/libnss_files.abilist: New file.
72778 * sysdeps/generic/libnss_hesiod.abilist: New file.
72779 * sysdeps/generic/libnss_nis.abilist: New file.
72780 * sysdeps/generic/libnss_nisplus.abilist: New file.
72781 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
72782 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
72783 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
72784 file.
72785 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
72786 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
72787 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
72788 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
72789 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
72790 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
72791 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
72792 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
72793 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
72794 file.
72795 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
72796 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
72797 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
72798 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
72799 file.
72800 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
72801 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
72802 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
72803 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
72804 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
72805 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
72806 file.
72807 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
72808 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
72809 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
72810 file.
72811 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
72812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
72813 New file.
72814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
72815 New file.
72816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
72817 New file.
72818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
72819 New file.
72820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
72821 New file.
72822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
72823 New file.
72824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
72825 New file.
72826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
72827 New file.
72828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
72829 New file.
72830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
72831 New file.
72832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
72833 New file.
72834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
72835 New file.
72836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
72837 New file.
72838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
72839 file.
72840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
72841 New file.
72842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
72843 New file.
72844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
72845 file.
72846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
72847 New file.
72848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
72849 New file.
72850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
72851 file.
72852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
72853 New file.
72854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72855 New file.
72856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
72857 New file.
72858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
72859 New file.
72860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
72861 New file.
72862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
72863 New file.
72864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
72865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
72866 file.
72867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
72868 New file.
72869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
72870 file.
72871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
72872 file.
72873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
72874 file.
72875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
72876 file.
72877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
72878 file.
72879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
72880 New file.
72881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
72882 file.
72883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
72884 file.
72885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
72886 New file.
72887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
72888 file.
72889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
72890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
72891 file.
72892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
72893 New file.
72894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
72895 file.
72896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
72897 file.
72898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
72899 file.
72900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
72901 file.
72902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
72903 file.
72904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
72905 New file.
72906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
72907 file.
72908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
72909 file.
72910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
72911 New file.
72912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
72913 file.
72914 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72915 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
72916 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
72917 file.
72918 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
72919 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
72920 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
72921 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
72922 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
72923 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
72924 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
72925 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
72926 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
72927 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
72928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
72929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
72930 file.
72931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
72932 New file.
72933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
72934 file.
72935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
72936 file.
72937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
72938 file.
72939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
72940 file.
72941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
72942 file.
72943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
72944 New file.
72945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
72946 New file.
72947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
72948 file.
72949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
72950 New file.
72951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
72952 file.
72953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
72954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
72955 file.
72956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
72957 New file.
72958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
72959 file.
72960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
72961 file.
72962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
72963 file.
72964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
72965 file.
72966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
72967 file.
72968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
72969 New file.
72970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
72971 New file.
72972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
72973 file.
72974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
72975 New file.
72976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
72977 file.
72978
72979 2012-04-28 Joseph Myers <joseph@codesourcery.com>
72980
72981 * conform/conformtest.pl: Fix typo in handling typed-constant from
72982 allow-header.
72983
72984 2012-04-27 Joseph Myers <joseph@codesourcery.com>
72985
72986 * README: Cut down references to pre-2.6 Linux kernels and
72987 Linuxthreads. Update lists of configurations in libc and ports
72988 and sort alphabetically. Say "or newer" with Linux kernel version
72989 requirements.
72990
72991 * config.h.in [IS_IN_build]: Allow compiling without optimization.
72992
72993 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
72994
72995 [BZ #887]
72996 * math/libm-test.inc (logb_test_downward): New test to expose
72997 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
72998 rounding mode.
72999
73000 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73001
73002 [BZ #14027]
73003 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73004 to be done.
73005 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73006 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73007
73008 2012-04-26 Joseph Myers <joseph@codesourcery.com>
73009
73010 * sysdeps/unix/i386/brk.S: Remove file.
73011 * sysdeps/unix/i386/dl-brk.S: Likewise.
73012 * sysdeps/unix/i386/pipe.S: Likewise.
73013 * sysdeps/unix/i386/sigreturn.S: Likewise.
73014 * sysdeps/unix/i386/syscall.S: Likewise.
73015 * sysdeps/unix/i386/vfork.S: Likewise.
73016 * sysdeps/unix/i386/wait.S: Likewise.
73017
73018 * sysdeps/unix/common/tcsendbrk.c: Move to ...
73019 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73020
73021 * configure.in (arm*-none*): Do not allow without
73022 --enable-hacker-mode.
73023 (netbsd*): Remove case setting base_os.
73024 (386bsd*): Likewise.
73025 (freebsd*): Likewise.
73026 (bsdi*): Likewise.
73027 (osf*): Likewise.
73028 (sunos*): Likewise.
73029 (ultrix*): Likewise.
73030 (newsos*): Likewise.
73031 (dynix*): Likewise.
73032 (*bsd*): Likewise.
73033 (sysv*): Likewise.
73034 (isc*): Likewise.
73035 (esix*): Likewise.
73036 (sco*): Likewise.
73037 (minix*): Likewise.
73038 (irix4*): Likewise.
73039 (irix6*): Likewise.
73040 (solaris[2-9]*): Likewise.
73041 (none): Likewise.
73042 * configure: Regenerated.
73043
73044 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73045
73046 [BZ #11521]
73047 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73048 overflow or cancellation in calculating denominator.
73049 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73050 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73051 down expression to avoid unexpected rounding in newer GCCs.
73052 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73053
73054 2012-04-26 David S. Miller <davem@davemloft.net>
73055
73056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73057 long-double compat symbols.
73058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73071
73072 2012-04-25 David S. Miller <davem@davemloft.net>
73073
73074 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73075 HWCAP_* values only after the memory barriers have been defined.
73076 (atomic_full_barrier): Define.
73077 (atomic_read_barrier): Define.
73078 (atomic_write_barrier): Define.
73079
73080 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
73081
73082 * shlib-versions: Add libgcc_s version information.
73083 * sysdeps/generic/libgcc_s.h: Remove.
73084 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73085 libgcc_s.h.
73086 * sysdeps/gnu/unwind-resume.c: Likewise.
73087 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73088
73089 2012-04-25 David S. Miller <davem@davemloft.net>
73090
73091 * sysdeps/unix/sparc/brk.S: Delete.
73092 * sysdeps/unix/sparc/dl-brk.S: Delete.
73093 * sysdeps/unix/sparc/pipe.S: Delete.
73094 * sysdeps/unix/sparc/sysdep.S: Delete.
73095 * sysdeps/unix/sparc/sysdep.h: Delete.
73096 * sysdeps/unix/sparc/vfork.S: Delete.
73097 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73098 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73099 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73100 (ret_ERRVAL, r0, r1, MOVE): Define.
73101 (JUMPTARGET): Remove.
73102 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73103 sysdeps/unix/sparc/sysdep.h
73104 (ENTRY, END): Remove.
73105 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73106
73107 2012-04-25 Joseph Myers <joseph@codesourcery.com>
73108
73109 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73110 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73111 -DIS_IN_build.
73112
73113 * timezone/README: Update upstream location and email address for
73114 tzcode and tzdata.
73115 * timezone/zdump.c: Update from tzcode 2012b.
73116 * timezone/zic.c: Likewise.
73117
73118 * configure.in (libc_cv_as_needed): Remove test.
73119 * configure: Regenerated.
73120 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73121 conditional definition.
73122 [$(have-as-needed) != yes] (no-as-needed): Likewise.
73123 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73124 * config.make.in (have-as-needed): Remove variable.
73125
73126 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
73127 Paul Pluzhnikov <ppluzhnikov@google.com>
73128
73129 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73130 strings correctly.
73131
73132 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
73133
73134 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73135 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73136 * sysdeps/sh/strlen.S: Likewise.
73137
73138 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73139
73140 * sysdeps/unix/fork.S: Remove file.
73141 * sysdeps/unix/i386/fork.S: Likewise.
73142 * sysdeps/unix/sparc/fork.S: Likewise.
73143
73144 * sysdeps/unix/system.c: Remove file.
73145 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73146
73147 * sysdeps/unix/getegid.S: Remove file.
73148 * sysdeps/unix/geteuid.S: Likewise.
73149
73150 2012-04-24 Roland McGrath <roland@hack.frob.com>
73151
73152 * scripts/check-localplt.awk: New file.
73153 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73154 of diff.
73155 * scripts/data/localplt-generic.data: Add a comment.
73156
73157 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73158 NODE when __dir_mkfile failed.
73159 * sysdeps/mach/hurd/symlinkat.c: Likewise.
73160 Reported by Ludovic Courtès <ludo@gnu.org>.
73161
73162 2012-04-24 Andreas Jaeger <aj@suse.de>
73163
73164 * Makerules (common-clean): Also remove gen-as-const-headers
73165 files.
73166
73167 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73168
73169 * Makerules (native-compile): Do not change working directory for
73170 build. Use $(OUTPUT_OPTION) in command.
73171 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73172
73173 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73174
73175 [BZ #13886]
73176 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73177 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73178 * math/libm-test.inc (floor_test): Add more tests.
73179 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73180
73181 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73182
73183 * sysdeps/unix/getdents.c: Remove file.
73184 * sysdeps/unix/sysv/getdents.c: Likewise.
73185 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73186
73187 * sysdeps/unix/syscalls.list (madvise): Add syscall from
73188 sysdeps/unix/mman/syscalls.list.
73189 (mmap): Likewise.
73190 (mprotect): Likewise.
73191 (msync): Likewise.
73192 (munmap): Likewise.
73193 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
73194 * sysdeps/unix/mman/syscalls.list: Remove.
73195 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
73196
73197 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73198 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
73199 * configure: Regenerated.
73200 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
73201 $(libgcc_s_suffix).
73202 * config.make.in (libgcc_s_suffix): Remove variable.
73203
73204 2012-04-23 Joseph Myers <joseph@codesourcery.com>
73205
73206 * sysdeps/unix/sysv/gethostname.c: Move to ...
73207 * sysdeps/posix/gethostname.c: ... here.
73208
73209 * sysdeps/unix/execve.S: Remove file.
73210
73211 * sysdeps/unix/_exit.S: Remove file.
73212
73213 2012-04-23 Andreas Jaeger <aj@suse.de>
73214
73215 [BZ #13739]
73216 * manual/Makefile: Remove make dist support, there's no
73217 need for a stand-alone documentation tar ball.
73218 (TEXI2DVI): Define always, it's not in Makeconfig.
73219 (dist): Removed.
73220 (tar-it): Removed.
73221 (edition): Removed.
73222 (glibc-doc-$(edition).tar): Removed
73223 (%.Z): Removed.
73224 (%.gz): Removed.
73225 (%.uu): Removed.
73226 (ETAGS): Remove, it's in Makeconfig.
73227 (move-if-change): Remove, it's in Makeconfig.
73228
73229 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
73230
73231 [BZ #13970]
73232 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
73233 (strtod, strtof, strtold, strtol, strtoul, strtoq)
73234 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
73235 (strtod_l, strtof_l, strtold_l): Remove __wur.
73236 It is not necessarily an error to ignore strtol's return value.
73237 One can reliably look at the stored endptr to decide whether
73238 the number had valid syntax.
73239
73240 2012-04-21 Andreas Jaeger <aj@suse.de>
73241
73242 [BZ #13739]
73243 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
73244
73245 2012-04-21 Joseph Myers <joseph@codesourcery.com>
73246
73247 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
73248 * sysdeps/unix/sysv/Versions: Remove file.
73249
73250 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
73251
73252 [BZ #13927]
73253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73254
73255 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
73256
73257 [BZ #7064]
73258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
73259 version from __vm86.
73260
73261 2012-04-20 Joseph Myers <joseph@codesourcery.com>
73262
73263 * sysdeps/unix/common/lxstat.c: Remove file.
73264 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
73265
73266 * sysdeps/unix/sysv/Makefile: Remove file.
73267
73268 * sysdeps/unix/sysv/direct.h: Remove file.
73269
73270 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
73271 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
73272 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
73273 * sysdeps/unix/sysv/bits/signum.h: Likewise.
73274 * sysdeps/unix/sysv/bits/stat.h: Likewise.
73275 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
73276 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
73277
73278 * sysdeps/unix/sysv/setrlimit.c: Remove file.
73279
73280 * sysdeps/unix/xmknod.c: Remove file.
73281 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
73282
73283 * sysdeps/unix/sysv/settimeofday.c: Remove file.
73284
73285 * sysdeps/unix/sysv/i386/time.S: Remove file.
73286
73287 * sysdeps/unix/fxstat.c: Remove file.
73288 * sysdeps/unix/xstat.c: Likewise.
73289 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
73290
73291 * sysdeps/unix/sysv/sigaction.c: Remove file.
73292
73293 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
73294 (sysdep_headers): Remove variable.
73295 [termio.h not in sysdep_headers] (generated): Likewise.
73296 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
73297 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
73298 * sysdeps/unix/sysv/tcdrain.c: Likewise.
73299 * sysdeps/unix/sysv/tcflow.c: Likewise.
73300 * sysdeps/unix/sysv/tcflush.c: Likewise.
73301 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
73302 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
73303 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
73304 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
73305 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
73306
73307 * sysdeps/unix/siglist.c: Remove file.
73308
73309 * sysdeps/unix/getppid.S: Remove file.
73310
73311 * sysdeps/unix/mkdir.c: Remove file.
73312 * sysdeps/unix/rmdir.c: Likewise.
73313
73314 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
73315
73316 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
73317 ERR_MAX value.
73318 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
73319 errlist-compat value.
73320
73321 2012-04-18 David S. Miller <davem@davemloft.net>
73322
73323 * sysdeps/generic/memcopy.h (reg_char): Delete.
73324 * debug/strcat_chk.c: Use char, not reg_char.
73325 * debug/strcpy_chk.c: Likewise.
73326 * debug/strncat_chk.c: Likewise.
73327 * debug/strncpy_chk.c: Likewise.
73328 * string/memchr.c: Likewise.
73329 * string/memrchr.c: Likewise.
73330 * string/rawmemchr.c: Likewise.
73331 * string/strcat.c: Likewise.
73332 * string/strchr.c: Likewise.
73333 * string/strchrnul.c: Likewise.
73334 * string/strcmp.c: Likewise.
73335 * string/strcpy.c: Likewise.
73336 * string/strncat.c: Likewise.
73337 * string/strncmp.c: Likewise.
73338 * string/strncpy.c: Likewise.
73339
73340 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73341
73342 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
73343 __builtin_memcopy is called when src and dest ranges are known to not
73344 overlap.
73345
73346 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73347
73348 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
73349 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
73350 fwd_align_merge macro call.
73351 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
73352 bwd_align_merge macro call.
73353 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73354
73355 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73356
73357 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
73358 bwd_align_merge macros.
73359 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
73360 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
73361 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73362
73363 2012-04-18 David S. Miller <davem@davemloft.net>
73364
73365 * sysdeps/sparc/sparc64/memcopy.h: Delete.
73366
73367 2012-04-18 Andreas Jaeger <aj@suse.de>
73368
73369 [BZ# 6794]
73370 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
73371 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
73372 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73373
73374 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
73375 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
73376 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73377
73378 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
73379 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
73380 Adjust for changed ldbl-128 files.
73381
73382 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
73383 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
73384 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73385
73386 2012-04-17 David S. Miller <davem@davemloft.net>
73387
73388 * sysdeps/sparc/sparc32/memcopy.h: Delete.
73389
73390 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
73391
73392 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
73393 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
73394 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
73395 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
73396 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
73397 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
73398
73399 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73400
73401 [BZ #6794]
73402 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
73403 * math/libm-test.inc: Add ilogb errno and exception tests.
73404 * math/w_ilogb.c: New file: ilogb wrapper.
73405 * math/w_ilogbf.c: New file: ilogbf wrapper.
73406 * math/w_ilogbl.c: New file: ilogbl wrapper.
73407 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
73408 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
73409 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
73410 exception being thrown with 0.0 as argument.
73411 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
73412 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
73413 exception being thrown with 0.0 as argument.
73414 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
73415 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73416 exception being thrown with 0.0 as argument.
73417 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
73418 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73419 exception being thrown with 0.0 as argument.
73420 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
73421 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
73422 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
73423 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
73424 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
73425 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
73426 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
73427 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
73428 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
73429
73430 2012-04-17 Petr Baudis <pasky@ucw.cz>
73431
73432 * include/sys/uio.h: Change __vector to __iovec to avoid clash
73433 with altivec.
73434
73435 2012-04-16 Marek Polacek <polacek@redhat.com>
73436
73437 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
73438
73439 2012-04-16 Marek Polacek <polacek@redhat.com>
73440
73441 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
73442 operands of fdivp instruction.
73443
73444 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
73445
73446 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
73447 * elf/tst-auditmod3b.c: Likewise.
73448 * elf/tst-auditmod4b.c: Likewise.
73449 * elf/tst-auditmod5b.c: Likewise.
73450 * elf/tst-auditmod6b.c: Likewise.
73451 * elf/tst-auditmod6c.c: Likewise.
73452 * elf/tst-auditmod7b.c: Likewise.
73453 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
73454 * sysdeps/x86_64/preconfigure.in: Likewise.
73455 * sysdeps/x86_64/preconfigure: Regenerated.
73456
73457 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
73458
73459 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
73460 __ILP32__.
73461
73462 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
73463
73464 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73465 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
73466
73467 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
73468
73469 [BZ #13973]
73470 * locale/iso-639.def: Fix gl language name. Spotted by
73471 Yaron Shahrabani.
73472
73473 2012-04-12 Roland McGrath <roland@hack.frob.com>
73474
73475 [BZ #2074]
73476 * libio/libio.h (__io_write_fn): Update comment.
73477
73478 2012-04-12 Petr Baudis <pasky@ucw.cz>
73479
73480 [BZ #2074]
73481 * stdio.texi (Hook Functions): The user provided writer function
73482 is not allowed to return -1.
73483
73484 2012-04-11 David S. Miller <davem@davemloft.net>
73485
73486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73487
73488 2012-04-11 Mike Frysinger <vapier@gentoo.org>
73489
73490 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
73491 Add a leading slash to rtkaio.
73492
73493 2012-04-11 Jim Meyering <meyering@redhat.com>
73494
73495 [BZ #11959]
73496 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
73497 It is not necessarily an error to ignore fwrite's return
73498 value. One can reliably use ferror to test for errors after
73499 the fact.
73500
73501 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
73502
73503 * bits/types.h (__snseconds_t): New type.
73504 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
73505
73506 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
73507 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73508 (__SNSECONDS_T_TYPE): Likewise.
73509 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73510 (__SNSECONDS_T_TYPE): Likewise.
73511 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73512 (__SNSECONDS_T_TYPE): Likewise.
73513
73514 2012-04-10 Andreas Jaeger <aj@suse.de>
73515
73516 [BZ #2636]
73517 * manual/time.texi (Processor Time): Return type of times is
73518 elapsed real time since an arbitrary point in the past.
73519 (CPU Time): Move CLK_TCK from here...
73520 (Processor Time): ...to here. Correct description.
73521 * manual/conf.texi (Constants for Sysconf): Correct description of
73522 _SC_CLK_TCK.
73523
73524 2012-04-10 David S. Miller <davem@davemloft.net>
73525
73526 [BZ #13967]
73527 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
73528 where the is a gap between DT_REL(A) and DT_JMPREL.
73529
73530 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
73531
73532 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
73533 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73534 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73535
73536 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
73537
73538 * elf/dl-support.c (_dl_inhibit_cache): New variable.
73539 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
73540 (dl_main): Handle --inhibit-cache.
73541 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
73542 _dl_inhibit_cache.
73543 * elf/dl-load.c (_dl_map_object): Use it.
73544 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
73545
73546 2012-04-09 Joseph Myers <joseph@codesourcery.com>
73547
73548 [BZ #13872]
73549 * sysdeps/i386/fpu/e_powl.S (p78): New object.
73550 (__ieee754_powl): Saturate large exponents rather than testing for
73551 overflow of y*log2(x).
73552 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73553 * math/libm-test.inc (pow_test): Do not permit spurious overflow
73554 exceptions.
73555
73556 [BZ #11521]
73557 * math/s_ctan.c: Include <float.h>.
73558 (__ctan): Avoid internal overflow or cancellation in calculating
73559 denominator.
73560 * math/s_ctanf.c: Likewise.
73561 * math/s_ctanl.c: Likewise.
73562 * math/s_ctanh.c: Likewise.
73563 * math/s_ctanhf.c: Likewise.
73564 * math/s_ctanhl.c: Likewise.
73565 * math/libm-test.inc (ctan_test): Add more tests.
73566 (ctanh_test): Likewise.
73567 * sysdeps/i386/fpu/libm-test-ulps: Update.
73568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73569
73570 2012-04-09 Andreas Jaeger <aj@suse.de>
73571
73572 [BZ #6894]
73573 * manual/filesys.texi (Directory Entries): Mention that d_namlen
73574 is an optional BSD extension.
73575
73576 [BZ #10254]
73577 * manual/stdio.texi (Opening Streams): Document additional fopen
73578 parameters.
73579
73580 2012-04-09 Roland McGrath <roland@hack.frob.com>
73581
73582 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
73583 %eax without telling the compiler.
73584
73585 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
73586
73587 [BZ # 13963]
73588 * manual/install.texi: Use sourceware.org.
73589
73590 2012-04-09 Joseph Myers <joseph@codesourcery.com>
73591
73592 [BZ #13873]
73593 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
73594 (__ieee754_pow): Generate overflow and underflow using huge*huge
73595 and tiny*tiny rather than just returning constant infinity or zero
73596 for large exponents.
73597 * math/libm-test.inc (pow_test): Require overflow exceptions for
73598 applicable cases of large exponents.
73599
73600 [BZ #706]
73601 * sysdeps/i386/fpu/e_pow.S (p10): New object.
73602 (__ieee754_pow): Use iterative multiplication algorithm only for
73603 integer exponents with absolute value below 1024. Check for odd
73604 integer exponents when using algorithm for real exponents.
73605 * math/libm-test.inc (pow_test): Add more tests.
73606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73607
73608 2012-04-08 Joseph Myers <joseph@codesourcery.com>
73609
73610 [BZ #13705]
73611 * math/libm-test.inc (exp_test): Do not allow overflow exception
73612 on underflow test.
73613
73614 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
73615
73616 [BZ #13705]
73617 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
73618 instead of __kernel_standard_f.
73619
73620 2012-04-08 Mike Frysinger <vapier@gentoo.org>
73621
73622 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
73623 * sysdeps/x86_64/memset_chk.S: Likewise.
73624
73625 2012-04-08 Andreas Jaeger <aj@suse.de>
73626
73627 [BZ #10153]
73628 * manual/startup.texi (Environment Access): Describe return value
73629 for putenv and setenv.
73630
73631 [BZ #6895]
73632 * manual/filesys.texi (Directory Entries): Add description for
73633 DT_LNK.
73634
73635 [BZ #6890]
73636 * manual/filesys.texi (Directory Entries): Clarify that it's file
73637 system not operating system in the description of DT_UNKNOWN.
73638
73639 [BZ #6578]
73640 * manual/syslog.texi (closelog): Fix reference, it's openlog.
73641
73642 2012-04-08 Stephen Compall <s11@member.fsf.org>
73643
73644 [BZ #6649]
73645 * manual/llio.texi (Opening and Closing Files): Add cross
73646 reference to explain mode argument.
73647
73648 2012-04-07 Mike Frysinger <vapier@gentoo.org>
73649
73650 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
73651 * sysdeps/x86_64/memset_chk.S: Likewise.
73652
73653 2012-04-07 David S. Miller <davem@davemloft.net>
73654
73655 * elf/elf.h (R_SPARC_WDISP10): Define.
73656 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
73657 R_SPARC_SIZE32.
73658 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
73659 R_SPARC_SIZE64 and R_SPARC_H34.
73660
73661 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
73662
73663 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
73664 conditions and remove no longer applicable assertion.
73665
73666 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
73667
73668 * bits/byteswap.h: Include <features.h>.
73669 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73670 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73671
73672 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
73673
73674 * bits/byteswap.h (__bswap_16): Removed.
73675 Include <bits/byteswap-16.h> to get __bswap_16.
73676 * sysdeps/i386/bits/byteswap.h: Likewise.
73677 * sysdeps/s390/bits/byteswap.h: Likewise.
73678 * sysdeps/x86_64/bits/byteswap.h: Likewise.
73679 * bits/byteswap-16.h: New file.
73680 * sysdeps/i386/bits/byteswap-16.h: Likewise.
73681 * sysdeps/s390/bits/byteswap-16.h: Likewise.
73682 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
73683 * string/Makefile (headers): Add bits/byteswap-16.h.
73684
73685 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
73686
73687 [BZ #13895]
73688 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
73689 extra indirection.
73690 * nss/Makefile (tests-static, tests): Add tst-nss-static.
73691 * nss/tst-nss-static.c: New.
73692
73693 2012-04-06 Robert Millan <rmh@gnu.org>
73694
73695 [BZ #6486]
73696 * manual/llio.texi (File Position Primitive): lseek
73697 refers to WHENCE when it really means OFFSET.
73698
73699 2012-04-06 Andreas Jaeger <aj@suse.de>
73700
73701 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
73702 strncmp declarations.
73703
73704 * abilist/libc.abilist: Add __poll and __ppoll.
73705
73706 2012-04-05 David S. Miller <davem@davemloft.net>
73707
73708 * scripts/check-local-headers.sh: Accept a host triplet in the
73709 path matched by the exclude regexp.
73710
73711 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
73712 definition.
73713 * sysdeps/powerpc/powerpc32/dl-machine.h
73714 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
73715 * sysdeps/s390/s390-32/dl-machine.h
73716 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73717 * sysdeps/sparc/sparc32/dl-machine.h
73718 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73719 * sysdeps/sparc/sparc64/dl-machine.h
73720 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73721
73722 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
73723 lazy binding.
73724 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
73725 undefined symbol errors.
73726
73727 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
73728 DT_NEEDED entries.
73729
73730 2012-04-05 Michael Matz <matz@suse.de>
73731
73732 [BZ #13592]
73733 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
73734
73735 2012-04-05 Andreas Jaeger <aj@suse.de>
73736
73737 [BZ #13908]
73738 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
73739 comment.
73740
73741 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73742
73743 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
73744 which ROUND is no valid rounding mode.
73745
73746 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73747
73748 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
73749 read again.
73750 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
73751
73752 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73753
73754 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
73755 an exception using FPU order intentionally.
73756
73757 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73758
73759 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
73760 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
73761 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
73762 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
73763
73764 2012-04-05 Simon Josefsson <simon@josefsson.org>
73765
73766 [BZ #12340]
73767 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
73768 EINVAL when BUFLEN is too smal.
73769
73770 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
73771
73772 [BZ #13553]
73773 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
73774 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
73775
73776 2012-04-03 Andreas Jaeger <aj@suse.de>
73777
73778 [BZ #13938]
73779 * manual/setjmp.texi (System V contexts): Fix sentence.
73780
73781 [BZ #13926]
73782 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
73783 New macro for this case.
73784 [!__GNUC__] (__bswap_64): New inline function for this case.
73785 * sysdeps/x86_64/bits/byteswap.h: Likewise.
73786 * bits/byteswap.h: Likewise.
73787 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
73788 ull, guard with __GLIBC_HAVE_LONG_LONG.
73789
73790 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
73791 __GLIBC_HAVE_LONG_LONG.
73792
73793 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
73794 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
73795
73796 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73797
73798 [BZ #13691]
73799 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
73800 inptr and inend, rather than using last_ch.
73801
73802 2012-04-02 David S. Miller <davem@davemloft.net>
73803
73804 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
73805 * stdio-common/printf-parse.h (read_int): Change return type to
73806 'int', return -1 on INT_MAX overflow.
73807 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
73808 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
73809 overflows INT_MAX. Check for overflow of in-format-string precision
73810 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
73811 SIZE_MAX not INT_MAX for integer overflow test.
73812 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
73813 skip the construct in the format string but do not record anything.
73814 * stdio-common/bug22.c: Adjust to test both width/prevision
73815 INT_MAX overflow as well as total length INT_MAX overflow. Check
73816 explicitly for proper errno values.
73817
73818 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
73819
73820 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
73821 CHAR_MAX.
73822 * string/test-strcmp.c [! WIDE]: Likewise.
73823 * time/tst-mktime2.c: Likewise for INT_MAX.
73824 * string/test-string.h: #include <sys/param.h> for MIN.
73825
73826 * csu/init-first.c (__libc_init_first): Call __ctype_init.
73827 * sysdeps/i386/init-first.c (init): Likewise.
73828 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
73829 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
73830 * sysdeps/sh/init-first.c (init): Likewise.
73831
73832 2012-04-01 Ulrich Drepper <drepper@gmail.com>
73833
73834 * po/ru.po: Update from translation team.
73835 * po/vi.po: Likewise.
73836
73837 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
73838
73839 * resolv/nss_dns/dns-host.c: Merge copyright years.
73840
73841 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73842
73843 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73844 Optimize memcpy with prefetch if
73845 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
73846 src, dst pointers have unequal 16 byte alignments.
73847
73848 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73849
73850 [BZ #13928]
73851 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
73852 from a CNAME entry and return the minimum ttl for the query.
73853 (gaih_getanswer_slice): Likewise.
73854
73855 2012-03-30 Jeff Law <law@redhat.com>
73856
73857 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
73858 due to long keys.
73859 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
73860 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
73861
73862 * resolv/nss_dns/dns-host.c: Update copyright year.
73863
73864 2012-03-30 Ulrich Drepper <drepper@gmail.com>
73865
73866 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
73867 requests to save a system call. Fix check that all bytes are sent.
73868
73869 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
73870 comments for sendmmsg.
73871
73872 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73873
73874 [BZ #13691]
73875 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
73876 with only 1 character between 0x0041 and 0x01b0.
73877 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
73878 * wcsmbs/tst-mbsnrtowcs.c: New file.
73879
73880 2012-03-29 David S. Miller <davem@davemloft.net>
73881
73882 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
73883 small copies by hand.
73884
73885 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73886
73887 [BZ #13761]
73888 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
73889 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
73890 group memberships.
73891
73892 2012-03-28 David S. Miller <davem@davemloft.net>
73893
73894 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
73895 that branches into memcpy.
73896 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
73897 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
73898 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
73899 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
73900 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
73901 bits.
73902 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
73903 implementation too.
73904 * sysdeps/sparc/mempcpy.S: New file.
73905
73906 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
73907 the IFUNC routine in the libc case.
73908 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
73909
73910 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
73911 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
73912 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
73913 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
73914 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
73915 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
73916 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
73917 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
73918
73919 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
73920 loop to 256 bytes instead of 64 bytes and fix test signedness.
73921
73922 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
73923 * sysdeps/sparc/sparc32/Makefile: rather than here...
73924 * sysdeps/sparc/sparc64/Makefile: and here.
73925
73926 2012-03-28 Ulrich Drepper <drepper@gmail.com>
73927
73928 * malloc/mallocbug.c: Avoid warnings about unused variables.
73929
73930 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
73931
73932 [BZ #13760]
73933 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
73934 in the right place. Discard and retry query if response is
73935 larger than input buffer size.
73936
73937 2012-03-28 Joseph Myers <joseph@codesourcery.com>
73938
73939 [BZ #369]
73940 [BZ #2678]
73941 [BZ #3866]
73942 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
73943 x for large integer exponent.
73944 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
73945 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
73946 sign of result as needed afterwards.
73947 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
73948 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
73949 result for underflowing pow the same as for overflow.
73950 (__kernel_standard_l): Handle powl overflow and underflow here
73951 rather than calling __kernel_standard.
73952 * math/libm-test.inc (pow_test): Add more tests.
73953
73954 [BZ #3868]
73955 [BZ #13879]
73956 [BZ #13910]
73957 [BZ #13911]
73958 [BZ #13912]
73959 [BZ #13913]
73960 [BZ #13915]
73961 [BZ #13916]
73962 [BZ #13917]
73963 [BZ #13918]
73964 [BZ #13919]
73965 [BZ #13920]
73966 [BZ #13921]
73967 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
73968 * sysdeps/ieee754/k_standard.c: Include <float.h>.
73969 (__kernel_standard_l): New function.
73970 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
73971 __kernel_standard.
73972 * math/w_acosl.c (__acosl): Likewise.
73973 * math/w_asinl.c (__asinl): Likewise.
73974 * math/w_atan2l.c (__atan2l): Likewise.
73975 * math/w_atanhl.c (__atanhl): Likewise.
73976 * math/w_coshl.c (__coshl): Likewise.
73977 * math/w_exp10l.c (__exp10l): Likewise.
73978 * math/w_exp2l.c (__exp2l): Likewise.
73979 * math/w_fmodl.c (__fmodl): Likewise.
73980 * math/w_hypotl.c (__hypotl): Likewise.
73981 * math/w_j0l.c (__j0l, __y0l): Likewise.
73982 * math/w_j1l.c (__j1l, __y1l): Likewise.
73983 * math/w_jnl.c (__jnl, __ynl): Likewise.
73984 * math/w_lgammal.c (__lgammal): Likewise.
73985 * math/w_log10l.c (__log10l): Likewise.
73986 * math/w_log2l.c (__log2l): Likewise.
73987 * math/w_logl.c (__logl): Likewise.
73988 * math/w_powl.c (__powl): Likewise.
73989 * math/w_remainderl.c (__remainderl): Likewise.
73990 * math/w_scalbl.c (sysv_scalbl): Likewise.
73991 * math/w_sinhl.c (__sinhl): Likewise.
73992 * math/w_sqrtl.c (__sqrtl): Likewise.
73993 * math/w_tgammal.c (__tgammal): Likewise.
73994 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
73995 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
73996 * math/libm-test.inc (acos_test): Add more tests.
73997 (acosh_test): Likewise.
73998 (asin_test): Likewise.
73999 (atanh_test): Likewise.
74000 (exp_test): Likewise.
74001 (exp10_test): Likewise.
74002 (exp2_test): Likewise.
74003 (expm1_test): Likewise.
74004 (lgamma_test): Likewise.
74005 (log_test): Likewise.
74006 (log10_test): Likewise.
74007 (log1p_test): Likewise.
74008 (log2_test): Likewise.
74009 (pow_test): Do not allow some spurious overflow exceptions.
74010 (sqrt_test): Add more tests.
74011 (tgamma_test): Likewise.
74012 (y0_test): Likewise.
74013 (y1_test): Likewise.
74014 (yn_test): Likewise.
74015
74016 2012-03-27 Anton Blanchard <anton@samba.org>
74017
74018 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74019 MAP_HUGETLB.
74020 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74021 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74022 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74023
74024 2012-03-27 David S. Miller <davem@davemloft.net>
74025
74026 * conform/Makefile: Run run-conformtest.sh using $(BASH).
74027
74028 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74029 have-as-vis3 check.
74030
74031 2012-03-27 Andreas Jaeger <aj@suse.de>
74032
74033 * sysdeps/x86_64/elf/configure.in: Moved to ...
74034 * sysdeps/x86_64/configure.in: ... here.
74035 * sysdeps/x86_64/elf/start.S: Moved to ...
74036 * sysdeps/x86_64/start.S: ... here.
74037 * sysdeps/x86_64/elf/configure: Delete.
74038
74039 * sysdeps/x86_64/configure.in: Merge contents from
74040 sysdeps/i386/configure.in (without i686 check).
74041
74042 * sysdeps/i386/elf/Versions: Merge into ...
74043 * sysdeps/i386/Versions: ... this.
74044 * sysdeps/i386/elf/Versions: Delete file.
74045 * sysdeps/i386/elf/start.S: Moved to ...
74046 * sysdeps/i386/start.S: ...here.
74047 * sysdeps/i386/elf/configure.in: Merge into...
74048 * sysdeps/i386/configure.in: ...here.
74049 * sysdeps/i386/elf/configure.in: Delete file.
74050 * sysdeps/i386/elf/configure: Delete file.
74051
74052 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74053 * debug/backtracesyms.c: ... here.
74054 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74055 * debug/backtracesymsfd.c: ... here.
74056 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74057 * sysdeps/generic/ifunc-sel.h: ... here.
74058
74059 * sysdeps/unix/i386/start.c: Delete file.
74060 * sysdeps/unix/sparc/start.c: Delete file.
74061 * sysdeps/unix/start.c: Delete file.
74062
74063 * sysdeps/sh/elf/configure.in: Moved to ...
74064 * sysdeps/sh/configure.in: ... here.
74065 * sysdeps/sh/elf/start.S: Moved to ...
74066 * sysdeps/sh/start.S: ... here.
74067 * sysdeps/sh/elf/configure: Delete file.
74068
74069 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74070 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74071 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74072 * sysdeps/powerpc/powerpc64/entry.h: ... here.
74073 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74074 * sysdeps/powerpc/powerpc64/start.S: here.
74075 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74076 * sysdeps/powerpc/powerpc64/Makefile: ... this.
74077 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74078 * sysdeps/powerpc/powerpc64/configure.in: ... this.
74079 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74080
74081 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74082 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74083 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74084 * sysdeps/powerpc/powerpc32/start.S: ... here.
74085 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74086 * sysdeps/powerpc/powerpc32/configure.in: ... this.
74087 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74088
74089 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74090 * sysdeps/powerpc/ifunc-sel.h: ... here.
74091 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74092 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74093
74094 * sysdeps/sparc/elf/configure.in: Moved to ...
74095 * sysdeps/sparc/configure.in: ... here.
74096 * sysdeps/sparc/elf/configure: Delete file.
74097 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74098 * sysdeps/sparc/sparc32/start.S: ... here.
74099 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74100 * sysdeps/sparc/sparc64/start.S: ... here.
74101 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74102 * sysdeps/sparc/sparc32/Makefile: ... this.
74103 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74104 * sysdeps/sparc/sparc64/Makefile: ... this.
74105
74106 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74107 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74108 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74109 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74110 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74111 * sysdeps/s390/s390-32/setjmp.S: ... here.
74112 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74113 * sysdeps/s390/s390-32/configure.in: ... here.
74114 * sysdeps/s390/s390-32/elf/configure: Delete file.
74115 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74116 * sysdeps/s390/s390-32/start.S: ... here.
74117
74118 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74119 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74120 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74121 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74122 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74123 * sysdeps/s390/s390-64/setjmp.S: ... here.
74124 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74125 * sysdeps/s390/s390-64/configure.in: ... here
74126 * sysdeps/s390/s390-64/elf/configure: Delete file.
74127 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74128 * sysdeps/s390/s390-64/start.S: ... here.
74129 * sysdeps/s390/s390-64/elf/configure: Delete.
74130
74131 * configure.in: Remove support for elf directories in sysdeps.
74132
74133 * configure: Regenerated.
74134 * sysdeps/i386/configure: Regenerated.
74135 * sysdeps/powerpc/powerpc32/configure: Regenerated.
74136 * sysdeps/powerpc/powerpc64/configure: Regenerated.
74137 * sysdeps/s390/s390-32/configure: Regenerated.
74138 * sysdeps/s390/s390-64/configure: Regenerated.
74139 * sysdeps/sh/configure: Regenerated.
74140 * sysdeps/sparc/configure: Regenerated.
74141 * sysdeps/x86_64/configure: Regenerated.
74142
74143 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
74144
74145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74146
74147 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74148 denormal result into account.
74149
74150 2012-03-25 Roland McGrath <roland@hack.frob.com>
74151
74152 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74153 Reported by Allan McRae <allan@archlinux.org>.
74154
74155 2012-03-23 Jeff Law <law@redhat.com>
74156
74157 * nss/getnssent.c (__nss_getent): Fix typo.
74158
74159 2012-03-23 David S. Miller <davem@davemloft.net>
74160
74161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74162
74163 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
74164
74165 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74166 to pad to uint64_t for each field.
74167 (dl_tls_index): Replace unsigned long with uint64_t.
74168
74169 2012-03-23 Daniel Jacobowitz <dmj@google.com>
74170 Paul Pluzhnikov <ppluzhnikov@google.com>
74171
74172 [BZ #6528]
74173 * grp/Makefile (otherlibs): Don't set it.
74174 * inet/Makefile (otherlibs): Likewise.
74175 * login/Makefile (otherlibs): Likewise.
74176 * nscd/Makefile (otherlibs): Likewise.
74177 * posix/Makefile (otherlibs): Likewise.
74178 * pwd/Makefile (otherlibs): Likewise.
74179 * rt/Makefile (otherlibs): Likewise.
74180 * sunrpc/Makefile (otherlibs): Likewise.
74181 * nss/Makefile (otherlibs): Likewise.
74182 Add libnss_files to routines and static-only-routines.
74183 ($(objpfx)getent): Remove rule.
74184 * resolv/Makefile: Add libnss_dns and libresolv to routines and
74185 static-only-routines.
74186
74187 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74188
74189 [BZ #13892]
74190 * math/s_cexp.c: Include <float.h>.
74191 (__cexp): Handle exp result overflowing not necessarily
74192 overflowing both real and imaginary parts of result.
74193 * math/s_cexpf.c: Likewise.
74194 * math/s_cexpl.c: Likewise.
74195 * math/libm-test.inc (cexp_test): Add more tests.
74196 * sysdeps/i386/fpu/libm-test-ulps: Update.
74197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74198
74199 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74200
74201 * include/link.h (ELFW): New macro.
74202 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
74203 Replace ELF64_R_TYPE with ELFW(R_TYPE).
74204
74205 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74206
74207 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
74208 with uint64_t.
74209
74210 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74211
74212 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
74213 declaration.
74214 (struct La_x32_retval): Likewise.
74215
74216 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74217
74218 * sysdeps/x86_64/preconfigure.in: New file.
74219 * sysdeps/x86_64/preconfigure: New generated file.
74220
74221 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74222
74223 [BZ #13824]
74224 * math/e_exp2l.c: Include <float.h>.
74225 (__ieee754_exp2l): Handle overflow and underflow cases
74226 separately. Only pass fractional part of argument to
74227 __ieee754_expl.
74228 * math/libm-test.inc (exp2_test): Add more tests.
74229
74230 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
74231 negating x to take absolute value.
74232 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
74233 Likewise.
74234 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
74235 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
74236 Likewise.
74237 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
74238 computing low part if x was negated.
74239 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
74240
74241 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74242
74243 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
74244 la_x32_gnu_pltexit.
74245 (pltexit): Cast int_retval to ptrdiff_t.
74246 * elf/tst-auditmod3b.c: Likewise.
74247 * elf/tst-auditmod4b.c: Likewise.
74248 * elf/tst-auditmod5b.c: Likewise.
74249 * elf/tst-auditmod6b.c: Likewise.
74250 * elf/tst-auditmod6c.c: Likewise.
74251 * elf/tst-auditmod7b.c: Likewise.
74252
74253 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
74254 and x32_gnu_pltexit.
74255
74256 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
74257 __ELF_NATIVE_CLASS.
74258 (La_x32_regs): New macro.
74259 (La_x32_retval): Likewise.
74260 (la_x32_gnu_pltenter): New function prototype.
74261 (la_x32_gnu_pltexit): Likewise.
74262
74263 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
74264
74265 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
74266 exponent.
74267
74268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74269
74270 * configure.in (libc_cv_cc_nofma): Check for option to disable
74271 generation of FMA instructions.
74272 * configure: Regenerate.
74273 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
74274 * sysdeps/ieee754/dbl-64/Makefile: New file.
74275 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
74276 Remove brandred-fma4.
74277 (CFLAGS-brandred-fma4.c): Remove.
74278 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
74279 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
74280 define.
74281 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
74282 define.
74283
74284 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74285
74286 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74287 LLONG_MAX != LONG_MAX.
74288 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74289 (_fitoa_word): Likewise.
74290 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
74291 LLONG_MAX != LONG_MAX.
74292 * stdio-common/_itowa.h: Include <_itoa.h>.
74293 (_itowa_word): Use _ITOA_WORD_TYPE on value.
74294 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
74295 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
74296 only if not defined.
74297 (_ITOA_WORD_TYPE): Likewise.
74298 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74299 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
74300
74301 2012-03-21 David S. Miller <davem@davemloft.net>
74302
74303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74304
74305 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74306
74307 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
74308 of x86_64 when setting libc_cv_slibdir, libdir and
74309 libc_cv_localedir.
74310 * sysdeps/unix/sysv/linux/configure: Regenerated.
74311
74312 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74313
74314 * manual/lang.texi (Old Varargs): Remove section.
74315 (How Variadic): Update menu.
74316 (va_start): Do not mention varargs.h.
74317
74318 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
74319 Joseph Myers <joseph@codesourcery.com>
74320
74321 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
74322 link test.
74323 * configure: Regenerated.
74324
74325 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
74326
74327 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
74328 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
74329 conformtest.pl
74330
74331 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74332
74333 * NOTES: Remove.
74334 * Makefile (files-for-dist): Remove NOTES.
74335 (NOTES): Remove rule.
74336 * README: Don't refer to NOTES.
74337 * manual/creature.texi: Don't include macros.texi.
74338 * manual/intro.texi (creature.texi): Remove comment referring to
74339 NOTES.
74340
74341 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
74342 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
74343 * configure: Regenerated.
74344 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
74345 LIBC_TRY_CC_OPTION.
74346 (libc_cv_as_i686): Likewise.
74347 (libc_cv_cc_avx): Likewise.
74348 (libc_cv_cc_sse2avx): Likewise.
74349 (libc_cv_cc_fma4): Likewise.
74350 (libc_cv_cc_novzeroupper): Likewise.
74351 * sysdeps/i386/configure: Regenerated.
74352
74353 [BZ #13883]
74354 * sysdeps/i386/fpu/s_cexp.S: Remove.
74355 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74356 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74357 * math/libm-test.inc (cexp_test): Add more tests.
74358 * sysdeps/i386/fpu/libm-test-ulps: Update.
74359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74360
74361 2012-03-21 Allan McRae <allan@archlinux.org>
74362
74363 * timezone/Makefile: Do not install iso3166.tab and zone.tab
74364
74365 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74366
74367 [BZ #13871]
74368 * math/w_exp2.c: Do not include <float.h>.
74369 (o_threshold, u_threshold): Remove.
74370 (__exp2): Calculate result before checking finiteness and calling
74371 __kernel_standard.
74372 * math/w_exp2f.c: Likewise.
74373 * math/w_exp2l.c: Likewise.
74374 * math/libm-test.inc (exp2_test): Require overflow exception for
74375 1e6 input.
74376
74377 [BZ #3866]
74378 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
74379 range of signed 64-bit integers before using fistpll. Remove
74380 checks for whether integers fit in mantissa bits.
74381 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
74382 the range of signed 32-bit integers before using fistpl. Remove
74383 checks for whether integers fit in mantissa bits.
74384 * sysdeps/i386/fpu/e_powl.S (p64): New object.
74385 (__ieee754_powl): Test for y outside the range of signed 64-bit
74386 integers before using fistpll. Reduce 64-bit values to 63-bit
74387 ones as needed.
74388 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
74389 divide-by-zero is raised for zero to large negative powers.
74390 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
74391 (__ieee754_powl): Test for y outside the range of signed 64-bit
74392 integers before using fistpll. Reduce 64-bit values to 63-bit
74393 ones as needed.
74394 * math/libm-test.inc (pow_test): Add more tests.
74395
74396 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74397
74398 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
74399 <stdio-common/_itoa.h>.
74400 * debug/segfault.c: Likewise.
74401 * elf/dl-cache.c: Likewise.
74402 * elf/dl-minimal.c: Likewise.
74403 * elf/dl-misc.c: Likewise.
74404 * elf/dl-sysdep.c: Likewise.
74405 * elf/dl-version.c: Likewise.
74406 * elf/rtld.c: Likewise.
74407 * hurd/hurdsock.c: Likewise.
74408 * hurd/lookup-retry.c: Likewise.
74409 * malloc/malloc.c: Likewise.
74410 * malloc/mtrace.c: Likewise.
74411 * nscd/nscd_getgr_r.c: Likewise.
74412 * nscd/nscd_getpw_r.c: Likewise.
74413 * nscd/nscd_getserv_r.c: Likewise.
74414 * posix/getopt_init.c: Likewise.
74415 * posix/wordexp.c: Likewise.
74416 * stdio-common/_itoa.c: Likewise.
74417 * stdio-common/printf_fphex.c: Likewise.
74418 * stdio-common/vfprintf.c: Likewise.
74419 * string/_strerror.c: Likewise.
74420 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
74421 * sysdeps/i386/i686/hp-timing.h: Likewise.
74422 * sysdeps/mach/_strerror.c: Likewise.
74423 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
74424 * sysdeps/mach/hurd/sethostid.c: Likewise.
74425 * sysdeps/mach/hurd/xmknodat.c: Likewise.
74426 * sysdeps/mach/xpg-strerror.c: Likewise.
74427 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
74428 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
74429 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
74430 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
74431 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
74432 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
74433 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
74434 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
74435 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
74436 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
74437 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
74438 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
74439 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
74440 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
74441 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
74442 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
74443 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
74444 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
74445 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
74446 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
74447 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
74448
74449 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
74450
74451 * stdio-common/_itoa.h: Moved to ...
74452 * sysdeps/generic/_itoa.h: Here.
74453
74454 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
74455
74456 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
74457 instead of "_itoa.h" and "_itowa.h".
74458 * stdio-common/vfprintf.: Likewise.
74459
74460 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74461
74462 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
74463 <bits/wordsize.h>.
74464 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
74465 (__signbit): Likewise.
74466 (llrintf): Likewise.
74467 (llrint): Likewise.
74468
74469 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74470
74471 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
74472 __WORDSIZE != 64.
74473
74474 2012-03-20 Joseph Myers <joseph@codesourcery.com>
74475
74476 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
74477 OVERFLOW_EXCEPTION_OK.
74478 * math/libm-test.inc ("Philosophy"): Update comment about
74479 exception testing.
74480 (OVERFLOW_EXCEPTION): Define.
74481 (OVERFLOW_EXCEPTION_OK): Likewise.
74482 (INVALID_EXCEPTION_OK): Renumber.
74483 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74484 (IGNORE_ZERO_INF_SIGN): Likewise.
74485 (test_exceptions): Handle FE_OVERFLOW.
74486 (exp10_test): Expect overflow exceptions.
74487 (exp2_test): Likewise.
74488 (expm1_test): Likewise.
74489 (nextafter_test): Likewise.
74490 (pow_test): Likewise.
74491 (scalbn_test): Likewise.
74492 (scalbln_test): Likewise.
74493
74494 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74495
74496 * sysdeps/x86_64/bits/atomic.h
74497 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
74498 64bit integer.
74499 (atomic_exchange_acq): Likewise.
74500 (__arch_exchange_and_add_body): Likewise.
74501 (__arch_add_body): Likewise.
74502 (atomic_add_negative): Likewise.
74503 (atomic_add_zero): Likewise.
74504
74505 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74506
74507 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
74508 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
74509
74510 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74511
74512 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
74513 Check __x86_64__ instead of __WORDSIZE.
74514
74515 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74516
74517 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
74518
74519 2012-03-19 David S. Miller <davem@davemloft.net>
74520
74521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74522
74523 * sysdeps/sparc/fpu/fenv_private.h: New file.
74524 * sysdeps/sparc/fpu/math_private.h: Use it.
74525 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
74526 Remove.
74527 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
74528 (libc_feholdexcept_setroundl): Remove.
74529 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
74530 Remove.
74531 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
74532 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
74533
74534 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74535
74536 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
74537 int64_t instead of long int.
74538 (INSERT_WORDS64): Likewise.
74539
74540 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74541
74542 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
74543 _Unwind_GetCFA return to _Unwind_Ptr first.
74544
74545 2012-03-19 Joseph Myers <joseph@codesourcery.com>
74546
74547 [BZ #13629]
74548 * math/s_clog.c: Include <float.h>.
74549 (__clog): Scale large or subnormal inputs.
74550 * math/s_clogf.c: Likewise.
74551 * math/s_clogl.c: Likewise.
74552 * math/s_clog10.c: Include <float.h>.
74553 (M_LOG10_2): Define.
74554 (__clog10): Scale large or subnormal inputs.
74555 * math/s_clog10f.c: Likewise.
74556 * math/s_clog10l.c: Likewise.
74557 * math/libm-test.inc (clog_test): Add more tests.
74558 (clog10_test): Likewise.
74559 * sysdeps/i386/fpu/libm-test-ulps: Update.
74560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74561
74562 [BZ #11451]
74563 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
74564 x and y.
74565 * math/libm-test.inc (atan2_test): Add another test.
74566
74567 * Makerules (common-objdir-compile): Remove.
74568 * sysdeps/unix/Makefile (config-generated): Do not add
74569 $(unix-generated) to variable.
74570 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
74571 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
74572 Remove rule.
74573 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
74574 Likewise.
74575 [generic bits/local_lim.h] (before-compile): Do not append to
74576 variable.
74577 [generic bits/local_lim.h] (common-generated): Likewise.
74578 [generic sys/param.h] (before-compile): Do not append to variable.
74579 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
74580 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
74581 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
74582 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
74583 include.
74584 [generic sys/param.h] (sys/param.h-includes): Remove variable.
74585 [generic sys/param.h] (sys/param.h-includes): Remove rule.
74586 [generic sys/param.h] ($(addprefix
74587 $(common-objpfx),$(sys/param.h-includes))): Likewise.
74588 [generic sys/param.h] (common-generated): Do not append to
74589 variable.
74590 [generic sys/param.h] (sysdep_headers): Likewise.
74591 [generic bits/errno.h] (before-compile): Do not append to
74592 variable.
74593 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
74594 rule.
74595 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
74596 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
74597 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
74598 [generic bits/errno.h] (common-generated): Do not append to
74599 variable.
74600 [generic bits/ioctls.h] (before-compile): Do not append to
74601 variable.
74602 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
74603 rule.
74604 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
74605 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
74606 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
74607 rule.
74608 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
74609 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
74610 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
74611 [generic bits/ioctls.h] (common-generated): Do not append to
74612 variable.
74613 [generic sys/syscall.h] (syscall.h): Remove variable.
74614 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
74615 rule.
74616 [generic sys/syscall.h] (before-compile): Do not append to
74617 variable.
74618 [generic sys/syscall.h] (common-generated): Likewise.
74619 * sysdeps/unix/errnos-tmpl.c: Remove file.
74620 * sysdeps/unix/errnos.awk: Likewise.
74621 * sysdeps/unix/ioctls-tmpl.c: Likewise.
74622 * sysdeps/unix/ioctls.awk: Likewise.
74623 * sysdeps/unix/mk-local_lim.c: Likewise.
74624 * sysdeps/unix/snarf-ioctls: Likewise.
74625
74626 2012-03-19 Richard Henderson <rth@twiddle.net>
74627
74628 * sysdeps/i386/fpu/fenv_private.h: New file.
74629 * sysdeps/i386/fpu/math_private.h: Use it.
74630 (math_opt_barrier, math_force_eval): Remove.
74631 (libc_feholdexcept_setround_53bit): Remove.
74632 (libc_feupdateenv_53bit): Remove.
74633 * sysdeps/x86_64/fpu/math_private.h: Likewise.
74634 (math_opt_barrier, math_force_eval): Remove.
74635 (libc_feholdexcept): Remove.
74636 (libc_feholdexcept_setround): Remove.
74637 (libc_fetestexcept, libc_fesetenv): Remove.
74638 (libc_feupdateenv_test): Remove.
74639 (libc_feupdateenv, libc_feholdsetround): Remove.
74640 (libc_feresetround): Remove.
74641
74642 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
74643 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
74644
74645 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
74646 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
74647 (libc_feupdateenv_testl): New.
74648 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
74649 (libc_feupdateenv_testf): New.
74650 (libc_feupdateenv): Use libc_feupdateenv_test.
74651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
74652 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
74653
74654 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
74655 (libc_feholdsetroundf, libc_feholdsetroundl): New.
74656 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
74657 (libc_feresetround_noex): New.
74658 (libc_feresetround_noexf): New.
74659 (libc_feresetround_noexl): New.
74660 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
74661 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
74662 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
74663 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
74664 SET_RESTORE_ROUND.
74665 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
74666 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
74667 (__cos): Likewise.
74668 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
74669 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
74670 SET_RESTORE_ROUND_NOEX.
74671 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
74672 SET_RESTORE_ROUND_NOEXF.
74673 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
74674 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
74675 (libc_feholdsetroundf): New.
74676 (libc_feresetround, libc_feresetroundf): New.
74677
74678 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
74679 (libc_feholdexcept_setround_53bit): Convert from macro to function.
74680 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
74681
74682 * sysdeps/generic/math_private.h: Include <fenv.h>.
74683 (default_libc_feholdexcept): New.
74684 (default_libc_feholdexcept_setround): New.
74685 (default_libc_fesetenv, default_libc_feupdateenv): New.
74686 (libc_feholdexcept): Only define if undefined.
74687 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
74688 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
74689 (libc_feholdexcept_setroundl): Likewise.
74690 (libc_feholdexcept_setround_53bit): Likewise.
74691 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
74692 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
74693 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
74694 (libc_feupdateenv_53bit): Likewise.
74695 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
74696 (libc_feholdexcept): Convert from macro to inline function.
74697 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
74698 (libc_fesetenv, libc_feupdateenv): Likewise.
74699
74700 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
74701 not previously defined.
74702 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
74703 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
74704 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
74705 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
74706 * sysdeps/ieee754/flt-32/math_private.h: New file.
74707 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
74708 math_private.h below SET_FLOAT_WORD.
74709 (__isnan, __isinf_ns, __finite): Remove.
74710 (__isnanf, __isinf_nsf, __finitef): Remove.
74711
74712 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
74713
74714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74715
74716 2012-03-17 David S. Miller <davem@davemloft.net>
74717
74718 [BZ #6471]
74719 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
74720 for 2.16.
74721
74722 2012-03-16 David S. Miller <davem@davemloft.net>
74723
74724 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
74725 warnings.
74726
74727 [BZ #6471]
74728 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
74729 properly.
74730 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
74731 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
74732 sysdep_routines when subdir is sysvipc.
74733 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
74734 __getshmlba helper.
74735
74736 * sysdeps/sparc/fpu/libm-test/ulps: Update.
74737
74738 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74739
74740 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
74741 [__LP64__].
74742
74743 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74744
74745 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
74746 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
74747 (__lround): Renamed to ...
74748 (__llround): This. Replace long int with long long int.
74749 Define lround functions as aliases of llround functions.
74750 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
74751
74752 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74753
74754 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
74755 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
74756 adresses to uintptr_t. Replace "long int" and "unsigned long
74757 int" with "greg_t" on va_arg.
74758
74759 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74760
74761 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
74762 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
74763
74764 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
74765 Move e_machine check before EI_CLASS check. Handle x32
74766 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
74767 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
74768 SKIP_EM_IA_64 and include
74769 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
74770
74771 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
74772 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
74773 (add_system_dir): New macro.
74774
74775 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
74776 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
74777
74778 2012-03-16 Joseph Myers <joseph@codesourcery.com>
74779
74780 [BZ #2551]
74781 [BZ #2552]
74782 [BZ #2553]
74783 [BZ #2554]
74784 [BZ #2562]
74785 [BZ #2563]
74786 [BZ #2565]
74787 [BZ #2566]
74788 [BZ #2576]
74789 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
74790 (y0): Likewise.
74791 * math/w_j0f.c (j0f): Likewise.
74792 (y0f): Likewise.
74793 * math/w_j0l.c (__j0l): Likewise.
74794 (__y0l): Likewise.
74795 * math/w_j1.c (j1): Likewise.
74796 (y1): Likewise.
74797 * math/w_j1f.c (j1f): Likewise.
74798 (y1f): Likewise.
74799 * math/w_j1l.c (__j1l): Likewise.
74800 (__y1l): Likewise.
74801 * math/w_jn.c (jn): Likewise.
74802 (yn): Likewise.
74803 * math/w_jnf.c (jnf): Likewise.
74804 (ynf): Likewise.
74805 * math/w_jnl.c (__jnl): Likewise.
74806 (__ynl): Likewise.
74807 * math/libm-test.inc (j0_test): Add more tests.
74808 (j1_test): Likewise.
74809 (jn_test): Likewise. Add trailing semicolon to existing test.
74810 (y0_test): Likewise.
74811 (y1_test): Likewise.
74812 * sysdeps/i386/fpu/libm-test-ulps: Update.
74813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74814
74815 [BZ #13851]
74816 [BZ #13854]
74817 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
74818 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
74819 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
74820 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
74821 (__tanl): Set errno for infinite argument.
74822 * sysdeps/i386/fpu/mptan.c: Remove.
74823 * sysdeps/i386/fpu/s_tan.S: Likewise.
74824 * sysdeps/i386/fpu/s_tanl.S: Likewise.
74825 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
74826 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
74827 * math/libm-test.inc (tan_test): Add more tests and enable more
74828 tests for double and long double.
74829 * sysdeps/i386/fpu/libm-test-ulps: Update.
74830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74831
74832 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
74833
74834 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
74835 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
74836
74837 2012-03-16 Roland McGrath <roland@hack.frob.com>
74838
74839 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
74840 * configure.in: Use it for both main tree and add-ons.
74841 * configure: Regenerated.
74842
74843 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74844
74845 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
74846
74847 2012-03-16 Joseph Myers <joseph@codesourcery.com>
74848
74849 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
74850 in comment.
74851
74852 [BZ #13851]
74853 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
74854 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
74855 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
74856 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
74857 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
74858 infinite argument.
74859 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
74860 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
74861 != 0 for prec == 2.
74862 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
74863 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
74864 * sysdeps/i386/fpu/s_cosl.S: Likewise.
74865 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
74866 * sysdeps/i386/fpu/s_sinl.S: Likewise.
74867 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
74868 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
74869 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
74870 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
74871 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
74872 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
74873 * math/libm-test.inc (cos_test): Add more tests and enable more
74874 tests for long double.
74875 (sin_test): Likewise.
74876 (sincos_test): Likewise.
74877 * sysdeps/i386/fpu/libm-test-ulps: Update.
74878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74879
74880 2012-03-16 David S. Miller <davem@davemloft.net>
74881
74882 * sysdeps/sparc/fpu/math_private.h: New file.
74883
74884 2012-03-15 David S. Miller <davem@davemloft.net>
74885
74886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
74887 file.
74888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
74889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
74890 file.
74891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
74892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
74893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
74894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
74895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
74896 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
74897 sysdep routines.
74898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
74899
74900 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
74901 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
74902
74903 * sysdeps/sparc/sparc-ifunc.h: New file.
74904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
74905 sparc-ifunc.h
74906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
74907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
74908 Likewise.
74909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
74910 Likewise.
74911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
74912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
74913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
74914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
74915 Likewise.
74916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
74917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
74918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
74919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
74920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
74921 Likewise.
74922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
74923 Likewise.
74924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
74925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
74926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
74927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
74928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
74929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
74930 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
74931 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
74932 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
74933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
74934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
74935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
74936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
74937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
74938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
74939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
74940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
74941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
74942 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
74943 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
74944 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
74945 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
74946 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
74947 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
74948
74949 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
74950
74951 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
74952 scaling.
74953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74954
74955 2012-03-15 Andreas Jaeger <aj@suse.de>
74956
74957 [BZ #13852]
74958 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
74959 ieee754/flt-32 implementation for sin, cos and sincos.
74960 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
74961 * sysdeps/i386/fpu/s_cosf.S: Likewise.
74962 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
74963 * sysdeps/i386/fpu/s_sinf.S: Likewise.
74964 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
74965 ieee754/flt-32 implementation for tan.
74966
74967 * math/libm-test.inc (cos_test): Enable some large input tests for
74968 float as well
74969 (sin_test): Likewise.
74970 (sincos_test): Likewise.
74971 (tan_test): Add tests for large input.
74972
74973 * sysdeps/i386/fpu/libm-test-ulps: Update.
74974
74975 2012-03-15 Andreas Jaeger <aj@suse.de>
74976
74977 [BZ #13658]
74978 * math/libm-test.inc (cos_test): Add more test cases.
74979 (sin_test): Likewise.
74980 (sincos_test): Likewise.
74981
74982 2012-03-15 Andreas Jaeger <aj@suse.de>
74983
74984 [BZ #13837]
74985 * math/libm-test.inc (cos_test): Add a test case for large input
74986 value.
74987 (sin_test): Likewise.
74988 (sincos_test): Likewise.
74989
74990 2012-03-15 Andreas Jaeger <aj@suse.de>
74991 Joseph Myers <joseph@codesourcery.com>
74992
74993 [BZ #13658]
74994 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
74995 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
74996 * sysdeps/i386/fpu/branred.c: Likewise.
74997 * sysdeps/i386/fpu/dosincos.c: Likewise.
74998 * sysdeps/i386/fpu/mpa.c: Likewise.
74999 * sysdeps/i386/fpu/s_cos.S: Likewise.
75000 * sysdeps/i386/fpu/s_sin.S: Likewise.
75001 * sysdeps/i386/fpu/s_sincos.S: Likewise.
75002 * sysdeps/i386/fpu/sincos32.c: Likewise.
75003
75004 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75005 Define.
75006 (libc_feupdateenv_53bit): Define.
75007 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75008 Define.
75009 (libc_feupdateenv_53bit): Define.
75010
75011 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75012 53 bit (without extend i386 double precision).
75013
75014 * math/libm-test.inc (sincos_test): Add tests for large input.
75015 (sin): Likewise.
75016 (cos): Likewise.
75017
75018 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75019
75020 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75021
75022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75023
75024 2012-03-15 David S. Miller <davem@davemloft.net>
75025
75026 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75027 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75028 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75029 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75042 file.
75043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75045 file.
75046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75048 file.
75049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75051 file.
75052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75053 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75054 fmin/fmax sysdep routines.
75055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75056
75057 2012-03-14 David S. Miller <davem@davemloft.net>
75058
75059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75063 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75066 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75079 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75081 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75082 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75083 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75084 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75085 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75086 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75087 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75088 routines.
75089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75090 file.
75091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75093 file.
75094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75096 file.
75097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75099 file.
75100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75102 file.
75103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75105 file.
75106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75107 file.
75108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75109 file.
75110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75111 file.
75112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75113 New file.
75114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75115 file.
75116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75117 file.
75118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75120 file.
75121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75123 file.
75124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75126 file.
75127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75129 VIS3 routines.
75130
75131 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75132 New file.
75133
75134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75135
75136 * sysdeps/sparc/configure.in: New file.
75137 * sysdeps/sparc/configure: Generate.
75138 * configure.in (libc_cv_sparc_as_vis3): Substitute.
75139 * configure: Regenerate.
75140 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75141 * config.make.in (have-as-vis3): New.
75142 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75143 available use -Av9d instead of -Av9a.
75144 * sysdeps/sparc/sparc64/Makefile: Likewise.
75145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75147 New file.
75148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75149 file.
75150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75151 New file.
75152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75153 file.
75154 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75155 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75156 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75157 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75158 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75159
75160 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75161 fzeros/fnegs to load 0x80000000 into a float register instead of
75162 using the stack.
75163 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75164
75165 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75166
75167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75168 bits/syscall.h.
75169 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75170 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75171 ($(inst_includedir)/bits/syscall.h): Remove rule.
75172 ($(objpfx)bits/syscall.d): Include instead of
75173 $(objpfx)syscall-list.d.
75174 (generated): Change syscall-list.h and syscall-list.d to
75175 bits/syscall.h and bits/syscall.d.
75176
75177 2012-03-14 Roland McGrath <roland@hack.frob.com>
75178
75179 [BZ #13846]
75180 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75181
75182 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75183
75184 [BZ #13841]
75185 * math/s_csqrt.c: Include <float.h>.
75186 (__csqrt): Scale large or subnormal inputs.
75187 * math/s_csqrtf.c: Likewise.
75188 * math/s_csqrtl.c: Likewise.
75189 * math/libm-test.inc (csqrt_test): Add more tests.
75190 * sysdeps/i386/fpu/libm-test-ulps: Update.
75191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75192
75193 [BZ #13840]
75194 * math/libm-test.inc (hypot_test): Add more tests.
75195
75196 2012-03-13 David S. Miller <davem@davemloft.net>
75197
75198 [BZ #13840]
75199 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
75200 double-precision for the calculation instead of scaling.
75201
75202 2012-03-13 Joseph Myers <joseph@codesourcery.com>
75203
75204 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
75205 manipulate bits before adding and subtracting TWO52[sx].
75206 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
75207 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
75208 Likewise.
75209 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
75210
75211 2012-03-13 David S. Miller <davem@davemloft.net>
75212
75213 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
75214 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
75215 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
75216 rtld-global-offsets.h
75217 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75218
75219 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
75220 large parameters.
75221
75222 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
75223
75224 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
75225 'err' in the ifdef scope in which it is actually used.
75226
75227 * nss/nss_db/db-init.c: Include string.h
75228
75229 2012-03-12 David S. Miller <davem@davemloft.net>
75230
75231 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75232 masking out of the most significant byte of random value used.
75233 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75234 Fix coding style in previous change.
75235
75236 * sysdeps/unix/sysv/linux/kernel-features.h
75237 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
75238 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
75239 expression.
75240 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
75241 later.
75242
75243 2012-03-11 David S. Miller <davem@davemloft.net>
75244
75245 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
75246 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
75247 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
75248 for 'resultvar' otherwise things get truncated on 64-bit.
75249
75250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75251 Fix masking out of the most significant byte of random value used.
75252
75253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75254
75255 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
75256
75257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75258
75259 2012-03-09 David S. Miller <davem@davemloft.net>
75260
75261 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
75262 variables with appropriate CPP guards.
75263 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
75264 from the frame pointer, not the stack pointer. Correct layout
75265 comments. Fix test on resulting framesize and the management of
75266 the outregs buffer for pltexit. Preserve floating point return
75267 values across _dl_call_pltexit call.
75268 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
75269 framesize and the management of the outregs buffer for pltexit.
75270 Preserve floating point return values across _dl_call_pltexit
75271 call.
75272 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
75273 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
75274 (la_sparc64_gnu_pltexit): New functions.
75275 (print_exit): Fix format string for return register value.
75276
75277 2012-03-10 Joseph Myers <joseph@codesourcery.com>
75278
75279 * sunrpc/Makefile (others): Add rpcgen.
75280 ($(objpfx)rpcgen): Remove special build rule and dependency on
75281 libc.
75282 * sunrpc/rpcgen.c: New file.
75283
75284 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
75285
75286 [BZ #13673]
75287 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
75288 * stdio-common/bug-vfprintf-nargs.c: Likewise.
75289 * sysdeps/i386/crti.S: Likewise.
75290 * sysdeps/i386/crtn.S: Likewise.
75291 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
75292 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
75293 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
75294 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
75295 * sysdeps/sh/crti.S: Likewise.
75296 * sysdeps/sh/crtn.S: Likewise.
75297 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75298
75299 [BZ #13673]
75300 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
75301 with URL.
75302 * locale/programs/locfile-kw.gperf: Likewise.
75303 * locale/programs/charmap-kw.h: Regenerated.
75304 * locale/programs/locfile-kw.h: Likewise.
75305
75306 [BZ #13673]
75307 * intl/plural.y: Replace FSF snail mail address with URL.
75308 * intl/plural.c: Regenerated.
75309
75310 2012-03-09 Richard Henderson <rth@twiddle.net>
75311
75312 * include/math_private.h: Remove file.
75313 * math/math_private.h: Move file ...
75314 * sysdeps/generic/math_private.h: ... here.
75315
75316 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
75317 * sysdeps/powerpc/fpu/math_private.h: Likewise.
75318 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75319
75320 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
75321 and <math_private.h>.
75322 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75323 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75324 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75325 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75326 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75327 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
75328 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75330 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75331 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75333 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75334 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75335 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75336 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75337 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75338 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75339 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75340 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75341 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75342 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75343 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75344 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75346 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
75347 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75348 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75349 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75350 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75351 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75352 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75353 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75354 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
75355 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75356 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75357 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75358 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75359 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75360 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75361 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75362 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
75363 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75364 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75365 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
75366 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
75367 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75368 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
75369 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
75370 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75371 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75372 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
75373 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
75374 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
75375 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75376 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
75377 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75378 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75379 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
75380 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
75381 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
75382 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75383 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
75384 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75385 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75386 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
75387 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75388 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75389 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75390 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
75391 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
75392 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
75393 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75394 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
75395 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75396 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
75397 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
75398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
75399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75400 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
75401 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
75402 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
75403 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
75404 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
75405 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75406 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75407 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
75408 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
75409 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
75410 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75411 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75412 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75413 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75414 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75415 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75416 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75417 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75418 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75419 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75420 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75421 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75422 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75423 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75424 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75425 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75426 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75427 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75428 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75429 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75430 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75431 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75432 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75433 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75434 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75435 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75436 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
75437 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75438 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75439 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75440 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75441 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75442 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75443 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75444 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75445 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
75446 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75447 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75448 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75449 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
75450 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75451 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
75452 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
75453 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75454 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75455 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
75456 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
75457 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75458 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75459 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75460 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
75461 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75462 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75463 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75464 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75465 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
75466 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
75467 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75468 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75469 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75470 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
75471 * sysdeps/ieee754/k_standard.c: Likewise.
75472 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75473 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75474 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75475 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75476 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75477 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75478 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75479 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75480 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75481 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75482 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75483 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75484 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75485 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75486 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75487 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75488 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
75489 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75490 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75491 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
75492 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
75493 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
75494 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75495 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75496 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
75497 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
75498 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75499 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75500 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75501 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75502 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
75503 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75504 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75505 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75506 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
75507 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75508 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75509 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
75510 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
75511 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75512 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
75513 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
75514 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
75515 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75516 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
75517 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
75518 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75519 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75520 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75521 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75522 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75523 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
75524 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75525 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
75526 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75527 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75528 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
75529 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
75530 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75531 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75532 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75533 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
75534 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75535 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75536 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75537 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75538 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75539 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75540 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75541 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75542 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75543 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75544 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75545 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75546 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75547 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75548 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
75549 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75550 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75551 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
75552 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
75553 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
75554 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75555 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75556 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
75557 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75558 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75559 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
75560 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75561 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75562 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
75563 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75564 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
75565 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
75566 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75567 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75568 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
75569 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
75570 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
75571 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
75572 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75573 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75574 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75575 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75576 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
75577 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75578 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75579 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
75580 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
75581 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75582 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75583 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75584 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75585 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75586 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75587 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75588 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75589 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75590 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75591 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75592 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75593 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75594 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75595 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75596 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75597 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
75598 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75599 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75600 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75601 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75602 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75603 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75604 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75605 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
75606 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75607 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75608 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
75609 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
75610 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75611 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
75612 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
75613 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75614 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
75615 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
75616 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75617 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75618 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75619 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75620 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75621 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
75622 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75623 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75624 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75625 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75626 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
75627 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
75628 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75629 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75630 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75631 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
75632 * sysdeps/ieee754/s_lib_version.c: Likewise.
75633 * sysdeps/ieee754/s_matherr.c: Likewise.
75634 * sysdeps/ieee754/s_signgam.c: Likewise.
75635 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75636 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75637 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
75638 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
75639 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
75640 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75641 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
75642 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
75643 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
75644 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
75645 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
75646 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
75647 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75648 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75649 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
75650 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
75651 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
75652 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
75653 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
75654 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75656
75657 2012-03-09 Joseph Myers <joseph@codesourcery.com>
75658
75659 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
75660 * sunrpc/rpc_main.c: Likewise.
75661 * sunrpc/rpc_svcout.c: Likewise.
75662
75663 2012-03-09 David S. Miller <davem@davemloft.net>
75664
75665 * include/math_private.h: New file.
75666
75667 2012-03-09 Joseph Myers <joseph@codesourcery.com>
75668
75669 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
75670 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
75671 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
75672 from <bits/socket_type.h>.
75673 (enum __socket_type): Don't define here.
75674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
75675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75676 bits/socket_type.h.
75677
75678 [BZ #13566]
75679 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
75680 checking __USE_GNU.
75681
75682 * Makerules ($(inst_includedir)/%.h): New rule.
75683 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
75684 (install-others): Remove variable setting.
75685 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
75686
75687 2012-03-08 Richard Henderson <rth@twiddle.net>
75688
75689 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
75690 from macro to inline function; merge with the
75691 !__LIBC_INTERNAL_MATH_INLINES version.
75692 (__ieee754_sqrtf): Likewise.
75693
75694 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
75695 to inline function.
75696 (__rintf, __floor, __floorf): Likewise.
75697
75698 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
75699 macro to inline function.
75700 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
75701
75702 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
75703 not <math/math_private.h>.
75704
75705 2012-03-08 David S. Miller <davem@davemloft.net>
75706
75707 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
75708 copyright year.
75709 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
75710
75711 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
75712
75713 * resolv/gai_misc.c (handle_requests): Fix struct timespec
75714 normalization.
75715 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
75716 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
75717
75718 2012-03-08 Ulrich Drepper <drepper@gmail.com>
75719
75720 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
75721 be defined individually, they must be defined as a block. Define
75722 S for printing a string instead of hidint the different by using a
75723 macro for adding the 'l'.
75724 * stdio-common/tst-fphex-wide.c: Adjust.
75725
75726 2012-03-07 Marek Polacek <polacek@redhat.com>
75727
75728 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
75729
75730 2012-03-08 Marek Polacek <polacek@redhat.com>
75731
75732 [BZ #13806]
75733 * stdio-common/Makefile (tests): Add tst-fphex-wide.
75734 * stdio-common/tst-fphex.c: Define a few macros to make the
75735 test reusable. Use them.
75736 * stdio-common/tst-fphex-wide.c: New file.
75737
75738 2012-03-08 Joseph Myers <joseph@codesourcery.com>
75739
75740 [BZ #6911]
75741 * manual/macros.texi (gnusystems): New macro.
75742 (nongnusystems): Likewise.
75743 (gnulinuxhurdsystems): Likewise.
75744 (gnuhurdsystems): Likewise..
75745 (gnulinuxsystems): Likewise.
75746 * manual/charset.texi: Use new macros or @theglibc{} to refer to
75747 variants of the GNU system, not "GNU system".
75748 * manual/conf.texi: Likewise.
75749 * manual/errno.texi: Likewise. Update example of errno macro
75750 expansion.
75751 * manual/filesys.texi: Likewise.
75752 (getumask): Document as specific to GNU/Hurd.
75753 * manual/install.texi: Likewise. Reword some references to
75754 GNU/Linux.
75755 * manual/intro.texi: Likewise.
75756 * manual/io.texi: Likewise.
75757 (File Name Portability): Detail which constraints are inapplicable
75758 to all GNU systems and which are only inapplicable to GNU/Hurd.
75759 * manual/job.texi: Likewise.
75760 * manual/llio.texi: Likewise.
75761 (O_NOCTTY): Document as present on GNU/Linux.
75762 * manual/maint.texi: Likewise.
75763 * manual/memory.texi: Likewise.
75764 * manual/pattern.texi: Likewise.
75765 * manual/pipe.texi: Likewise.
75766 * manual/process.texi: Likewise.
75767 * manual/resource.texi: Likewise.
75768 (RUSAGE_CHILDREN): Remove statement about specifying a particular
75769 child on GNU/Hurd.
75770 * manual/setjmp.texi: Likewise.
75771 * manual/signal.texi: Likewise.
75772 * manual/startup.texi: Likewise.
75773 * manual/stdio.texi: Likewise.
75774 * manual/terminal.texi: Likewise.
75775 (ONLCR): Document as POSIX.
75776 (OXTABS): Document availability on GNU/Linux as XTABS.
75777 (ONOEOT): Document availability separately from other bits.
75778 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
75779 * manual/time.texi: Likewise.
75780 * manual/users.texi: Likewise.
75781 * INSTALL: Regenerated.
75782 * sysdeps/gnu/errlist.c: Regenerated.
75783
75784 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
75785 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
75786 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
75787 puts.
75788 * configure: Regenerated.
75789
75790 2012-03-07 Joseph Myers <joseph@codesourcery.com>
75791
75792 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
75793 default includes instead of AC_HEADER_CHECK.
75794 * sysdeps/i386/configure: Regenerated.
75795
75796 [BZ #10716]
75797 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
75798 * math/s_cacoshf.c (__cacoshf): Likewise.
75799 * math/s_cacoshl.c (__cacoshl): Likewise.
75800 * math/s_casinh.c (__casinh): Set signs of result from argument.
75801 * math/s_casinhf.c (__casinhf): Likewise.
75802 * math/s_casinhl.c (__casinhl): Likewise.
75803 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
75804 (casinh_test): Add more tests.
75805 * sysdeps/i386/fpu/libm-test-ulps: Update.
75806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75807
75808 2012-03-07 Ulrich Drepper <drepper@gmail.com>
75809
75810 * po/zh_TW.po: Update from translation team.
75811
75812 * login/Makefile (distribute): Remove variable.
75813 * catgets/Makefile: Likewise.
75814 * mach/Makefile: Likewise.
75815 * malloc/Makefile: Likewise.
75816 * misc/Makefile: Likewise.
75817 * iconv/Makefile: Likewise.
75818 * nscd/Makefile: Likewise.
75819 * hurd/Makefile: Likewise.
75820 * manual/Makefile: Likewise.
75821 * locale/Makefile: Likewise.
75822 * intl/Makefile: Likewise.
75823 * conform/Makefile: Likewise.
75824 * nss/Makefile: Likewise.
75825 * time/Makefile: Likewise.
75826 * soft-fp/Makefile: Likewise.
75827 * dirent/Makefile: Likewise.
75828 * gmon/Makefile: Likewise.
75829 * po/Makefile: Likewise.
75830 * rt/Makefile: Likewise.
75831 * socket/Makefile: Likewise.
75832 * math/Makefile: Likewise.
75833 * signal/Makefile: Likewise.
75834 * debug/Makefile: Likewise.
75835 * elf/Makefile: Likewise.
75836 * timezone/Makefile: Likewise.
75837 * stdlib/Makefile: Likewise.
75838 * iconvdata/Makefile: Likewise.
75839 * sunrpc/Makefile: Likewise.
75840 * io/Makefile: Likewise.
75841 * argp/Makefile: Likewise.
75842 * inet/Makefile: Likewise.
75843 * hesiod/Makefile: Likewise.
75844 * grp/Makefile: Likewise.
75845 * csu/Makefile: Likewise.
75846 * wctype/Makefile: Likewise.
75847 * crypt/Makefile: Likewise.
75848 * libio/Makefile: Likewise.
75849 * string/Makefile: Likewise.
75850 * nis/Makefile: Likewise.
75851 * resolv/Makefile: Likewise.
75852 * stdio-common/Makefile: Likewise.
75853 * wcsmbs/Makefile: Likewise.
75854 * dlfcn/Makefile: Likewise.
75855 * posix/Makefile: Likewise.
75856
75857 [BZ #6959]
75858 * timezone/Makefile: Don't install timezone files, just the programs
75859 and scripts.
75860
75861 2012-03-06 Ulrich Drepper <drepper@gmail.com>
75862
75863 * nss/databases.def: Add missing gshadow entry.
75864
75865 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
75866
75867 2012-03-06 Marek Polacek <polacek@redhat.com>
75868
75869 [BZ #13726]
75870 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
75871 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
75872 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
75873 * stdio-common/tst-long-dbl-fphex.c: New file.
75874
75875 2012-03-06 David S. Miller <davem@davemloft.net>
75876
75877 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75878 (set_obp_int): New function.
75879 (get_obp_int): New function.
75880 (__get_clockfreq_via_dev_openprom): Likewise.
75881 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
75882 Avoid unused variable warnings on 'val' and use builtin_expect.
75883 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
75884 __builtin_expect.
75885 (INLINE_CLONE_SYSCALL): Likewise.
75886
75887 2012-03-05 David S. Miller <davem@davemloft.net>
75888
75889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75890
75891 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
75892
75893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75894
75895 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
75896 only for |x| >= 40.
75897 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75898
75899 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
75900
75901 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
75902 Replace gettimeofday with __vdso_gettimeofday.
75903
75904 * sysdeps/unix/sysv/linux/x86_64/init-first.c
75905 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
75906 __vdso_clock_gettime and __vdso_getcpu.
75907
75908 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
75909 time with __vdso_time.
75910
75911 2012-03-05 Joseph Myers <joseph@codesourcery.com>
75912
75913 * manual/lang.texi (size_t): Note types to which size_t may be
75914 equivalent with the GNU C Library, but do not describe when
75915 differences between them are significant.
75916
75917 2012-03-05 Andreas Jaeger <aj@suse.de>
75918
75919 * sysdeps/i386/fpu/libm-test-ulps: Update.
75920
75921 2012-03-05 Joseph Myers <joseph@codesourcery.com>
75922
75923 [BZ #3976]
75924 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
75925 (__ieee754_pow): Save and restore rounding mode and use
75926 round-to-nearest for main computations.
75927 * math/libm-test.inc (pow_test_tonearest): New function.
75928 (pow_test_towardzero): Likewise.
75929 (pow_test_downward): Likewise.
75930 (pow_test_upward): Likewise.
75931 (main): Call the new functions.
75932 * sysdeps/i386/fpu/libm-test-ulps: Update.
75933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75934
75935 [BZ #3976]
75936 * math/libm-test.inc (cosh_test_tonearest): New function.
75937 (cosh_test_towardzero): Likewise.
75938 (cosh_test_downward): Likewise.
75939 (cosh_test_upward): Likewise.
75940 (sinh_test_tonearest): Likewise.
75941 (sinh_test_towardzero): Likewise.
75942 (sinh_test_downward): Likewise.
75943 (sinh_test_upward): Likewise.
75944 (main): Call the new functions.
75945 * sysdeps/i386/fpu/libm-test-ulps: Update.
75946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75947
75948 2012-03-05 Tom de Vries <tom@codesourcery.com>
75949
75950 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
75951 default stack guard is set in last bytes.
75952 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
75953
75954 2012-03-05 Kees Cook <keescook@chromium.org>
75955
75956 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
75957
75958 [BZ #13656]
75959 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
75960 possibly allocate from heap instead of stack.
75961 * stdio-common/bug-vfprintf-nargs.c: New file.
75962 * stdio-common/Makefile (tests): Add nargs overflow test.
75963
75964 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
75965
75966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75967
75968 2012-03-03 Marek Polacek <polacek@redhat.com>
75969
75970 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
75971 * math/math_private.h: Likewise.
75972 * stdlib/tst-strtod.c: Likewise.
75973 * sysdeps/i386/i486/bits/atomic.h: Likewise.
75974 * sysdeps/x86_64/bits/atomic.h: Likewise.
75975
75976 2012-03-02 David S. Miller <davem@davemloft.net>
75977
75978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
75979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
75980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
75981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
75982 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
75983 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
75984 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
75985 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
75986
75987 2012-03-02 Roland McGrath <roland@hack.frob.com>
75988
75989 [BZ #13792]
75990 * manual/examples/README: New file, says the example source files
75991 can be used under GPL>=2.
75992 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
75993 line containing just "*/".
75994 * manual/examples/add.c: Add copyright header (GPL>=2).
75995 * manual/examples/argp-ex1.c: Likewise.
75996 * manual/examples/argp-ex2.c: Likewise.
75997 * manual/examples/argp-ex3.c: Likewise.
75998 * manual/examples/argp-ex4.c: Likewise.
75999 * manual/examples/atexit.c: Likewise.
76000 * manual/examples/db.c: Likewise.
76001 * manual/examples/dir.c: Likewise.
76002 * manual/examples/dir2.c: Likewise.
76003 * manual/examples/execinfo.c: Likewise.
76004 * manual/examples/filecli.c: Likewise.
76005 * manual/examples/filesrv.c: Likewise.
76006 * manual/examples/fmtmsgexpl.c: Likewise.
76007 * manual/examples/genpass.c: Likewise.
76008 * manual/examples/inetcli.c: Likewise.
76009 * manual/examples/inetsrv.c: Likewise.
76010 * manual/examples/isockad.c: Likewise.
76011 * manual/examples/longopt.c: Likewise.
76012 * manual/examples/memopen.c: Likewise.
76013 * manual/examples/memstrm.c: Likewise.
76014 * manual/examples/mkfsock.c: Likewise.
76015 * manual/examples/mkisock.c: Likewise.
76016 * manual/examples/mygetpass.c: Likewise.
76017 * manual/examples/pipe.c: Likewise.
76018 * manual/examples/popen.c: Likewise.
76019 * manual/examples/rprintf.c: Likewise.
76020 * manual/examples/search.c: Likewise.
76021 * manual/examples/select.c: Likewise.
76022 * manual/examples/setjmp.c: Likewise.
76023 * manual/examples/sigh1.c: Likewise.
76024 * manual/examples/sigusr.c: Likewise.
76025 * manual/examples/stpcpy.c: Likewise.
76026 * manual/examples/strdupa.c: Likewise.
76027 * manual/examples/strftim.c: Likewise.
76028 * manual/examples/strncat.c: Likewise.
76029 * manual/examples/subopt.c: Likewise.
76030 * manual/examples/swapcontext.c: Likewise.
76031 * manual/examples/termios.c: Likewise.
76032 * manual/examples/testopt.c: Likewise.
76033 * manual/examples/testpass.c: Likewise.
76034 * manual/examples/timeval_subtract.c: Likewise.
76035
76036 [BZ #13792]
76037 * manual/time.texi (Elapsed Time): Move timeval_subtract example
76038 function to ...
76039 * manual/timeval_subtract.c.texi: ... here, new file.
76040
76041 2012-03-02 David S. Miller <davem@davemloft.net>
76042
76043 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76044
76045 2012-03-02 Joseph Myers <joseph@codesourcery.com>
76046
76047 [BZ #3976]
76048 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76049 (__sin): Save and restore rounding mode and use round-to-nearest
76050 for all computations.
76051 (__cos): Save and restore rounding mode and use round-to-nearest
76052 for all computations.
76053 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76054 <fenv.h>.
76055 (tan): Save and restore rounding mode and use round-to-nearest for
76056 all computations.
76057 * math/libm-test.inc (cos_test_tonearest): New function.
76058 (cos_test_towardzero): Likewise.
76059 (cos_test_downward): Likewise.
76060 (cos_test_upward): Likewise.
76061 (sin_test_tonearest): Likewise.
76062 (sin_test_towardzero): Likewise.
76063 (sin_test_downward): Likewise.
76064 (sin_test_upward): Likewise.
76065 (tan_test_tonearest): Likewise.
76066 (tan_test_towardzero): Likewise.
76067 (tan_test_downward): Likewise.
76068 (tan_test_upward): Likewise.
76069 (main): Call the new functions.
76070 * sysdeps/i386/fpu/libm-test-ulps: Update.
76071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76072
76073 [BZ #10135]
76074 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76075 small n, then large n, before computing and testing k+n.
76076 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76077 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76078 Likewise.
76079 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76080 Likewise.
76081 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76082 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76083 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76084 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76085 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76086 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76087 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76088 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76089 * math/libm-test.inc (scalbn_test): Add more tests.
76090 (scalbln_test): Likewise.
76091
76092 * manual/filesys.texi (mode_t): Describe constraints on size and
76093 signedness, not exact equivalence to a particular type.
76094 (ino_t): Likewise.
76095 (ino64_t): Likewise.
76096 (dev_t): Likewise.
76097 (nlink_t): Likewise.
76098 (blkcnt_t): Likewise.
76099 (blkcnt64_t): Likewise.
76100 * manual/llio.texi (off_t): Likewise.
76101
76102 [BZ #3976]
76103 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76104 (__ieee754_exp): Save and restore rounding mode and use
76105 round-to-nearest for all computations.
76106 * math/libm-test.inc (exp_test_tonearest): New function.
76107 (exp_test_towardzero): Likewise.
76108 (exp_test_downward): Likewise.
76109 (exp_test_upward): Likewise.
76110 (main): Call the new functions.
76111 * sysdeps/i386/fpu/libm-test-ulps: Update.
76112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76113
76114 2012-03-01 Chris Demetriou <cgd@google.com>
76115
76116 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76117 have predictable order.
76118
76119 2012-03-01 David S. Miller <davem@davemloft.net>
76120
76121 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76122
76123 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76124 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76125 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76126 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76127
76128 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76129 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76130 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76132 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76133 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76134 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76135 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76136 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76137
76138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76139
76140 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76141 * sysdeps/sparc/fpu/libm-test-ulps: to here.
76142 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76143
76144 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76145 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76146 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76147 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76148 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76151 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76152 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76153 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76154 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76155 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76156 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76157 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76158 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76160 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76161 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76162 * sysdeps/sparc/elf/configure: Regenerated.
76163
76164 2012-03-01 Joseph Myers <joseph@codesourcery.com>
76165
76166 * configure.in (AS, LD): Require binutils 2.20 or later.
76167 * configure: Regenerated.
76168 * manual/install.texi (Tools for Compilation): Give binutils 2.20
76169 as required minimum version.
76170 * INSTALL: Regenerated.
76171
76172 [BZ #2541]
76173 [BZ #4108]
76174 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76175 before squaring exponent.
76176 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76177 bottom long double and 27 bits of top long double before squaring
76178 exponent.
76179 * math/libm-test.inc (erfc_test): Add more tests.
76180 * sysdeps/i386/fpu/libm-test-ulps: Update.
76181 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76183
76184 2012-03-01 Kai Tietz <ktietz@redhat.com>
76185
76186 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76187 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76188 containing bit-fields.
76189 * soft-fp/extended.h (_FP_UNION_E): Likewise.
76190 * soft-fp/single.h (_FP_UNION_S): Likewise.
76191 * soft-fp/double.h (_FP_UNION_D): Likewise.
76192
76193 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76194
76195 [BZ #13786]
76196 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
76197 not include ../strcmp.S.
76198 [USE_AS_STRNCASECMP_L]: Likewise.
76199 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
76200 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
76201 * sysdeps/i386/i686/multiarch/strncase_l-c.c
76202 (__strncasecmp_l_ia32): Define as alias to
76203 __strncasecmp_l_nonascii.
76204
76205 [BZ #5794]
76206 * math/libm-test.inc (expm1_test): Add test for bug 5794.
76207 * sysdeps/i386/fpu/libm-test-ulps: Update.
76208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76209
76210 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
76211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76212
76213 2012-02-29 Jeff Law <law@redhat.com>
76214
76215 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
76216 out of bounds read.
76217
76218 2012-02-29 Marek Polacek <polacek@redhat.com>
76219
76220 [BZ #13706]
76221 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
76222 * elf/Makefile: Add rules to run tst-unused-dep.out.
76223
76224 2012-02-28 David S. Miller <davem@davemloft.net>
76225
76226 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
76227 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
76228 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
76229 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
76230 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
76231 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
76232
76233 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76234
76235 * math/libm-test.inc (llround_test): Move one test from
76236 lround_test. Use TEST_f_L in moved test.
76237 (lround_test): Move misplaced test to llround_test. Add testcase
76238 from bug 2561.
76239
76240 2012-02-28 Ulrich Drepper <drepper@gmail.com>
76241
76242 * sysdeps/x86_64/fpu/e_expf.S: New file.
76243 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
76244
76245 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
76246
76247 [BZ #13637]
76248 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
76249 of remain_len that may cause incomplete multi-byte character and
76250 false match.
76251 * posix/bug-regex33.c: New file.
76252 * posix/Makefile (tests): Add bug-regex33.
76253
76254 2012-02-28 Joseph Myers <joseph@codesourcery.com>
76255
76256 * manual/macros.texi: New file.
76257 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
76258 * manual/libc.texinfo: Include macros.texi.
76259 * manual/creatute.texi: Likewise.
76260 * manual/install.texi: Likewise.
76261 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
76262 @glibcadj{} in references to the GNU C Library.
76263 * manual/charset.texi: Likewise.
76264 * manual/conf.texi: Likewise.
76265 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
76266 when not using those macros.
76267 * manual/creature.texi: Likewise.
76268 * manual/crypt.texi: Likewise.
76269 * manual/errno.texi: Likewise.
76270 * manual/filesys.texi: Likewise.
76271 * manual/header.texi: Likewise.
76272 * manual/install.texi: Likewise.
76273 * manual/intro.texi: Likewise.
76274 * manual/io.texi: Likewise.
76275 * manual/job.texi: Likewise.
76276 * manual/lang.texi: Likewise.
76277 * manual/libc.texiinfo: Likewise.
76278 * manual/llio.texi: Likewise.
76279 * manual/locale.texi: Likewise.
76280 * manual/maint.texi: Likewise.
76281 * manual/math.texi: Likewise.
76282 * manual/memory.texi: Likewise.
76283 * manual/message.texi: Likewise.
76284 * manual/nss.texi: Likewise.
76285 * manual/pattern.texi: Likewise.
76286 * manual/process.texi: Likewise.
76287 * manual/resource.texi: Likewise.
76288 * manual/search.texi: Likewise.
76289 * manual/setjmp.texi: Likewise.
76290 * manual/signal.texi: Likewise.
76291 * manual/socket.texi: Likewise.
76292 * manual/startup.texi: Likewise.
76293 * manual/stdio.texi: Likewise.
76294 * manual/string.texi: Likewise.
76295 * manual/sysinfo.texi: Likewise.
76296 * manual/syslog.texi: Likewise.
76297 * manual/terminal.texi: Likewise.
76298 * manual/time.texi: Likewise.
76299 * manual/users.texi: Likewise.
76300 * INSTALL: Regenerated.
76301 * NOTES: Regenerated.
76302 * sysdeps/gnu/errlist.c: Regenerated.
76303
76304 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
76305
76306 * include/dirent.h: Include <dirstream.h> before
76307 <dirent/dirent.h>.
76308
76309 2012-02-28 David S. Miller <davem@davemloft.net>
76310
76311 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
76312 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
76313 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
76314 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
76315
76316 2012-02-27 David S. Miller <davem@davemloft.net>
76317
76318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
76319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
76320 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
76321 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
76322
76323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
76324 frame pointer instead of stack pointer relative arg slot.
76325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76326 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76327 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76328
76329 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
76330
76331 [BZ #3992]
76332 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
76333
76334 2012-02-27 David S. Miller <davem@davemloft.net>
76335
76336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
76337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
76340 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76341 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76342 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
76343 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
76344
76345 2012-02-27 Joseph Myers <joseph@codesourcery.com>
76346
76347 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
76348 later. Allow versions 5-9.
76349 * configure: Regenerated.
76350 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
76351 required minimum version and 4.6 as recommended version. Do not
76352 mention bugs in GCC 2.7 and 2.8.
76353 * INSTALL: Regenerated.
76354
76355 2012-02-27 David S. Miller <davem@davemloft.net>
76356
76357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
76358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
76359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
76360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
76361 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
76362 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
76363 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
76364 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
76365
76366 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
76367 manipulate bits before adding and subtracting TWO112[sx].
76368 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
76369
76370 2012-02-27 Roland McGrath <roland@hack.frob.com>
76371
76372 [BZ #13775]
76373 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
76374 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
76375 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
76376 being in POSIX, because they are in 1003.1-2008.
76377
76378 * rt/tst-aio.c: Include <fcntl.h>.
76379 * rt/tst-aio7.c: Likewise.
76380 * rt/tst-aio64.c: Likewise.
76381
76382 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
76383
76384 2012-02-27 Joseph Myers <joseph@codesourcery.com>
76385
76386 * manual/install.texi (--with-headers): Describe headers as
76387 interface headers, not private headers.
76388 (Specific advice for GNU/Linux systems): Describe use of headers
76389 from "make headers_install", not private headers from older
76390 kernels.
76391 * INSTALL: Regenerated.
76392 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
76393 Change to 2.6.19.
76394 * sysdeps/unix/sysv/linux/configure: Regenerated.
76395
76396 * manual/llio.texi (fclean): Remove documentation.
76397
76398 * manual/Makefile (libc-texi-generated): New variable. Include
76399 version.texi.
76400 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
76401 $(libc-texi-generated), not duplicated list of files.
76402 (version.texi, stamp-version): New rules.
76403 (realclean): Remove $(libc-texi-generated), not individual files
76404 from that list. Do not remove dir-add.texinfo.
76405 * manual/libc.texinfo: Comment out uses of edition numbers and
76406 references to printed manual. Remove last-updated dates.
76407 (EDITION): Comment out.
76408 (ISBN): Likewise.
76409 (VERSION, UPDATED): Remove.
76410 (version.texi): Include.
76411
76412 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
76413
76414 * sysdeps/posix/spawni.c: Include <signal.h>.
76415 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
76416 * sysdeps/pthread/aio_fsync.c: Likewise.
76417
76418 2012-02-26 Ulrich Drepper <drepper@gmail.com>
76419
76420 * conform/Makefile (tests): Run only when not cross-compiling and
76421 when fast-check is not defined.
76422
76423 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
76424 * conform/data/limits.h-data: Fixes for POSIX2008.
76425 * conform/run-conformtest.sh: Run all tests.
76426 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
76427 headers.
76428 * include/bits/dlfcn.h: Likewise.
76429 * include/langinfo.h: Likewise.
76430 * include/monetary.h: Likewise.
76431 * include/sys/poll.h: Likewise.
76432
76433 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
76434 for __USE_GNU.
76435 * posix/spawn.h: Define __need_sigset_t.
76436 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
76437 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
76438 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
76439 to get sigevent_t only.
76440 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
76441 only for __USE_GNU.
76442 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76443 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76444 process_vm_writev only for __USE_GNU.
76445 * termios/termios.h: Declare tcgetsid also for POSIX2008.
76446
76447 * conform/Makefile: For now ignore errors from run-conformtest.
76448 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
76449 POSIX to avoid namespace pollution. Don't prepend headers.
76450 * conform/data/aio.h-data: Fixes for POSIX testing.
76451 * conform/data/fcntl.h-data: Likewise.
76452 * conform/data/glob.h-data: Likewise.
76453 * conform/data/grp.h-data: Likewise.
76454 * conform/data/pthread.h-data: Likewise.
76455 * conform/data/pwd.h-data: Likewise.
76456 * conform/data/signal.h-data: Likewise.
76457 * conform/data/spawn.h-data: Likewise.
76458 * conform/data/stdio.h-data: Likewise.
76459 * conform/data/stdlib.h-data: Likewise.
76460 * conform/data/stropts.h-data: Likewise.
76461 * conform/data/sys/mman.h-data: Likewise.
76462 * conform/data/sys/stat.h-data: Likewise.
76463 * conform/data/sys/types.h-data: Likewise.
76464 * conform/data/sys/wait.h-data: Likewise.
76465 * conform/data/time.h-data: Likewise.
76466 * conform/data/unistd.h-data: Likewise.
76467 * conform/data/utime.h-data: Likewise.
76468
76469 * io/sys/stat.h: fchmod was always in POSIX.
76470 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
76471 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
76472 * rt/aio.h: Define __need_timespec before including <time.h>.
76473 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
76474 struct. Add forward declaration of pthread_attr_t and use it in
76475 sigevent.
76476 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76477 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76478 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
76479 always remove CLK_TCK definition.
76480
76481 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
76482
76483 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
76484
76485 2012-02-25 Ulrich Drepper <drepper@gmail.com>
76486
76487 * conform/run-conformtest.sh: New file.
76488 * conform/Makefile: Run run-conformtest for tests.
76489 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
76490 support.
76491
76492 * conform/data/uchar.h-data: New file.
76493 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
76494 * conform/data/arpa/inet.h-data: Likewise.
76495 * conform/data/assert.h-data: Likewise.
76496 * conform/data/complex.h-data: Likewise.
76497 * conform/data/cpio.h-data: Likewise.
76498 * conform/data/ctype.h-data: Likewise.
76499 * conform/data/dirent.h-data: Likewise.
76500 * conform/data/dlfcn.h-data: Likewise.
76501 * conform/data/errno.h-data: Likewise.
76502 * conform/data/fcntl.h-data: Likewise.
76503 * conform/data/float.h-data: Likewise.
76504 * conform/data/fmtmsg.h-data: Likewise.
76505 * conform/data/fnmatch.h-data: Likewise.
76506 * conform/data/ftw.h-data: Likewise.
76507 * conform/data/glob.h-data: Likewise.
76508 * conform/data/grp.h-data: Likewise.
76509 * conform/data/iconv.h-data: Likewise.
76510 * conform/data/inttypes.h-data: Likewise.
76511 * conform/data/langinfo.h-data: Likewise.
76512 * conform/data/libgen.h-data: Likewise.
76513 * conform/data/limits.h-data: Likewise.
76514 * conform/data/locale.h-data: Likewise.
76515 * conform/data/math.h-data: Likewise.
76516 * conform/data/monetary.h-data: Likewise.
76517 * conform/data/mqueue.h-data: Likewise.
76518 * conform/data/ndbm.h-data: Likewise.
76519 * conform/data/net/if.h-data: Likewise.
76520 * conform/data/netdb.h-data: Likewise.
76521 * conform/data/netinet/in.h-data: Likewise.
76522 * conform/data/nl_types.h-data: Likewise.
76523 * conform/data/poll.h-data: Likewise.
76524 * conform/data/pthread.h-data: Likewise.
76525 * conform/data/pwd.h-data: Likewise.
76526 * conform/data/regex.h-data: Likewise.
76527 * conform/data/sched.h-data: Likewise.
76528 * conform/data/search.h-data: Likewise.
76529 * conform/data/semaphore.h-data: Likewise.
76530 * conform/data/setjmp.h-data: Likewise.
76531 * conform/data/signal.h-data: Likewise.
76532 * conform/data/spawn.h-data: Likewise.
76533 * conform/data/stdarg.h-data: Likewise.
76534 * conform/data/stdio.h-data: Likewise.
76535 * conform/data/stdlib.h-data: Likewise.
76536 * conform/data/string.h-data: Likewise.
76537 * conform/data/strings.h-data: Likewise.
76538 * conform/data/stropts.h-data: Likewise.
76539 * conform/data/sys/ipc.h-data: Likewise.
76540 * conform/data/sys/mman.h-data: Likewise.
76541 * conform/data/sys/msg.h-data: Likewise.
76542 * conform/data/sys/resource.h-data: Likewise.
76543 * conform/data/sys/select.h-data: Likewise.
76544 * conform/data/sys/sem.h-data: Likewise.
76545 * conform/data/sys/shm.h-data: Likewise.
76546 * conform/data/sys/socket.h-data: Likewise.
76547 * conform/data/sys/stat.h-data: Likewise.
76548 * conform/data/sys/statvfs.h-data: Likewise.
76549 * conform/data/sys/time.h-data: Likewise.
76550 * conform/data/sys/timeb.h-data: Likewise.
76551 * conform/data/sys/times.h-data: Likewise.
76552 * conform/data/sys/types.h-data: Likewise.
76553 * conform/data/sys/uio.h-data: Likewise.
76554 * conform/data/sys/un.h-data: Likewise.
76555 * conform/data/sys/utsname.h-data: Likewise.
76556 * conform/data/sys/wait.h-data: Likewise.
76557 * conform/data/syslog.h-data: Likewise.
76558 * conform/data/tar.h-data: Likewise.
76559 * conform/data/termios.h-data: Likewise.
76560 * conform/data/utime.h-data: Likewise.
76561 * conform/data/utmpx.h-data: Likewise.
76562 * conform/data/varargs.h-data: Likewise.
76563 * conform/data/wchar.h-data: Likewise.
76564 * conform/data/wctype.h-data: Likewise.
76565 * conform/data/wordexp.h-data: Likewise.
76566
76567 * include/stropts.h: New file.
76568 * include/uchar.h: New file.
76569 * include/aio.h: Changes to allow conformtest.pl to use the headers.
76570 * include/assert.h: Likewise.
76571 * include/ctype.h: Likewise.
76572 * include/dirent.h: Likewise.
76573 * include/dlfcn.h: Likewise.
76574 * include/fcntl.h: Likewise.
76575 * include/fnmatch.h: Likewise.
76576 * include/glob.h: Likewise.
76577 * include/grp.h: Likewise.
76578 * include/libio.h: Likewise.
76579 * include/locale.h: Likewise.
76580 * include/math.h: Likewise.
76581 * include/net/if.h: Likewise.
76582 * include/netdb.h: Likewise.
76583 * include/netinet/in.h: Likewise.
76584 * include/pthread.h: Likewise.
76585 * include/pwd.h: Likewise.
76586 * include/regex.h: Likewise.
76587 * include/sched.h: Likewise.
76588 * include/search.h: Likewise.
76589 * include/setjmp.h: Likewise.
76590 * include/signal.h: Likewise.
76591 * include/stdio.h: Likewise.
76592 * include/stdlib.h: Likewise.
76593 * include/string.h: Likewise.
76594 * include/sys/cdefs.h: Likewise.
76595 * include/sys/mman.h: Likewise.
76596 * include/sys/msg.h: Likewise.
76597 * include/sys/resource.h: Likewise.
76598 * include/sys/select.h: Likewise.
76599 * include/sys/socket.h: Likewise.
76600 * include/sys/stat.h: Likewise.
76601 * include/sys/statvfs.h: Likewise.
76602 * include/sys/time.h: Likewise.
76603 * include/sys/times.h: Likewise.
76604 * include/sys/uio.h: Likewise.
76605 * include/sys/utsname.h: Likewise.
76606 * include/sys/wait.h: Likewise.
76607 * include/termios.h: Likewise.
76608 * include/time.h: Likewise.
76609 * include/ulimit.h: Likewise.
76610 * include/unistd.h: Likewise.
76611 * include/utime.h: Likewise.
76612 * include/wchar.h: Likewise.
76613 * include/wctype.h: Likewise.
76614 * include/wordexp.h: Likewise.
76615
76616 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
76617
76618 * time/time.h: TIME_UTC must be a macro.
76619 Make timespec_get available for ISO C11 only as well.
76620
76621 2012-02-24 Ulrich Drepper <drepper@gmail.com>
76622
76623 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
76624 Reported by Peng Haitao <penght@cn.fujitsu.com>.
76625
76626 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76627
76628 * configure.in: Use -o not -a in test for unsupported multi-arch.
76629
76630 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76631
76632 * manual/texinfo.tex: Update to version 2012-01-19.16.
76633
76634 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76635
76636 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
76637
76638 2012-02-24 Roland McGrath <roland@hack.frob.com>
76639
76640 [BZ #13738]
76641 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
76642 * manual/fdl-1.3.texi: New file.
76643 * manual/fdl-1.1.texi: File removed.
76644
76645 [BZ #13738]
76646 * manual/libc.texinfo (FDL_VERSION): New @set.
76647 Use it for mention of FDL in cover text.
76648 (Documentation License): Use it in @include file name.
76649
76650 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76651 Roland McGrath <roland@hack.frob.com>
76652
76653 [BZ #5461]
76654 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
76655 (not LONG_LONG_MAX and LONG_LONG_MIN.
76656 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
76657 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
76658 name.
76659 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
76660
76661 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76662
76663 [BZ #2547]
76664 [BZ #11365]
76665 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
76666 manipulate bits before adding and subtracting TWO23[sx].
76667 * math/libm-test.inc (nearbyint_test): Add more tests.
76668
76669 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76670
76671 [BZ #2548]
76672 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
76673 bits before adding and subtracting TWO23[sx].
76674 * math/libm-test.inc (rint_test): Add more tests.
76675 (rint_test_tonearest): Likewise.
76676 (rint_test_towardzero): Likewise.
76677 (rint_test_downward): Likewise.
76678 (rint_test_upward: Likewise.
76679
76680 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76681
76682 [BZ #10110]
76683 * include/stdc-predef.h: New file. Extracted from features.h.
76684 * include/features.h: Include stdc-predef.h.
76685 * Makefile (headers): Add stdc-predef.h.
76686 * CONFORMANCE (Compiler limitations): Update.
76687
76688 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76689
76690 * manual/libc.texinfo (VERSION, UPDATED): Revert.
76691
76692 2012-02-21 David S. Miller <davem@davemloft.net>
76693
76694 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
76695 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76696
76697 2012-02-20 David S. Miller <davem@davemloft.net>
76698
76699 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
76700 using a normal save/restore sequence, rather than allocating a
76701 dummy stack frame just to store a frame pointer and restore.
76702 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76703
76704 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76705
76706 * manual/install.texi: Fix stray word in line-wrapped comment.
76707
76708 2012-02-20 David S. Miller <davem@davemloft.net>
76709
76710 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
76711 both binutils and gcc support GOTDATA.
76712
76713 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
76714 "rd %pc" in the PIC register setup sequences.
76715
76716 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
76717 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
76718 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76719 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
76720 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76721 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76722 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76723 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
76725 (SYSCALL_ERROR_HANDLER): Likewise.
76726 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76727 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76728 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
76729 (SYSCALL_ERROR_HANDLER): Likewise.
76730
76731 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
76732 (HAVE_GCC_GOTDATA): New.
76733 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
76734 relocation support in both binutils and gcc.
76735 * sysdeps/sparc/elf/configure: Regenerate.
76736
76737 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
76738 * sysdeps/sparc/sparc32/elf/configure: Delete.
76739 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
76740 * sysdeps/sparc/sparc64/elf/configure: Delete.
76741 * sysdeps/sparc/elf/configure.in: New file.
76742 * sysdeps/sparc/elf/configure: Generate.
76743
76744 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
76745 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
76746 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76747 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
76748 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
76749
76750 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76751
76752 * manual/install.texi: Do not mention specific glibc version
76753 numbers.
76754 * manual/libc.texinfo (VERSION, UPDATED): Update.
76755 (@copying): Use @copyright{} and range of years.
76756
76757 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76758
76759 [BZ #13695]
76760 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
76761 [crti.S not in sysdirs] (generated): Do not append.
76762 [crti.S not in sysdirs] (omit-deps): Likewise.
76763 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
76764 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
76765 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
76766 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
76767 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
76768 Likewise.
76769 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
76770 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
76771 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
76772 * csu/defs.awk: Remove file.
76773 * sysdeps/generic/initfini.c: Likewise.
76774 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
76775 variable.
76776 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
76777 Likewise.
76778
76779 2012-02-20 Joseph Myers <joseph@codesourcery.com>
76780
76781 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
76782 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
76783 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
76784 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
76785 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76786 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
76787 <bits/epoll.h>.
76788 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
76789 (__EPOLL_PACKED): Define to empty if not defined by
76790 <bits/epoll.h>.
76791 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
76792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76793 bits/epoll.h.
76794
76795 2012-02-20 Joseph Myers <joseph@codesourcery.com>
76796
76797 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
76798 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
76799 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
76800 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
76801 <bits/timerfd.h>.
76802 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
76803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76804 bits/timerfd.h.
76805
76806 2012-02-20 Joseph Myers <joseph@codesourcery.com>
76807
76808 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
76809 in C locale.
76810 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76811 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
76812 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
76813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76814
76815 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
76816
76817 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76818 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76819
76820 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
76821
76822 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
76823 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
76824 defined.
76825 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
76826 Likewise.
76827 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
76828 entry for 2.16.
76829
76830 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
76831
76832 * math/w_acos.c: Use non-signaling floating-point comparisons.
76833 * math/w_acosf.c: Likewise.
76834 * math/w_acosh.c: Likewise.
76835 * math/w_acoshf.c: Likewise.
76836 * math/w_acoshl.c: Likewise.
76837 * math/w_acosl.c: Likewise.
76838 * math/w_asin.c: Likewise.
76839 * math/w_asinf.c: Likewise.
76840 * math/w_asinl.c: Likewise.
76841 * math/w_atanh.c: Likewise.
76842 * math/w_atanhf.c: Likewise.
76843 * math/w_atanhl.c: Likewise.
76844 * math/w_exp2.c: Likewise.
76845 * math/w_exp2f.c: Likewise.
76846 * math/w_exp2l.c: Likewise.
76847 * math/w_j0.c: Likewise.
76848 * math/w_j0f.c: Likewise.
76849 * math/w_j0l.c: Likewise.
76850 * math/w_j1.c: Likewise.
76851 * math/w_j1f.c: Likewise.
76852 * math/w_j1l.c: Likewise.
76853 * math/w_jn.c: Likewise.
76854 * math/w_jnf.c: Likewise.
76855 * math/w_log.c: Likewise.
76856 * math/w_log10.c: Likewise.
76857 * math/w_log10f.c: Likewise.
76858 * math/w_log10l.c: Likewise.
76859 * math/w_log2.c: Likewise.
76860 * math/w_log2f.c: Likewise.
76861 * math/w_log2l.c: Likewise.
76862 * math/w_logf.c: Likewise.
76863 * math/w_logl.c: Likewise.
76864 * math/w_sqrt.c: Likewise.
76865 * math/w_sqrtf.c: Likewise.
76866 * math/w_sqrtl.c: Likewise.
76867 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76868 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
76869 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76870 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
76871 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
76872
76873 2012-02-19 Joseph Myers <joseph@codesourcery.com>
76874
76875 [BZ #9739]
76876 * manual/string.texi (strnlen): Use correct parameter name in
76877 equivalent expression.
76878
76879 2012-02-19 Joseph Myers <joseph@codesourcery.com>
76880
76881 [BZ #11174]
76882 * manual/users.texi (seteuid): Consistently use neweuid for
76883 argument name.
76884
76885 2012-02-19 Joseph Myers <joseph@codesourcery.com>
76886
76887 [BZ #13704]
76888 * manual/nss.texi (Services in the NSS configuration): Correct
76889 list of services in example configuration file.
76890
76891 2012-02-19 Nick Bowler <nbowler@draconx.ca>
76892
76893 [BZ #11322]
76894 * manual/arith.texi: Remove statements about negative zero
76895 behaving identically to zero.
76896
76897 2012-02-18 Joseph Myers <joseph@codesourcery.com>
76898
76899 [BZ #5993]
76900 * manual/install.texi: Do not document upgrading from libc5.
76901
76902 2012-02-18 Joseph Myers <joseph@codesourcery.com>
76903
76904 [BZ #4596]
76905 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
76906
76907 2012-02-18 David S. Miller <davem@davemloft.net>
76908
76909 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
76910 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
76911 %o7 across the call.
76912 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
76913 instead.
76914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
76915 SETUP_PIC_REG_LEAF.
76916 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76917 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
76918 * sysdeps/sparc/crtn.S: Likewise.
76919
76920 2012-02-17 Ulrich Drepper <drepper@gmail.com>
76921
76922 * aout/Makefile: Remove.
76923
76924 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
76925
76926 [BZ #13058]
76927 * manual/examples/argp-ex1.c (main): Format definition in GNU
76928 style.
76929 * manual/examples/argp-ex2.c (main): Likewise.
76930 * manual/examples/argp-ex3.c (main): Likewise.
76931 * manual/examples/argp-ex4.c (main): Likewise.
76932 * manual/examples/longopt.c (main): Use new-style prototype
76933 definition.
76934 * manual/examples/strncat.c (main): Specify return type and use
76935 (void) for arguments.
76936 * manual/examples/subopt.c (main): Use char **argv argument.
76937
76938 2012-02-17 Joseph Myers <joseph@codesourcery.com>
76939
76940 [BZ #5077]
76941 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
76942 rounding modes.
76943
76944 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
76945
76946 [BZ #6907]
76947 * manual/string.texi (strchr): Change when strchrnul is
76948 recommended.
76949
76950 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
76951
76952 [BZ #174]
76953 * manual/locale.texi (setlocale): Document LOCPATH.
76954
76955 2012-02-17 Joseph Myers <joseph@codesourcery.com>
76956
76957 [BZ #10210]
76958 * manual/process.texi (execle): Move @dots{} before last argument.
76959
76960 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
76961
76962 [BZ #12047]
76963 * manual/charset.texi (Generic Charset Conversion): Fix typo
76964 (LC_TYPE -> LC_CTYPE).
76965
76966 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
76967
76968 [BZ #5805]
76969 * manual/arith.texi (scalbn): Use @var{} on parameter names.
76970 (scalbnf): Likewise.
76971 (scalbnl): Likewise.
76972 (scalbln): Likewise.
76973 (scalblnf): Likewise.
76974 (scalblnl): Likewise.
76975 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
76976 (vwarnx): Likewise.
76977 (verr): Likewise.
76978 (verrx): Likewise.
76979 * manual/filesys.texi (telldir): Use braces around return type.
76980 * manual/llio.texi (mmap): Add space after comma.
76981 (mmap64): Likewise.
76982 * manual/math.texi (jn): Use @var{} on parameter names.
76983 (jnf): Likewise.
76984 (jnl): Likewise.
76985 (yn): Likewise.
76986 (ynf): Likewise.
76987 (ynl): Likewise.
76988 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
76989 line.
76990 * manual/resource.texi (ulimit): Use @dots{} instead of literal
76991 "...".
76992 (sched_get_priority_min): Remove semicolon on @deftypefun line.
76993 (sched_get_priority_max): Likewise.
76994 * manual/signal.texi (sigvec): Add space after comma.
76995 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
76996 names.
76997 (if_indextoname): Likewise.
76998 (if_freenameindex): Likewise.
76999 (sendto): Use ',' instead of '.' in prototype.
77000 * manual/startup.texi (syscall): Use @dots{} instead of literal
77001 "...".
77002 * manual/stdio.texi (__fpending): Separate initial words of
77003 paragraph from @deftypefun line.
77004 * manual/syslog.texi (syslog): Use @dots{} instead of literal
77005 "...".
77006 (vsyslog): Use @var{} on parameter names.
77007 * manual/terminal.texi (stty): Use @var{} on parameter names.
77008 * manual/users.texi (getutmp): Use @var{} on parameter names.
77009 (getutmpx): Likewise.
77010
77011 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77012
77013 [BZ #6884]
77014 * manual/stdio.texi (fopen): Fix typos in description of
77015 ",ccs=STRING".
77016
77017 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
77018
77019 [BZ #4026]
77020 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77021 get clock_id definition.
77022
77023 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
77024
77025 [BZ #4822]
77026 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77027 (madvise): Cast every argument to void on its own.
77028
77029 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77030
77031 [BZ #9902]
77032 * manual/startup.texi (Exit Status): Fix typo.
77033
77034 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77035
77036 [BZ #10140]
77037 * manual/examples/argp-ex1.c: Include <stdlib.h>.
77038 * manual/examples/argp-ex2.c: Likewise.
77039 * manual/examples/argp-ex3.c: Likewise.
77040
77041 2012-02-16 Richard Henderson <rth@redhat.com>
77042
77043 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77044 * sysdeps/s390/s390-32/initfini.c: Remove.
77045 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77046 * sysdeps/s390/s390-64/initfini.c: Remove.
77047
77048 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
77049
77050 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77051 compiler output for sysdeps/generic/initfini.c.
77052 * sysdeps/sh/elf/initfini.c: Remove file.
77053
77054 2012-02-16 David S. Miller <davem@davemloft.net>
77055
77056 [BZ #11494]
77057 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77058
77059 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77060 * sysdeps/sparc/crti.S: New file.
77061 * sysdeps/sparc/crtn.S: New file.
77062 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77063 * sysdeps/sparc/sparc64/Makefile: Likewise.
77064
77065 2012-02-15 Mike Frysinger <vapier@gentoo.org>
77066
77067 [BZ #3335]
77068 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77069
77070 2012-02-15 Roland McGrath <roland@hack.frob.com>
77071
77072 [BZ #4822]
77073 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77074
77075 * mach/devstream.c (cookie_io_functions_t): Macro removed.
77076 (write, read, close): Likewise.
77077 Patch by Aurelien Jarno <aurelien@aurel32.net>.
77078
77079 2012-02-15 Joseph Myers <joseph@codesourcery.com>
77080
77081 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77082 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77083 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77084 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77085 <bits/signalfd.h>.
77086 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77088 bits/signalfd.h.
77089
77090 2012-02-14 Marek Polacek <polacek@redhat.com>
77091
77092 * sysdeps/x86_64/crti.S: New file.
77093 * sysdeps/x86_64/crtn.S: New file.
77094 * sysdeps/x86_64/elf/initfini.c: Remove file.
77095
77096 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77097
77098 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77099 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77100 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77101 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77102 <bits/inotify.h>.
77103 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77105 bits/inotify.h.
77106
77107 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77108
77109 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77110 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77111 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77112 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77113 <bits/eventfd.h>.
77114 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77116 bits/eventfd.h.
77117
77118 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
77119
77120 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77121 __feraiseexcept instead of feraiseexcept.
77122
77123 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77124 nanosleep invocations.
77125 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77126 strings, and add error checking for a nanosleep invocations.
77127
77128 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
77129
77130 Replace FSF snail mail address with URLs, as per GNU coding standards.
77131 Most of the snail mail addresses were wrong anyway, and omitting
77132 them makes the source code easier to maintain. Almost all of the
77133 changes are to license notices and to locale LC_IDENTIFICATION
77134 addresses, except for this one:
77135 * manual/libc.texinfo: In "Published by", give the FSF's URL,
77136 not its snail mail address.
77137
77138 2012-02-09 Richard Henderson <rth@twiddle.net>
77139
77140 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77141 of kernel-features.h.
77142
77143 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77144
77145 2012-02-08 Marek Polacek <polacek@redhat.com>
77146
77147 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77148 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77149 * sysdeps/gnu/_G_config.h: Likewise.
77150 * sysdeps/generic/_G_config.h: Likewise.
77151
77152 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
77153
77154 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77155 tests.
77156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77157
77158 * sysdeps/powerpc/powerpc32/crti.S: New file.
77159 * sysdeps/powerpc/powerpc32/crtn.S: New file.
77160 * sysdeps/powerpc/powerpc64/crti.S: New file.
77161 * sysdeps/powerpc/powerpc64/crtn.S: New file.
77162
77163 * Makeconfig (have-initfini): Don't set.
77164 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77165 * configure.in (nopic_initfini): Don't substitute.
77166 * config.h.in (HAVE_INITFINI): Don't #undef.
77167 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77168 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77169
77170 2012-02-08 Joseph Myers <joseph@codesourcery.com>
77171
77172 Support crti.S and crtn.S provided directly by architectures.
77173 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77174 [crti.S in sysdirs] (omit-deps): Likewise.
77175 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77176 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77177 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77178 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77179 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77180 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77181 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77182 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77183 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77184 compiler output for sysdeps/generic/initfini.c.
77185 * sysdeps/i386/elf/Makefile: Remove file.
77186 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77187
77188 2012-02-07 Marek Polacek <polacek@redhat.com>
77189
77190 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
77191 * sysdeps/gnu/_G_config.h: Likewise.
77192 * sysdeps/mach/hurd/_G_config.h: Likewise.
77193
77194 2012-02-07 Marek Polacek <polacek@redhat.com>
77195
77196 * math/Makefile (tests): Add tst-CMPLX2.
77197 * math/tst-CMPLX2.c: New file.
77198
77199 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
77200
77201 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77202
77203 * math/libm-test.inc (jn_test): Add missing L suffix.
77204
77205 2012-02-06 Marek Polacek <polacek@redhat.com>
77206
77207 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
77208 * sysdeps/i386/fpu/e_powf.S: Likewise.
77209 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77210 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77211 * sysdeps/i386/fpu/e_acosh.S: Likewise.
77212 * sysdeps/i386/fpu/e_pow.S: Likewise.
77213 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77214 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77215 * sysdeps/i386/fpu/s_expm1.S: Likewise.
77216 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77217 * sysdeps/i386/fpu/e_log2.S: Likewise.
77218 * sysdeps/i386/fpu/e_log2l.S: Likewise.
77219 * sysdeps/i386/fpu/e_scalb.S: Likewise.
77220 * sysdeps/i386/fpu/e_powl.S: Likewise.
77221 * sysdeps/i386/fpu/s_log1p.S: Likewise.
77222 * sysdeps/i386/fpu/e_log10f.S: Likewise.
77223 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77224 * sysdeps/i386/fpu/e_logl.S: Likewise.
77225 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77226 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
77227 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77228 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77229 * sysdeps/i386/fpu/e_log2f.S: Likewise.
77230 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77231 * sysdeps/i386/fpu/e_log.S: Likewise.
77232 * sysdeps/i386/fpu/s_cexp.S: Likewise.
77233 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77234 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
77235 * sysdeps/i386/fpu/e_logf.S: Likewise.
77236 * sysdeps/i386/fpu/e_log10l.S: Likewise.
77237 * sysdeps/i386/fpu/e_atanh.S: Likewise.
77238 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
77239 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77240 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77241 * sysdeps/i386/fpu/e_log10.S: Likewise.
77242 * sysdeps/i386/fpu/s_frexp.S: Likewise.
77243 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77244 * sysdeps/i386/fpu/s_asinh.S: Likewise.
77245 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77246 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77247 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77248 * sysdeps/i386/asm-syntax.h: Likewise.
77249 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77250 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77251 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77252 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
77253 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
77254 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77255 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77256 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77257 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77258 * sysdeps/powerpc/sysdep.h: Likewise.
77259 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
77260 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77261
77262 2012-02-06 Joseph Myers <joseph@codesourcery.com>
77263
77264 [BZ #411]
77265 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
77266
77267 2012-02-06 Joseph Myers <joseph@codesourcery.com>
77268
77269 * sysdeps/i386/sysdep.h: Include <features.h>.
77270 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
77271 version.
77272
77273 2012-02-05 Joseph Myers <joseph@codesourcery.com>
77274
77275 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
77276 Define.
77277 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
77278 LOAD_PIC_REG_STR.
77279
77280 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77281
77282 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
77283 (SETUP_PIC_REG): Use GET_PC_THUNK.
77284 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
77285 macro.
77286
77287 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77288
77289 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
77290 for non-PIC compilation.
77291 (SETUP_PIC_REG): Add .p2align directive.
77292 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
77293 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
77294 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
77295 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
77296 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
77297 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
77298 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
77299 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77300 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
77301 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
77302 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
77303 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
77304 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
77305 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
77306 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
77307 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
77308 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
77309 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
77310 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
77311 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
77312 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
77313 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
77314 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
77315 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
77316 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
77317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
77318 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77319 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
77320 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
77321 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
77322 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
77323 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77324 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
77325 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
77326 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
77327 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
77328 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
77329 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
77330 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
77331 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
77332 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
77333
77334 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77335
77336 * math/tst-CMPLX.c: Include <stdio.h>.
77337
77338 2012-01-31 Joseph Myers <joseph@codesourcery.com>
77339
77340 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
77341 float.
77342 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77343 * sysdeps/sparc/bits/mathdef.h: Likewise.
77344
77345 2012-01-31 Marek Polacek <polacek@redhat.com>
77346
77347 * libio/libio.h: Don't define _PARAMS.
77348 * locale/programs/config.h: Don't define PARAMS.
77349 * stdlib/strtol_l.c: Likewise.
77350 (__strtol_l): Remove PARAMS from the prototype.
77351
77352 2012-01-31 Ulrich Drepper <drepper@gmail.com>
77353
77354 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
77355 names. Just use the correct names. Remove unnecessary wrapper
77356 functions.
77357 * malloc/arena.c: Likewise.
77358 * malloc/hooks.c: Likewise.
77359
77360 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
77361 ARENA_TEST says not to. Simplify test for creation of a new arena.
77362 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
77363
77364 2012-01-30 Ulrich Drepper <drepper@gmail.com>
77365
77366 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
77367 into tail calls.
77368 (update_get_addr): New function.
77369 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
77370 GET_ADDR_MODULE parameter.
77371
77372 2012-01-30 Joseph Myers <joseph@codesourcery.com>
77373
77374 * crypt/cert.c: Remove __STDC__ conditionals.
77375 * crypt/crypt-entry.c: Likewise.
77376 * crypt/crypt_util.c: Likewise.
77377 * libio/filedoalloc.c: Likewise.
77378 * libio/fileops.c: Likewise.
77379 * libio/genops.c: Likewise.
77380 * libio/iofclose.c: Likewise.
77381 * libio/iofdopen.c: Likewise.
77382 * libio/iofopen.c: Likewise.
77383 * libio/iofopen64.c: Likewise.
77384 * libio/iogetdelim.c: Likewise.
77385 * libio/iopopen.c: Likewise.
77386 * libio/obprintf.c: Likewise.
77387 * libio/oldfileops.c: Likewise.
77388 * libio/oldiofclose.c: Likewise.
77389 * libio/oldiofdopen.c: Likewise.
77390 * libio/oldiofopen.c: Likewise.
77391 * libio/oldiopopen.c: Likewise.
77392 * libio/wfiledoalloc.c: Likewise.
77393 * libio/wgenops.c: Likewise.
77394 * locale/programs/xmalloc.c: Likewise.
77395 * misc/syslog.c: Likewise.
77396 * stdio-common/xbug.c: Likewise.
77397 * string/memchr.c: Likewise.
77398 * string/memcmp.c: Likewise.
77399 * string/memrchr.c: Likewise.
77400 * string/rawmemchr.c: Likewise.
77401 * sysdeps/posix/getcwd.c: Likewise.
77402 * time/strftime_l.c: Likewise.
77403
77404 2012-01-30 Joseph Myers <joseph@codesourcery.com>
77405
77406 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
77407 * config.make.in (config-cflags-sse2avx): Define.
77408 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
77409 Fix typo.
77410
77411 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
77412
77413 * scripts/config.guess: Update from upstream config git repository.
77414 * scripts/config.sub: Likewise.
77415
77416 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
77417
77418 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
77419 (EM_NUM): Update.
77420 (R_TILEPRO_*, R_TILEGX_*): New macros.
77421
77422 * scripts/firstversions.awk: Fix bug in version range handling.
77423
77424 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
77425
77426 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
77427
77428 * include/sys/epoll.h: New file.
77429 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
77430 libc_hidden_def.
77431
77432 2012-01-28 Ulrich Drepper <drepper@gmail.com>
77433
77434 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
77435 Avoid unnecessary __WORDSIZE == 64 test.
77436 (fmaxf): Use VEX format if possible.
77437 (fmax): Likewise.
77438 (fminf): Likewise.
77439 (fmin): Likewise.
77440
77441 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
77442 * math/math_private.h: Remove libc_fegetround* and
77443 libc_fesetround*.
77444 * sysdeps/i386/configure.in: Check for -msse2avx.
77445 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
77446 also if SSE2AVX is defined.
77447 Remove libc_fegetround* and libc_fesetround*.
77448 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
77449 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
77450 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
77451 of HAS_YMM_USABLE.
77452 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77453 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77454 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77455 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77456 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77457
77458 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
77459
77460 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77461
77462 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
77463 size is not set.
77464 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77465
77466 2012-01-27 Ulrich Drepper <drepper@gmail.com>
77467
77468 [BZ #13618]
77469 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
77470 relocation.
77471 * Makeconfig (libm): Define.
77472 * elf/Makefile: Add rules to build and run tst-relsort1.
77473 * elf/tst-relsort1.c: New file.
77474 * elf/tst-relsort1mod1.c: New file.
77475 * elf/tst-relsort1mod2.c: New file.
77476
77477 2012-01-27 Joseph Myers <joseph@codesourcery.com>
77478
77479 * math/s_ldexp.c: Remove __STDC__ conditionals.
77480 * math/s_ldexpf.c: Likewise.
77481 * math/s_ldexpl.c: Likewise.
77482 * math/s_nextafter.c: Likewise.
77483 * math/s_nexttowardf.c: Likewise.
77484 * math/s_significand.c: Likewise.
77485 * math/s_significandf.c: Likewise.
77486 * math/s_significandl.c: Likewise.
77487 * math/w_jnl.c: Likewise.
77488 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77489 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77490 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77491 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77492 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77493 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77494 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
77495 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77496 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77497 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77498 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77499 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77500 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77501 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77502 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77503 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77504 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77505 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77506 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77507 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77508 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77509 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77510 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77511 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77512 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77513 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77514 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77515 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77516 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77517 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77518 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77519 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77520 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77521 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77522 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77523 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77524 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77525 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77526 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77527 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77528 * sysdeps/ieee754/k_standard.c: Likewise.
77529 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77530 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77531 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77532 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77533 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77534 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77535 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77536 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77537 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77538 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77539 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77540 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77541 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77542 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77543 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77544 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77545 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77546 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77547 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77548 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77549 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77550 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77551 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77552 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77553 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77554 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77555 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77556 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77558 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77559 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77560 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
77561 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77562 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77563 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77564 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77565 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
77566 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77567 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77568 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
77569 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
77570 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77571 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
77572 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
77573 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77574 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
77575 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
77576 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77577 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77578 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
77579 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
77580 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77581 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77582 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77583 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77584 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77585 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
77586 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77587 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77588 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77589 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77590 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77591 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77592 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77593 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77594 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77595 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77596 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77597 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77598 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77599 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77600 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77601 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77602 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77603 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77604 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77605 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77606 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77607 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77608 * sysdeps/ieee754/s_matherr.c: Likewise.
77609 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77610 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77612 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77613
77614 2012-01-26 Joseph Myers <joseph@codesourcery.com>
77615
77616 * crypt/md5.h: Remove __STDC__ conditionals.
77617 * libio/libioP.h: Likewise.
77618 * locale/programs/config.h: Likewise.
77619 * sysdeps/generic/sysdep.h: Likewise.
77620 * sysdeps/i386/asm-syntax.h: Likewise.
77621 * sysdeps/s390/asm-syntax.h: Likewise.
77622 * sysdeps/unix/sysdep.h: Likewise.
77623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
77624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
77625
77626 2012-01-26 Joseph Myers <joseph@codesourcery.com>
77627
77628 * libio/libio.h: Remove __STDC__ conditionals.
77629 * malloc/obstack.h: Likewise.
77630 * math/complex.h: Likewise.
77631 * math/math.h: Likewise.
77632 * sysdeps/generic/_G_config.h: Likewise.
77633 * sysdeps/gnu/_G_config.h: Likewise.
77634 * sysdeps/mach/hurd/_G_config.h: Likewise.
77635 * sysdeps/powerpc/bits/mathdef.h: Likewise.
77636 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77637 * sysdeps/sparc/bits/mathdef.h: Likewise.
77638
77639 2012-01-26 Ulrich Drepper <drepper@gmail.com>
77640
77641 [BZ #13583]
77642 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
77643 Clean up HAS_* macros.
77644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
77645 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
77646 possible.
77647 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
77648 HAS_AVX.
77649 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77650 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77651 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77652 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77653 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77654
77655 2012-01-25 Joseph Myers <joseph@codesourcery.com>
77656
77657 * elf/tst-unique3.cc (gets): Remove declaration.
77658 * elf/tst-unique3lib.cc (gets): Likewise.
77659 * elf/tst-unique3lib2.cc (gets): Likewise.
77660 * elf/tst-unique4.cc (gets): Likewise.
77661
77662 2012-01-24 Ulrich Drepper <drepper@gmail.com>
77663
77664 * include/stdio.h: Add C++ protection. Add gets declarations and
77665 definitions.
77666 * debug/tst-chk1.c: Don't declare gets here.
77667 * stdio-common/tst-gets.c: Likewise.
77668
77669 2012-01-24 Joseph Myers <joseph@codesourcery.com>
77670
77671 * posix/glob: Remove directory.
77672
77673 2012-01-24 Joseph Myers <joseph@codesourcery.com>
77674
77675 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
77676
77677 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
77678
77679 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
77680 of the non-standard EPFNOSUPPORT.
77681
77682 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
77683
77684 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
77685 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
77686 ANYWHERE set to 1 only on KERN_NO_SPACE error.
77687
77688 2012-01-21 Ulrich Drepper <drepper@gmail.com>
77689
77690 * wcsmbs/uchar.h: Test __STDC_VERSION__.
77691
77692 2012-01-20 Ulrich Drepper <drepper@gmail.com>
77693
77694 * nscd/aicache.c (addhstaiX): Do not cache negative results of
77695 transient errors.
77696 * nscd/grpcache.c (cache_addgr): Likewise.
77697 * nscd/hstcache.c (cache_addhst): Likewise.
77698 * nscd/initgrcache.c (addinitgroupsX): Likewise.
77699 * nscd/pwdcache.c (cache_addpw): Likewise.
77700 * nscd/servicescache.c (cache_addserv): Likewise.
77701
77702 2012-01-16 Ulrich Drepper <drepper@gmail.com>
77703
77704 * malloc/malloc.c: Various cleanups.
77705 * malloc/hooks.c: Likewise.
77706
77707 * stdlib/Makefile (tests): Add bug-fmtmsg1.
77708 * stdlib/bug-fmtmsg1.c: New file.
77709
77710 * stdlib/fmtmsg.c (init): Add missing unlock.
77711 Patch by Peng Haitao <penght@cn.fujitsu.com>.
77712
77713 2012-01-12 Marek Polacek <polacek@redhat.com>
77714
77715 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
77716 and _GNU_SOURCE.
77717
77718 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
77719
77720 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
77721 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
77722 macro to ensure uniqueness of label name.
77723 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77724 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77725
77726 2012-01-11 Ulrich Drepper <drepper@gmail.com>
77727
77728 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
77729
77730 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
77731 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77732 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77733 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
77734
77735 2012-01-10 Ulrich Drepper <drepper@gmail.com>
77736
77737 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
77738
77739 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
77740 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77741 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77742
77743 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
77744
77745 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
77746 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77747 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
77749
77750 * math/bits/math-finite.h: Add ldexp support.
77751
77752 2012-01-10 Marek Polacek <polacek@redhat.com>
77753
77754 * locale/programs/localedef.h (show_archive_content): Add noreturn
77755 attribute.
77756
77757 2012-01-09 Ulrich Drepper <drepper@gmail.com>
77758
77759 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
77760
77761 2012-01-08 Ulrich Drepper <drepper@gmail.com>
77762
77763 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
77764
77765 * io/Makefile (headers): Add bits/poll2.h.
77766
77767 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
77768
77769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
77770 typo #include statement.
77771
77772 2012-01-08 Ulrich Drepper <drepper@gmail.com>
77773
77774 * include/sys/cdefs.h: Define __attribute_alloc_size.
77775 * catgets/gencat.c: Add alloc_size attribute and apply consistently
77776 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
77777 * elf/pldd.c: Likewise.
77778 * iconv/iconv_charmap.c: Likewise.
77779 * iconv/iconvconfig.c: Likewise.
77780 * iconv/strtab.c: Likewise.
77781 * locale/programs/locale.c: Likewise.
77782 * locale/programs/localedef.h: Likewise.
77783 * locale/programs/simple-hash.c: Likewise.
77784 * nscd/nscd.h: Likewise.
77785 * nss/makedb.c: Likewise.
77786 * sysdeps/generic/ldconfig.h: Likewise.
77787 * locale/programs/localedef.c: Remove xmalloc prototype.
77788 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
77789
77790 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
77791
77792 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
77793 appropriate.
77794
77795 2012-01-08 Ulrich Drepper <drepper@gmail.com>
77796
77797 * math/Makefile (tests): Add tst-CMPLX.
77798 * math/tst-CMPLX.c: New file.
77799
77800 * math/complex.h (CMPLXL): Fix typo.
77801
77802 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
77803 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
77804 GLIBC_2.16.
77805 * debug/tst-chk1.c: Add poll and ppoll tests.
77806 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
77807 * include/sys/poll.h: Add hidden proto for ppoll.
77808 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
77809 * sysdeps/mach/hurd/ppoll.c: Likewise.
77810 * io/ppoll.c: Likewise.
77811 * debug/poll_chk.c: New file.
77812 * debug/ppoll_chk.c: New file.
77813 * include/bits/poll2.h: New file.
77814 * io/bits/poll2.h: New file.
77815
77816 [BZ #1350]
77817 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
77818
77819 * configure.in: static is always set to yes. Remove.
77820 * config.make.in: Don't set build-static.
77821 * Makeconfig: Remove use of build-static.
77822 * dlfcn/Makefile: Likewise.
77823 * elf/Makefile: Likewise.
77824 * math/Makefile: Likewise.
77825 * misc/Makefile: Likewise.
77826 * nptl/Makefile: Likewise.
77827 * sysdeps/mach/hurd/Makefile: Likewise.
77828
77829 * configure.in: PWD_P is not used anymore.
77830 * config.make.in: Remove PWD_P entry.
77831
77832 * configure.in: Remove last remnants of RANLIB.
77833 No need to check for signed size_t anymore.
77834 Don't set libc_commonpagesize and libc_relro_required here for Alpha
77835 and IA-64.
77836 Remove __builtin_expect test because we require at least gcc 3.4.
77837 * aclocal.m4: Likewise.
77838
77839 * wcsmbs/mbrtoc16.c: Implement using towc function.
77840 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
77841 * wcsmbs/wcsmbsload.c: Likewise.
77842 * iconv/gconv_simple.c: Likewise.
77843 * iconv/gconv_int.h: Likewise.
77844 * iconv/gconv_builtin.h: Likewise.
77845 * iconv/iconv_prog.c: Remove CHAR16 handling.
77846
77847 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
77848
77849 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
77850
77851 * configure.in: Remove --with-elf and --enable-bounded options.
77852 Dont set base_machine for ia64. More non-ELF conditions removed.
77853 Remove testing and setting of leading underscore information.
77854 * config.make.in (build-bounded): Set to no.
77855 * config.h.in: Remove NO_UNDERSCORES entry.
77856 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
77857 them.
77858 * csu/start.c: Remove !NO_UNDERSCORE code.
77859 * locale/localeinfo.h: Likewise.
77860 * sysdeps/generic/machine-gmon.h: Likewise.
77861 * sysdeps/generic/sysdep.h: Likewise.
77862 * sysdeps/i386/sysdep.h: Likewise.
77863 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
77864 * sysdeps/mach/sysdep.h: Likewise.
77865 * sysdeps/s390/s390-32/sysdep.h: Likewise.
77866 * sysdeps/s390/s390-64/sysdep.h: Likewise.
77867 * sysdeps/sh/sysdep.h: Likewise.
77868 * sysdeps/sparc/sparc32/alloca.S: Likewise.
77869 * sysdeps/unix/i386/sysdep.S: Likewise.
77870 * sysdeps/unix/sparc/start.c: Likewise.
77871 * sysdeps/unix/sparc/sysdep.S: Likewise.
77872 * sysdeps/unix/sparc/sysdep.h: Likewise.
77873 * sysdeps/unix/start.c: Likewise.
77874 * sysdeps/unix/x86_64/sysdep.S: Likewise.
77875 * sysdeps/x86_64/sysdep.h: Likewise.
77876
77877 2012-01-07 Ulrich Drepper <drepper@gmail.com>
77878
77879 [BZ #13553]
77880 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
77881 for non-gcc.
77882 * argp/argp-fmtstream.h: Use const instead __const.
77883 * argp/argp.h: Likewise.
77884 * assert/assert.h: Likewise.
77885 * bits/fenv.h: Likewise.
77886 * bits/sched.h: Likewise.
77887 * bits/sigset.h: Likewise.
77888 * bits/sigthread.h: Likewise.
77889 * catgets/nl_types.h: Likewise.
77890 * conform/data/pthread.h-data: Likewise.
77891 * crypt/crypt-private.h: Likewise.
77892 * crypt/crypt.h: Likewise.
77893 * crypt/crypt_util.c: Likewise.
77894 * ctype/ctype.h: Likewise.
77895 * debug/execinfo.h: Likewise.
77896 * debug/mbsnrtowcs_chk.c: Likewise.
77897 * debug/mbsrtowcs_chk.c: Likewise.
77898 * debug/wcsnrtombs_chk.c: Likewise.
77899 * debug/wcsrtombs_chk.c: Likewise.
77900 * debug/wcstombs_chk.c: Likewise.
77901 * dirent/dirent.h: Likewise.
77902 * dlfcn/dlfcn.h: Likewise.
77903 * elf/neededtest4.c: Likewise.
77904 * grp/grp.h: Likewise.
77905 * gshadow/gshadow.h: Likewise.
77906 * iconv/gconv.h: Likewise.
77907 * iconv/gconv_int.h: Likewise.
77908 * iconv/gconv_simple.c: Likewise.
77909 * iconv/iconv.h: Likewise.
77910 * iconv/loop.c: Likewise.
77911 * iconv/skeleton.c: Likewise.
77912 * include/aio.h: Likewise.
77913 * include/aliases.h: Likewise.
77914 * include/argz.h: Likewise.
77915 * include/arpa/inet.h: Likewise.
77916 * include/assert.h: Likewise.
77917 * include/dirent.h: Likewise.
77918 * include/dlfcn.h: Likewise.
77919 * include/execinfo.h: Likewise.
77920 * include/fcntl.h: Likewise.
77921 * include/fenv.h: Likewise.
77922 * include/glob.h: Likewise.
77923 * include/grp.h: Likewise.
77924 * include/libintl.h: Likewise.
77925 * include/mntent.h: Likewise.
77926 * include/netdb.h: Likewise.
77927 * include/pwd.h: Likewise.
77928 * include/rpc/netdb.h: Likewise.
77929 * include/sched.h: Likewise.
77930 * include/search.h: Likewise.
77931 * include/shadow.h: Likewise.
77932 * include/signal.h: Likewise.
77933 * include/stdio.h: Likewise.
77934 * include/stdlib.h: Likewise.
77935 * include/string.h: Likewise.
77936 * include/sys/socket.h: Likewise.
77937 * include/sys/stat.h: Likewise.
77938 * include/sys/statfs.h: Likewise.
77939 * include/sys/statvfs.h: Likewise.
77940 * include/sys/syslog.h: Likewise.
77941 * include/sys/time.h: Likewise.
77942 * include/sys/uio.h: Likewise.
77943 * include/time.h: Likewise.
77944 * include/unistd.h: Likewise.
77945 * include/utmp.h: Likewise.
77946 * include/wchar.h: Likewise.
77947 * include/wctype.h: Likewise.
77948 * inet/aliases.h: Likewise.
77949 * inet/arpa/inet.h: Likewise.
77950 * inet/netinet/ether.h: Likewise.
77951 * inet/netinet/in.h: Likewise.
77952 * intl/libintl.h: Likewise.
77953 * io/bits/fcntl2.h: Likewise.
77954 * io/fcntl.h: Likewise.
77955 * io/ftw.h: Likewise.
77956 * io/sys/poll.h: Likewise.
77957 * io/sys/stat.h: Likewise.
77958 * io/sys/statfs.h: Likewise.
77959 * io/sys/statvfs.h: Likewise.
77960 * io/utime.h: Likewise.
77961 * libio/bits/stdio.h: Likewise.
77962 * libio/bits/stdio2.h: Likewise.
77963 * libio/libio.h: Likewise.
77964 * libio/libioP.h: Likewise.
77965 * libio/stdio.h: Likewise.
77966 * locale/lc-ctype.c: Likewise.
77967 * locale/locale.h: Likewise.
77968 * login/utmp.h: Likewise.
77969 * malloc/arena.c: Likewise.
77970 * malloc/malloc.c: Likewise.
77971 * malloc/malloc.h: Likewise.
77972 * malloc/mcheck.c: Likewise.
77973 * malloc/mtrace.c: Likewise.
77974 * math/bits/mathcalls.h: Likewise.
77975 * math/fenv.h: Likewise.
77976 * math/math_private.h: Likewise.
77977 * misc/bits/error.h: Likewise.
77978 * misc/bits/syslog.h: Likewise.
77979 * misc/err.h: Likewise.
77980 * misc/error.h: Likewise.
77981 * misc/fstab.h: Likewise.
77982 * misc/mntent.h: Likewise.
77983 * misc/regexp.h: Likewise.
77984 * misc/search.h: Likewise.
77985 * misc/sgtty.h: Likewise.
77986 * misc/sys/mman.h: Likewise.
77987 * misc/sys/syslog.h: Likewise.
77988 * misc/sys/uio.h: Likewise.
77989 * misc/sys/xattr.h: Likewise.
77990 * misc/ttyent.h: Likewise.
77991 * nis/rpcsvc/ypclnt.h: Likewise.
77992 * nss/nss.h: Likewise.
77993 * posix/bits/unistd.h: Likewise.
77994 * posix/fnmatch.h: Likewise.
77995 * posix/glob.h: Likewise.
77996 * posix/sched.h: Likewise.
77997 * posix/spawn.h: Likewise.
77998 * posix/sys/wait.h: Likewise.
77999 * posix/unistd.h: Likewise.
78000 * posix/wordexp.h: Likewise.
78001 * pwd/pwd.h: Likewise.
78002 * resolv/netdb.h: Likewise.
78003 * resource/sys/resource.h: Likewise.
78004 * rt/aio.h: Likewise.
78005 * rt/bits/mqueue2.h: Likewise.
78006 * rt/mqueue.h: Likewise.
78007 * shadow/shadow.h: Likewise.
78008 * signal/signal.h: Likewise.
78009 * socket/send.c: Likewise.
78010 * socket/sendto.c: Likewise.
78011 * socket/sys/socket.h: Likewise.
78012 * stdio-common/printf.h: Likewise.
78013 * stdlib/bits/stdlib.h: Likewise.
78014 * stdlib/fmtmsg.h: Likewise.
78015 * stdlib/monetary.h: Likewise.
78016 * stdlib/stdlib.h: Likewise.
78017 * stdlib/ucontext.h: Likewise.
78018 * streams/stropts.h: Likewise.
78019 * string/argz.h: Likewise.
78020 * string/bits/string2.h: Likewise.
78021 * string/string.h: Likewise.
78022 * string/strings.h: Likewise.
78023 * sunrpc/rpc/auth.h: Likewise.
78024 * sunrpc/rpc/auth_des.h: Likewise.
78025 * sunrpc/rpc/clnt.h: Likewise.
78026 * sunrpc/rpc/netdb.h: Likewise.
78027 * sunrpc/rpc/pmap_clnt.h: Likewise.
78028 * sunrpc/rpc/xdr.h: Likewise.
78029 * sysdeps/generic/inttypes.h: Likewise.
78030 * sysdeps/generic/net/if.h: Likewise.
78031 * sysdeps/generic/sys/swap.h: Likewise.
78032 * sysdeps/gnu/net/if.h: Likewise.
78033 * sysdeps/gnu/utmpx.h: Likewise.
78034 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78035 * sysdeps/i386/i486/bits/string.h: Likewise.
78036 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78037 * sysdeps/s390/bits/string.h: Likewise.
78038 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78039 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78040 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78041 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78042 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78043 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78044 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78045 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78046 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78047 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78048 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78049 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78050 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78051 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78052 * sysdeps/unix/sysv/linux/readv.c: Likewise.
78053 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78054 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78056 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78057 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78058 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78059 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78060 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78061 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78062 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78063 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78064 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78065 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78066 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78067 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78068 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78069 * sysvipc/sys/ipc.h: Likewise.
78070 * sysvipc/sys/msg.h: Likewise.
78071 * sysvipc/sys/sem.h: Likewise.
78072 * sysvipc/sys/shm.h: Likewise.
78073 * termios/termios.h: Likewise.
78074 * time/sys/time.h: Likewise.
78075 * time/time.h: Likewise.
78076 * wcsmbs/bits/wchar2.h: Likewise.
78077 * wcsmbs/uchar.h: Likewise.
78078 * wcsmbs/wchar.h: Likewise.
78079 * wctype/wctype.h: Likewise.
78080
78081 [BZ #13551]
78082 * Makeconfig: Remove all but ELF support including AIX support.
78083 * Makerules: Likewise.
78084 * config.h.in: Likewise.
78085 * config.make.in: Likewise.
78086 * configure: Likewise.
78087 * configure.in: Likewise.
78088 * csu/Makefile: Likewise.
78089 * csu/version.c: Likewise.
78090 * debug/Makefile: Likewise.
78091 * dlfcn/Makefile: Likewise.
78092 * elf/Makefile: Likewise.
78093 * extra-lib.mk: Likewise.
78094 * iconv/Makefile: Likewise.
78095 * include/libc-symbols.h: Likewise.
78096 * include/shlib-compat.h: Likewise.
78097 * resolv/Makefile: Likewise.
78098 * resolv/res_libc.c: Likewise.
78099 * rt/Makefile: Likewise.
78100 * sysdeps/i386/asm-syntax.h: Likewise.
78101 * sysdeps/i386/sysdep.h: Likewise.
78102 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78103 * sysdeps/mach/sysdep.h: Likewise.
78104 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78105 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78106 * sysdeps/s390/asm-syntax.h: Likewise.
78107 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78108 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78109 * sysdeps/sh/sysdep.h: Likewise.
78110 * sysdeps/unix/sparc/sysdep.h: Likewise.
78111 * sysdeps/wordsize-32/divdi3.c: Likewise.
78112 * sysdeps/x86_64/sysdep.h: Likewise.
78113
78114 * argp/Versions: Remove _argp_unlock_xxx.
78115
78116 [BZ #13559]
78117 * abilist/ld.abilist: Update. Adjust for removal of tls option.
78118 * abilist/libBrokenLocale.abilist: Likewise.
78119 * abilist/libanl.abilist: Likewise.
78120 * abilist/libc.abilist: Likewise.
78121 * abilist/libcrypt.abilist: Likewise.
78122 * abilist/libdl.abilist: Likewise.
78123 * abilist/libm.abilist: Likewise.
78124 * abilist/libnsl.abilist: Likewise.
78125 * abilist/libpthread.abilist: Likewise.
78126 * abilist/libresolv.abilist: Likewise.
78127 * abilist/librt.abilist: Likewise.
78128 * abilist/libthread_db.abilist: Likewise.
78129 * abilist/libutil.abilist: Likewise.
78130 * abilist/libnss_db.abilist: New file.
78131
78132 * scripts/abilist.awk: Add support for indirect functions.
78133
78134 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78135
78136 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78137
78138 * shlib-versions: Remove entries for ports architectures.
78139
78140 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
78141 files in ports.
78142 * elf/stackguard-macros.h: Remove support for IA-64.
78143 * elf/tst-auditmod1.c: Likewise.
78144 * sysdeps/generic/ldsodefs.h: Likewise.
78145
78146 * sysdeps/unix/sysv/linux/configure.in: Ports should define
78147 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78148 configure files.
78149
78150 [BZ #13552]
78151 * configure.in: Remove --enable-omitfp support.
78152 * FAQ.in: Adjust.
78153 * config.make.in: Likewise.
78154 * Makeconfig: Likewise.
78155 * manual/install.texi: Likewise.
78156
78157 In case anyone cares, the IA-64 architecture could move to ports.
78158 * sysdeps/ia64/*: Removed.
78159 * sysdeps/unix/sysv/linux/ia64/*: Removed.
78160 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78161
78162 [BZ #13555]
78163 * configure.in: Remove entries for unsupported architectures.
78164
78165 [BZ #13533]
78166 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78167 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
78168 routines.
78169 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78170 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78171 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
78172 fall back to using wcrtomb.
78173 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78174 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
78175 renaming.
78176 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78177 * wcsmbs/tst-c16c32-1.c: New file.
78178
78179 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78180 local variable.
78181
78182 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78183
78184 * elf/tst-unique3.cc: Add explicit declaration of gets.
78185 * elf/tst-unique3lib.cc: Likewise.
78186 * elf/tst-unique3lib2.cc: Likewise.
78187 * elf/tst-unique4.cc: Likewise.
78188
78189 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
78190
78191 2012-01-06 Joseph Myers <joseph@codesourcery.com>
78192
78193 [BZ #13566]
78194 * assert/assert.h (static_assert): Don't define for C++.
78195 * libio/stdio.h (gets): Do declare for C++ <= C++11.
78196 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
78197
78198 2012-01-03 Ulrich Drepper <drepper@gmail.com>
78199
78200 * iconv/loop.c (single loop): Fix assertion in storing of
78201 remaining bytes.
78202
78203 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
78204
78205 2012-01-01 Ulrich Drepper <drepper@gmail.com>
78206
78207 * posix/getconf.c: Update copyright year.
78208 * nss/getent.c: Likewise.
78209 * nss/makedb.c: Likewise.
78210 * iconv/iconvconfig.c: Likewise.
78211 * iconv/iconv_prog.c: Likewise.
78212 * elf/ldconfig.c: Likewise.
78213 * elf/pldd.c: Likewise.
78214 * elf/sotruss.ksh: Likewise.
78215 * catgets/gencat.c: Likewise.
78216 * csu/version.c: Likewise.
78217 * elf/ldd.bash.in: Likewise.
78218 * elf/sprof.c (print_version): Likewise.
78219 * locale/programs/locale.c: Likewise.
78220 * locale/programs/localedef.c: Likewise.
78221 * login/programs/pt_chown.c: Likewise.
78222 * nscd/nscd.c (print_version): Likewise.
78223 * debug/xtrace.sh: Likewise.
78224 * malloc/memusage.sh: Likewise.
78225 * malloc/mtrace.pl: Likewise.
78226 * debug/catchsegv.sh: Likewise.
78227
78228 2011-12-30 Jakub Jelinek <jakub@redhat.com>
78229
78230 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
78231 pure attribute.
78232
78233 2011-12-24 Ulrich Drepper <drepper@gmail.com>
78234
78235 [BZ #13533]
78236 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
78237 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
78238 transformations.
78239 * iconv/gconv_int.h: Likewise.
78240 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
78241 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
78242 from libc for GLIBC_2.16.
78243 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
78244 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
78245 * wcsmbs/uchar.h: Really define mbstate_t.
78246 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
78247 * wcsmbs/c16rtomb.c: New file.
78248 * wcsmbs/mbrtoc16.c: New file.
78249 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
78250 for C/POSIX locale.
78251 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
78252 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
78253
78254 * wcsmbs/wchar.h: Add missing __restrict.
78255
78256 2011-12-23 Ulrich Drepper <drepper@gmail.com>
78257
78258 [BZ #13532]
78259 * time/Makefile (routines): Add timespec_get.
78260 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
78261 * time/time.h: Define TIME_UTC and declare timespec_get. Define
78262 timespec for ISO C11.
78263 * time/timespec_get.c: New file.
78264 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
78265 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
78266
78267 [BZ #13531]
78268 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
78269 * stdlib/stdlib.h: Declare aligned_alloc.
78270 * Versions.def: Add GLIBC_2.16 for libc.
78271 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
78272
78273 [BZ 13527]
78274 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
78275 ISO C11.
78276
78277 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
78278 code.
78279
78280 [BZ #13528]
78281 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
78282
78283 [BZ #13529]
78284 * assert/assert.h (static_assert): Define.
78285
78286 * version.h: Update for 2.16 development version.
78287
78288 [BZ #13526]
78289 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
78290 _ISOC11_SOURCE.
78291
78292 * version.h (RELEASE): Bump for 2.15 release.
78293 * include/features.h (__GLIBC_MINOR__): Bump to 15.
78294
78295 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
78296 Patch by Marek Polacek <mpolacek@redhat.com>.
78297
78298 * bits/byteswap.h: Protect long long constants with __extension__.
78299 * sysdeps/i386/bits/byteswap.h: Likewise.
78300 * sysdeps/ia64/bits/byteswap.h: Likewise.
78301 * sysdeps/s390/bits/byteswap.h: Likewise.
78302 * sysdeps/x86_64/bits/byteswap.h: Likewise.
78303
78304 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78305
78306 [BZ #13540]
78307 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
78308 destination buffer.
78309 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
78310
78311 2011-12-23 Marek Polacek <polacek@redhat.com>
78312
78313 * elf/dl-addr.c (determine_info): Add inline keyword.
78314 * elf/tst-auditmod4b.c (check_avx): Likewise.
78315 * elf/tst-auditmod6b.c (check_avx): Likewise.
78316 * elf/tst-auditmod6c.c (check_avx): Likewise.
78317 * elf/tst-auditmod7b.c (check_avx): Likewise.
78318
78319 2011-12-23 Ulrich Drepper <drepper@gmail.com>
78320
78321 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
78322 !__SSE_MATH__.
78323
78324 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78325
78326 [BZ #13540]
78327 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
78328 processing for last bytes.
78329
78330 2011-08-06 Bruno Haible <bruno@clisp.org>
78331
78332 [BZ #13061]
78333 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
78334 U+0385, not to U+1FEE.
78335
78336 [BZ #13062]
78337 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
78338 entry for U+00A5 U+0301.
78339
78340 2011-12-22 Ulrich Drepper <drepper@gmail.com>
78341
78342 [BZ #13166]
78343 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
78344 buffer for the output is too small.
78345
78346 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
78347 optimization.
78348
78349 [BZ #13185]
78350 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
78351 SSE flags if possible.
78352
78353 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78354
78355 [BZ #13540]
78356 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
78357 processing for last bytes.
78358
78359 2011-12-22 Joseph Myers <joseph@codesourcery.com>
78360
78361 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
78362 (syscall-list-default-options, syscall-list-default-condition)
78363 (syscall-list-includes): Define.
78364 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
78365 list of ABIs and options and #if conditions for each ABI. Do not
78366 handle common syscalls between ABIs specially.
78367 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
78368 Remove.
78369 (syscall-list-variants, syscall-list-32bit-options)
78370 (syscall-list-32bit-condition, syscall-list-64bit-options)
78371 (syscall-list-64bit-condition): Define.
78372 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
78373 (syscall-list-variants, syscall-list-32bit-options)
78374 (syscall-list-32bit-condition, syscall-list-64bit-options)
78375 (syscall-list-64bit-condition): Define.
78376 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
78377 Remove.
78378 (syscall-list-variants, syscall-list-32bit-options)
78379 (syscall-list-32bit-condition, syscall-list-64bit-options)
78380 (syscall-list-64bit-condition): Define.
78381 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
78382 Remove.
78383 (syscall-list-variants, syscall-list-32bit-options)
78384 (syscall-list-32bit-condition, syscall-list-64bit-options)
78385 (syscall-list-64bit-condition): Define.
78386
78387 2011-12-22 Ulrich Drepper <drepper@gmail.com>
78388
78389 * locale/iso-639.def: Add brx entry.
78390
78391 [BZ #13328]
78392 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
78393 Proposed by Mariusz_Cukr <marcukr@op.pl>.
78394
78395 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
78396 __feraiseexcept_renamed.
78397
78398 2011-12-21 Ulrich Drepper <drepper@gmail.com>
78399
78400 [BZ #13538]
78401 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
78402 EPOLLET with unsigned values.
78403 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78404 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78405
78406 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
78407 to large cancellation.
78408 * math/s_cacoshf.c: Likewise.
78409 * math/s_cacoshl.c: Likewise.
78410
78411 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
78412
78413 [BZ #13305]
78414 [BZ #12786]
78415 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
78416 * math/s_cacoshf.c: Likewise.
78417 * math/s_cacoshl.c: Likewise.
78418
78419 2011-12-21 Ulrich Drepper <drepper@gmail.com>
78420
78421 [BZ #13439]
78422 * iconv/gconv.h: Define __GCONV_SWAP.
78423 * iconvdata/unicode.c: The swap bit must be stored in __flags.
78424 * iconvdata/utf-16.c: Likewise.
78425 * iconvdata/utf-32.c: Likewise.
78426
78427 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
78428
78429 [BZ #13524]
78430 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
78431 numerator after shifting it by one limb.
78432
78433 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
78434
78435 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
78436 under [__USE_EXTERN_INLINES].
78437
78438 2011-12-17 Ulrich Drepper <drepper@gmail.com>
78439
78440 [BZ #13446]
78441 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
78442
78443 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78444
78445 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
78446 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
78447 optimized code.
78448 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
78449 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
78450 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
78451 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
78452 for strncasecmp/strncasecmp_l compilation.
78453 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
78454 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
78455
78456 2011-12-08 Marek Polacek <mpolacek@redhat.com>
78457
78458 [BZ #13484]
78459 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
78460 of __asm__.
78461
78462 2011-12-17 Ulrich Drepper <drepper@gmail.com>
78463
78464 [BZ #13506]
78465 * time/tzfile.c (__tzfile_read): Check values from file header.
78466
78467 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
78468
78469 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
78470 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
78471 * powerpc/powerpc32/dl-start.S: Likewise.
78472 * powerpc/powerpc32/elf/start.S: Likewise.
78473 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
78474 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
78475 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
78476 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
78477 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
78478 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
78479 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
78480 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
78481 * powerpc/powerpc32/fpu/s_round.S: Likewise.
78482 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
78483 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
78484 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
78485 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
78486 * powerpc/powerpc32/memset.S: Likewise.
78487 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
78488 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
78489 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
78490 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
78491 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
78492 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
78493 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
78494 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
78495 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
78496 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
78497 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
78498 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78499 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78500
78501 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78502
78503 * math/libm-test.inc: Added more nearbyint tests.
78504 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
78505 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
78506 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
78507 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
78508
78509 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
78510
78511 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
78512 FD_CLOEXEC.
78513
78514 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78515
78516 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
78517 Add wcscpy-ssse3 wcscpy-c.
78518 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
78519 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
78520 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
78521 * sysdeps/x86_64/wcschr.S: New file.
78522 * sysdeps/x86_64/wcsrchr.S: New file.
78523 * string/test-strcmp.c: Remove checking of wcscmp function for
78524 wrong alignments.
78525 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
78526 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
78527 wcsrchr-sse2 wcsrchr-c.
78528 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
78529 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
78530 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
78531 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
78532 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
78533 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
78534 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
78535 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
78536 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
78537 * wcsmbc/wcschr.c (WCSCHR): New macro.
78538
78539 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78540
78541 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
78542 * wcsmbs/test-wcsrchr.c: New file.
78543 * string/test-strrchr.c: Add wcsrchr support.
78544 (WIDE): New macro.
78545 * wcsmbs/test-wcscpy.c: New file.
78546 * string/test-strcpy.c: Add wcscpy support.
78547 (WIDE): New macro.
78548
78549 2011-12-10 Ulrich Drepper <drepper@gmail.com>
78550
78551 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
78552 the inner loop.
78553
78554 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
78555
78556 [BZ #13472]
78557 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
78558
78559 2011-12-04 Ulrich Drepper <drepper@gmail.com>
78560
78561 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
78562 Minor optimizations.
78563
78564 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
78565 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
78566 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
78567
78568 2011-12-03 Ulrich Drepper <drepper@gmail.com>
78569
78570 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
78571 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
78572 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
78573 for gcc to avoid warnings.
78574 * inet/Makefile (tests): Add tst-checks.
78575 * inet/tst-checks.c: New file.
78576
78577 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
78578 warning.
78579
78580 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
78581 __wmemcmp_sse2.
78582
78583 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
78584 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
78585
78586 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
78587
78588 2011-12-02 Ulrich Drepper <drepper@gmail.com>
78589
78590 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
78591 problem.
78592
78593 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
78594
78595 2011-11-29 Joseph Myers <joseph@codesourcery.com>
78596
78597 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
78598 conditional on GCC version.
78599 (__arch_compare_and_exchange_val_8_acq)
78600 (__arch_compare_and_exchange_val_16_acq)
78601 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
78602 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
78603 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
78604
78605 2011-12-02 Joseph Myers <joseph@codesourcery.com>
78606
78607 * sysdeps/sh/backtrace.c: New file.
78608
78609 2011-12-02 Andreas Schwab <schwab@redhat.com>
78610
78611 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
78612 parenthesis.
78613
78614 2011-12-01 Andreas Schwab <schwab@redhat.com>
78615
78616 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
78617 falling back to utime.
78618
78619 2011-11-30 Andreas Schwab <schwab@redhat.com>
78620
78621 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
78622 expectations for float.
78623
78624 2011-11-29 Andreas Schwab <schwab@redhat.com>
78625
78626 * locale/weight.h (findidx): Add parameter len.
78627 * locale/weightwc.h (findidx): Likewise.
78628 * posix/fnmatch_loop.c (FCT): Adjust caller.
78629 * posix/regcomp.c (build_equiv_class): Likewise.
78630 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
78631 * posix/regexec.c (check_node_accept_bytes): Likewise.
78632 * string/strcoll_l.c (STRCOLL): Likewise.
78633 * string/strxfrm_l.c (STRXFRM): Likewise.
78634
78635 2011-11-17 Ulrich Drepper <drepper@gmail.com>
78636
78637 * Makefile.in: Remove CVSOPT handling.
78638 * configure.in: Remove use of AC_REVISION.
78639 * iconvdata/Makefile (distribute): No need to filter out CVS.
78640 * scripts/list-sources.sh: Remove CVS, subversion and monotone
78641 handling.
78642
78643 2011-11-16 Andreas Schwab <schwab@redhat.com>
78644
78645 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
78646 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
78647 [USE_AS_STRNCASECMP_L]: Likewise.
78648 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
78649 NO_TLS_DIRECT_SEG_REFS.
78650 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
78651 Fix argument offsets for non-PIC.
78652 [USE_AS_STRNCASECMP_L]: Likewise.
78653 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
78654 NO_TLS_DIRECT_SEG_REFS.
78655
78656 2011-11-15 Ulrich Drepper <drepper@gmail.com>
78657
78658 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
78659 O_CLOEXEC.
78660 * locale/loadlocale.c (_nl_load_locale): Likewise.
78661
78662 2011-11-15 Andreas Schwab <schwab@redhat.com>
78663
78664 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
78665 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
78666 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
78667 (SYSCALL_GETTIME): Set errno on error.
78668
78669 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
78670 count references to noai6ai_cached.
78671
78672 2011-11-15 Ulrich Drepper <drepper@gmail.com>
78673
78674 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
78675
78676 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
78677 FD_CLOEXEC for /proc/self/maps.
78678
78679 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
78680 FD_CLOEXEC for /proc/meminfo.
78681
78682 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
78683 gai.conf.
78684
78685 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
78686 FD_CLOEXEC for given file.
78687
78688 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
78689
78690 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
78691 FD_CLOEXEC for /etc/hosts.
78692 (_gethtent): Likewise.
78693
78694 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
78695
78696 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
78697 cancellation and set FD_CLOEXEC for /etc/netgroup.
78698
78699 * nss/nss_files/files-key.c (search): Don't allow cancellation when
78700 reading /etc/publickey.
78701
78702 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
78703 allow cancellation when reading /etc/group.
78704
78705 * nss/nss_files/files-alias.c (internal_setent): Don't allow
78706 cancellation.
78707 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
78708
78709 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
78710 when using data file.
78711
78712 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
78713
78714 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
78715 (write_nis_obj): Use "c" and "e" in fopen.
78716
78717 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
78718
78719 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
78720
78721 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
78722
78723 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
78724
78725 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
78726 locale.alias.
78727
78728 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
78729
78730 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
78731
78732 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
78733
78734 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
78735 file parsing and set FD_CLOEXEC.
78736
78737 2011-11-14 Ulrich Drepper <drepper@gmail.com>
78738
78739 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
78740
78741 2011-11-14 Andreas Schwab <schwab@redhat.com>
78742
78743 * malloc/arena.c (arena_get2): Don't call reused_arena when
78744 _int_new_arena failed.
78745
78746 2011-11-14 Ulrich Drepper <drepper@gmail.com>
78747
78748 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
78749 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
78750 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
78751 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78752 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78753 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
78754 to compile strcasecmp and strncasecmp.
78755 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
78756 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
78757
78758 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
78759
78760 2011-11-13 Ulrich Drepper <drepper@gmail.com>
78761
78762 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
78763 locale-defines.sym to gen-as-const-headers.
78764 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
78765 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
78766 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
78767 to compile strcasecmp and strncasecmp.
78768 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
78769 strcasecmp_l and strncasecmp_l.
78770 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
78771 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
78772 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
78773 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
78774 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
78775 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
78776 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
78777 * sysdeps/i386/i686/multiarch/strncase.S: New file.
78778 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
78779 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
78780 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
78781
78782 2011-11-12 Ulrich Drepper <drepper@gmail.com>
78783
78784 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
78785 result of SYSDEP_GETTIME_CPU to retval.
78786 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
78787 parameter list to macro. Remove trailing semicolon. Adjust users.
78788
78789 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
78790 variable.
78791
78792 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
78793 mantissa words.
78794 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
78795
78796 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
78797 from unused variable.
78798
78799 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
78800 DWARF definitions.
78801 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
78802 for assembling.
78803
78804 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
78805 over namespaces.
78806
78807 * sunrpc/rpc_prot.c (rejected): Fix case value.
78808
78809 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
78810 unsigned long long int to avoid warnings in shift.
78811
78812 * posix/regex_internal.c (re_string_reconstruct): Actually use result
78813 of use of trans.
78814 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
78815 variable tmp.
78816
78817 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
78818 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
78819 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
78820
78821 * nis/nis_table.c (nis_list): Use variable of correct type for
78822 result of __follow_path call.
78823
78824 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78825
78826 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
78827 of math functions ceil, trunc, floor, round, and sqrt, when
78828 avaliable on the platform.
78829 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
78830 name clash.
78831 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78832 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78833 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78834
78835 2011-10-30 Marek Polacek <mpolacek@redhat.com>
78836
78837 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
78838 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
78839
78840 2011-11-11 Roland McGrath <roland@hack.frob.com>
78841
78842 * include/unistd.h: Fix __readlink return type.
78843 Reported by Chris Metcalf <cmetcalf@tilera.com>.
78844
78845 2011-11-11 Ulrich Drepper <drepper@gmail.com>
78846
78847 * stdlib/ucontext.h: Undo last change for makecontext.
78848
78849 2011-11-11 Andreas Schwab <schwab@redhat.com>
78850
78851 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
78852
78853 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
78854 * setjmp/setjmp.h: Mark functions as non-leaf.
78855 * setjmp/bits/setjmp2.h: Likewise.
78856 * stdlib/ucontext.h: Likewise.
78857
78858 2011-11-10 Andreas Schwab <schwab@redhat.com>
78859
78860 * malloc/arena.c (_int_new_arena): Don't increment narenas.
78861 (reused_arena): Don't check arena limit.
78862 (arena_get2): Atomically check arena limit.
78863
78864 2011-11-08 Ulrich Drepper <drepper@gmail.com>
78865
78866 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
78867 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
78868
78869 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
78870 instructions.
78871
78872 2011-11-07 Andreas Schwab <schwab@redhat.com>
78873
78874 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
78875 handler when locking.
78876
78877 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78878 Fix size of allocated buffer.
78879
78880 2011-11-04 Andreas Schwab <schwab@redhat.com>
78881
78882 [BZ #10103]
78883 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
78884 declarations for long double functions.
78885 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
78886
78887 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
78888
78889 2011-11-03 Andreas Schwab <schwab@redhat.com>
78890
78891 * nscd/nscd.c (main): Don't start AVC thread until credentials are
78892 installed.
78893
78894 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
78895 is disabled.
78896
78897 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
78898
78899 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
78900
78901 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
78902
78903 * include/alloca.h (stackinfo_alloca_round): Define.
78904 (extend_alloca): Use it.
78905 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
78906 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
78907 here.
78908
78909 * scripts/check-local-headers.sh: Ignore libaudit.h.
78910
78911 * nscd/Makefile (extra-objs): Make recursively expanded.
78912
78913 2011-11-01 Ulrich Drepper <drepper@gmail.com>
78914
78915 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
78916 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
78917
78918 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
78919 * posix/tst-rfc3484-2.c: Likewise.
78920 * posix/tst-rfc3484-3.c: Likewise.
78921
78922 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
78923 process_vm_writev.
78924 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
78925 process_vm_writev.
78926 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
78927 process_vm_writev from libc using GLIBC_2.15 version.
78928
78929 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
78930
78931 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
78932
78933 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
78934 stack usage.
78935
78936 2011-10-31 Ulrich Drepper <drepper@gmail.com>
78937
78938 [BZ #13367]
78939 * nss/getent.c (initgroups_keys): Show error message in case no group
78940 names are given.
78941
78942 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
78943 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
78944 __bump_nl_timestamp.
78945 * nscd/connections (nscd_init): When host database is served open
78946 netlink socket and request notification about configuration changes.
78947 (main_loop_poll): Track netlink file descriptor and bump timestamp
78948 in case data becomes available.
78949 (main_loop_epoll): Likewise.
78950 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
78951 (database_pers_head): Add extra_data fileds.
78952 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
78953 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
78954 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
78955 Adjust caller.
78956 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
78957 in6ai data, call __free_in6ai.
78958 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
78959 Add -DHAVE_NETLINK.
78960 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
78961 interface information. Reuse previous data if netlink timestamp
78962 is not changed.
78963 (__bump_nl_timestamp): New function.
78964 (__free_in6ai): New function.
78965
78966 2011-10-30 Ulrich Drepper <drepper@gmail.com>
78967
78968 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
78969 close_not_cancel_no_status here.
78970 (__check_pf): Reorganize code a bit to not call close twice if OOM.
78971
78972 2011-10-29 Ulrich Drepper <drepper@gmail.com>
78973
78974 [BZ #13276]
78975 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
78976 return value.
78977
78978 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
78979 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
78980 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
78981
78982 2011-07-03 Andreas Jaeger <aj@suse.de>
78983
78984 [BZ #10709]
78985 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
78986 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
78987 * math/libm-test.inc (sin_test): Add test case.
78988
78989 2011-10-29 Ulrich Drepper <drepper@gmail.com>
78990
78991 [BZ #13337]
78992 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
78993 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
78994
78995 * elf/chroot_canon.c (chroot_canon): Cleanups.
78996
78997 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
78998
78999 [BZ #13335]
79000 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79001 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79002
79003 * string/test-strchr.c: Make usable for strchrnul testing.
79004 * string/test-strchrnul.c: New file.
79005 * string/Makefile (strop-tests): Add strchrnul.
79006
79007 * po/it.po: Update from translation team.
79008 * po/es.po: Likewise.
79009
79010 2011-10-28 Ulrich Drepper <drepper@gmail.com>
79011
79012 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79013 the three constants needed as parameters. Drop the others.
79014 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79015 __m128i_strloadu_tolower.
79016 Create and initialize variable zero and use it in all the places
79017 where _mm_setzero_si128 was used.
79018
79019 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79020 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79021 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79022 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79023 anymore.
79024 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79025 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79026 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79027 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79028 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79029 __mpranred, __mptan.
79030 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79031 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79032 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79033 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79034 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79035 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79036 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79037 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79038 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79039
79040 2011-10-28 Andreas Schwab <schwab@redhat.com>
79041
79042 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79043 redefine if SHARED.
79044 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79045
79046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79047 wide char related routines to wcsmbs subdir.
79048
79049 2011-10-27 Andreas Schwab <schwab@redhat.com>
79050
79051 [BZ #13344]
79052 * misc/sys/cdefs.h (__THROWNL): Define.
79053 * posix/unistd.h: Use __THREADNL instead of __THREAD
79054 for memory synchronization functions.
79055
79056 2011-10-26 Roland McGrath <roland@hack.frob.com>
79057
79058 [BZ #13349]
79059 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79060 doesn't exist.
79061 * manual/stdio.texi (Obstack Streams): Node removed.
79062
79063 2011-10-26 Andreas Schwab <schwab@redhat.com>
79064
79065 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79066 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79067 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79068
79069 * math/math_private.h (math_force_eval): Allow non-addressable
79070 arguments.
79071 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79072
79073 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79074
79075 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79076 file is not needed.
79077
79078 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79079 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79080 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79081 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79082 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79083 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79084 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79085 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79086 Add AVX variants.
79087 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79088 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79089 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79090 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79091 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79092 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79093 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79094 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79095 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79096 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79097 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79098 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79099 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79100 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79101 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79102 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79103 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79104 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79105 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79106
79107 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79108 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
79109
79110 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79111 place. Use VEX encoding when compiling for AVX.
79112
79113 2011-10-25 Andreas Schwab <schwab@redhat.com>
79114
79115 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79116 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79117
79118 * string/test-strchr.c (do_test): Don't generate NUL bytes.
79119
79120 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79121
79122 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79123 useless if() expression.
79124 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79125 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79126 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79127 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79128 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79129 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79130 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79131 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79132 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79133 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79134 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79135 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79136 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79137 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79138 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79139 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79140 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79141 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79142 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79143
79144 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79145
79146 2011-10-25 Andreas Schwab <schwab@redhat.com>
79147
79148 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79149 condition.
79150 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79151
79152 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79153
79154 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79155 .text section. Avoid duplicate constants.
79156 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79158 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79160 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79164 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79165 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79166 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79167 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79168 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79169 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79170 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79171 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79172 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79173 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79174 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79175 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79176 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79177 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79178 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79179 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79180 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79181 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79182 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79183 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79184 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79185 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79186 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79187 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79188 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
79189 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
79190 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
79191 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
79192 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
79193 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
79194 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
79195 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
79196 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
79197 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
79198 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
79199 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
79200 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
79201
79202 2011-10-24 Ulrich Drepper <drepper@gmail.com>
79203
79204 * sysdeps/x86_64/dla.h: Move to ...
79205 * sysdeps/x86_64/fpu/dla.h: ...here.
79206 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
79207 situations. Use __builtin_fma only for gcc 4.6 and up.
79208
79209 * config.make.in: Add have-mfma4 entry.
79210 * configure.in: Substitute libc_cv_cc_fma4.
79211 * math/Makefile (dbl-only-routines): Add sincostab.
79212 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
79213 Use __sincostab not sincos.
79214 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
79215 name is a macro.
79216 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79217 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79218 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79219 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
79220 using __copysign.
79221 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
79222 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
79223 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
79224 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
79225 and __inv.
79226 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
79227 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
79228 __copysign.
79229 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
79230 define aliases when function name is a macro.
79231 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
79232 sysdeps/ieee754/dbl-64/sincos.tbl.
79233 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
79234 fma4-enabled routines.
79235 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
79236 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
79237 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
79238 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
79239 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
79240 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
79241 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
79242 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
79243 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
79244 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
79245 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
79246 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
79247 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
79248 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
79249 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
79250 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
79251 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
79252 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
79253 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
79254 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
79255 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
79256 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
79257 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
79258 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
79259 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
79260 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
79261 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
79262 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
79263 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
79264 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
79265
79266 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
79267 rename.
79268 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79269 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79270 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79271 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79273 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79274 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79275 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79276
79277 2011-10-24 Andreas Schwab <schwab@redhat.com>
79278
79279 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
79280
79281 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79282
79283 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
79284
79285 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
79286 prediction.
79287 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
79288
79289 * string/strnlen.c: Don't define STRNLEN, reverse logic.
79290 Remove unused variable magic_bits.
79291 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
79292
79293 * string/strnlen.c: Define and use STRNLEN macro.
79294 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
79295 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
79296 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
79297 * wcsmbs/wcslen.c: Define and use WCSLEN.
79298 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
79299 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
79300 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
79301 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
79302 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
79303 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
79304 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79305
79306 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79307
79308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79309 strnlen-sse2-no-bsf.
79310 Rename strlen-no-bsf to strlen-sse2-no-bsf.
79311 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
79312 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
79313 Add strnlen support.
79314 (USE_AS_STRNLEN): New macro.
79315 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
79316 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
79317 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
79318 * sysdeps/x86_64/wcslen.S: New file.
79319
79320 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
79321
79322 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79323 XMM-moves are used for copying on small sizes.
79324
79325 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79326
79327 * wcsmbs/Makefile (strop-tests): Add wcschr.
79328 * wcsmbs/test-wcschr.c: New file.
79329 * string/test-strchr.c: Update.
79330 Add wcschr support.
79331 (WIDE): New macro.
79332
79333 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79334
79335 * wcsmbs/Makefile (strop-tests): Add wcslen.
79336 * wcsmbs/test-wcslen.c: New file.
79337 * string/test-strlen.c: Update.
79338 Add wcslen support.
79339 (WIDE): New macro.
79340
79341 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79342
79343 * po/it.po: Update from translation team.
79344
79345 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79346
79347 * sysdeps/x86_64/wcscmp.S: Update.
79348 Fix wrong comparison semantics.
79349 wcscmp shall use signed comparison not unsigned.
79350 Don't use substraction to avoid overflow bug.
79351 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
79352 * wcsmbc/wcscmp.c: Likewise.
79353 * string/test-strcmp.c: Likewise.
79354 Add new tests to check cases with negative values.
79355
79356 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79357
79358 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
79359 * sysdeps/x86_64/dla.h: ...here. New file.
79360 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
79361 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79363 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79365 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79366 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79367 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79368 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79369
79370 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
79371
79372 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
79373 __ynl_finite aliases.
79374
79375 2011-10-22 Ulrich Drepper <drepper@gmail.com>
79376
79377 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79378
79379 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
79380 define DLA_FMA.
79381 [DLA_FMA] (EMULV): Use DLA_FMA.
79382 [DLA_FMA] (MUL12): Use EMULV.
79383 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
79384 that are not needed.
79385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79389 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79390 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79391 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79392
79393 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
79394
79395 * math/s_nan.c: Undef __nan.
79396 * math/s_nanf.c: Undef __nanf.
79397 * math/s_nanl.c: Undef __nanl.
79398 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
79399 "math_private.h".
79400
79401 2011-10-22 Ulrich Drepper <drepper@gmail.com>
79402
79403 * math/s_catan.c: Add branch predictions.
79404 * math/s_catanf.c: Likewise.
79405 * math/s_catanh.c: Likewise.
79406 * math/s_catanhf.c: Likewise.
79407 * math/s_catanhl.c: Likewise.
79408 * math/s_catanl.c: Likewise.
79409 * math/s_cexp.c: Likewise.
79410 * math/s_cexpf.c: Likewise.
79411 * math/s_cexpl.c: Likewise.
79412 * math/s_clog.c: Likewise.
79413 * math/s_clog10.c: Likewise.
79414 * math/s_clog10f.c: Likewise.
79415 * math/s_clog10l.c: Likewise.
79416 * math/s_clogf.c: Likewise.
79417 * math/s_clogl.c: Likewise.
79418 * math/s_csqrt.c: Likewise.
79419 * math/s_csqrtf.c: Likewise.
79420 * math/s_csqrtl.c: Likewise.
79421 * math/s_ctanf.c: Likewise.
79422 * math/s_ctanh.c: Likewise.
79423 * math/s_ctanhf.c: Likewise.
79424 * math/s_ctanhl.c: Likewise.
79425 * math/s_ctanl.c: Likewise.
79426
79427 * math/math_private.h: Define __nan, __nanf, __nanl.
79428 * math/s_cacosh.c: Include <math_private.h>.
79429 * math/s_cacoshl.c: Likewise.
79430 * math/s_casinh.c: Likewise.
79431 * math/s_casinhf.c: Likewise.
79432 * math/s_casinhl.c: Likewise.
79433 * math/s_ccos.c: Rely entire on ccosh.
79434 * math/s_ccosf.c: Rely entire on ccoshf.
79435 * math/s_ccosl.c: Rely entirely on ccoshl.
79436 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
79437 Remove tests for FE_INVALID.
79438 * math/s_ccoshf.c: Likewise.
79439 * math/s_ccoshl.c: Likewise.
79440 * math/s_csin.c: Likewise.
79441 * math/s_csinf.c: Likewise.
79442 * math/s_csinh.c Likewise.
79443 * math/s_csinhf.c: Likewise.
79444 * math/s_csinhl.c: Likewise.
79445 * math/s_csinl.c: Likewise.
79446 * math/s_ctan.c: Likewise.
79447 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
79448 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
79449 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
79450
79451 2011-10-21 Ulrich Drepper <drepper@gmail.com>
79452
79453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
79454 compilation problems.
79455
79456 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
79457 __builtin_expect.
79458
79459 2011-10-20 Ulrich Drepper <drepper@gmail.com>
79460
79461 * sysdeps/i386/configure.in: Test for -mfma4 option.
79462 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
79463 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
79464 COMMON_CPUID_INDEX_80000001.
79465 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
79466 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
79467 use it if FMA3 is not supported.
79468 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
79469
79470 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
79471 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79472
79473 2011-10-20 Andreas Schwab <schwab@redhat.com>
79474
79475 [BZ #12892]
79476 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
79477 it would create a cycle with a link time dependency.
79478
79479 2011-10-19 Ulrich Drepper <drepper@gmail.com>
79480
79481 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
79482 instruction.
79483 * string/Makefile (strop-tests): Add rawmemchr.
79484 * string/test-rawmemchr.c: New file.
79485
79486 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
79487 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
79488 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
79489 when compiling str{,n}casecmp and when AVX is available. Hook up
79490 new optimized code in initializers.
79491
79492 2011-10-19 Andreas Schwab <schwab@redhat.com>
79493
79494 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
79495 __feraiseexcept instead of feraiseexcept.
79496
79497 2011-10-18 Ulrich Drepper <drepper@gmail.com>
79498
79499 * math/math_private.h: Define defaults for libc_fetestexcept and
79500 libc_feupdateenv.
79501 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
79502 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
79503 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
79504 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79505 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79506 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79507 libc_fetestexcept and libc_feupdateenv.
79508
79509 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
79510 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
79511 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
79512 * sysdeps/x86_64/fpu/math_private.h: Define special version of
79513 libc_feholdexcept_setround.
79514
79515 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
79516 Add s_nearbyint-c and s_nearbyintf-c.
79517 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
79518 nearbyintf inlines.
79519 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
79520 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
79521 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
79522 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
79523
79524 * math/math_private.h: Define defaults for libc_fegetround,
79525 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
79526 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
79527 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
79528 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
79529 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
79530 standard functions.
79531 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79532 Remove comments and hacks for old compiler versions.
79533 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79534 libc_fegetround, libc_fesetround, libc_feholdexcept, and
79535 libc_feholdexceptl.
79536
79537 2011-10-18 Andreas Schwab <schwab@redhat.com>
79538
79539 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
79540 (__feraiseexcept_renamed): Add __NTH.
79541 (feraiseexcept): Add __NTH. Rename local variables to fix
79542 namespace violations.
79543
79544 2011-10-17 Ulrich Drepper <drepper@gmail.com>
79545
79546 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
79547
79548 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
79549
79550 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
79551 recently added interfaces.
79552 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
79553
79554 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
79555 about macro parameter expansion.
79556
79557 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
79558 __NO_MATH_INLINES is defined. Cleanups.
79559
79560 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
79561 and __floorf is target has SSE4.1.
79562 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
79563 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
79564 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
79565 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
79566
79567 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
79568 name.
79569 (floorf): Likewise.
79570
79571 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
79572
79573 2011-10-17 Andreas Schwab <schwab@redhat.com>
79574
79575 * misc/sys/cdefs.h: Fix last change.
79576
79577 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
79578 database lookup.
79579
79580 2011-10-16 Ulrich Drepper <drepper@gmail.com>
79581
79582 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
79583
79584 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
79585 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79586 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79587 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79588 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79589 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79590 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79591 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79592 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79593 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
79594 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
79595 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
79596 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
79597 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
79598 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
79599 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
79600 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
79601 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
79602 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
79603 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
79604 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
79605 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
79606
79607 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
79608 ceil, ceilf, floor, floorf.
79609
79610 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
79611 Perform IRELATIVE relocations last.
79612
79613 * elf/do-rel.h: Add another parameter nrelative, replacing the
79614 local variable with the same name. Change name of the function
79615 to end in Rel or Rela (uppercase).
79616 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
79617 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
79618 elf_dynamic_do_##reloc function.
79619
79620 2011-10-15 Ulrich Drepper <drepper@gmail.com>
79621
79622 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
79623 is sufficient, at least on modern CPUs.
79624
79625 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
79626
79627 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
79628 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
79629
79630 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
79631 __expl_finite.
79632 * math/bits/math-finite.h: Add entries for exp.
79633 * math/e_expl.c: Add __*_finite alias.
79634 * sysdeps/i386/fpu/e_exp.S: Likewise.
79635 * sysdeps/i386/fpu/e_expf.S: Likewise.
79636 * sysdeps/i386/fpu/e_expl.c: Likewise.
79637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79638 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79639 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
79640 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
79641 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
79642 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79643 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79644
79645 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
79646 is sufficient, at least on modern CPUs.
79647
79648 * ctype/ctype-info.c (__ctype_init): Define.
79649 * include/ctype.h (__ctype_init): Declare.
79650 (__ctype_b_loc): The variable is always initialized.
79651 (__ctype_toupper_loc): Likewise.
79652 (__ctype_tolower_loc): Likewise.
79653 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
79654 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
79655
79656 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
79657
79658 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
79659
79660 * configure.in: Also look in $cxxmachine/include for C++ system
79661 headers.
79662
79663 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79664
79665 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
79666 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
79667 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
79668 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
79669 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
79670 (USE_AS_WMEMCMP): New macro.
79671 Fixing indents.
79672 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
79673 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
79674 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
79675 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
79676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79677 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
79678 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
79679 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
79680 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
79681 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
79682 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
79683 (USE_AS_WMEMCMP): New macro.
79684 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
79685 * sysdeps/string/test-memcmp.c: Update.
79686 Fix simple_wmemcmp.
79687 Add new tests.
79688 * wcsmbs/wmemcmp.c: Update.
79689 (WMEMCMP): New macro.
79690 Fix overflow bug.
79691
79692 2011-10-12 Andreas Jaeger <aj@suse.de>
79693
79694 [BZ #13268]
79695 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
79696
79697 2011-10-15 Ulrich Drepper <drepper@gmail.com>
79698
79699 * libio/iofwide.c (do_length): Avoid warning.
79700
79701 * ctype/ctype.h (__isctype_f): Add missing __THROW.
79702
79703 2011-10-14 Ulrich Drepper <drepper@gmail.com>
79704
79705 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
79706
79707 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
79708 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
79709 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
79710 * sysdeps/i386/i686/fpu/e_log.S: New file.
79711 * sysdeps/i386/i686/fpu/e_logf.S: New file.
79712 * sysdeps/i386/i686/fpu/e_logl.S: New file.
79713
79714 * ctype/ctype.h: Add support for inlined isXXX functions when
79715 compiling C++ code.
79716
79717 2011-10-14 Andreas Schwab <schwab@redhat.com>
79718
79719 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79720
79721 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
79722
79723 2011-10-13 Roland McGrath <roland@hack.frob.com>
79724
79725 [BZ #13291]
79726 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
79727
79728 2011-10-13 Andreas Schwab <schwab@redhat.com>
79729
79730 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
79731 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
79732 feraiseexcept.
79733
79734 * sysdeps/x86_64/memrchr.S: Check for zero size.
79735
79736 * string/stratcliff.c: Add memrchr tests.
79737
79738 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79739
79740 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79741 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
79742 rawmemchr-sse2 rawmemchr-sse2-bsf.
79743 * sysdeps/i386/i686/multiarch/memchr.S: New file.
79744 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
79745 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
79746 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
79747 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
79748 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
79749 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
79750 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
79751 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
79752 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
79753 * string/memrchr.c (MEMRCHR): New macro.
79754
79755 2011-10-12 Ulrich Drepper <drepper@gmail.com>
79756
79757 Add integration with gcc's -ffinite-math-only and optimize wrapper
79758 functions in libm.
79759 * Versions.def: Define GLIBC_2.15 version for libm.
79760 * math/Makefile (headers): Add bits/math-finite.h.
79761 * math/bits/math-finite.h: New file.
79762 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
79763 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
79764 * math/e_acoshl.c: Add __*_finite alias.
79765 * math/e_acosl.c: Likewise.
79766 * math/e_asinl.c: Likewise.
79767 * math/e_atan2l.c: Likewise.
79768 * math/e_atanhl.c: Likewise.
79769 * math/e_coshl.c: Likewise.
79770 * math/e_exp10.c: Likewise.
79771 * math/e_exp10f.c: Likewise.
79772 * math/e_exp10l.c: Likewise.
79773 * math/e_exp2l.c: Likewise.
79774 * math/e_fmodl.c: Likewise.
79775 * math/e_gammal_r.c: Likewise.
79776 * math/e_hypotl.c: Likewise.
79777 * math/e_j0l.c: Likewise.
79778 * math/e_j1l.c: Likewise.
79779 * math/e_jnl.c: Likewise.
79780 * math/e_lgammal_r.c: Likewise.
79781 * math/e_log10l.c: Likewise.
79782 * math/e_log2l.c: Likewise.
79783 * math/e_logl.c: Likewise.
79784 * math/e_powl.c: Likewise.
79785 * math/e_sinhl.c: Likewise.
79786 * math/e_sqrtl.c: Likewise.
79787 * math/e_scalb.c: Completely rewritten and optimized.
79788 * math/e_scalbf.c: Likewise.
79789 * math/e_scalbl.c: Likewise.
79790 * math/w_acos.c: Likewise.
79791 * math/w_acosf.c: Likewise.
79792 * math/w_acosl.c: Likewise.
79793 * math/w_acosh.c: Likewise.
79794 * math/w_acoshf.c: Likewise.
79795 * math/w_acoshl.c: Likewise.
79796 * math/w_asin.c: Likewise.
79797 * math/w_asinf.c: Likewise.
79798 * math/w_asinl.c: Likewise.
79799 * math/w_atan2.c: Likewise.
79800 * math/w_atan2f.c: Likewise.
79801 * math/w_atan2l.c: Likewise.
79802 * math/w_atanh.c: Likewise.
79803 * math/w_atanhf.c: Likewise.
79804 * math/w_atanhl.c: Likewise.
79805 * math/w_exp10.c: Likewise.
79806 * math/w_exp10f.c: Likewise.
79807 * math/w_exp10l.c: Likewise.
79808 * math/w_fmod.c: Likewise.
79809 * math/w_fmodf.c: Likewise.
79810 * math/w_fmodl.c: Likewise.
79811 * math/w_j0.c: Likewise.
79812 * math/w_j0f.c: Likewise.
79813 * math/w_j0l.c: Likewise.
79814 * math/w_j1.c: Likewise.
79815 * math/w_j1f.c: Likewise.
79816 * math/w_j1l.c: Likewise.
79817 * math/w_jn.c: Likewise.
79818 * math/w_jnf.c: Likewise.
79819 * math/w_log.c: Likewise.
79820 * math/w_logf.c: Likewise.
79821 * math/w_logl.c: Likewise.
79822 * math/w_log10.c: Likewise.
79823 * math/w_log10f.c: Likewise.
79824 * math/w_log10l.c: Likewise.
79825 * math/w_log2.c: Likewise.
79826 * math/w_log2f.c: Likewise.
79827 * math/w_log2l.c: Likewise.
79828 * math/w_pow.c: Likewise.
79829 * math/w_powf.c: Likewise.
79830 * math/w_powl.c: Likewise.
79831 * math/w_remainder.c: Likewise.
79832 * math/w_remainderf.c: Likewise.
79833 * math/w_remainderl.c: Likewise.
79834 * math/w_scalb.c: Likewise.
79835 * math/w_scalbf.c: Likewise.
79836 * math/w_scalbl.c: Likewise.
79837 * math/w_sqrt.c: Likewise.
79838 * math/w_sqrtf.c: Likewise.
79839 * math/w_sqrtl.c: Likewise.
79840 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
79841 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
79842 used.
79843 * math/math_private.h: Declare __kernel_standard_f.
79844 * math/w_cosh.c: Remove cruft and optimize a bit.
79845 * math/w_coshf.c: Likewise.
79846 * math/w_coshl.c: Likewise.
79847 * math/w_exp2.c: Likewise.
79848 * math/w_exp2f.c: Likewise.
79849 * math/w_exp2l.c: Likewise.
79850 * math/w_hypot.c: Likewise.
79851 * math/w_hypotf.c: Likewise.
79852 * math/w_hypotl.c: Likewise.
79853 * math/w_lgamma.c: Likewise.
79854 * math/w_lgamma_r.c: Likewise.
79855 * math/w_lgammaf.c: Likewise.
79856 * math/w_lgammaf_r.c: Likewise.
79857 * math/w_lgammal.c: Likewise.
79858 * math/w_lgammal_r.c: Likewise.
79859 * math/w_sinh.c: Likewise.
79860 * math/w_sinhf.c: Likewise.
79861 * math/w_sinhl.c: Likewise.
79862 * math/w_tgamma.c: Likewise.
79863 * math/w_tgammaf.c: Likewise.
79864 * math/w_tgammal.c: Likewise.
79865 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79866 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79867 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
79868 Minor optimizations. Pretty printing. Remove cruft.
79869 * sysdeps/i386/fpu/e_acosf.S: Likewise.
79870 * sysdeps/i386/fpu/e_acosh.S: Likewise.
79871 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
79872 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
79873 * sysdeps/i386/fpu/e_acosl.c: Likewise.
79874 * sysdeps/i386/fpu/e_asin.S: Likewise.
79875 * sysdeps/i386/fpu/e_asinf.S: Likewise.
79876 * sysdeps/i386/fpu/e_atan2.S: Likewise.
79877 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
79878 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
79879 * sysdeps/i386/fpu/e_atanh.S: Likewise.
79880 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
79881 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
79882 * sysdeps/i386/fpu/e_exp10.S: Likewise.
79883 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
79884 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
79885 * sysdeps/i386/fpu/e_exp2.S: Likewise.
79886 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
79887 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
79888 * sysdeps/i386/fpu/e_fmod.S: Likewise.
79889 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
79890 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
79891 * sysdeps/i386/fpu/e_hypot.S: Likewise.
79892 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
79893 * sysdeps/i386/fpu/e_log.S: Likewise.
79894 * sysdeps/i386/fpu/e_log10.S: Likewise.
79895 * sysdeps/i386/fpu/e_log10f.S: Likewise.
79896 * sysdeps/i386/fpu/e_log10l.S: Likewise.
79897 * sysdeps/i386/fpu/e_log2.S: Likewise.
79898 * sysdeps/i386/fpu/e_log2f.S: Likewise.
79899 * sysdeps/i386/fpu/e_log2l.S: Likewise.
79900 * sysdeps/i386/fpu/e_logf.S: Likewise.
79901 * sysdeps/i386/fpu/e_logl.S: Likewise.
79902 * sysdeps/i386/fpu/e_pow.S: Likewise.
79903 * sysdeps/i386/fpu/e_powf.S: Likewise.
79904 * sysdeps/i386/fpu/e_powl.S: Likewise.
79905 * sysdeps/i386/fpu/e_remainder.S: Likewise.
79906 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
79907 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
79908 * sysdeps/i386/fpu/e_scalb.S: Likewise.
79909 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
79910 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
79911 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
79912 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
79913 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
79914 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79915 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79917 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79918 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79919 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79920 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
79921 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79922 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79923 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
79924 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
79925 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
79926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79927 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
79928 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
79929 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79930 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
79931 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
79932 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79933 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79934 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
79935 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
79936 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79937 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79938 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
79939 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
79940 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
79941 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
79942 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
79943 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
79944 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79945 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
79946 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79947 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
79948 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
79949 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
79950 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
79951 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
79952 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
79953 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
79954 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
79955 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
79956 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79957 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79958 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79959 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79960 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79961 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79962 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79963 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
79964 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79965 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79966 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79967 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79968 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79969 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79970 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79971 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79972 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79973 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79974 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79975 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79976 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79977 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79978 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79979 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79980 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79981 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79982 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
79983 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79984 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79985 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79986 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79987 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79988 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79989 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79990 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
79991 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79992 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79993 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79994 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79995 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79996 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
79997 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79998 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79999 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80000 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80001 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80002 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80003 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80004 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80005 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80006 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80007 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80008 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80009 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80010 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80011 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80012 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80013 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80014 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80015 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80016 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80017 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80018 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80019 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80020 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80021 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80022 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80023 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80024 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
80025 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80026 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80027 (__isnanf): Likewise.
80028 (__isinf_ns): Likewise.
80029 (__isinf_nsf): Likewise.
80030 (__finite): Likewise.
80031 (__finitef): Likewise.
80032 (__ieee754_sqrt): Define as macro.
80033 (__ieee754_sqrtf): Define as macro.
80034 (__ieee754_sqrtl): Define as macro.
80035 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80036 inlined copy.
80037 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80038 __FINITE_MATH_ONLY__ consistent.
80039 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80040
80041 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
80042
80043 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80044 of rawmemchr.
80045
80046 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80047
80048 2011-10-09 Ulrich Drepper <drepper@gmail.com>
80049
80050 * po/ja.po: Update from translation team.
80051
80052 2011-10-08 Roland McGrath <roland@hack.frob.com>
80053
80054 * locale/programs/locarchive.c (prepare_address_space): New function.
80055 (create_archive, enlarge_archive, open_archive): Use it.
80056
80057 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80058 inside [SHARED], where it is used.
80059
80060 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80061
80062 * nss/getent.c (netgroup_keys): Remove unused variable.
80063 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80064
80065 2011-10-08 Ulrich Drepper <drepper@gmail.com>
80066
80067 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80068 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80069 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80070 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80071 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80072 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80073 * math/Makefile (libm-calls): Add s_isinf_ns.
80074 * math/divtc3.c: Use __isinf_nsl instead of isinf.
80075 * math/multc3.c: Likewise.
80076 * math/s_casin.c: Likewise.
80077 * math/s_casinf.c: Likewise.
80078 * math/s_casinl.c: Likewise.
80079 * math/s_ccos.c: Likewise.
80080 * math/s_ccosf.c: Likewise.
80081 * math/s_ccosl.c: Likewise.
80082 * math/s_ctan.c: Likewise.
80083 * math/s_ctanf.c: Likewise.
80084 * math/s_ctanh.c: Likewise.
80085 * math/s_ctanhf.c: Likewise.
80086 * math/s_ctanhl.c: Likewise.
80087 * math/s_ctanl.c: Likewise.
80088 * math/w_fmod.c: Likewise.
80089 * math/w_fmodf.c: Likewise.
80090 * math/w_fmodl.c: Likewise.
80091 * math/w_remainder.c: Likewise.
80092 * math/w_remainderf.c: Likewise.
80093 * math/w_remainderl.c: Likewise.
80094 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80095 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80096 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80097 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80098 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80099 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80100 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80101 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80102
80103 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80104 of the number.
80105 * stdio-common/printf_fphex.c: Likewise.
80106 * stdio-common/printf_size.c: Likewise.
80107
80108 * math/e_exp10.c: Include math_private.h using <...> not "...".
80109 * math/e_exp10f.c: Likewise.
80110 * math/e_exp10l.c: Likewise.
80111 * math/e_exp2l.c: Likewise.
80112 * math/e_j0l.c: Likewise.
80113 * math/e_j1l.c: Likewise.
80114 * math/e_jnl.c: Likewise.
80115 * math/e_lgammal_r.c: Likewise.
80116 * math/e_rem_pio2l.c: Likewise.
80117 * math/e_scalb.c: Likewise.
80118 * math/e_scalbf.c: Likewise.
80119 * math/e_scalbl.c: Likewise.
80120 * math/k_cosl.c: Likewise.
80121 * math/k_sinl.c: Likewise.
80122 * math/k_tanl.c: Likewise.
80123 * math/s_cacoshf.c: Likewise.
80124 * math/s_catan.c: Likewise.
80125 * math/s_catanf.c: Likewise.
80126 * math/s_catanh.c: Likewise.
80127 * math/s_catanhf.c: Likewise.
80128 * math/s_catanhl.c: Likewise.
80129 * math/s_catanl.c: Likewise.
80130 * math/s_ccosh.c: Likewise.
80131 * math/s_ccoshf.c: Likewise.
80132 * math/s_ccoshl.c: Likewise.
80133 * math/s_cexp.c: Likewise.
80134 * math/s_cexpf.c: Likewise.
80135 * math/s_cexpl.c: Likewise.
80136 * math/s_clog.c: Likewise.
80137 * math/s_clog10.c: Likewise.
80138 * math/s_clog10f.c: Likewise.
80139 * math/s_clog10l.c: Likewise.
80140 * math/s_clogf.c: Likewise.
80141 * math/s_clogl.c: Likewise.
80142 * math/s_csin.c: Likewise.
80143 * math/s_csinf.c: Likewise.
80144 * math/s_csinh.c: Likewise.
80145 * math/s_csinhf.c: Likewise.
80146 * math/s_csinhl.c: Likewise.
80147 * math/s_csinl.c: Likewise.
80148 * math/s_csqrt.c: Likewise.
80149 * math/s_csqrtf.c: Likewise.
80150 * math/s_csqrtl.c: Likewise.
80151 * math/s_ctan.c: Likewise.
80152 * math/s_ctanf.c: Likewise.
80153 * math/s_ctanh.c: Likewise.
80154 * math/s_ctanhf.c: Likewise.
80155 * math/s_ctanhl.c: Likewise.
80156 * math/s_ctanl.c: Likewise.
80157 * math/s_ldexp.c: Likewise.
80158 * math/s_ldexpf.c: Likewise.
80159 * math/s_ldexpl.c: Likewise.
80160 * math/s_significand.c: Likewise.
80161 * math/s_significandf.c: Likewise.
80162 * math/s_significandl.c: Likewise.
80163 * math/w_acos.c: Likewise.
80164 * math/w_acosf.c: Likewise.
80165 * math/w_acosh.c: Likewise.
80166 * math/w_acoshf.c: Likewise.
80167 * math/w_acoshl.c: Likewise.
80168 * math/w_acosl.c: Likewise.
80169 * math/w_asin.c: Likewise.
80170 * math/w_asinf.c: Likewise.
80171 * math/w_asinl.c: Likewise.
80172 * math/w_atan2.c: Likewise.
80173 * math/w_atan2f.c: Likewise.
80174 * math/w_atan2l.c: Likewise.
80175 * math/w_atanh.c: Likewise.
80176 * math/w_atanhf.c: Likewise.
80177 * math/w_atanhl.c: Likewise.
80178 * math/w_cosh.c: Likewise.
80179 * math/w_coshf.c: Likewise.
80180 * math/w_coshl.c: Likewise.
80181 * math/w_dremf.c: Likewise.
80182 * math/w_exp10.c: Likewise.
80183 * math/w_exp10f.c: Likewise.
80184 * math/w_exp10l.c: Likewise.
80185 * math/w_exp2.c: Likewise.
80186 * math/w_exp2f.c: Likewise.
80187 * math/w_fmod.c: Likewise.
80188 * math/w_fmodf.c: Likewise.
80189 * math/w_fmodl.c: Likewise.
80190 * math/w_hypot.c: Likewise.
80191 * math/w_hypotf.c: Likewise.
80192 * math/w_hypotl.c: Likewise.
80193 * math/w_j0.c: Likewise.
80194 * math/w_j0f.c: Likewise.
80195 * math/w_j0l.c: Likewise.
80196 * math/w_j1.c: Likewise.
80197 * math/w_j1f.c: Likewise.
80198 * math/w_j1l.c: Likewise.
80199 * math/w_jn.c: Likewise.
80200 * math/w_jnf.c: Likewise.
80201 * math/w_jnl.c: Likewise.
80202 * math/w_lgamma.c: Likewise.
80203 * math/w_lgamma_r.c: Likewise.
80204 * math/w_lgammaf.c: Likewise.
80205 * math/w_lgammaf_r.c: Likewise.
80206 * math/w_lgammal.c: Likewise.
80207 * math/w_lgammal_r.c: Likewise.
80208 * math/w_log.c: Likewise.
80209 * math/w_log10.c: Likewise.
80210 * math/w_log10f.c: Likewise.
80211 * math/w_log10l.c: Likewise.
80212 * math/w_log2.c: Likewise.
80213 * math/w_log2f.c: Likewise.
80214 * math/w_log2l.c: Likewise.
80215 * math/w_logf.c: Likewise.
80216 * math/w_logl.c: Likewise.
80217 * math/w_pow.c: Likewise.
80218 * math/w_powf.c: Likewise.
80219 * math/w_powl.c: Likewise.
80220 * math/w_remainder.c: Likewise.
80221 * math/w_remainderf.c: Likewise.
80222 * math/w_remainderl.c: Likewise.
80223 * math/w_scalb.c: Likewise.
80224 * math/w_scalbf.c: Likewise.
80225 * math/w_scalbl.c: Likewise.
80226 * math/w_sinh.c: Likewise.
80227 * math/w_sinhf.c: Likewise.
80228 * math/w_sinhl.c: Likewise.
80229 * math/w_sqrt.c: Likewise.
80230 * math/w_sqrtf.c: Likewise.
80231 * math/w_sqrtl.c: Likewise.
80232 * math/w_tgamma.c: Likewise.
80233 * math/w_tgammaf.c: Likewise.
80234 * math/w_tgammal.c: Likewise.
80235
80236 * po/ja.po: Update from translation team.
80237
80238 2011-09-29 Andreas Jaeger <aj@suse.de>
80239
80240 [BZ #13179]
80241 * sunrpc/netname.c (netname2host): Fix logic.
80242
80243 [BZ #6779]
80244 [BZ #6783]
80245 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
80246 correctly.
80247 * math/w_remainder.c (__remainder): Likewise.
80248 * math/w_remainderf.c (__remainderf): Likewise.
80249 * math/libm-test.inc (remainder_test): Add test cases.
80250
80251 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80252
80253 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
80254 sdiv_qrnnd.
80255
80256 2011-10-07 Ulrich Drepper <drepper@gmail.com>
80257
80258 * string/test-memcmp.c: Avoid unncessary #defines.
80259 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80260
80261 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80262
80263 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
80264 Use new sse2 version for core i3 - i7 as it's faster
80265 than sse42 version.
80266 (bit_Prefer_PMINUB_for_stringop): New.
80267 * sysdeps/x86_64/rawmemchr.S: Update.
80268 Replace with faster SSE2 version.
80269 * sysdeps/x86_64/memrchr.S: New file.
80270 * sysdeps/x86_64/memchr.S: Update.
80271 Replace with faster SSE2 version.
80272
80273 2011-09-12 Marek Polacek <mpolacek@redhat.com>
80274
80275 * elf/dl-load.c (lose): Add cast to avoid warning.
80276
80277 2011-10-07 Ulrich Drepper <drepper@gmail.com>
80278
80279 * po/ca.po: Update from translation team.
80280
80281 * inet/getnetgrent_r.c: Hook up nscd.
80282 * nscd/Makefile (routines): Add nscd_netgroup.
80283 (nscd-modules): Add netgroupcache.
80284 (CFLAGS-netgroupcache.c): Define.
80285 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
80286 (cache_search): Add const to second parameter.
80287 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
80288 INNETGR.
80289 (dbs): Add netgrdb entry.
80290 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
80291 (verify_persistent_db): Handle netgrdb.
80292 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
80293 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
80294 GETFDNETGR.
80295 (netgroup_response_header): Define.
80296 (innetgroup_response_header): Define.
80297 (datahead): Add netgroup_response_header and innetgroup_response_header
80298 elements.
80299 * nscd/nscd.conf: Add entries for netgroup cache.
80300 * nscd/nscd.h (dbtype): Add netgrdb.
80301 (_PATH_NSCD_NETGROUP_DB): Define.
80302 (netgroup_iov_disabled): Declare.
80303 (xmalloc, xcalloc, xrealloc): Move declarations here.
80304 (cache_search): Adjust prototype.
80305 Add netgroup-related prototypes.
80306 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
80307 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
80308 (__nscd_innetgr): Declare.
80309 * nscd/selinux.c (perms): Use access_vector_t as element type and
80310 add netgroup-related initializers.
80311 * nscd/netgroupcache.c: New file.
80312 * nscd/nscd_netgroup.c: New file.
80313 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
80314 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
80315 For four parameters use innetgr.
80316 * nss/nss_files/files-init.c: Add definition and callback for netgr.
80317 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
80318 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
80319 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
80320
80321 * nscd/connections.c (register_traced_file): Don't register file
80322 for disabled databases.
80323
80324 2011-10-06 Ulrich Drepper <drepper@gmail.com>
80325
80326 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
80327
80328 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
80329 from tree and freeing node.
80330
80331 2011-09-25 Jiri Olsa <jolsa@redhat.com>
80332
80333 * nss/nsswitch.c (__nss_database_lookup): Handle
80334 nss_parse_service_list out of memory case.
80335
80336 2011-09-15 Jiri Olsa <jolsa@redhat.com>
80337
80338 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
80339 out of memory case.
80340
80341 2011-10-04 Andreas Schwab <schwab@redhat.com>
80342
80343 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
80344 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
80345 pass it down.
80346 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
80347 elf_machine_rela, elf_machine_lazy_rel.
80348 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
80349 (ELF_DYNAMIC_DO_REL): Likewise.
80350 (ELF_DYNAMIC_DO_RELA): Likewise.
80351 (ELF_DYNAMIC_RELOCATE): Likewise.
80352 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
80353 to ELF_DYNAMIC_DO_REL.
80354 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
80355 (dl_main): In trace mode always set __RTLD_NOIFUNC.
80356 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
80357 elf_machine_rela.
80358 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
80359 skip_ifunc, don't call ifunc function if non-zero.
80360 (elf_machine_rela): Likewise.
80361 (elf_machine_lazy_rel): Likewise.
80362 (elf_machine_lazy_rela): Likewise.
80363 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
80364 (elf_machine_lazy_rel): Likewise.
80365 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
80366 Likewise.
80367 (elf_machine_lazy_rel): Likewise.
80368 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80369 Likewise.
80370 (elf_machine_lazy_rel): Likewise.
80371 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
80372 (elf_machine_lazy_rel): Likewise.
80373 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
80374 (elf_machine_lazy_rel): Likewise.
80375 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
80376 (elf_machine_lazy_rel): Likewise.
80377 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
80378 (elf_machine_lazy_rel): Likewise.
80379 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
80380 (elf_machine_lazy_rel): Likewise.
80381 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
80382 (elf_machine_lazy_rel): Likewise.
80383
80384 2011-09-28 Ulrich Drepper <drepper@gmail.com>
80385
80386 * nss/nss_files/files-init.c (_nss_files_init): Use static
80387 initialization for all the *_traced_file variables.
80388
80389 2011-09-28 Andreas Schwab <schwab@redhat.com>
80390
80391 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80392
80393 2011-09-27 Roland McGrath <roland@hack.frob.com>
80394
80395 [BZ #13226]
80396 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
80397
80398 2011-09-27 Andreas Schwab <schwab@redhat.com>
80399
80400 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
80401 Reread the line before reparsing it.
80402
80403 2011-09-26 Andreas Schwab <schwab@redhat.com>
80404
80405 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
80406
80407 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
80408 Maxim Kuvyrkov <maxim@codesourcery.com>
80409 Joseph Myers <joseph@codesourcery.com>
80410
80411 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
80412 if needed for __stack_chk_guard.
80413
80414 2011-09-19 Roland McGrath <roland@hack.frob.com>
80415
80416 * sysdeps/posix/spawni.c (script_execute): Always define it.
80417 It will be optimized away if unused.
80418 (maybe_script_execute): New function.
80419 (__spawni): Call it.
80420
80421 * Makerules: Don't include tls.make.
80422 (config-tls): Always set to thread.
80423 * tls.make.c: File removed.
80424
80425 2011-09-19 Mike Frysinger <vapier@gentoo.org>
80426
80427 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
80428 * config.make.in (CPPFLAGS-config): New substituted variable.
80429
80430 2011-09-15 Ulrich Drepper <drepper@gmail.com>
80431
80432 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
80433
80434 [BZ #13192]
80435 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
80436 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
80437
80438 2011-09-15 Roland McGrath <roland@hack.frob.com>
80439
80440 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
80441 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
80442 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80443 (CALL_FAIL): Likewise.
80444 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
80445 (CALL_FAIL): Macro removed.
80446 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
80447
80448 2011-09-15 Ulrich Drepper <drepper@gmail.com>
80449
80450 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
80451 for __FINITE_MATH_ONLY__ == 1.
80452
80453 2011-09-15 Andreas Schwab <schwab@redhat.com>
80454
80455 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
80456 __ieee754_sqrt instead of sqrt.
80457 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
80458 __ieee754_sqrtf instead of sqrtf.
80459 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
80460 __floorf instead of floorf.
80461 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
80462 __floorf, __truncf instead of floorf, truncf.
80463
80464 2011-09-14 Ulrich Drepper <drepper@gmail.com>
80465
80466 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
80467
80468 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
80469 __extern_always_inline.
80470 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
80471 32-bit.
80472
80473 2011-09-14 Andreas Schwab <schwab@redhat.com>
80474
80475 * elf/rtld.c (dl_main): Also relocate in dependency order when
80476 doing symbol dependency testing.
80477
80478 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
80479
80480 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80481 Always define `refsym'.
80482
80483 2011-09-13 Andreas Schwab <schwab@redhat.com>
80484
80485 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
80486 (__FD_ELT): Renamed from __FDELT.
80487 * misc/bits/select2.h (__FD_ELT): Likewise.
80488 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
80489 __FD_MASK instead of __FDELT, __FDMASK.
80490 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80491 Likewise.
80492 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80493 Likewise.
80494
80495 * elf/Makefile (gen-ldd): Fix pattern.
80496
80497 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
80498 (init_tls): Likewise.
80499
80500 2011-09-12 Ulrich Drepper <drepper@gmail.com>
80501
80502 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
80503
80504 2011-09-12 Andreas Schwab <schwab@redhat.com>
80505
80506 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
80507 `struct cmsghdr *' instead of `void *'.
80508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
80509 Likewise.
80510
80511 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
80512
80513 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
80514 if non-absolute.
80515 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
80516 ldd_rewrite_script.
80517
80518 2011-09-11 Ulrich Drepper <drepper@gmail.com>
80519
80520 * configure.in: Remove --with-tls option.
80521 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
80522 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
80523 out in case it is missing.
80524 * sysdeps/ia64/elf/configure.in: Likewise.
80525 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
80526 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
80527 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
80528 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
80529 * sysdeps/sh/elf/configure.in: Likewise.
80530 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
80531 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80532 * sysdeps/x86_64/elf/configure.in: Likewise.
80533 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
80534 * sysdeps/mach/hurd/tls.h: Likewise.
80535
80536 [BZ #13067]
80537 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
80538
80539 [BZ #13090]
80540 * configure.in: Fix use of AC_INIT.
80541
80542 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
80543
80544 2011-09-10 Ulrich Drepper <drepper@gmail.com>
80545
80546 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
80547 __set_errno.
80548 * malloc/hooks.c: Likewise.
80549
80550 [BZ #11929]
80551 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
80552 variables statically.
80553 (narenas): Initialize.
80554 (list_lock): Initialize.
80555 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
80556 initializtion of main_arena and list_lock. Small cleanups.
80557 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
80558 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
80559 Add initializers to main_arena and mp_.
80560 (malloc_state): Remove pagesize member. Change all users to use
80561 GLRO(dl_pagesize).
80562
80563 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
80564 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
80565 is always initialized.
80566
80567 * malloc/malloc.c: Removed unused configurations and dead code.
80568 * malloc/arena.c: Likewise.
80569 * malloc/hooks.c: Likewise.
80570 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
80571
80572 * include/tls.h: Removed. USE___THREAD must always be defined.
80573 * bits/libc-tsd.h: Don't handle !USE___THREAD.
80574 * elf/dl-libc.c: Likewise.
80575 * elf/dl-tsd.c: Likewise.
80576 * include/errno.h: Likewise.
80577 * include/netdb.h: Likewise.
80578 * include/resolv.h: Likewise.
80579 * inet/herrno-loc.c: Likewise.
80580 * inet/herrno.c: Likewise.
80581 * malloc/arena.c: Likewise.
80582 * malloc/hooks.c: Likewise.
80583 * malloc/malloc.c: Likewise.
80584 * resolv/res-state.c: Likewise.
80585 * resolv/res_libc.c: Likewise.
80586 * sysdeps/i386/dl-machine.h: Likewise.
80587 * sysdeps/ia64/dl-machine.h: Likewise.
80588 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
80589 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
80590 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
80591 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
80592 * sysdeps/sh/dl-machine.h: Likewise.
80593 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80594 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80595 * sysdeps/unix/i386/sysdep.S: Likewise.
80596 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
80597 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
80598 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
80599 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
80600 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
80601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
80602 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
80603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80605 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
80606 * sysdeps/unix/x86_64/sysdep.S: Likewise.
80607 * sysdeps/x86_64/dl-machine.h: Likewise.
80608 * tls.make.c: Likewise.
80609
80610 * configure.in: Remove --with-__thread option. Make tests for
80611 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
80612 tls_model attribute fail if no support is available. Remove
80613 USE_IN_LIBIO.
80614 * Makeconfig: Adjust for dropped configure option. All features are
80615 now mandatory.
80616 * Makerules: Likewise.
80617 * Versions.def: Likewise.
80618 * argp/argp-fmtstream.c: Likewise.
80619 * argp/argp-fmtstream.h: Likewise.
80620 * argp/argp-help.c: Likewise.
80621 * assert/assert.c: Likewise.
80622 * config.h.in: Likewise.
80623 * config.make.in: Likewise.
80624 * configure: Likewise.
80625 * configure.in: Likewise.
80626 * csu/Versions: Likewise.
80627 * csu/init.c: Likewise.
80628 * elf/tst-audit2.c: Likewise.
80629 * elf/tst-tls10.c: Likewise.
80630 * elf/tst-tls10.h: Likewise.
80631 * elf/tst-tls11.c: Likewise.
80632 * elf/tst-tls12.c: Likewise.
80633 * elf/tst-tls14.c: Likewise.
80634 * elf/tst-tlsmod11.c: Likewise.
80635 * elf/tst-tlsmod12.c: Likewise.
80636 * elf/tst-tlsmod13.c: Likewise.
80637 * elf/tst-tlsmod13a.c: Likewise.
80638 * elf/tst-tlsmod14a.c: Likewise.
80639 * elf/tst-tlsmod15b.c: Likewise.
80640 * elf/tst-tlsmod16a.c: Likewise.
80641 * elf/tst-tlsmod16b.c: Likewise.
80642 * elf/tst-tlsmod7.c: Likewise.
80643 * elf/tst-tlsmod8.c: Likewise.
80644 * elf/tst-tlsmod9.c: Likewise.
80645 * gmon/gmon.c: Likewise.
80646 * grp/fgetgrent_r.c: Likewise.
80647 * grp/putgrent.c: Likewise.
80648 * hurd/fopenport.c: Likewise.
80649 * include/libc-symbols.h: Likewise.
80650 * include/tls.h: Likewise.
80651 * intl/gettextP.h: Likewise.
80652 * intl/loadinfo.h: Likewise.
80653 * locale/global-locale.c: Likewise.
80654 * locale/localeinfo.h: Likewise.
80655 * mach/devstream.c: Likewise.
80656 * malloc/arena.c: Likewise.
80657 * malloc/set-freeres.c: Likewise.
80658 * misc/err.c: Likewise.
80659 * misc/getttyent.c: Likewise.
80660 * misc/mntent_r.c: Likewise.
80661 * posix/getopt.c: Likewise.
80662 * posix/wordexp.c: Likewise.
80663 * pwd/fgetpwent_r.c: Likewise.
80664 * resolv/Versions: Likewise.
80665 * resolv/res_hconf.c: Likewise.
80666 * shadow/fgetspent_r.c: Likewise.
80667 * shadow/putspent.c: Likewise.
80668 * stdio-common/printf_fphex.c: Likewise.
80669 * stdio-common/tmpfile.c: Likewise.
80670 * stdlib/abort.c: Likewise.
80671 * stdlib/fmtmsg.c: Likewise.
80672 * sunrpc/auth_unix.c: Likewise.
80673 * sunrpc/clnt_perr.c: Likewise.
80674 * sunrpc/clnt_tcp.c: Likewise.
80675 * sunrpc/clnt_udp.c: Likewise.
80676 * sunrpc/clnt_unix.c: Likewise.
80677 * sunrpc/openchild.c: Likewise.
80678 * sunrpc/svc_simple.c: Likewise.
80679 * sunrpc/svc_tcp.c: Likewise.
80680 * sunrpc/svc_udp.c: Likewise.
80681 * sunrpc/svc_unix.c: Likewise.
80682 * sunrpc/xdr.c: Likewise.
80683 * sunrpc/xdr_array.c: Likewise.
80684 * sunrpc/xdr_rec.c: Likewise.
80685 * sunrpc/xdr_ref.c: Likewise.
80686 * sunrpc/xdr_stdio.c: Likewise.
80687
80688 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80689
80690 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80691
80692 2011-07-03 Andreas Jaeger <aj@suse.de>
80693
80694 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
80695 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
80696 regenerate with gen-libm-tests.pl.
80697
80698 2010-05-12 Petr Baudis <pasky@suse.cz>
80699
80700 [BZ #11589]
80701 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
80702 around j0() zero points by switching to j1().
80703 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80704 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80705 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80706 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80707
80708 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80709
80710 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
80711 instead of 0.
80712 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
80713 instead of 0.
80714 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80715 Patch in part by Pavel Roskin <proski@gnu.org>.
80716
80717 [BZ #13138]
80718 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
80719 realloc.
80720 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
80721 Free memory block if necessary.
80722
80723 [BZ #12847]
80724 * libio/genops.c (INTDEF): For string streams the _lock pointer can
80725 be NULL. Don't lock in this case.
80726
80727 2011-09-09 Roland McGrath <roland@hack.frob.com>
80728
80729 * elf/elf.h (ELFOSABI_GNU): New macro.
80730 (ELFOSABI_LINUX): Define to that.
80731
80732 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
80733
80734 * string/strncat.c (strncat): Undef the symbol in case it has been
80735 defined in bits/string.h.
80736
80737 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80738
80739 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
80740
80741 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
80742 link map.
80743
80744 2011-08-17 Andreas Jaeger <aj@suse.de>
80745
80746 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
80747
80748 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
80749 Ian Lance Taylor <iant@google.com>
80750
80751 * math/libm-test.inc (lround_test): New testcase.
80752 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
80753
80754 2011-09-08 Ulrich Drepper <drepper@gmail.com>
80755
80756 * Makefile: Remove support for automatic cvs check-ins.
80757 * Makerules: Likewise.
80758 * config.make.in: Likewise.
80759 * configure.in: Likewise.
80760 * intl/Makefile: Likewise.
80761 * locale/Makefile: Likewise.
80762 * po/Makefile: Likewise.
80763 * posix/Makefile: Likewise.
80764 * sysdeps/gnu/Makefile: Likewise.
80765 * sysdeps/mach/hurd/Makefile: Likewise.
80766 * sysdeps/sparc/sparc32/Makefile: Likewise.
80767
80768 [BZ #13118]
80769 * posix/Makefile (bug-regex32-ENV): Define.
80770 Patch by John Stanley <jpsinthemix@verizon.net>.
80771
80772 * misc/Makefile (headers): Add bits/select2.h.
80773 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
80774 * misc/bits/select2.h: New file.
80775 * include/bits/select2.h: New file.
80776 * debug/Makefile (routines): Add fdelt_chk.
80777 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
80778 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
80779 FD_ISSET.
80780 * debug/fdelt_chk.c: New file.
80781
80782 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
80783 * wcsmbs/test-wmemcmp.c: Likewise.
80784 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
80785 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
80786
80787 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80788
80789 * string/Makefile (strop-tests): Add memcmp.
80790 * string/test-wmemcmp.c: New file.
80791 * string/test-memcmp.c: Add wmemcmp support.
80792
80793 2011-09-08 Roland McGrath <roland@hack.frob.com>
80794
80795 [BZ #13153]
80796 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
80797 2011-07-19 change.
80798
80799 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
80800 garbage value in a __mach_port_mod_refs call in the cases of the
80801 task-self and thread-self ports.
80802
80803 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
80804
80805 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
80806
80807 2011-09-08 Andreas Schwab <schwab@redhat.com>
80808
80809 * elf/dl-load.c (lose): Check for non-null L.
80810
80811 2011-09-07 Ulrich Drepper <drepper@gmail.com>
80812
80813 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
80814
80815 * elf/dl-libc.c (dlerror_run): Pass back error code from
80816 dl_catch_error.
80817
80818 [BZ #13123]
80819 * elf/dl-load.c (lose): Free l_origin if it is valid.
80820
80821 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
80822 names.
80823 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
80824 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
80825 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
80826 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
80827 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
80828 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
80829
80830 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80831
80832 * sysdeps/powerpc/fpu/e_hypot.c: New file.
80833 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
80834 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
80835 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
80836 * sysdeps/powerpc/fpu/k_cosf.c: New file.
80837 * sysdeps/powerpc/fpu/k_sinf.c: New file.
80838 * sysdeps/powerpc/fpu/s_cosf.c: New file.
80839 * sysdeps/powerpc/fpu/s_sinf.c: New file.
80840 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
80841 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
80842
80843 2011-08-15 Alan Modra <amodra@gmail.com>
80844
80845 [BZ #13092]
80846 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
80847 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
80848 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
80849 ppc_mcount to static-only-routines.
80850 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
80851 __mcount_internal.
80852 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
80853 __mcount_internal with usual JUMPTARGET. Remove useless nop.
80854
80855 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
80856
80857 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
80858 for finite and infinity parameters.
80859
80860 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
80861
80862 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
80863 and add nop instructions for throughput optimization.
80864 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
80865
80866 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
80867
80868 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
80869 aligned copy for power7 with vector-scalar instructions.
80870 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
80871
80872 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
80873
80874 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
80875 AVX check.
80876
80877 2011-09-07 Andreas Schwab <schwab@redhat.com>
80878
80879 [BZ #13144]
80880 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
80881 last change.
80882
80883 2011-09-07 Ulrich Drepper <drepper@gmail.com>
80884
80885 * sysdeps/unix/sysv/linux/x86_64/init-first.c
80886 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
80887 syscall wrapper around clock_gettime in __vdso_clock_gettime.
80888 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
80889 clock_gettime.
80890
80891 2011-09-06 Ulrich Drepper <drepper@gmail.com>
80892
80893 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
80894 Forgot to demangle the pointer.
80895
80896 * sysdeps/i386/sysdep.h: Define atom_text_section.
80897 * sysdeps/x86_64/sysdep.h: Likewise.
80898 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
80899 section with atom_text_section.
80900 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
80901 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
80902 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
80903 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
80904 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
80905
80906 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
80907 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
80908 already be defined. Change to take two parameters and don't assign
80909 result to variable. Adjust all users.
80910 Define INTERNAL_GETTIME if not already defined.
80911 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
80912 call.
80913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
80914 HAVE_CLOCK_GETTIME_VSYSCALL.
80915 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
80916
80917 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
80918 gettimeofday vsyscall, just use time.
80919
80920 2011-09-06 Andreas Schwab <schwab@redhat.com>
80921
80922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
80923 <errno.h>.
80924
80925 2011-09-06 Ulrich Drepper <drepper@gmail.com>
80926
80927 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
80928 syscall on x86-64.
80929 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
80930 syscall.
80931 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
80932 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
80933 syscall if possible.
80934
80935 2011-09-05 Ulrich Drepper <drepper@gmail.com>
80936
80937 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
80938 e_ident. Don't pass to find_mapsXX.
80939 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
80940
80941 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
80942
80943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80944 strchr-sse2-no-bsf strrchr-sse2-no-bsf
80945 * sysdeps/x86_64/multiarch/strchr.S: Update.
80946 Check bit_slow_BSF bit.
80947 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
80948 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
80949 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
80950
80951 2011-09-05 Ulrich Drepper <drepper@gmail.com>
80952
80953 [BZ #13134]
80954 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
80955 before glibc 2.15.
80956 (tryshell): Define.
80957 (__spawni): Change last parameter to be flag. Test
80958 SPAWN_XFLAGS_USE_PATH flag to use path or not.
80959 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
80960 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
80961 * posix/spawni.c: Likewise.
80962 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
80963 * posix/spawnp.c: Likewise. Change normal version to use
80964 SPAWN_XFLAGS_USE_PATH.
80965 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
80966 SPAWN_XFLAGS_TRY_SHELL.
80967
80968 [BZ #13150]
80969 * posix/glob.h: Remove gcc 1.x support.
80970
80971 [BZ #13068]
80972 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
80973
80974 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
80975
80976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80977 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
80978 strrchr-sse2-bsf
80979 * sysdeps/i386/i686/multiarch/strchr.S: New file.
80980 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
80981 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
80982 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
80983 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
80984 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
80985
80986 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80987
80988 * sysdeps/x86_64/wcscmp.S: New file.
80989
80990 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
80991 wcscmp-c wcscmp-sse2
80992 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
80993 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
80994 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
80995 * wcsmbs/wcscmp.c: Allow renaming.
80996
80997 2011-09-05 David S. Miller <davem@davemloft.net>
80998
80999 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81000 stack slot, rather than the struct return pointer slot.
81001 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81002 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81004 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81005
81006 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81007
81008 * po/ja.po: Update from translation team.
81009
81010 [BZ #13144]
81011 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81012 kernel in 64-bit binaries.
81013
81014 2011-09-01 David S. Miller <davem@davemloft.net>
81015
81016 * elf/elf.h (HWCAP_SPARC_*): Move to..
81017 * sysdeps/sparc/sysdep.h: this new file and add new values.
81018 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81019 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81020 _DL_HWCAP_COUNT to 24.
81021 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81022 entries.
81023 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81024 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81025 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81027 instead of magic constants.
81028 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81029
81030 2011-08-31 David S. Miller <davem@davemloft.net>
81031
81032 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81033 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81034 Reimplement to do errno handling inline.
81035 (SYSCALL_ERROR_HANDLER): New macro.
81036 (__SYSCALL_STRING): Do not do errno handling in asm.
81037 (__CLONE_SYSCALL_STRING): Delete.
81038 (__INTERNAL_SYSCALL_STRING): Delete.
81039 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81040 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81041 (PSEUDO): Reimplement to do errno handling inline.
81042 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81043 (SYSCALL_ERROR_HANDLER): New macro.
81044 (__SYSCALL_STRING): Do not do errno handling in asm.
81045 (__CLONE_SYSCALL_STRING): Delete.
81046 (__INTERNAL_SYSCALL_STRING): Delete.
81047 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81048 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81049 i386.
81050 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81051 (inline_syscall*): Add 'err' argument.
81052 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81053 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81054 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81055 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81056
81057 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81058 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81059
81060 2011-08-30 Andreas Schwab <schwab@redhat.com>
81061
81062 * elf/rtld.c (dl_main): Relocate objects in dependency order.
81063
81064 2011-08-29 Jiri Olsa <jolsa@redhat.com>
81065
81066 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81067 directive.
81068
81069 2011-08-24 David S. Miller <davem@davemloft.net>
81070
81071 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81072
81073 2011-08-24 Andreas Schwab <schwab@redhat.com>
81074
81075 * elf/Makefile: Add rules to build and run unload8 test.
81076 * elf/unload8.c: New file.
81077 * elf/unload8mod1.c: New file.
81078 * elf/unload8mod1x.c: New file.
81079 * elf/unload8mod2.c: New file.
81080 * elf/unload8mod3.c: New file.
81081
81082 * elf/dl-close.c (_dl_close_worker): Reset private search list if
81083 it wasn't used.
81084
81085 2011-08-23 David S. Miller <davem@davemloft.net>
81086
81087 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81088 subtract stack bias.
81089 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81090 %sp not %fp in calculations.
81091 (_JMPBUF_UNWINDS_ADJ): Likewise.
81092
81093 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81094 (aio_suspend): Call it to force an exception region around the
81095 AIO_MISC_WAIT() invocation.
81096
81097 2011-08-23 Andreas Schwab <schwab@redhat.com>
81098
81099 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81100 backslash.
81101
81102 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
81103
81104 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81105 protection macro.
81106 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81107 and <dl-machine.h>.
81108 (Elf64_FuncDesc): Remove.
81109
81110 2011-08-22 David S. Miller <davem@davemloft.net>
81111
81112 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81113 sigaltstack check, add missing cfi directives.
81114 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81115 missing cfi directives, and sigaltstack handling.
81116
81117 2011-08-16 Andreas Schwab <schwab@redhat.com>
81118
81119 [BZ #11724]
81120 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81121 object is seen twice.
81122 * elf/dl-fini.c (_dl_sort_fini): Likewise.
81123
81124 * elf/Makefile (distribute): Add tst-initorder2.c.
81125 (tests): Add tst-initorder2.
81126 (modules-names): Add tst-initorder2a tst-initorder2b
81127 tst-initorder2c tst-initorder2d. Add rules to build them.
81128 ($(objpfx)tst-initorder2.out): New rule.
81129 * elf/tst-initorder2.c: New file.
81130 * elf/tst-initorder2.exp: New file.
81131
81132 2011-08-22 Andreas Schwab <schwab@redhat.com>
81133
81134 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81135
81136 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81137 dependencies back to end of function.
81138
81139 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81140 $(elfobjdir)/ld.so.
81141
81142 2011-08-21 Ulrich Drepper <drepper@gmail.com>
81143
81144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81145 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81146 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81147 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81148 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81149 of __vdso_gettimeofday.
81150 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81151 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
81152 attribute_hidden.
81153 (_libc_vdso_platform_setup): Remove initialization of
81154 __vdso_gettimeofday and __vdso_time.
81155
81156 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81157
81158 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81159 and fgetc_unlocked.
81160 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81161 getc_unlocked.
81162
81163 * elf/dl-open.c (add_to_global): Report additions to the global scope
81164 for LD_DEBUG=scopes.
81165 (dl_open_worker): Also print scope of newly loaded dependencies.
81166 (_dl_show_scope): Indicate if there is no scope.
81167
81168 [BZ #13114]
81169 * stdio-common/Makefile (tests): Add bug24.
81170 * stdio-common/bug24.c: New file.
81171
81172 2011-08-19 Andreas Jaeger <aj@suse.de>
81173
81174 [BZ #13114]
81175 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81176 non-existant file when using close-on-exec mode.
81177
81178 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81179
81180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81181 the very first instruction.
81182
81183 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81184 the CFI state in the end.
81185 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81186 inclusion of dl-trampoline.h.
81187 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
81188
81189 2011-08-19 Andreas Schwab <schwab@redhat.com>
81190
81191 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
81192 expectations for long double.
81193
81194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
81195 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
81196
81197 2011-08-14 David S. Miller <davem@davemloft.net>
81198
81199 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
81200 artificual limit depends upon the system page size.
81201
81202 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81203
81204 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
81205 * resolv/Makefile: Define CFLAGS-libresolv.
81206
81207 2011-08-17 Andreas Schwab <schwab@redhat.com>
81208
81209 * nss/makedb.c (compute_tables): Make variables used in nested
81210 function static.
81211
81212 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81213
81214 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
81215 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
81216 if buffer was too small.
81217
81218 * elf/pldd.c (main): Attach to all threads in the process.
81219 Rewrite /proc handling to use *at functions.
81220
81221 2011-08-16 Ulrich Drepper <drepper@gmail.com>
81222
81223 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
81224 specifies first scope to show.
81225 (dl_open_worker): Update callers. Move printing scope of new
81226 object to before the relocation.
81227 * elf/rtld.c (dl_main): Update _dl_show_scope call.
81228 * sysdeps/generic/ldsodefs.h: Update declaration.
81229
81230 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
81231 string for the scope number.
81232
81233 2011-08-14 Ulrich Drepper <drepper@gmail.com>
81234
81235 * nscd/servicescache.c (cache_addserv): Make sure written is always
81236 initialized.
81237
81238 2011-08-14 Roland McGrath <roland@hack.frob.com>
81239
81240 * sysdeps/i386/i486/bits/atomic.h
81241 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
81242 statement expression, so as to suppress "set but not used" warning.
81243 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
81244
81245 * string/strncat.c (STRNCAT): Use prototype definition.
81246
81247 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
81248 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
81249 -Iprograms here.
81250 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
81251 (localedef-modules): Add localedef.
81252 (locale-modules): Add locale.
81253
81254 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
81255 * elf/rtld.c (dl_main): Invert order of assignment in last change,
81256 to avoid a warning.
81257
81258 2011-08-14 David S. Miller <davem@davemloft.net>
81259
81260 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
81261 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
81262
81263 2011-08-13 Ulrich Drepper <drepper@gmail.com>
81264
81265 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
81266 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
81267 * elf/rtld.c (dl_main): Set l_name of vDSO.
81268 Call _dl_show_scope when DL_DEBUG_SCOPES.
81269 (process_dl_debug): Recognize scopes flag and also set it for all.
81270 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
81271 Declare _dl_show_scope.
81272
81273 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
81274 (do_dlopen): Pass caller_dlopen to dl_open.
81275 (__libc_dlopen_mode): Initialize caller_dlopen.
81276
81277 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
81278 of libc. Make tolower call locale-independent. Optimize a bit by
81279 using isdigit instead of isalnum.
81280 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
81281
81282 2011-08-12 Ulrich Drepper <drepper@gmail.com>
81283
81284 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
81285 was a dependency or dynamically loaded.
81286
81287 2011-08-11 Ulrich Drepper <drepper@gmail.com>
81288
81289 * intl/l10nflist.c: Allow architecture-specific pop function.
81290 * sysdeps/x86_64/l10nflist.c: New file.
81291
81292 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
81293 classification.
81294
81295 2011-08-10 Andreas Schwab <schwab@redhat.com>
81296
81297 * include/dirent.h: Add libc_hidden_proto for scandirat and
81298 scandirat64. Don't declare __scandirat64.
81299 * dirent/scandirat.c: Add libc_hidden_def.
81300 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
81301 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
81302
81303 2011-08-10 David S. Miller <davem@davemloft.net>
81304
81305 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
81306 enum.
81307 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81308 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81309 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81310
81311 2011-08-09 Ulrich Drepper <drepper@gmail.com>
81312
81313 * Versions.def [libc]: Add GLIBC_2.15.
81314 * dirent/Makefile (routines): Add scandirat and scandirat64.
81315 * dirent/Versions [libc]: Export scandirat and scandirat64 for
81316 GLIBC_2.15.
81317 * dirent/dirent.h: Declare scandirat and scandirat64.
81318 * dirent/scandirat.c: New file.
81319 * dirent/scandirat64.c: New file.
81320 * sysdeps/wordsize-64/scandirat.c: New file.
81321 * sysdeps/wordsize-64/scandirat64.c: New file.
81322 * dirent/opendir.c: Define opendirat.
81323 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
81324 using scandirat.
81325 * dirent/scandir64.c: Adjust for scandir.c change.
81326 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
81327 __scandirat64, and __scandir_cancel_handler.
81328 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
81329 additional parameter and use openat instead of open (outside of ld.so).
81330 Add new __opendir as wrapper around __opendirat.
81331 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
81332 here without requiring old scandirat implementation.
81333
81334 2011-08-08 Ulrich Drepper <drepper@gmail.com>
81335
81336 * dirent/scandir.c (cancel_handler): Renamed to
81337 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
81338 defined. Adjust users.
81339 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
81340 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
81341
81342 2011-08-04 Ulrich Drepper <drepper@gmail.com>
81343
81344 * string/test-string.h (IMPL): Use __STRING to expand name and then
81345 stringify it.
81346
81347 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
81348 of cleanups.
81349
81350 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81351
81352 * string/Makefile: Update.
81353 (strop-tests): Append strncat.
81354 * string/test-wcscmp.c: New file.
81355 New comprehensive test for wcscmp.
81356 * string/test-strcmp.c: Update.
81357 (WIDE): New define.
81358
81359 2011-07-22 Andreas Schwab <schwab@redhat.com>
81360
81361 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
81362 line.
81363
81364 2011-07-26 Andreas Schwab <schwab@redhat.com>
81365
81366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81367 encoding to ACE if AI_IDN.
81368
81369 2011-08-01 Jakub Jelinek <jakub@redhat.com>
81370
81371 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
81372 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
81373
81374 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81375
81376 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
81377 Fix overflow bug in strncat.
81378 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
81379
81380 * string/test-strncat.c: Update.
81381 Add new tests for checking overflow bugs.
81382
81383 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81384
81385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81386 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
81387 * sysdeps/i386/i686/multiarch/strcat.S: New file.
81388 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
81389 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
81390 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
81391 * sysdeps/i386/i686/multiarch/strncat.S: New file.
81392 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
81393 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
81394
81395 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
81396 (USE_AS_STRCAT): Define.
81397 Add strcat and strncat support.
81398 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81399
81400 2011-07-25 Andreas Schwab <schwab@redhat.com>
81401
81402 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
81403 __n bigger than INT_MAX+1.
81404 (__strncmp_g): Likewise.
81405
81406 2011-07-23 Ulrich Drepper <drepper@gmail.com>
81407
81408 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
81409 * libio/stido.h: Likewise.
81410
81411 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
81412 (AF_NFC): Define.
81413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
81414 (AF_NFC): Define.
81415
81416 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
81417 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81418 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81419 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
81420 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81421
81422 [BZ #13021]
81423 * scripts/test-installation.pl: Don't expect libnss_test1 to be
81424 installed.
81425
81426 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
81427 typo.
81428 (_dl_x86_64_save_sse): Likewise.
81429
81430 2011-07-22 Ulrich Drepper <drepper@gmail.com>
81431
81432 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
81433 OSXSAVE.
81434 (_dl_x86_64_save_sse): Likewise.
81435
81436 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
81437
81438 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
81439
81440 2011-07-21 Andreas Schwab <schwab@redhat.com>
81441
81442 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
81443 change.
81444 (_dl_x86_64_save_sse): Use correct AVX check.
81445
81446 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81447
81448 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
81449 bug in strncpy/strncat.
81450 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
81451
81452 2011-07-21 Ulrich Drepper <drepper@gmail.com>
81453
81454 * string/tester.c (test_strcat): Add tests for different alignments
81455 of source and destination.
81456 (test_strncat): Likewise.
81457
81458 2011-07-20 Ulrich Drepper <drepper@gmail.com>
81459
81460 [BZ #12852]
81461 * posix/glob.c (glob): Check passed in values before using them in
81462 expressions to avoid some overflows.
81463 (glob_in_dir): Likewise.
81464
81465 [BZ #13007]
81466 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
81467 check for AVX enablement so that we don't crash with old kernels and
81468 new hardware.
81469 * elf/tst-audit4.c: Add same checks here.
81470 * elf/tst-audit6.c: Likewise.
81471
81472 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
81473
81474 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
81475
81476 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
81477
81478 2011-07-20 Ulrich Drepper <drepper@gmail.com>
81479
81480 * po/cs.po: Update from translation team.
81481 * po/bg.po: Likewise.
81482
81483 2011-07-12 Marek Polacek <mpolacek@redhat.com>
81484
81485 * misc/sys/cdefs.h: Add support for const attribute.
81486 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
81487 to gnu_dev_{major,minor,makedev} functions.
81488
81489 2011-07-20 Marek Polacek <mpolacek@redhat.com>
81490
81491 * intl/dcigettext.c (get_output_charset): Add missing bracket.
81492
81493 2011-07-20 Andreas Schwab <schwab@redhat.com>
81494
81495 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
81496 strlen results.
81497
81498 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81499
81500 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
81501 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
81502 register in order to avoid conflicts with the soft frame pointer
81503 being held in r11 when necessary.
81504 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
81505 (INTERNAL_VSYSCALL_NCS): Likewise.
81506
81507 2011-07-14 Marek Polacek <mpolacek@redhat.com>
81508
81509 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
81510 * elf/dl-fini.c (_dl_fini): Adjust caller.
81511 * elf/dl-close.c (_dl_close_worker): Likewise.
81512 * sysdeps/generic/ldsodefs.h: Adjust declaration.
81513
81514 2011-07-15 Marek Polacek <mpolacek@redhat.com>
81515
81516 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
81517 "aux_cache->nlibs < 0".
81518
81519 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
81520 in the reload-count case.
81521
81522 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81523
81524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81525 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
81526 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
81527 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
81528 * sysdeps/x86_64/multiarch/strcat.S: New file.
81529 * sysdeps/x86_64/multiarch/strncat.S: New file.
81530 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
81531 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
81532 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
81533 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
81534 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
81535 (USE_AS_STRCAT): Define.
81536 Add strcat and strncat support.
81537 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81538 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
81539 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
81540 * string/strncat.c: Update.
81541 (USE_AS_STRNCAT): Define.
81542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81543 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
81544 and i7.
81545 * sysdeps/x86_64/multiarch/init-arch.h
81546 (bit_Prefer_PMINUB_for_stringop): New.
81547 (index_Prefer_PMINUB_for_stringop): Likewise.
81548 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
81549 bit_Prefer_PMINUB_for_stringop.
81550
81551 2011-07-19 Ulrich Drepper <drepper@gmail.com>
81552
81553 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
81554 buffer64.
81555 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
81556 of casting of buffer.
81557 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
81558 buffer32 and buffer64.
81559 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
81560 writes instead of casting of buffer.
81561 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
81562 buffer32.
81563 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
81564 casting of buffer.
81565
81566 2011-07-19 Andreas Schwab <schwab@redhat.com>
81567
81568 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
81569
81570 2011-07-19 Ulrich Drepper <drepper@gmail.com>
81571
81572 * nscd/nscd.c (termination_handler): Don't do anything for a database
81573 if it has not yet been initialized.
81574
81575 2011-07-18 Ulrich Drepper <drepper@gmail.com>
81576
81577 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81578
81579 2011-07-15 Marek Polacek <mpolacek@redhat.com>
81580
81581 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81582
81583 2011-07-18 Ulrich Drepper <drepper@gmail.com>
81584
81585 * po/nl.po: Update from translation team.
81586 * po/sv.po: Likewise.
81587
81588 2011-07-16 Roland McGrath <roland@hack.frob.com>
81589
81590 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
81591 now disallowed by GCC.
81592
81593 * configure.in (use-default-link): Default to yes if a test -shared
81594 link meets our qualifications.
81595 * configure: Regenerated.
81596
81597 * config.make.in (output-format): New variable.
81598 * configure.in: Check for ld --print-output-format support.
81599 * configure: Regenerated.
81600 * Makerules ($(common-objpfx)format.lds)
81601 [$(output-format) != unknown]: Just use $(output-format),
81602 instead of the linker-script munging.
81603
81604 2011-07-14 Roland McGrath <roland@hack.frob.com>
81605
81606 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
81607 of $(common-objpfx)shlib.lds.
81608 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
81609
81610 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
81611 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
81612
81613 * configure.in (-z relro check): Adjust test code to add a large
81614 writable data section after it.
81615 * configure: Regenerated.
81616
81617 2011-07-11 Roland McGrath <roland@hack.frob.com>
81618
81619 * configure.in (-z relro check): Fix test code to make the variable
81620 truly const.
81621 * configure: Regenerated.
81622
81623 2011-07-11 Ulrich Drepper <drepper@gmail.com>
81624
81625 * nscd/nscd.h (struct traced_file): Define.
81626 (struct database_dyn): Remove inotify_descr, reset_res, and filename
81627 elements. Add traced_files.
81628 (inotify_fd): Declare.
81629 (register_traced_file): Declare.
81630 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
81631 (inotify_fd): Export.
81632 (resolv_conf_descr): Remove.
81633 (nscd_init): Move inotify descriptor creation to main.
81634 Don't register files for notification here.
81635 (register_traced_file): New function.
81636 (invalidate_cache): Don't use reset_res to determine whether to call
81637 res_init, go through the list of registered files.
81638 (main_loop_poll): The inotify descriptors are now stored in the
81639 structures for the traced files.
81640 (main_loop_epoll): Likewise.
81641 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
81642 to __nss_disable_nscd.
81643 * nscd/cache.c (prune_cache): There is no single inotify descriptor
81644 for a database anymore. Check the records for all the registered
81645 files instead.
81646 * nss/Makefile (libnss_files-routines): Add files-init.
81647 (libnss_db-routines): Add db-init.
81648 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
81649 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
81650 * nss/nss_db/db-init.c: New file.
81651 * nss/nss_files/files-init.c: New file.
81652 * nss/nsswitch.c (nss_load_library): New function. Broken out of
81653 __nss_lookup_function.
81654 (__nss_lookup_function): Call nss_load_library.
81655 (nss_load_all_libraries): New function.
81656 (__nss_disable_nscd): Take parameter with callback function for files
81657 to register. Set is_nscd. Load all the DSOs for the NSS modules
81658 used for the cached services.
81659 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
81660 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
81661 options for features to all the files in nscd.
81662
81663 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
81664
81665 2011-07-10 Roland McGrath <roland@hack.frob.com>
81666
81667 * csu/elf-init.c (__libc_csu_init): Comment typo.
81668
81669 2011-07-09 Ulrich Drepper <drepper@gmail.com>
81670
81671 * po/pl.po: Update from translation team.
81672 * po/ja.po: Likewise.
81673 * po/ru.po: Likewise.
81674 * po/ko.po: Likewise.
81675 * po/fr.po: Likewise.
81676
81677 2011-07-09 Roland McGrath <roland@hack.frob.com>
81678
81679 * configure.in (.ctors/.dtors header and trailer check):
81680 Use an empirical test on a built program.
81681 * configure: Regenerated.
81682
81683 * configure.in (-z relro check): Use an empirical test on a built DSO.
81684 Detect, but do not require, on ia64.
81685 * configure: Regenerated.
81686
81687 * configure.in (READELF): Find it with AC_CHECK_TOOL.
81688 Update tests that use readelf to use $READELF instead.
81689 * configure: Regenerated.
81690
81691 2011-07-08 Ulrich Drepper <drepper@gmail.com>
81692
81693 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
81694 if the result is not used.
81695
81696 2011-07-05 Andreas Jaeger <aj@suse.de>
81697
81698 [BZ#9696]
81699 * stdlib/tst-strtod.c: Add testcase.
81700
81701 2011-07-07 Ulrich Drepper <drepper@gmail.com>
81702
81703 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
81704 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
81705 The latter has a higher limit. Take additional parameter to pass to
81706 the new function.
81707 (__pathconf): Pass file to __statfs_link_max.
81708 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
81709 __statfs_link_max.
81710 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
81711 __statfs_link_max.
81712
81713 [BZ #12868]
81714 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
81715 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81716 Handle Lustre.
81717 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
81718 (__statfs_filesize_max): Likewise.
81719 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
81720
81721 2011-07-05 Andreas Jaeger <aj@suse.de>
81722
81723 * resolv/res_comp.c (dn_skipname): Remove unused variable.
81724
81725 2011-07-06 Marek Polacek <mpolacek@redhat.com>
81726
81727 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
81728 `status' variable.
81729 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
81730 Likewise.
81731
81732 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
81733
81734 * Makefile (strop-tests): Add strncat.
81735 * string/test-strncat.c: New file.
81736
81737 2011-06-30 Marek Polacek <mpolacek@redhat.com>
81738
81739 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
81740
81741 2011-06-21 Andreas Jaeger <aj@suse.de>
81742
81743 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
81744 Copy rule from iconvdata/Makefile.
81745
81746 2011-07-06 Ulrich Drepper <drepper@gmail.com>
81747
81748 [BZ #12922]
81749 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
81750 but no long options are defined, just return 'W'.
81751
81752 2011-06-22 Marek Polacek <mpolacek@redhat.com>
81753
81754 [BZ #9696]
81755 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
81756
81757 2011-07-06 Ulrich Drepper <drepper@gmail.com>
81758
81759 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
81760 netgroups to read.
81761 (innetgr): Likewise.
81762
81763 2011-07-05 Roland McGrath <roland@hack.frob.com>
81764
81765 * config.make.in (install_root): Default to $(DESTDIR).
81766
81767 2011-07-05 Ulrich Drepper <drepper@gmail.com>
81768
81769 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
81770
81771 2011-07-02 Roland McGrath <roland@hack.frob.com>
81772
81773 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
81774
81775 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
81776 containing directory rather than embedding absolute directory names.
81777
81778 * scripts/check-local-headers.sh: Rewritten using awk.
81779 Match by word, not by line. Print error messages for matches.
81780 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
81781
81782 * Makerules [shlib-lds-flags empty]:
81783 ($(common-objpfx)libc_pic.opts): New target.
81784 ($(common-objpfx)libc_pic.os.clean): New target.
81785 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
81786
81787 * config.make.in (OBJCOPY): New variable.
81788 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
81789 * configure: Regenerated.
81790
81791 * config.make.in (use-default-link): New variable.
81792 * configure.in (use_default_link): Grok --with-default-link to set it.
81793 * configure: Regenerated.
81794 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
81795 (shlib-lds, shlib-lds-flags): Define to empty.
81796
81797 * Makerules (shlib-lds): New variable.
81798 (shlib-lds-flags): New variable.
81799 (build-shlib, build-moduile, build-module-asneeded): Use it.
81800 ($(common-objpfx)libc.so): Use $(shlib-lds).
81801 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
81802 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
81803
81804 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
81805 DT_FLAGS/DT_FLAGS_1 with zero flags.
81806
81807 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
81808 linker script munging.
81809
81810 2011-07-02 Ulrich Drepper <drepper@gmail.com>
81811
81812 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
81813 as 128-bit value.
81814 * crypt/sha512.c (sha512_process_block): Perform total addition using
81815 128-bit if possible.
81816 (__sha512_finish_ctx): Likewise.
81817 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
81818 as 64-bit value.
81819 * crypt/sha256.c (SWAP64): Define.
81820 (sha256_process_block): Perform total addition using 64-bit if
81821 possible.
81822 (__sha256_finish_ctx): Likewise.
81823
81824 2011-07-01 Ulrich Drepper <drepper@gmail.com>
81825
81826 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
81827 * nscd/initgrcache.c (addinitgroupsX): Likewise.
81828 * nscd/hstcache.c (cache_addhst): Likewise.
81829 * nscd/grpcache.c (cache_addgr): Likewise.
81830 * nscd/aicache.c (addhstaiX): Likewise.
81831 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
81832
81833 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
81834
81835 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
81836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
81837 * nscd/hstcache.c (cache_addhst): Likewise.
81838 * nscd/grpcache.c (cache_addgr): Likewise.
81839 * nscd/aicache.c (addhstaiX): Likewise.
81840
81841 2011-07-01 Andreas Schwab <schwab@redhat.com>
81842
81843 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
81844 domain only when needed.
81845
81846 2011-06-30 Andreas Schwab <schwab@redhat.com>
81847
81848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
81849 is always restored.
81850
81851 2011-06-29 Ulrich Drepper <drepper@gmail.com>
81852
81853 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
81854 are re-adding the entry.
81855 * nscd/servicescache.c (cache_addserv): Likewise.
81856
81857 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
81858
81859 * sysdeps/generic/dl-irel.h: fix protection against multiple
81860 inclusions.
81861 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
81862
81863 2011-06-28 Ulrich Drepper <drepper@gmail.com>
81864
81865 [BZ #12935]
81866 * malloc/memusage.sh: Fix quoting in message.
81867 * debug/xtrace.sh: Likewise.
81868
81869 * configure.in: Remove support for --experimental-malloc option, make
81870 it the default.
81871 * config.make.in: Likewise.
81872 * malloc/Makefile: Likewise.
81873
81874 2011-06-27 Andreas Schwab <schwab@redhat.com>
81875
81876 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
81877 two-byte characters.
81878
81879 2011-06-27 Roland McGrath <roland@hack.frob.com>
81880
81881 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
81882 AC_CACHE_CHECK invocation.
81883 * configure: Regenerated.
81884
81885 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
81886
81887 2011-06-27 Ulrich Drepper <drepper@gmail.com>
81888
81889 [BZ #12350]
81890 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
81891 bit from old_res_options.
81892
81893 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
81894
81895 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
81896 value type for setfct.
81897
81898 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
81899
81900 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
81901 __gettimeofday instead of gettimeofday.
81902
81903 2011-06-26 Ulrich Drepper <drepper@gmail.com>
81904
81905 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
81906
81907 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
81908
81909 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
81910
81911 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
81912 info.
81913
81914 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
81915
81916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81917 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
81918 strcpy-sse2-unaligned strncpy-sse2-unaligned
81919 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
81920 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
81921 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
81922 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
81923 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
81924 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
81925 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
81926 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
81927 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
81928 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
81929 (STRCPY): Support SSE2 and SSSE3 versions.
81930
81931 2011-06-24 Ulrich Drepper <drepper@gmail.com>
81932
81933 [BZ #12874]
81934 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
81935 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
81936 kernels which artificially limit size of requests.
81937
81938 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
81939
81940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81941 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
81942 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
81943 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
81944 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
81945 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
81946 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
81947 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
81948 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
81949 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
81950 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
81951 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
81952 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
81953 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
81954 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
81955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81956 Enable unaligned load optimization for Intel Core i3, i5 and i7
81957 processors.
81958 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
81959 Define.
81960 (index_Fast_Unaligned_Load): Define.
81961 (HAS_FAST_UNALIGNED_LOAD): Define.
81962
81963 2011-06-23 Marek Polacek <mpolacek@redhat.com>
81964
81965 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
81966
81967 2011-06-22 Ulrich Drepper <drepper@gmail.com>
81968
81969 [BZ #12907]
81970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
81971 until it is clear that the information is realy needed.
81972 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
81973
81974 2011-06-22 Andreas Schwab <schwab@redhat.com>
81975
81976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
81977
81978 2011-06-22 Ulrich Drepper <drepper@gmail.com>
81979
81980 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
81981 /sys/devices/system/cpu/online if it is usable.
81982
81983 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
81984 reading the information from the /proc filesystem to once a second.
81985
81986 2011-06-21 Andreas Jaeger <aj@suse.de>
81987
81988 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
81989 NULL after inclusion of kernel headers.
81990
81991 2011-06-21 Ulrich Drepper <drepper@gmail.com>
81992
81993 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
81994 calls to internal_setent.
81995
81996 [BZ #12885]
81997 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
81998 addresses using gethostbyname4_r ignore IPv4 addresses.
81999
82000 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82001 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
82002
82003 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82004
82005 2011-06-20 David S. Miller <davem@davemloft.net>
82006
82007 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82008 inclusions.
82009 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82010
82011 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82012 (elf_irel): Use it.
82013 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82014 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82015 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82016 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82017 * sysdeps/x86_64/dl-irel.h: Likewise.
82018
82019 * elf/dl-runtime.c: Use elf_ifunc_invoke.
82020 * elf/dl-sym.c: Likewise.
82021
82022 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82023
82024 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
82025 need to dereference resplen2.
82026
82027 2011-06-14 Andreas Schwab <schwab@redhat.com>
82028
82029 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82030
82031 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82032
82033 * Makeconfig: Define vardbdir and inst_vardbdir.
82034 * nss/Makefile: Add rules to install db-Makefile.
82035
82036 * nss/nss_db/db-XXX.c: Cleanup.
82037
82038 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82039 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82040 GLIBC_PRIVATE.
82041 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82042 * nss/makedb.c: Implement -g option to specify that value strings
82043 are generated and should not be added to table iterated over for
82044 get*ent calls.
82045 * nss/nss_db/db-initgroups.c: New file.
82046
82047 * nss/getent.c: Add support for initgroups lookups through getgrouplist
82048 interface.
82049
82050 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82051 (internal_getgrouplist): Adjust to name change.
82052 Update use_initgroups_entry if this is not the first call.
82053 * nss/databases.def: Add initgroups entry.
82054
82055 * nss/makedb.c (compute_tables): Check result of multiple hash table
82056 sizes to minimize maximum chain length.
82057
82058 2011-06-14 Ulrich Drepper <drepper@gmail.com>
82059
82060 * Versions.def: Add entry for libnss_db.
82061 * shlib-versions: Likewise.
82062 * nss/Makefile: Add rules to build libnss_db.
82063 * nss/Versions: Add libnss_db information. Organize libnss_files
82064 entries better.
82065 * nss/db-Makefile: Add gshadow support. Change rules for the new
82066 makedb progra. Some minor improvements to generate smaller files.
82067 * nss/nss_db/nss_db.h: Move NSS database header data structures to
82068 here from...
82069 * nss/makedb.c: ...here.
82070 Improve database format to be smaller and require less memory at
82071 runtime.
82072 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
82073 db anymore.
82074 * nss/nss_db/db-netgrp.c: Likewise.
82075 * nss/nss_db/db-open.c: Likewise.
82076 * nss/nss_files/flies-XXX.x: Adjust comments.
82077 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82078 * nss/nss_files/files-grp.c: Likewise.
82079 * nss/nss_files/files-hosts.c: Likewise.
82080 * nss/nss_files/files-network.c: Likewise.
82081 * nss/nss_files/files-proto.c: Likewise.
82082 * nss/nss_files/files-pwd.c: Likewise.
82083 * nss/nss_files/files-rpc.c: Likewise.
82084 * nss/nss_files/files-service.c: Likewise.
82085 * nss/nss_files/files-sgrp.c: Likewise.
82086 * nss/nss_files/files-spwd.c: Likewise.
82087 * nss/nss_db/db-alias.c: Removed.
82088 * nss/nss_db/dummy-db.h: Removed.
82089
82090 2011-06-02 Ulrich Drepper <drepper@gmail.com>
82091
82092 * nss/makedb.c: Rewritten to not use database library.
82093 * nss/Makefile: Update to build new makedb program.
82094
82095 2011-06-14 Andreas Jaeger <aj@suse.de>
82096
82097 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82098 memset declaration.
82099
82100 2011-06-10 Andreas Schwab <schwab@redhat.com>
82101
82102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82103 tmpbuf.
82104
82105 2011-06-10 Roland McGrath <roland@hack.frob.com>
82106
82107 * Makerules (shlib.lds): Fail if the linker script comes out empty.
82108 * elf/Makefile ($(objpfx)ld.so): Likewise.
82109
82110 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82111 Don't list ld.so twice in dependencies.
82112
82113 * posix/bug-regex31.c: Include <stdlib.h>.
82114
82115 * nscd/hstcache.c (cache_addhst): Remove unused variable.
82116
82117 * nis/nss_compat/compat-spwd.c
82118 (getspent_next_nss_netgr): Remove unused variable.
82119 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82120
82121 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82122 nonmembers" output to use the right array.
82123
82124 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82125
82126 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82127
82128 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82129 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82130 * catgets/gencat.c (read_input_file): Likewise.
82131 * locale/programs/locarchive.c (enlarge_archive): Likewise.
82132
82133 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82134 variable definition inside #if's controlling its use.
82135
82136 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82137
82138 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82139
82140 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82141
82142 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82143 unreachable code.
82144
82145 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82146
82147 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82148 * configure: Regenerated.
82149
82150 * Makerules: Revert last change.
82151 * elf/Makefile: Likewise.
82152
82153 2011-06-09 Roland McGrath <roland@hack.frob.com>
82154
82155 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82156 * elf/Makefile ($(objpfx)librtld.os): Likewise.
82157 (reloc-link): Likewise.
82158
82159 2011-06-09 Ulrich Drepper <drepper@gmail.com>
82160
82161 * elf/Makefile: Add rules to build pldd.
82162 * elf/pldd.c: New file.
82163 * elf/pldd-xx.c: New file.
82164
82165 2011-06-07 Ulrich Drepper <drepper@gmail.com>
82166
82167 * version.h: Update for 2.15 development version.
82168
82169 2011-06-07 David S. Miller <davem@davemloft.net>
82170
82171 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82172 ifuncs.
82173 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82174 elf_machine_lazy_rel): Likewise.
82175 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82176 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82177 elf_machine_lazy_rel): Likewise.
82178 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82179 dl_hwcap via passed in argument.
82180 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82181 Likewise.
82182
82183 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82184
82185 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
82186
82187 2011-06-06 Roland McGrath <roland@hack.frob.com>
82188
82189 [BZ #12849]
82190 * manual/fdl-1.1.texi: New file, verbatim from:
82191 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
82192 * manual/lgpl-2.1.texi: New file, verbatim from:
82193 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
82194 * manual/Makefile (licenses): New variable, list those new file names.
82195 (texis): Use it.
82196 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
82197
82198 * manual/fdl.texi: File removed.
82199 * manual/lesser.texi: File removed.
82200 * manual/libc.texinfo (Copying, Documentation License):
82201 Use new @include file names, put @appendix directive before @include.
82202
82203 2011-06-04 Jakub Jelinek <jakub@redhat.com>
82204
82205 [BZ #12841]
82206 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
82207 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
82208 (mq_open): Add __NTH.
82209
82210 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
82211
82212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82213 Assume Intel Core i3/i5/i7 processor if AVX is available.
82214
82215 2011-05-31 Ulrich Drepper <drepper@gmail.com>
82216
82217 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82218 typo.
82219
82220 2011-05-31 Andreas Schwab <schwab@redhat.com>
82221
82222 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
82223 memory. Use alloca_account. Fix memory leak when retrying.
82224
82225 2011-05-31 Ulrich Drepper <drepper@gmail.com>
82226
82227 * version.h (RELEASE): Bump for 2.14 release.
82228 * include/features.h (__GLIBC_MINOR__): Bump to 14.
82229
82230 * config.make.in (RANLIB): Remove entry.
82231
82232 2011-05-30 Ulrich Drepper <drepper@gmail.com>
82233
82234 * po/Makefile (po-sed-cmd): Add ksh to extensions.
82235 (libc.pot): Work around missing support for .ksh extension in xgettext.
82236
82237 [BZ #12684]
82238 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
82239 if both request failed.
82240 (send_dg): In case of server errors clear resplen or *resplen2.
82241
82242 [BZ #12454]
82243 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
82244 when there are multiple maps.
82245 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
82246 (_dl_fini): Remove test here.
82247
82248 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
82249
82250 2011-05-29 Ulrich Drepper <drepper@gmail.com>
82251
82252 [BZ #12350]
82253 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
82254 bit from old_res_options.
82255 (gaih_inet): Likewise.
82256
82257 [BZ #11099]
82258 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
82259 as signed.
82260
82261 * resolv/res_init.c (res_setoptions): Make the code more compact.
82262
82263 [BZ #11558]
82264 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
82265 set RES_USEVC.
82266
82267 [BZ #11634]
82268 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
82269
82270 * malloc/malloc.h: Mark malloc hook variables as deprecated.
82271
82272 [BZ #11781]
82273 * malloc/malloc.h: Declare malloc hook variables as volatile.
82274
82275 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
82276 in last patch.
82277
82278 [BZ #11799]
82279 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
82280 raise in the comment.
82281 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82282 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82283 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
82284
82285 2011-05-28 Ulrich Drepper <drepper@gmail.com>
82286
82287 [BZ #12811]
82288 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
82289 grow the buffers more if it already has to be sufficient.
82290 (build_wcs_upper_buffer): Likewise.
82291 * posix/regexec.c (check_matching): Likewise.
82292 (clean_state_log_if_needed): Likewise.
82293 (extend_buffers): Don't enlarge buffers beyond size of the input
82294 buffer.
82295 Patches mostly by Emil Wojak <emil@wojak.eu>.
82296 * posix/bug-regex32.c: New file.
82297 * posix/Makefile (tests): Add bug-regex32.
82298
82299 * locale/findlocale.c (_nl_find_locale): Return right away if
82300 _nl_explode_name failed.
82301 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
82302
82303 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
82304
82305 * debug/xtrace.sh: Unify messages.
82306 * malloc/memusage.sh: Likewise.
82307
82308 [BZ #12813]
82309 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
82310 time symbol from vDSO. Substitute with vsyscall if not available.
82311 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
82312 __vdso_time.
82313
82314 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
82315 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
82316 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
82317 Add sendmmsg and internal_sendmmsg.
82318 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
82319 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
82320 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
82321
82322 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
82323 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
82324 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
82325
82326 2011-05-27 Ulrich Drepper <drepper@gmail.com>
82327
82328 [BZ #12813]
82329 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
82330 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
82331 available.
82332 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
82333 __vdso_getcpu.
82334
82335 [BZ #12814]
82336 * iconvdata/Makefile (tests): Add bug-iconv9.
82337 * iconvdata/bug-iconv9.c: New file.
82338
82339 2011-05-27 Andreas Schwab <schwab@redhat.com>
82340
82341 [BZ #12814]
82342 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
82343
82344 2011-05-25 Jakub Jelinek <jakub@redhat.com>
82345
82346 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82347 (struct user_regs_struct): Change intcs field back to cs.
82348
82349 2011-05-25 Ulrich Drepper <drepper@gmail.com>
82350
82351 * po/ja.po: Update from translation team.
82352
82353 2011-05-23 Ulrich Drepper <drepper@gmail.com>
82354
82355 [BZ #12795]
82356 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
82357 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
82358
82359 2011-05-20 Andreas Schwab <schwab@redhat.com>
82360
82361 * stdlib/longlong.h: Update from GCC.
82362
82363 2011-05-23 Andreas Schwab <schwab@redhat.com>
82364
82365 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
82366 parameter name.
82367 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
82368 Add parameter name.
82369 (__sysconf): Pass it down.
82370
82371 2011-05-22 Ulrich Drepper <drepper@gmail.com>
82372
82373 [BZ #12671]
82374 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
82375 some situations.
82376 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
82377 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
82378 add in in __libc_use_alloca calls. Adjust callers.
82379 (glob): Use malloc in some situations.
82380
82381 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
82382 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
82383 pltexit.
82384
82385 2011-05-21 Ulrich Drepper <drepper@gmail.com>
82386
82387 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
82388 and CLOCK_BOOTTIME_ALARM.
82389
82390 [BZ #12782]
82391 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
82392 is returned.
82393
82394 * string/_strerror.c (__strerror_r): Print negative errors as signed
82395 numbers.
82396
82397 [BZ #12777]
82398 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
82399 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
82400 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
82401
82402 * configure.in: Fix typo in redirection and correct removal of test
82403 files in two cases.
82404
82405 [BZ #12788]
82406 * locale/setlocale.c (new_composite_name): Fix test to check for
82407 identical name of all categories.
82408
82409 [BZ #12792]
82410 * libio/filedoalloc.c (local_isatty): New function.
82411 (_IO_file_doallocate): Use local_isatty.
82412 * stdio-common/perror.c (perror): In case a new stream is used
82413 forward the stream error.
82414 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
82415 error flag.
82416
82417 2011-05-20 Ulrich Drepper <drepper@gmail.com>
82418
82419 [BZ #11884]
82420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
82421 alloca.
82422 * include/alloca.h (extend_alloca_account): Define.
82423
82424 [BZ #11857]
82425 * posix/regex.h: Fix comments with documentation of user-accessible
82426 fields after compilation and describe correct free'ing of pattern
82427 after re_compile_pattern.
82428 Patch by Reuben Thomas <rrt@sc3d.org>.
82429
82430 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
82431
82432 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
82433 and -mno-altivec to prevent the compiler from using Altivec and/or
82434 VSX instructions when the corresponding registers are not available.
82435
82436 2011-05-19 Andreas Schwab <schwab@redhat.com>
82437
82438 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
82439
82440 2011-05-19 Ulrich Drepper <drepper@gmail.com>
82441
82442 * libio/freopen.c (freopen): Use __dup2, not dup2.
82443 * libio/freopen64.c (freopen64): Likewise.
82444
82445 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
82446
82447 [BZ #12775]
82448 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
82449 * math/Makefile (tests): Add test-powl.
82450 (CFLAGS-test-powl.c): Define.
82451 * math/test-powl.c: New file.
82452
82453 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
82454
82455 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
82456
82457 2011-05-17 Ulrich Drepper <drepper@gmail.com>
82458
82459 [BZ #11837]
82460 * iconvdata/gb18030.c: Update to GB18020-2005.
82461
82462 2011-05-16 Ulrich Drepper <drepper@gmail.com>
82463
82464 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
82465 RE_SYNTAX_POSIX_AWK): Update to match recent development.
82466 Patch by Aharon Robbins <arnold@skeeve.com>.
82467
82468 [BZ #11892]
82469 * stdlib/putenv.c (putenv): Don't always create copy of the variable
82470 on the stack.
82471
82472 [BZ #11895]
82473 * misc/pselect.c (__pselect): Handle timeout value errors hidden
82474 through underflows.
82475
82476 [BZ #12766]
82477 * misc/error.c (error_at_line): Ensure file_name and old_file_name
82478 point to strings before performing equality test for error_one_per_line
82479 mode.
82480
82481 [BZ #11697]
82482 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
82483
82484 [BZ #11820]
82485 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82486 (struct user_fpregs_struct): Avoid __uint*_t types.
82487
82488 [BZ #6420]
82489 * malloc/mtrace.c (tr_where): Add additional parameter to point to
82490 symbol info. Use it instead of calling _dl_addr locally.
82491 (lock_and_info): New function.
82492 (tr_freehook): Call lock_and_info and pass symbol info as additional
82493 parameter to tr_where.
82494 (tr_mallochook): Likewise.
82495 (tr_reallochook): Likewise.
82496 (tr_memalignhook): Likewise.
82497
82498 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
82499 used and couldn't be at all thread-safe.
82500
82501 2011-05-15 Ulrich Drepper <drepper@gmail.com>
82502
82503 * libio/freopen.c (freopen): Don't close old file descriptor
82504 before the new one is opened. Instead dup the new file descriptor
82505 to the old one after the new stream is created.
82506 * libio/freopen64.c (freopen64): Likewise.
82507 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
82508 * libio/fileops.c (_IO_new_file_close_it): Handle new
82509 _IO_FLAGS2_NOCLOSE flag.
82510 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
82511 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
82512 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
82513 _IO_FLAGS2_NOCLOSE flag.
82514 * include/unistd.h: Add hidden_proto for dup3.
82515 Define __have_dup3.
82516 * io/dup3.c: Define hidden symbol.
82517 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
82518
82519 [BZ #7101]
82520 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
82521 when an incomplete long option is used.
82522 * posix/tst-getopt_long1.c: New file.
82523 * posix/Makefile (tests): Add tst-getopt_long1.
82524
82525 [BZ #10138]
82526 * scripts/config.guess: Update from autoconf-2.68.
82527 * scripts/config.sub: Likewise.
82528
82529 [BZ #10157]
82530 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
82531 tests into ...
82532 (has_cpuclock): ...this. New function.
82533 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
82534 macro here based on has_cpuclock code.
82535
82536 [BZ #10149]
82537 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82538 First byte (not low byte) is now always NUL.
82539 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
82540
82541 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82542 Use non-cancelable interfaces.
82543
82544 [BZ #9809]
82545 * locale/iso-639.def: Add entry for Sorani.
82546
82547 [BZ #11901]
82548 * include/stdlib.h: Move include protection to the right place.
82549 Define abort_msg_s. Declare __abort_msg with it.
82550 * stdlib/abort.c (__abort_msg): Adjust type.
82551 * assert/assert.c (__assert_fail_base): New function. Majority
82552 of code from __assert_fail. Allocate memory for __abort_msg with
82553 mmap.
82554 (__assert_fail): Now call __assert_fail_base.
82555 * assert/assert-perr.c: Remove bulk of implementation. Use
82556 __assert_fail_base.
82557 * include/assert.hL Declare __assert_fail_base.
82558 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
82559 mmap.
82560 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
82561
82562 2011-05-14 Ulrich Drepper <drepper@gmail.com>
82563
82564 [BZ #11952]
82565 [BZ #12453]
82566 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
82567 until all modules are registered in the DTV.
82568 * elf/Makefile: Add rules to build and run tst-tls19.
82569 * elf/tst-tls19.c: New file.
82570 * elf/tst-tls19mod1.c: New file.
82571 * elf/tst-tls19mod2.c: New file.
82572 * elf/tst-tls19mod3.c: New file.
82573 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
82574
82575 [BZ #12083]
82576 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
82577 correctly.
82578
82579 [BZ #12601]
82580 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
82581 two-byte sequence errors.
82582 * iconvdata/Makefile (tests): Add bug-iconv8.
82583 * iconvdata/bug-iconv8.c: New file.
82584
82585 [BZ #12626]
82586 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
82587 buf2 definition.
82588
82589 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
82590
82591 [BZ #12432]
82592 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
82593 (dummy_getcfa): New function.
82594 (init): Get _Unwind_GetCFA address, use dummy if not found.
82595 (backtrace_helper): In recursion check, also check whether CFA changes.
82596 (__backtrace): Completely initialize arg.
82597
82598 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
82599 storing incomplete byte sequence in state object. Avoid testing for
82600 guaranteed too small input if we know there is enough data available.
82601
82602 2011-05-11 Andreas Schwab <schwab@redhat.com>
82603
82604 * Makeconfig (+link-pie): Indent.
82605 * Rules (binaries-pie): Define if $(have-fpie) and
82606 $(build-shared).
82607 (binaries-shared): Also filter out $(binaries-pie).
82608 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
82609 * nscd/Makefile (others-pie): Add nscd.
82610 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
82611 ($(objpfx)nscd): Remove command override.
82612 * login/Makefile (others-pie): Add pt_chown.
82613 ($(objpfx)pt_chown): Remove command override.
82614 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
82615 remove command overrides.
82616
82617 2011-05-13 Ulrich Drepper <drepper@gmail.com>
82618
82619 * libio/tst_putwc.c: Fix error messages.
82620
82621 [BZ #12724]
82622 * libio/fileops.c (_IO_new_file_close_it): Always flush when
82623 currently writing and seek to current position when not.
82624 * libio/Makefile (tests): Add bug-fclose1.
82625 * libio/bug-fclose1.c: New file.
82626
82627 2011-05-12 Ulrich Drepper <drepper@gmail.com>
82628
82629 [BZ #12511]
82630 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
82631 don't set DF_1_NODELETE here.
82632 (do_lookup_x): When entering new entry test for copy relocation
82633 and if necessary set DF_1_NODELETE flag.
82634 * elf/tst-unique4.cc: New file.
82635 * elf/tst-unique4.h: New file.
82636 * elf/tst-unique4lib.cc: New file.
82637 * elf/Makefile: Add rules to build and run tst-unique4.
82638 Patch by Piotr Bury <pbury@goahead.com>.
82639
82640 2011-05-11 Ulrich Drepper <drepper@gmail.com>
82641
82642 [BZ #12052]
82643 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
82644
82645 [BZ #12625]
82646 * misc/mntent_r.c (addmntent): Flush the stream after the output
82647
82648 [BZ #12393]
82649 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
82650 (is_trusted_path_normalize): Skip initial colon. Append slash
82651 to empty buffer. Duplicate is_trusted_path code but allow
82652 constructed patch to be prefix.
82653 (is_dst): Allow $ORIGIN followed by /.
82654 (_dl_dst_substitute): Correct clearing of check_for_trusted.
82655 Correct testing of result of is_trusted_path_normalize
82656 (decompose_rpath): Fix warning.
82657
82658 2011-05-10 Ulrich Drepper <drepper@gmail.com>
82659
82660 [BZ #11257]
82661 * grp/initgroups.c (internal_getgrouplist): When we found the service
82662 list through the initgroups entry in nsswitch.conf do not always
82663 continue on a successful lookup. Don't always use the
82664 __nss_group_database value if it is set.
82665 * nss/nsswitch.conf (initgroups): Change action for successful db
82666 lookup to continue for compatibility.
82667
82668 2011-05-09 Ulrich Drepper <drepper@gmail.com>
82669
82670 [BZ #11532]
82671 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
82672 and CP774 modules.
82673 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
82674 and CP774 modules.
82675 * iconvdata/tst-tables.sh: Likewise.
82676 * iconvdata/cp770.c: New file.
82677 * iconvdata/cp771.c: New file.
82678 * iconvdata/cp772.c: New file.
82679 * iconvdata/cp773.c: New file.
82680 * iconvdata/cp774.c: New file.
82681 * iconvdata/testdata/CP770: New file.
82682 * iconvdata/testdata/CP770..UTF8: New file.
82683 * iconvdata/testdata/CP771: New file.
82684 * iconvdata/testdata/CP771..UTF8: New file.
82685 * iconvdata/testdata/CP772: New file.
82686 * iconvdata/testdata/CP772..UTF8: New file.
82687 * iconvdata/testdata/CP773: New file.
82688 * iconvdata/testdata/CP773..UTF8: New file.
82689 * iconvdata/testdata/CP774: New file.
82690 * iconvdata/testdata/CP774..UTF8: New file.
82691
82692 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
82693 END CHARMAP line.
82694 * iconvdata/gen-8bit-gap.sh: Likewise.
82695 * iconvdata/gen-8bit.sh: Likewise.
82696
82697 * locale/iso-639.def: Add ary entry.
82698
82699 [BZ #11258]
82700 * locale/C-translit.h.in: Add U20A1 transliteration.
82701
82702 [BZ #12178]
82703 * locale/iso-639.def: Add wae entry.
82704 Patch by Kevin Bortis <bortis@translate-wae.ch>.
82705
82706 [BZ #12545]
82707 * locale/programs/localedef.c (construct_output_path): Use ssize_t
82708 for n.
82709
82710 [BZ #12711]
82711 * locale/C-translit.h.in: Add entry for U20B9.
82712 Patch by pravin.d.s@gmail.com.
82713
82714 2011-05-08 Ulrich Drepper <drepper@gmail.com>
82715
82716 [BZ #12713]
82717 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
82718 ENAMETOOLONG use generic getcwd.
82719 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
82720 in rtld. Use *stat64.
82721 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
82722 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
82723 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
82724 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
82725 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
82726 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
82727 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
82728 __fstatat64 macros.
82729 * include/dirent.h: Add libc_hidden_proto for rewinddir.
82730 * dirent/rewinddir.c: Add libc_hidden_def.
82731 * sysdeps/mach/hurd/rewinddir.c: Likewise.
82732 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
82733
82734 * include/dirent.h (__alloc_dir): Add flags parameter.
82735 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
82736 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
82737 __alloc_dir.
82738 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
82739 from fdopendir if O_CLOEXEC is already set.
82740
82741 2011-03-15 Alan Modra <amodra@gmail.com>
82742
82743 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
82744 l_tls_firstbyte_offset non-zero. Save padding offset in
82745 l_tls_firstbyte_offset for later use.
82746 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
82747 freeing static tls block.
82748
82749 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
82750
82751 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
82752 where #ifdef was intended. The intent is to prevent ARG_MAX from
82753 being defined by the kernel headers.
82754
82755 2011-05-07 Ulrich Drepper <drepper@gmail.com>
82756
82757 [BZ #12734]
82758 * resolv/resolv.h: Define RES_NOTLDQUERY.
82759 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
82760 no-tld-query and set RES_NOTLDQUERY.
82761 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
82762 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
82763 modern BIND to search name as TLD unless forbidden.
82764
82765 2011-05-07 Petr Baudis <pasky@suse.cz>
82766 Ulrich Drepper <drepper@gmail.com>
82767
82768 [BZ #12393]
82769 * elf/dl-load.c (fillin_rpath): Move trusted path check...
82770 (is_trusted_path): ...to here.
82771 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
82772 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
82773 using is_trusted_path_normalize() in setuid scripts.
82774
82775 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
82776
82777 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
82778 __BEGIN/__END_DECLS.
82779
82780 2011-05-06 Ulrich Drepper <drepper@gmail.com>
82781
82782 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
82783 NSS_STATUS_NOTFOUND if no record was found.
82784
82785 2011-05-05 Andreas Schwab <schwab@redhat.com>
82786
82787 * sunrpc/Makefile (headers): Add rpc/netdb.h.
82788 (headers-not-in-tirpc): Remove rpc/netdb.h
82789 * resolv/netdb.h: Revert last change.
82790
82791 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
82792
82793 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
82794 circular dependency between libgcc.a and libc.a.
82795
82796 2011-05-05 Andreas Schwab <schwab@redhat.com>
82797
82798 * resolv/netdb.h: Don't include <rpc/netdb.h>.
82799 * nis/Makefile: Don't install rpcsvc/*.
82800 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
82801 instead of <rpc/types.h>.
82802 (MAXHOSTNAMELEN): Define.
82803
82804 2011-05-03 Andreas Schwab <schwab@redhat.com>
82805
82806 * elf/ldconfig.c (add_dir): Don't crash on empty path.
82807
82808 2011-04-28 Maciej Babinski <mbabinski@google.com>
82809
82810 [BZ #12714]
82811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
82812 gethostbyname4_r when IPv6 results are possible.
82813
82814 2011-05-02 Ulrich Drepper <drepper@gmail.com>
82815
82816 [BZ #12723]
82817 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
82818 _PC_PIPE_BUF handling.
82819
82820 2011-04-30 Bruno Haible <bruno@clisp.org>
82821
82822 [BZ #12717]
82823 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
82824 * resolv/netdb.h (getnameinfo): Change type of flags parameter
82825 to 'int'.
82826 * inet/getnameinfo.c (getnameinfo): Likewise.
82827
82828 2011-04-29 Ulrich Drepper <drepper@gmail.com>
82829
82830 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
82831 to groups setting in database lookup.
82832 * nss/nsswitch.conf: Add initgroups entry.
82833
82834 2011-04-22 Ulrich Drepper <drepper@gmail.com>
82835
82836 [BZ #12685]
82837 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
82838 mode string.
82839 Patch by Eric Blake <eblake@redhat.com>.
82840
82841 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
82842
82843 * sunrpc/Makefile (need-export-routines): Add svc_run.
82844 (routines): Remove svc_run.
82845 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
82846 * sunrpc/clnt_perr.c (clnt_perrno): Export.
82847 * sunrpc/svc_run.c (svc_run): Likewise.
82848 * sunrpc/svc_udp.c (svcudp_create): Likewise.
82849
82850 2011-04-21 Ulrich Drepper <drepper@gmail.com>
82851
82852 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
82853 problem in reallocation in last patch.
82854
82855 2011-04-20 Ulrich Drepper <drepper@gmail.com>
82856
82857 * sunrpc/Makefile: Move inclusion of Rules.
82858
82859 2011-04-19 Ulrich Drepper <drepper@gmail.com>
82860
82861 * nss/nss_files/files-initgroups.c: New file.
82862 * nss/Makefile (libnss_files-routines): Add files-initgroups.
82863 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
82864 _nss_files_initgroups_dyn.
82865
82866 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
82867
82868 * elf/elf.h (R_ARM_IRELATIVE): Define.
82869
82870 2011-04-19 Ulrich Drepper <drepper@gmail.com>
82871
82872 * po/ru.po: Update from translation team.
82873
82874 2011-04-17 Ulrich Drepper <drepper@gmail.com>
82875
82876 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
82877 dependencies.
82878
82879 2011-02-06 Mike Frysinger <vapier@gentoo.org>
82880
82881 [BZ #12653]
82882 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
82883 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
82884 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82885 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
82886 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
82887
82888 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
82889
82890 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
82891 differing bytes.
82892 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
82893 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
82894 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
82895
82896 2011-04-17 Ulrich Drepper <drepper@gmail.com>
82897
82898 [BZ #12420]
82899 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
82900 storing it.
82901 * stdlib/bug-getcontext.c: New file.
82902 * stdlib/Makefile: Add rules to build and run bug-getcontext.
82903
82904 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82905
82906 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
82907 instructions into .machine "z9-109".
82908 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
82909 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
82910
82911 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82912
82913 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
82914 between environment variables and auxiliary vector.
82915
82916 2011-04-16 Ulrich Drepper <drepper@gmail.com>
82917
82918 * Makefile: Add rules to build linkobj/libc.so.
82919 * include/libc-symbols.h: Define libc_hidden_nolink.
82920 * include/rpc/auth.h: Mark functions which are to be hidden.
82921 * include/rpc/auth_des.h: Likewise.
82922 * include/rpc/auth_unix.h: Likewise.
82923 * include/rpc/clnt.h: Likewise.
82924 * include/rpc/des_crypt.h: Likewise.
82925 * include/rpc/key_prot.h: Likewise.
82926 * include/rpc/pmap_clnt.h: Likewise.
82927 * include/rpc/pmap_prot.h: Likewise.
82928 * include/rpc/pmap_rmt.h: Likewise.
82929 * include/rpc/rpc_msg.h: Likewise.
82930 * include/rpc/svc.h: Likewise.
82931 * include/rpc/svc_auth.h: Likewise.
82932 * include/rpc/xdr.h: Likewise.
82933 * nis/Makefile: Link all DSOs against linkobj/libc.so.
82934 * nss/Makefile: Likewise.
82935 * sunrpc/Makefile: Don't install headers. Build library with normal
82936 entry points. Don't build rpcinfo. Link RPC tests appropriately.
82937 * sunrpc/auth_des.c: Hide exported symbols by default, export some
82938 for the compat linking library. Remove use of INTDEF/INTUSE.
82939 * sunrpc/auth_none.c: Likewise.
82940 * sunrpc/auth_unix.c: Likewise.
82941 * sunrpc/authdes_prot.c: Likewise.
82942 * sunrpc/authuxprot.c: Likewise.
82943 * sunrpc/clnt_gen.c: Likewise.
82944 * sunrpc/clnt_perr.c: Likewise.
82945 * sunrpc/clnt_raw.c: Likewise.
82946 * sunrpc/clnt_simp.c: Likewise.
82947 * sunrpc/clnt_tcp.c: Likewise.
82948 * sunrpc/clnt_udp.c: Likewise.
82949 * sunrpc/clnt_unix.c: Likewise.
82950 * sunrpc/des_crypt.c: Likewise.
82951 * sunrpc/des_soft.c: Likewise.
82952 * sunrpc/get_myaddr.c: Likewise.
82953 * sunrpc/key_call.c: Likewise.
82954 * sunrpc/key_prot.c: Likewise.
82955 * sunrpc/netname.c: Likewise.
82956 * sunrpc/pm_getmaps.c: Likewise.
82957 * sunrpc/pm_getport.c: Likewise.
82958 * sunrpc/pmap_clnt.c: Likewise.
82959 * sunrpc/pmap_prot.c: Likewise.
82960 * sunrpc/pmap_prot2.c: Likewise.
82961 * sunrpc/pmap_rmt.c: Likewise.
82962 * sunrpc/publickey.c: Likewise.
82963 * sunrpc/rpc_cmsg.c: Likewise.
82964 * sunrpc/rpc_common.c: Likewise.
82965 * sunrpc/rpc_dtable.c: Likewise.
82966 * sunrpc/rpc_prot.c: Likewise.
82967 * sunrpc/rpc_thread.c: Likewise.
82968 * sunrpc/rtime.c: Likewise.
82969 * sunrpc/svc.c: Likewise.
82970 * sunrpc/svc_auth.c: Likewise.
82971 * sunrpc/svc_authux.c: Likewise.
82972 * sunrpc/svc_raw.c: Likewise.
82973 * sunrpc/svc_run.c: Likewise.
82974 * sunrpc/svc_simple.c: Likewise.
82975 * sunrpc/svc_tcp.c: Likewise.
82976 * sunrpc/svc_udp.c: Likewise.
82977 * sunrpc/svc_unix.c: Likewise.
82978 * sunrpc/svcauth_des.c: Likewise.
82979 * sunrpc/xcrypt.c: Likewise.
82980 * sunrpc/xdr.c: Likewise.
82981 * sunrpc/xdr_array.c: Likewise.
82982 * sunrpc/xdr_float.c: Likewise.
82983 * sunrpc/xdr_intXX_t.c: Likewise.
82984 * sunrpc/xdr_mem.c: Likewise.
82985 * sunrpc/xdr_rec.c: Likewise.
82986 * sunrpc/xdr_ref.c: Likewise.
82987 * sunrpc/xdr_sizeof.c: Likewise.
82988 * sunrpc/xdr_stdio.c: Likewise.
82989
82990 2011-04-10 Ulrich Drepper <drepper@gmail.com>
82991
82992 [BZ #12650]
82993 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
82994 * sysdeps/ia64/dl-tls.h: Likewise.
82995 * sysdeps/powerpc/dl-tls.h: Likewise.
82996 * sysdeps/s390/dl-tls.h: Likewise.
82997 * sysdeps/sh/dl-tls.h: Likewise.
82998 * sysdeps/sparc/dl-tls.h: Likewise.
82999 * sysdeps/x86_64/dl-tls.h: Likewise.
83000 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83001
83002 2011-03-14 Andreas Schwab <schwab@redhat.com>
83003
83004 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83005 rpath element also skip the following colon.
83006 (expand_dynamic_string_token): Add is_path parameter and pass
83007 down to DL_DST_REQUIRED and _dl_dst_substitute.
83008 (decompose_rpath): Call expand_dynamic_string_token with
83009 non-zero is_path. Ignore empty rpaths.
83010 (_dl_map_object_from_fd): Call expand_dynamic_string_token
83011 with zero is_path.
83012
83013 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
83014
83015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83016 Make cancelable.
83017
83018 2011-04-09 Ulrich Drepper <drepper@gmail.com>
83019
83020 [BZ #12655]
83021 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83022 Patch by Filipe David Manana <fdmanana@apache.org>.
83023
83024 2011-04-07 Andreas Schwab <schwab@redhat.com>
83025
83026 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83027 Maintain aligned stack.
83028 (CHECK_RSP): Remove unused macro.
83029
83030 2011-04-03 Ulrich Drepper <drepper@gmail.com>
83031
83032 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83033 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83034
83035 2011-04-02 Ulrich Drepper <drepper@gmail.com>
83036
83037 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83038
83039 * include/features.h: Mention __USE_XOPEN2K8 in comment.
83040
83041 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
83042
83043 [BZ #12518]
83044 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83045 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83046 * sysdeps/x86_64/memmove.c: New file.
83047 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83048 (memcpy): Renamed to ...
83049 (__new_memcpy): This.
83050 (memcpy): Provide GLIBC_2_14 memcpy.
83051 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83052 (memcpy): Provide GLIBC_2_2_5 memcpy.
83053
83054 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83055
83056 [BZ #12631]
83057 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83058
83059 2011-03-30 Andreas Schwab <schwab@redhat.com>
83060
83061 * misc/syncfs.c: New file.
83062 * misc/Makefile (routines): Add syncfs.
83063 * posix/unistd.h: Declare syncfs.
83064 * sysdeps/unix/syscalls.list: Add syncfs.
83065
83066 2011-04-01 Andreas Schwab <schwab@redhat.com>
83067
83068 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83069 open_by_handle_at.
83070 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83071 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83073 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83075 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83076 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83077
83078 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83079
83080 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83081 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83082 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83084 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83086 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83087
83088 * io/Makefile: Compile fallocate.c, fallocate64.c, and
83089 sync_file_range.c with -fexceptions.
83090 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83091 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83092 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83093 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83094 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83095 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83096 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83097 sync_file_range as cancellation point
83098 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
83099 now a wrapper around __call_sync_file_range with cancellation handling.
83100 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83101 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
83102 function name to __call_sync_file_range.
83103 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83104 Add call_sync_file_range.
83105
83106 2011-04-01 Andreas Schwab <schwab@redhat.com>
83107
83108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83109 bits/timex.h.
83110
83111 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83112
83113 * iconv/iconv.h: Fix typo in comment.
83114 * io/fcntl.h: Likewise.
83115 * libio/stdio.h: Likewise.
83116 * posix/spawn.h: Likewise.
83117 * posix/unistd.h: Likewise.
83118 * stdlib/stdlib.h: Likewise.
83119 * time/time.h: Likewise.
83120 * wcsmbs/wchar.h: Likewise.
83121
83122 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83123 open_by_handle): Add.
83124 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83125 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
83126 Augment a few comments.
83127 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83129 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83131 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83132 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83133 open_by_handle.
83134
83135 * io/fcntl.h (AT_EMPTY_PATH): Define.
83136
83137 2011-03-30 Ulrich Drepper <drepper@gmail.com>
83138
83139 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83140 * sysdeps/unix/sysv/linux/bits/time.h: New file.
83141 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83142 to...
83143 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
83144 * Versions.def: Add GLIBC_2.14.
83145 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83146 Export.
83147
83148 2011-03-22 Ulrich Drepper <drepper@gmail.com>
83149
83150 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83151 round counter.
83152 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83153
83154 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
83155
83156 [BZ #12597]
83157 * string/test-strncmp.c (do_page_test): New function.
83158 (check2): Likewise.
83159 (test_main): Call check2.
83160 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83161
83162 2011-03-20 Ulrich Drepper <drepper@gmail.com>
83163
83164 [BZ #12587]
83165 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83166 Handle cache information in CPU leaf 4.
83167 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83168
83169 2011-03-18 Ulrich Drepper <drepper@gmail.com>
83170
83171 [BZ #12583]
83172 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83173 character representation.
83174 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83175
83176 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
83177
83178 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83179 END(__isnan) to END(__isnanf) to match function entry point/label
83180 EALIGN(__isnanf,...).
83181
83182 2011-03-10 Jakub Jelinek <jakub@redhat.com>
83183
83184 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83185
83186 2011-03-10 Ulrich Drepper <drepper@gmail.com>
83187
83188 [BZ #12510]
83189 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
83190 copy from the symbol referenced in the relocation to initialize the
83191 used variable.
83192 Patch by Piotr Bury <pbury@goahead.com>.
83193 * elf/Makefile: Add rules to build and tst-unique3.
83194 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
83195 * elf/tst-unique3.cc: New file.
83196 * elf/tst-unique3.h: New file.
83197 * elf/tst-unique3lib.cc: New file.
83198 * elf/tst-unique3lib2.cc: New file.
83199
83200 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
83201
83202 2011-03-10 Mike Frysinger <vapier@gentoo.org>
83203
83204 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
83205 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
83206 to _start.
83207
83208 2011-03-06 Ulrich Drepper <drepper@gmail.com>
83209
83210 * elf/dl-load.c (_dl_map_object): If we are looking for the first
83211 to-be-loaded object along a path to loader is ld.so.
83212
83213 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83214 Ulrich Drepper <drepper@gmail.com>
83215
83216 * sysdeps/x86_64/memset.S: After aligning destination, code
83217 branches to different locations depending on the value of
83218 misalignment, when multiarch is enabled. Fix this.
83219
83220 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83221
83222 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
83223 Set _x86_64_preferred_memory_instruction for AMD processsors.
83224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83225 Set bit_Prefer_SSE_for_memop for AMD processors.
83226
83227 2011-03-04 Ulrich Drepper <drepper@gmail.com>
83228
83229 * libio/fmemopen.c (fmemopen): Optimize a bit.
83230
83231 2011-03-03 Andreas Schwab <schwab@redhat.com>
83232
83233 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
83234
83235 2011-03-03 Roland McGrath <roland@redhat.com>
83236
83237 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
83238
83239 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
83240
83241 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
83242 __bzero_ultra1 instead of __memset_ultra1.
83243
83244 2011-02-23 Andreas Schwab <schwab@redhat.com>
83245 Ulrich Drepper <drepper@gmail.com>
83246
83247 [BZ #12509]
83248 * include/link.h (struct link_map): Add l_orig_initfini.
83249 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
83250 returning unsuccessfully.
83251 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
83252 close of a file loaded at startup, restore the original l_initfini
83253 list.
83254 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
83255 list, store the pointer.
83256 * elf/Makefile ($(objpfx)noload-mem): New rule.
83257 (noload-ENV): Define.
83258 (tests): Add $(objpfx)noload-mem.
83259 * elf/noload.c: Include <memcheck.h>.
83260 (main): Call mtrace. Close all opened handles.
83261
83262 2011-02-17 Andreas Schwab <schwab@redhat.com>
83263
83264 [BZ #12454]
83265 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
83266 dependencies are missing.
83267
83268 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
83269
83270 Fix __if_freereq crash: Unlike the generic version which uses free,
83271 Hurd needs munmap.
83272 * sysdeps/mach/hurd/ifreq.h: New file.
83273
83274 2011-01-27 Petr Baudis <pasky@suse.cz>
83275 Ulrich Drepper <drepper@gmail.com>
83276
83277 [BZ 12445]#
83278 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
83279 to extend_alloca().
83280 * stdio-common/bug23.c: New file.
83281 * stdio-common/Makefile (tests): Add bug23.
83282
83283 2010-09-28 Andreas Schwab <schwab@redhat.com>
83284 Ulrich Drepper <drepper@gmail.com>
83285
83286 [BZ #12489]
83287 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
83288 before performing relro protection. At old place add assertion
83289 to make sure nothing changed.
83290
83291 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
83292 Glauber de Oliveira Costa <glommer@gmail.com>
83293
83294 * elf/elf.h: Add new ARM TLS relocs.
83295
83296 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
83297
83298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
83299 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
83300 cast from r3.
83301 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
83302 'tests' variable.
83303 * sysdeps/wordsize-64/tst-writev.c: New file.
83304
83305 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
83306
83307 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
83308 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
83309 insns in _dl_start to prevent a TOC reference before relocs are
83310 resolved.
83311
83312 2011-02-15 Ulrich Drepper <drepper@gmail.com>
83313
83314 [BZ #12469]
83315 * Makeconfig: Remove RANLIB definition.
83316 * Makerules: Don't use RANLIB.
83317 * aclocal.m4: Remove ranlib test.
83318 * configure.in: No need to check for ranlib.
83319 * elf/rtld-Rules: Don't use RANLIB.
83320
83321 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
83322
83323 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
83324 protection macro.
83325 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
83326 inclusion protection macro.
83327
83328 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
83329 SIGRTMIN and SIGRTMAX and print information in that case only when
83330 SIGRTMIN is defined.
83331
83332 2011-02-11 Jakub Jelinek <jakub@redhat.com>
83333
83334 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
83335 arginfo fn returning -1.
83336
83337 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
83338 and thousands string is zero terminated.
83339
83340 2011-02-03 Andreas Schwab <schwab@redhat.com>
83341
83342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
83343 sysdeps/unix/sysv/linux/bits/socket.h.
83344
83345 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
83346
83347 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
83348 (__CPU_COUNT): Remove old macros.
83349 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
83350 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
83351 (__CPU_ALLOC, __CPU_FREE): Add macros.
83352 (__sched_cpualloc, __sched_cpufree): Add declarations.
83353
83354 2011-02-05 Ulrich Drepper <drepper@gmail.com>
83355
83356 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
83357 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
83358 * nscd/aicache.c (addhstaiX): Return timeout of added value.
83359 (readdhstai): Return value of addhstaiX call.
83360 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
83361 (addgrbyX): Return value returned by cache_addgr.
83362 (readdgrbyname): Return value returned by addgrbyX.
83363 (readdgrbygid): Likewise.
83364 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
83365 (addpwbyX): Return value returned by cache_addpw.
83366 (readdpwbyname): Return value returned by addhstbyX.
83367 (readdpwbyuid): Likewise.
83368 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
83369 (addservbyX): Return value returned by cache_addserv.
83370 (readdservbyname): Return value returned by addservbyX:
83371 (readdservbyport): Likewise.
83372 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
83373 (addhstbyX): Return value returned by cache_addhst.
83374 (readdhstbyname): Return value returned by addhstbyX.
83375 (readdhstbyaddr): Likewise.
83376 (readdhstbynamev6): Likewise.
83377 (readdhstbyaddrv6): Likewise.
83378 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
83379 (readdinitgroups): Return value returned by addinitgroupsX.
83380 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
83381 (prune_cache): Keep track of timeout value of re-added entries.
83382 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
83383 * nscd/nscd.h: Adjust prototypes of readd* functions.
83384
83385 2011-02-04 Roland McGrath <roland@redhat.com>
83386
83387 * nis/nis_server.c (nis_servstate): Use the right name for 0.
83388 (nis_stats): Likewise.
83389 * nis/nis_modify.c (nis_modify): Likewise.
83390 * nis/nis_remove.c (nis_remove): Likewise.
83391 * nis/nis_add.c (nis_add): Likewise.
83392
83393 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
83394
83395 * posix/fnmatch_loop.c: Add some consts.
83396
83397 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
83398
83399 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
83400
83401 [BZ #12460]
83402 * config.make.in (config-cflags-novzeroupper): Define.
83403 * configure.in: Substitute libc_cv_cc_novzeroupper.
83404 * elf/Makefile (AVX-CFLAGS): Define.
83405 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
83406 (CFLAGS-tst-auditmod4a.c): Likewise.
83407 (CFLAGS-tst-auditmod4b.c): Likewise.
83408 (CFLAGS-tst-auditmod6b.c): Likewise.
83409 (CFLAGS-tst-auditmod6c.c): Likewise.
83410 (CFLAGS-tst-auditmod7b.c): Likewise.
83411 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
83412
83413 2011-02-02 Ulrich Drepper <drepper@gmail.com>
83414
83415 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
83416 function to the callback.
83417 Patch partly by Jiri Olsa <jolsa@redhat.com>.
83418
83419 2011-02-02 Andreas Schwab <schwab@redhat.com>
83420
83421 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
83422 of errno.
83423
83424 2011-01-19 Ulrich Drepper <drepper@gmail.com>
83425
83426 [BZ #11724]
83427 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
83428 of constructors.
83429 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
83430 of destructors.
83431 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
83432
83433 [BZ #11724]
83434 * elf/Makefile: Add rules to build and run new test.
83435 * elf/tst-initorder.c: New file.
83436 * elf/tst-initorder.exp: New file.
83437 * elf/tst-initordera1.c: New file.
83438 * elf/tst-initordera2.c: New file.
83439 * elf/tst-initordera3.c: New file.
83440 * elf/tst-initordera4.c: New file.
83441 * elf/tst-initorderb1.c: New file.
83442 * elf/tst-initorderb2.c: New file.
83443 * elf/tst-order-a1.c: New file.
83444 * elf/tst-order-a2.c: New file.
83445 * elf/tst-order-a3.c: New file.
83446 * elf/tst-order-a4.c: New file.
83447 * elf/tst-order-b1.c: New file.
83448 * elf/tst-order-b2.c: New file.
83449 * elf/tst-order-main.c: New file.
83450 New test case by George Gensure <werkt0@gmail.com>.
83451
83452 2010-10-01 Andreas Schwab <schwab@redhat.com>
83453
83454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83455 decoding ACE if AI_CANONIDN.
83456
83457 2011-01-18 Ulrich Drepper <drepper@gmail.com>
83458
83459 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
83460
83461 2011-01-17 Ulrich Drepper <drepper@gmail.com>
83462
83463 * version.h (RELEASE): Bump for 2.13 release.
83464 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
83465
83466 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
83467
83468 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
83469 MADV_NOHUGEPAGE.
83470 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
83471 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
83472 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83473 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83474 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83475 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83476
83477 * posix/getconf.c: Update copyright year.
83478 * catgets/gencat.c: Likewise.
83479 * csu/version.c: Likewise.
83480 * debug/catchsegv.sh: Likewise.
83481 * debug/xtrace.sh: Likewise.
83482 * elf/ldconfig.c: Likewise.
83483 * elf/ldd.bash.in: Likewise.
83484 * elf/sprof.c (print_version): Likewise.
83485 * iconv/iconv_prog.c: Likewise.
83486 * iconv/iconvconfig.c: Likewise.
83487 * locale/programs/locale.c: Likewise.
83488 * locale/programs/localedef.c: Likewise.
83489 * malloc/memusage.sh: Likewise.
83490 * malloc/mtrace.pl: Likewise.
83491 * nscd/nscd.c (print_version): Likewise.
83492 * nss/getent.c: Likewise.
83493
83494 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
83495 PF_CAIF, and PF_ALG.
83496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83497
83498 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
83499
83500 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
83501 (modules-names): Use them.
83502 (ifunc-test-modules, ifunc-pie-tests): Define.
83503 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
83504 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
83505 (test-extras): Likewise.
83506 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
83507 $(compile-command.c).
83508 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
83509 (all-built-dso): Define.
83510 (check-textrel.out, check-execstack.out): Depend on it.
83511
83512 * configure.in: Don't override --enable-multi-arch.
83513
83514 2011-01-15 Ulrich Drepper <drepper@gmail.com>
83515
83516 [BZ #6812]
83517 * nscd/hstcache.c (tryagain): Define.
83518 (cache_addhst): Return tryagain not notfound for temporary errors.
83519 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
83520 failed.
83521
83522 2011-01-14 Ulrich Drepper <drepper@gmail.com>
83523
83524 [BZ #10563]
83525 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
83526 to make the syscall.
83527 * sysdeps/unix/sysv/linux/setgroups.c: New file.
83528
83529 [BZ #12378]
83530 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
83531 and fall back to matching as normal character if the string ends before
83532 the matching ']' is found. This is what POSIX requires.
83533 * posix/testfnm.c: Adjust test result.
83534 * posix/globtest.sh: Adjust test result. Add new test.
83535 * posix/tst-fnmatch.input: Likewise.
83536 * posix/tst-fnmatch2.c: Add new test.
83537
83538 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
83539
83540 * elf/Makefile (check-execstack): Revert last change. Depend on
83541 check-execstack.h.
83542 (check-execstack.h): New target.
83543 (generated): Add check-execstack.h.
83544 * elf/check-execstack.c: Include "check-execstack.h".
83545 (main): Revert last change.
83546 (handle_file): Return zero if GNU_STACK is absent and
83547 DEFAULT_STACK_PERMS doesn't include PF_X.
83548
83549 2011-01-13 Ulrich Drepper <drepper@gmail.com>
83550
83551 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
83552 in child fails because the descriptor is already closed.
83553 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
83554 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
83555 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
83556
83557 [BZ #12397]
83558 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
83559 syscall.
83560
83561 [BZ #10484]
83562 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
83563 temporary buffer used to handle multi lookups locally.
83564 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
83565
83566 2011-01-12 Ulrich Drepper <drepper@gmail.com>
83567
83568 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
83569 loader is ld.so.
83570
83571 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
83572
83573 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
83574 alignment for SSE2.
83575
83576 2011-01-12 Ulrich Drepper <drepper@gmail.com>
83577
83578 [BZ #12394]
83579 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
83580 characters. When rounding increased number of integer digits recompute
83581 number of groups.
83582 * stdio-common/tst-grouping.c: New file.
83583 * stdio-common/Makefile: Add rules to build and run tst-grouping.
83584
83585 2011-01-09 Ulrich Drepper <drepper@gmail.com>
83586
83587 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
83588 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
83589
83590 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
83591 void.
83592 * bits/select.h: Likewise.
83593
83594 2011-01-08 Ulrich Drepper <drepper@gmail.com>
83595
83596 * po/ja.po: Update from translation team.
83597
83598 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
83599
83600 [BZ #11155]
83601 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
83602 implementation just like for lxstat, fxstatat, et al.
83603
83604 2010-12-27 Jim Meyering <meyering@redhat.com>
83605
83606 [BZ #12348]
83607 * posix/regexec.c (build_trtable): Return failure indication upon
83608 calloc failure. Otherwise, re_search_internal could infloop on OOM.
83609
83610 2010-12-25 Ulrich Drepper <drepper@gmail.com>
83611
83612 [BZ #12201]
83613 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
83614 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
83615 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
83616 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
83617
83618 [BZ #12207]
83619 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
83620
83621 [BZ #12204]
83622 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
83623 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
83624
83625 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
83626
83627 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
83628 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
83629 script has SORT_BY_INIT_PRIORITY.
83630 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
83631 NO_CTORS_DTORS_SECTIONS is defined.
83632 * elf/soinit.c: Likewise.
83633 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
83634 NO_CTORS_DTORS_SECTIONS is defined.
83635 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
83636 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
83637 * sysdeps/sh/init-first.c: Likewise.
83638 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
83639
83640 2010-12-24 Ulrich Drepper <drepper@gmail.com>
83641
83642 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
83643 always use the slow path.
83644
83645 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
83646
83647 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
83648 similar rule which adds the sysdep directories to the header search in
83649 order to pick up the correct platform stackinfo.h.
83650 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
83651 perform test if it is, otherwise return successfully without testing.
83652 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
83653 DEFAULT_STACK_PERMS define in stackinfo.h.
83654 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
83655 defined in stackinfo.h.
83656 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
83657 DEFAULT_STACK_PERMS defined in stackinfo.h.
83658 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
83659 * sysdeps/ia64/stackinfo.h: Likewise.
83660 * sysdeps/s390/stackinfo.h: Likewise.
83661 * sysdeps/sh/stackinfo.h: Likewise.
83662 * sysdeps/sparc/stackinfo.h: Likewise.
83663 * sysdeps/x86_64/stackinfo.h: Likewise.
83664 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
83665 PF_X for powerpc64. Retain PF_X for powerpc32.
83666
83667 2010-12-19 Ulrich Drepper <drepper@gmail.com>
83668
83669 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
83670 accurately.
83671 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
83672 GETDENTS_64BIT_ALIGNED.
83673
83674 2010-12-14 Ulrich Drepper <dreper@gmail.com>
83675
83676 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
83677
83678 2010-12-10 Andreas Schwab <schwab@redhat.com>
83679
83680 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
83681 _GNU_SOURCE.
83682
83683 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
83684 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
83685 Remove __restrict.
83686 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
83687 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
83688
83689 2010-12-09 Ulrich Drepper <drepper@gmail.com>
83690
83691 [BZ #11655]
83692 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
83693 are initialized.
83694
83695 2010-12-09 Jakub Jelinek <jakub@redhat.com>
83696
83697 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
83698
83699 2010-12-03 Ulrich Drepper <drepper@gmail.com>
83700
83701 * po/it.po: Update from translation team.
83702
83703 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
83704
83705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
83706 unused codes.
83707
83708 2010-11-30 Ulrich Drepper <drepper@gmail.com>
83709
83710 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
83711
83712 2010-11-24 Andreas Schwab <schwab@redhat.com>
83713
83714 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
83715 specially.
83716 (gaih_getanswer_slice): Likewise.
83717
83718 2010-10-20 Jakub Jelinek <jakub@redhat.com>
83719
83720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
83721
83722 2010-05-31 Petr Baudis <pasky@suse.cz>
83723
83724 [BZ #11149]
83725 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
83726 silently even in the chroot mode.
83727
83728 2010-11-22 Ulrich Drepper <drepper@gmail.com>
83729
83730 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
83731 last patch a bit. Pretty printing
83732
83733 2010-05-31 Petr Baudis <pasky@suse.cz>
83734
83735 [BZ #10085]
83736 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
83737 initialization of skip_initgroups_dyn.
83738
83739 2010-11-19 Ulrich Drepper <drepper@gmail.com>
83740
83741 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
83742 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83743
83744 2010-11-16 Ulrich Drepper <drepper@gmail.com>
83745
83746 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
83747
83748 2010-11-11 Andreas Schwab <schwab@redhat.com>
83749
83750 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
83751 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
83752 (tst-fnmatch-ENV): Set MALLOC_TRACE.
83753 ($(objpfx)tst-fnmatch-mem): New rule.
83754 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
83755 * posix/tst-fnmatch.c (main): Call mtrace.
83756
83757 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
83758
83759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83760 Support Intel processor model 6 and model 0x2c.
83761
83762 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
83763
83764 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
83765 signed comparison.
83766
83767 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
83768
83769 [BZ #12205]
83770 * string/test-strncasecmp.c (check_result): New function.
83771 (do_one_test): Use it.
83772 (check1): New function.
83773 (test_main): Use it.
83774 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
83775 Support strcasecmp and strncasecmp.
83776
83777 2010-11-08 Ulrich Drepper <drepper@gmail.com>
83778
83779 [BZ #12194]
83780 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
83781 * sysdeps/x86_64/bits/byteswap.h: Likewise.
83782
83783 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
83784
83785 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
83786 IFUNC support.
83787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83788 memset-x86-64.
83789 * sysdeps/x86_64/multiarch/bzero.S: New file.
83790 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
83791 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
83792 * sysdeps/x86_64/multiarch/memset.S: New file.
83793 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
83794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83795 Set bit_Prefer_SSE_for_memop for Intel processors.
83796 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
83797 Define.
83798 (index_Prefer_SSE_for_memop): Define.
83799 (HAS_PREFER_SSE_FOR_MEMOP): Define.
83800
83801 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
83802
83803 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
83804 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
83805
83806 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
83807
83808 [BZ #12191]
83809 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
83810 (__x86_64_raw_data_cache_size_half): Likewise.
83811 (__x86_64_raw_shared_cache_size): Likewise.
83812 (__x86_64_raw_shared_cache_size_half): Likewise.
83813
83814 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
83815 (__x86_64_raw_data_cache_size_half): Likewise.
83816 (__x86_64_raw_shared_cache_size): Likewise.
83817 (__x86_64_raw_shared_cache_size_half): Likewise.
83818 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
83819 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
83820 and __x86_64_raw_shared_cache_size_half. Round
83821 __x86_64_data_cache_size_half, __x86_64_data_cache_size
83822 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
83823 to multiple of 256 bytes.
83824
83825 2010-11-03 Ulrich Drepper <drepper@gmail.com>
83826
83827 [BZ #12167]
83828 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
83829 of inacessible symlinks. Verify result of symlink before returning it.
83830 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
83831 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
83832
83833 2010-10-28 Erich Ritz <erichritz@gmail.com>
83834
83835 * math/math.h (isinf): Fix typo in comment.
83836
83837 2010-11-01 Ulrich Drepper <drepper@gmail.com>
83838
83839 * po/da.po: Update from translation team.
83840
83841 2010-10-26 Ulrich Drepper <drepper@gmail.com>
83842
83843 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
83844 is added to the list.
83845
83846 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83847 Ulrich Drepper <drepper@gmail.com>
83848
83849 * elf/dl-object.c (_dl_new_object): Don't append the new object to
83850 the global list here. Move code to...
83851 (_dl_add_to_namespace_list): ...here. New function.
83852 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
83853 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
83854 * elf/dl-load.c (lose): Don't remove the element from the list.
83855 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
83856 (_dl_map_object): Likewise.
83857
83858 2010-10-25 Ulrich Drepper <drepper@gmail.com>
83859
83860 [BZ #12159]
83861 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
83862 into all bytes of SSE register.
83863 Patch by Richard Li <richardpku@gmail.com>.
83864
83865 2010-10-24 Ulrich Drepper <drepper@gmail.com>
83866
83867 [BZ #12140]
83868 * malloc/malloc.c (_int_free): Fill correct number of bytes when
83869 perturbing.
83870
83871 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
83872
83873 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
83874 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
83875 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
83876 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
83877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
83878 submachine.
83879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
83880
83881 2010-10-22 Andreas Schwab <schwab@redhat.com>
83882
83883 * include/dlfcn.h (__RTLD_SECURE): Define.
83884 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
83885 mode & __RTLD_SECURE instead.
83886 (open_path): Rename preloaded parameter to secure.
83887 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
83888 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
83889 * elf/dl-deps.c (openaux): Likewise.
83890 * elf/rtld.c (struct map_args): Remove is_preloaded.
83891 (map_doit): Don't use it.
83892 (dl_main): Likewise.
83893 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
83894 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
83895
83896 2010-09-09 Andreas Schwab <schwab@redhat.com>
83897
83898 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
83899 (sysd-rules-targets): Remove duplicates.
83900 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
83901 rtld-%.$o dependency.
83902
83903 2010-10-18 Andreas Schwab <schwab@redhat.com>
83904
83905 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
83906 _dl_map_object do it.
83907
83908 2010-10-19 Ulrich Drepper <drepper@gmail.com>
83909
83910 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
83911 fast fma builtins, define the macros in the C99 standard.
83912 (FP_FAST_FMAF): Likewise.
83913 (FP_FAST_FMAL): Likewise.
83914 * sysdeps/x86_64/bits/mathdef.h: Likewise.
83915
83916 * bits/mathdef.h: Update copyright year.
83917 * sysdeps/powerpc/bits/mathdef.h: Likewise.
83918
83919 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
83920
83921 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
83922 builtins, define the macros in the C99 standard.
83923 (FP_FAST_FMAF): Likewise.
83924 (FP_FAST_FMAL): Likewise.
83925 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
83926 multiply/add.
83927 (FP_FAST_FMAF): Likewise.
83928
83929 2010-10-15 Jakub Jelinek <jakub@redhat.com>
83930
83931 [BZ #3268]
83932 * math/libm-test.inc (fma_test): Some new testcases.
83933 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
83934 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
83935 y and infinite z. Do multiplication by C already in long double.
83936 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
83937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
83938 y and infinite z. Do bitwise or of inexact bit into u.d.
83939 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
83940 * sysdeps/i386/fpu/s_fmaf.S: Removed.
83941 * sysdeps/i386/fpu/s_fma.S: Removed.
83942 * sysdeps/i386/fpu/s_fmal.S: Removed.
83943
83944 2010-10-16 Jakub Jelinek <jakub@redhat.com>
83945
83946 [BZ #3268]
83947 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
83948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
83949 computation is not scheduled after fetestexcept. Fix value
83950 of minimum denormal long double.
83951
83952 2010-10-14 Jakub Jelinek <jakub@redhat.com>
83953
83954 [BZ #3268]
83955 * math/libm-test.inc (fma_test): Add some more tests.
83956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
83957 correctly.
83958
83959 2010-10-15 Andreas Schwab <schwab@redhat.com>
83960
83961 * scripts/data/localplt-s390-linux-gnu.data: New file.
83962 * scripts/data/localplt-s390x-linux-gnu.data: New file.
83963
83964 2010-10-13 Jakub Jelinek <jakub@redhat.com>
83965
83966 [BZ #3268]
83967 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
83968 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
83969 instead of dbl-64.
83970 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
83971 inlines.
83972 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
83973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
83974 if one of x and y is very large and the other is subnormal.
83975 * sysdeps/s390/fpu/s_fmaf.c: New file.
83976 * sysdeps/s390/fpu/s_fma.c: New file.
83977 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
83978 * sysdeps/powerpc/fpu/s_fma.S: New file.
83979 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
83980 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
83981 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
83982
83983 2010-10-12 Jakub Jelinek <jakub@redhat.com>
83984
83985 [BZ #3268]
83986 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
83987 fma tests.
83988 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
83989 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
83990 * sysdeps/i386/i686/multiarch/s_fma.c: Include
83991 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
83992 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
83993 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
83994 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
83995
83996 2010-10-12 Ulrich Drepper <drepper@redhat.com>
83997
83998 [BZ #12078]
83999 * posix/regcomp.c (parse_branch): One more memory leak plugged.
84000 * posix/bug-regex31.input: Add test case.
84001
84002 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84003
84004 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84005 * posix/bug-regex31.input: New file.
84006
84007 [BZ #12078]
84008 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84009 (parse_sub_exp): Fix last change, use postorder.
84010
84011 * posix/bug-regex31.c: New file.
84012 * posix/Makefile: Add rules to build and run bug-regex31.
84013
84014 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84015
84016 [BZ #12078]
84017 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84018
84019 [BZ #12108]
84020 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84021 to have entries in sys_siglist.
84022
84023 [BZ #12093]
84024 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84025 be NULL.
84026
84027 2010-10-07 Jakub Jelinek <jakub@redhat.com>
84028
84029 [BZ #3268]
84030 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84031 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84032 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84033 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84034 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84035 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84036 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84037 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84038 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84039 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84040 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84041 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84042 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84043 * math/ftestexcept.c (fetestexcept): Likewise.
84044 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84045 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84046 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84047 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84048 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84049 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84050 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84051
84052 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84053
84054 [BZ #12107]
84055 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84056 newline.
84057
84058 2010-10-06 Ulrich Drepper <drepper@gmail.com>
84059
84060 * string/bug-strstr1.c: New file.
84061 * string/Makefile: Add rules to build and run bug-strstr1.
84062
84063 2010-10-05 Eric Blake <eblake@redhat.com>
84064
84065 [BZ #12092]
84066 * string/str-two-way.h (two_way_long_needle): Always clear memory
84067 when skipping input due to the shift table.
84068
84069 2010-10-03 Ulrich Drepper <drepper@gmail.com>
84070
84071 [BZ #12005]
84072 * malloc/mcheck.c: Handle large requests.
84073
84074 [BZ #12077]
84075 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84076 for strncmp and strncasecmp.
84077 * string/stratcliff.c: Add tests for strcmp and strncmp.
84078 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84079
84080 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84081
84082 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84083 __set_fpscr.
84084
84085 2010-09-30 Andreas Jaeger <aj@suse.de>
84086
84087 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84088 (CGROUP_SUPER_MAGIC): Define.
84089 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84090 Handle btrfs and cgroup file systems.
84091 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84092 Likewise.
84093
84094 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
84095
84096 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84097 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84098
84099 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84100
84101 [BZ #12067]
84102 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84103 trying to locate the ELF header.
84104
84105 2010-09-27 Andreas Schwab <schwab@redhat.com>
84106
84107 [BZ #11611]
84108 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84109 Mask out sign-bit copies when constructing f_fsid.
84110
84111 2010-09-24 Petr Baudis <pasky@suse.cz>
84112
84113 * debug/stack_chk_fail_local.c: Add missing licence exception.
84114 * debug/warning-nop.c: Likewise.
84115
84116 2010-09-15 Joseph Myers <joseph@codesourcery.com>
84117
84118 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84119 implementing getdents64 using getdents syscall, set d_type if
84120 __ASSUME_GETDENTS32_D_TYPE.
84121
84122 2010-09-16 Andreas Schwab <schwab@redhat.com>
84123
84124 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84125 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84126
84127 2010-09-21 Ulrich Drepper <drepper@redhat.com>
84128
84129 [BZ #12037]
84130 * posix/unistd.h: Undo change of feature selection for ftruncate from
84131 2010-01-11.
84132
84133 2010-09-20 Ulrich Drepper <drepper@redhat.com>
84134
84135 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84136 detection.
84137
84138 2010-09-20 Andreas Schwab <schwab@redhat.com>
84139
84140 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84141 fanotify_mark.
84142 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84143
84144 2010-09-14 Andreas Schwab <schwab@redhat.com>
84145
84146 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84147 variables after CHECK_SP call.
84148 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84149
84150 2010-09-13 Andreas Schwab <schwab@redhat.com>
84151 Ulrich Drepper <drepper@redhat.com>
84152
84153 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84154 re-relocationg ld.so.
84155 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84156 _dl_init_paths call.
84157 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
84158 here anymore.
84159
84160 2010-09-14 Ulrich Drepper <drepper@redhat.com>
84161
84162 * resolv/res_init.c (__res_vinit): Count the default server we added.
84163
84164 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
84165 Ulrich Drepper <drepper@redhat.com>
84166
84167 [BZ #11968]
84168 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84169 (____longjmp_chk): Use %ebx for saving value across system call.
84170 Add unwind info.
84171
84172 2010-09-06 Andreas Schwab <schwab@redhat.com>
84173
84174 * manual/Makefile: Don't mix pattern rules with normal rules.
84175
84176 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
84177
84178 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84179 operation.
84180 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84181 * libio/iofopncook.c (_IO_cookie_init): Likewise.
84182 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84183 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84184 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84185 Likewise.
84186
84187 2010-09-04 Ulrich Drepper <drepper@redhat.com>
84188
84189 [BZ #11979]
84190 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
84191 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
84192
84193 2010-09-02 Ulrich Drepper <drepper@redhat.com>
84194
84195 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
84196 * sysdeps/x86_64/addmul_1.S: Likewise.
84197 * sysdeps/x86_64/lshift.S: Likewise.
84198 * sysdeps/x86_64/mul_1.S: Likewise.
84199 * sysdeps/x86_64/rshift.S: Likewise.
84200 * sysdeps/x86_64/sub_n.S: Likewise.
84201 * sysdeps/x86_64/submul_1.S: Likewise.
84202
84203 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
84204
84205 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
84206 Define __sched_param instead of SCHED_* and sched_param when
84207 <bits/sched.h> is included with __need_schedparam defined.
84208 * bits/sched.h [__need_schedparam]
84209 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
84210 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
84211 (__defined_schedparam): Define to 1.
84212 (__sched_param): New structure, identical to sched_param.
84213 (__need_schedparam): Undefine.
84214
84215 2010-08-31 Mike Frysinger <vapier@gentoo.org>
84216
84217 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
84218 (epoll_create1): Declare.
84219
84220 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
84221
84222 2010-08-31 Andreas Schwab <schwab@redhat.com>
84223
84224 [BZ #7066]
84225 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
84226 shifting retval into place.
84227
84228 2010-09-01 Ulrich Drepper <drepper@redhat.com>
84229
84230 * nis/rpcsvc/nis.h: Update copyright notice.
84231 * nis/rpcsvc/nis.x: Likewise.
84232 * nis/rpcsvc/nis_callback.h: Likewise.
84233 * nis/rpcsvc/nis_callback.x: Likewise.
84234 * nis/rpcsvc/nis_object.x: Likewise.
84235 * nis/rpcsvc/nis_tags.h: Likewise.
84236 * nis/rpcsvc/yp.h: Likewise.
84237 * nis/rpcsvc/yp.x: Likewise.
84238 * nis/rpcsvc/ypupd.h: Likewise.
84239 * nis/yp_xdr.c: Likewise.
84240 * nis/ypupdate_xdr.c: Likewise.
84241
84242 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
84243 mainly the body of pmap_getport. Add parameters to specify timeouts.
84244 (pmap_getport): Use __libc_rpc_getport.
84245 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
84246 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
84247 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
84248
84249 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
84250
84251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
84252 fanotify_mark.
84253
84254 2010-08-27 Roland McGrath <roland@redhat.com>
84255
84256 * sysdeps/i386/i686/multiarch/Makefile
84257 (CFLAGS-varshift.c): New variable.
84258
84259 2010-08-27 Ulrich Drepper <drepper@redhat.com>
84260
84261 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
84262 * sysdeps/i386/i686/multiarch/varshift.c: New file.
84263
84264 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
84265
84266 * sysdeps/x86_64/strlen.S: Minimal code improvement.
84267
84268 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
84269
84270 * sysdeps/x86_64/strlen.S: Unroll the loop.
84271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84272 strlen-sse2 strlen-sse2-bsf.
84273 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
84274 __strlen_no_bsf if bit_Slow_BSF is set.
84275 (__strlen_sse42): Removed.
84276 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
84277 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
84278
84279 2010-08-25 Roland McGrath <roland@redhat.com>
84280
84281 * sysdeps/x86_64/multiarch/varshift.S: File removed.
84282 * sysdeps/x86_64/multiarch/varshift.c: New file.
84283 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
84284 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
84285 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
84286 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
84287
84288 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
84289
84290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84291 strlen-sse2 strlen-sse2-bsf.
84292 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
84293 __strlen_sse2_bsf if bit_Slow_BSF is unset.
84294 (__strlen_sse2): Removed.
84295 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
84296 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
84297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
84298 bit_Slow_BSF for Atom.
84299 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
84300 (index_Slow_BSF): Define.
84301 (HAS_SLOW_BSF): Define.
84302
84303 2010-08-25 Ulrich Drepper <drepper@redhat.com>
84304
84305 [BZ #10851]
84306 * resolv/res_init.c (__res_vinit): When no server address at all
84307 is given default to loopback.
84308
84309 2010-08-24 Roland McGrath <roland@redhat.com>
84310
84311 * configure.in: Remove config-name.h generation.
84312 * configure: Regenerated.
84313 * config-name.in: File removed.
84314 * scripts/config-uname.sh: New file.
84315 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
84316 ($(objdir)config-name.h): New target.
84317
84318 * sunrpc/rpc_parse.h: Avoid nested comment.
84319
84320 2010-08-24 Richard Henderson <rth@redhat.com>
84321 Ulrich Drepper <drepper@redhat.com>
84322 H.J. Lu <hongjiu.lu@intel.com>
84323
84324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
84325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
84326 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
84327 Replace _mm_srli_si128 with __m128i_shift_right. Replace
84328 _mm_alignr_epi8 with _mm_loadu_si128.
84329 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
84330 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
84331 (__m128i_shift_right): Removed.
84332 * sysdeps/i386/i686/multiarch/varshift.h: New file.
84333 * sysdeps/i386/i686/multiarch/varshift.S: New file.
84334 * sysdeps/x86_64/multiarch/varshift.h: New file.
84335 * sysdeps/x86_64/multiarch/varshift.S: New file.
84336
84337 2010-08-21 Mike Frysinger <vapier@gentoo.org>
84338
84339 * configure.in: Move assembler checks to before sysdep dir checking.
84340
84341 2010-08-20 Petr Baudis <pasky@suse.cz>
84342
84343 * LICENSES: Sync the sunrpc license.
84344
84345 2010-08-19 Ulrich Drepper <drepper@redhat.com>
84346
84347 * sunrpc/auth_des.c: Update copyright notice once again.
84348 * sunrpc/auth_none.c: Likewise.
84349 * sunrpc/auth_unix.c: Likewise.
84350 * sunrpc/authdes_prot.c: Likewise.
84351 * sunrpc/authuxprot.c: Likewise.
84352 * sunrpc/bindrsvprt.c: Likewise.
84353 * sunrpc/clnt_gen.c: Likewise.
84354 * sunrpc/clnt_perr.c: Likewise.
84355 * sunrpc/clnt_raw.c: Likewise.
84356 * sunrpc/clnt_simp.c: Likewise.
84357 * sunrpc/clnt_tcp.c: Likewise.
84358 * sunrpc/clnt_udp.c: Likewise.
84359 * sunrpc/clnt_unix.c: Likewise.
84360 * sunrpc/des_crypt.c: Likewise.
84361 * sunrpc/des_soft.c: Likewise.
84362 * sunrpc/get_myaddr.c: Likewise.
84363 * sunrpc/getrpcport.c: Likewise.
84364 * sunrpc/key_call.c: Likewise.
84365 * sunrpc/key_prot.c: Likewise.
84366 * sunrpc/openchild.c: Likewise.
84367 * sunrpc/pm_getmaps.c: Likewise.
84368 * sunrpc/pm_getport.c: Likewise.
84369 * sunrpc/pmap_clnt.c: Likewise.
84370 * sunrpc/pmap_prot.c: Likewise.
84371 * sunrpc/pmap_prot2.c: Likewise.
84372 * sunrpc/pmap_rmt.c: Likewise.
84373 * sunrpc/rpc/auth.h: Likewise.
84374 * sunrpc/rpc/auth_unix.h: Likewise.
84375 * sunrpc/rpc/clnt.h: Likewise.
84376 * sunrpc/rpc/des_crypt.h: Likewise.
84377 * sunrpc/rpc/key_prot.h: Likewise.
84378 * sunrpc/rpc/netdb.h: Likewise.
84379 * sunrpc/rpc/pmap_clnt.h: Likewise.
84380 * sunrpc/rpc/pmap_prot.h: Likewise.
84381 * sunrpc/rpc/pmap_rmt.h: Likewise.
84382 * sunrpc/rpc/rpc.h: Likewise.
84383 * sunrpc/rpc/rpc_des.h: Likewise.
84384 * sunrpc/rpc/rpc_msg.h: Likewise.
84385 * sunrpc/rpc/svc.h: Likewise.
84386 * sunrpc/rpc/svc_auth.h: Likewise.
84387 * sunrpc/rpc/types.h: Likewise.
84388 * sunrpc/rpc/xdr.h: Likewise.
84389 * sunrpc/rpc_clntout.c: Likewise.
84390 * sunrpc/rpc_cmsg.c: Likewise.
84391 * sunrpc/rpc_common.c: Likewise.
84392 * sunrpc/rpc_cout.c: Likewise.
84393 * sunrpc/rpc_dtable.c: Likewise.
84394 * sunrpc/rpc_hout.c: Likewise.
84395 * sunrpc/rpc_main.c: Likewise.
84396 * sunrpc/rpc_parse.c: Likewise.
84397 * sunrpc/rpc_parse.h: Likewise.
84398 * sunrpc/rpc_prot.c: Likewise.
84399 * sunrpc/rpc_sample.c: Likewise.
84400 * sunrpc/rpc_scan.c: Likewise.
84401 * sunrpc/rpc_scan.h: Likewise.
84402 * sunrpc/rpc_svcout.c: Likewise.
84403 * sunrpc/rpc_tblout.c: Likewise.
84404 * sunrpc/rpc_util.c: Likewise.
84405 * sunrpc/rpc_util.h: Likewise.
84406 * sunrpc/rpcinfo.c: Likewise.
84407 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
84408 * sunrpc/rpcsvc/key_prot.x: Likewise.
84409 * sunrpc/rpcsvc/klm_prot.x: Likewise.
84410 * sunrpc/rpcsvc/mount.x: Likewise.
84411 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
84412 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
84413 * sunrpc/rpcsvc/rex.x: Likewise.
84414 * sunrpc/rpcsvc/rstat.x: Likewise.
84415 * sunrpc/rpcsvc/rusers.x: Likewise.
84416 * sunrpc/rpcsvc/sm_inter.x: Likewise.
84417 * sunrpc/rpcsvc/spray.x: Likewise.
84418 * sunrpc/rpcsvc/yppasswd.x: Likewise.
84419 * sunrpc/rtime.c: Likewise.
84420 * sunrpc/svc.c: Likewise.
84421 * sunrpc/svc_auth.c: Likewise.
84422 * sunrpc/svc_authux.c: Likewise.
84423 * sunrpc/svc_raw.c: Likewise.
84424 * sunrpc/svc_run.c: Likewise.
84425 * sunrpc/svc_simple.c: Likewise.
84426 * sunrpc/svc_tcp.c: Likewise.
84427 * sunrpc/svc_udp.c: Likewise.
84428 * sunrpc/svc_unix.c: Likewise.
84429 * sunrpc/svcauth_des.c: Likewise.
84430 * sunrpc/xcrypt.c: Likewise.
84431 * sunrpc/xdr.c: Likewise.
84432 * sunrpc/xdr_array.c: Likewise.
84433 * sunrpc/xdr_float.c: Likewise.
84434 * sunrpc/xdr_mem.c: Likewise.
84435 * sunrpc/xdr_rec.c: Likewise.
84436 * sunrpc/xdr_ref.c: Likewise.
84437 * sunrpc/xdr_sizeof.c: Likewise.
84438 * sunrpc/xdr_stdio.c: Likewise.
84439
84440 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
84441 handling.
84442
84443 2010-08-19 Andreas Schwab <schwab@redhat.com>
84444
84445 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
84446
84447 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
84448
84449 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
84450 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
84451 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
84452 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
84453 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
84454 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
84455 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
84456 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
84457 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
84458 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
84459 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
84460 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
84461 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
84462 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
84463
84464 2010-07-26 Anton Blanchard <anton@samba.org>
84465
84466 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
84467 * malloc/arena.c (heap_trim): Likewise.
84468
84469 2010-08-16 Ulrich Drepper <drepper@redhat.com>
84470
84471 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
84472 here. Not...
84473 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
84474 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
84475
84476 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
84477
84478 * sysdeps/i386/elf/Makefile: New file.
84479
84480 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
84481
84482 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
84483 from fanotify_init.
84484 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
84485 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84486
84487 2010-08-15 Ulrich Drepper <drepper@redhat.com>
84488
84489 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
84490 of strncasecmp_l.
84491 * sysdeps/multiarch/strcmp.S: Likewise.
84492
84493 2010-08-14 Ulrich Drepper <drepper@redhat.com>
84494
84495 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84496 strncase_l-nonascii.
84497 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84498 Add strncase_l-ssse3.
84499 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
84500 * sysdeps/x86_64/strcmp.S: Likewise.
84501 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
84502 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
84503 * sysdeps/x86_64/strncase.S: New file.
84504 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
84505 * sysdeps/x86_64/strncase_l.S: New file.
84506 * string/Makefile (strop-tests): Add strncasecmp.
84507 * string/test-strncasecmp.c: New file.
84508
84509 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
84510 warning.
84511
84512 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
84513 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
84514
84515 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
84516
84517 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
84518
84519 2010-08-12 Ulrich Drepper <drepper@redhat.com>
84520
84521 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
84522 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
84523 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
84524
84525 2010-05-01 Alan Modra <amodra@gmail.com>
84526
84527 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
84528 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
84529 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
84530 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
84531 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
84532 tidying. Don't tail-call __sigjmp_save for static lib.
84533 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
84534 save location.
84535 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
84536 (CALL_MCOUNT): Add eh info, and nop after bl.
84537 (TAIL_CALL_SYSCALL_ERROR): New macro.
84538 (PSEUDO_RET): Use it.
84539 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
84540 Correct save location of integer regs and cr.
84541 (_dl_profile_resolve): Correct cr save location. Delete nops
84542 after bl when SHARED. Reduce cfi size a little by better
84543 placement of cfi directives.
84544 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
84545 make a stack frame. Instead use parm save area as a temp.
84546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
84547 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
84548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
84549 Don't make a stack frame for parent, use parm save area.
84550 Increase child stack frame to 112 bytes. Don't save unused reg,
84551 and adjust reg usage. Set up cfi on error recovery and
84552 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
84553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
84554 (__makecontext): Add dummy nop after jump to exit.
84555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
84556 Use correct parm save area and cr save, reduce stack frame.
84557 Correct cfi for possible PSEUDO_RET frame setup.
84558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
84559 Branch to local label emitted by PSEUDO_RET rather than
84560 __syscall_error.
84561
84562 2010-08-12 Andreas Schwab <schwab@redhat.com>
84563
84564 [BZ #11904]
84565 * locale/programs/locale.c (print_assignment): New function.
84566 (show_locale_vars): Use it.
84567
84568 2010-08-11 Ulrich Drepper <drepper@redhat.com>
84569
84570 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
84571 field.
84572 (struct statfs64): Likewise.
84573 (_STATFS_F_FLAGS): Define.
84574 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
84575 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84576 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
84577 (ST_VALID): Define locally.
84578 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
84579 __statvfs_getflags, use the provided value.
84580 * sysdeps/unix/sysv/linux/kernel-features.h: Define
84581 __ASSUME_STATFS_F_FLAGS.
84582
84583 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
84584
84585 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
84586 Add sys/fanotify.h.
84587 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
84588 fanotify_mask for GLIBC_2.13.
84589 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
84590 fanotify_init and fanotify_mark.
84591 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84592 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
84593
84594 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
84595 Add prlimit.
84596 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
84597 prlimit64 for GLIBC_2.13.
84598 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
84599 prlimit64.
84600 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
84601 syscall.
84602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
84603 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84604 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
84605 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
84606 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
84607 add prlimit alias.
84608 * sysdeps/unix/sysv/linux/prlimit.c: New file.
84609
84610 [BZ #11903]
84611 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
84612 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
84613
84614 * nss/Makefile: Add rules to build and run tst-nss-test1.
84615 * shlib-versions: Add entry for libnss_test1.
84616 * nss/nss_test1.c: New file.
84617 * nss/tst-nss-test1.c: New file.
84618
84619 * nss/nsswitch.c (__nss_database_custom): Define new variable.
84620 (__nss_configure_lookup): Set appropriate entry in
84621 __nss_configure_lookup to true.
84622 * nss/nsswitch.h: Define enum with indeces of databases in
84623 databases and __nss_database_custom arrays. Declare
84624 __nss_database_custom.
84625 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
84626 to avoid using nscd when custom rules are installed.
84627 * nss/getXXbyYY_r.c: Likewise.
84628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
84629
84630 * nss/nss_files/files-parse.c: Whitespace fixes.
84631
84632 2010-08-09 Ulrich Drepper <drepper@redhat.com>
84633
84634 [BZ #11883]
84635 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
84636 * posix/fnmatch_loop.c: Likewise.
84637
84638 2010-07-17 Andi Kleen <ak@linux.intel.com>
84639
84640 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
84641 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
84642 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
84643 * Versions.def [GLIBC_2.13]: Add.
84644
84645 2010-08-06 Ulrich Drepper <drepper@redhat.com>
84646
84647 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84648 Also fail if tpwd after pwuid call is NULL.
84649
84650 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
84651
84652 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
84653 when converting to ms.
84654
84655 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
84656
84657 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
84658 EOPNOTSUPP errors with ENOTTY.
84659 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
84660 EOPNOTSUPP errors with ENOTTY.
84661
84662 2010-07-31 Ulrich Drepper <drepper@redhat.com>
84663
84664 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84665 Add strcasecmp_l-ssse3.
84666 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
84667 strcasecmp.
84668 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
84669 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
84670 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
84671
84672 2010-07-30 Ulrich Drepper <drepper@redhat.com>
84673
84674 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
84675
84676 * string/Makefile (strop-tests): Add strcasecmp.
84677 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84678 strcasecmp_l-nonascii.
84679 (gen-as-const-headers): Add locale-defines.sym.
84680 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
84681 * sysdeps/x86_64/strcasecmp.S: New file.
84682 * sysdeps/x86_64/strcasecmp_l.S: New file.
84683 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
84684 * sysdeps/x86_64/locale-defines.sym: New file.
84685 * string/test-strcasecmp.c: New file.
84686
84687 * string/test-strcasestr.c: Test both ends of the range of characters.
84688 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
84689
84690 2010-07-29 Roland McGrath <roland@redhat.com>
84691
84692 [BZ #11856]
84693 * manual/locale.texi (Yes-or-No Questions): Fix example code.
84694
84695 2010-07-27 Ulrich Drepper <drepper@redhat.com>
84696
84697 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
84698 for ld.so.
84699
84700 2010-07-27 Andreas Schwab <schwab@redhat.com>
84701
84702 * manual/memory.texi (Malloc Tunable Parameters): Document
84703 M_PERTURB.
84704
84705 2010-07-26 Roland McGrath <roland@redhat.com>
84706
84707 [BZ #11840]
84708 * configure.in (-fgnu89-inline check): Set and substitute
84709 gnu89_inline, not libc_cv_gnu89_inline.
84710 * configure: Regenerated.
84711 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
84712
84713 2010-07-26 Ulrich Drepper <drepper@redhat.com>
84714
84715 * string/test-strnlen.c: New file.
84716 * string/Makefile (strop-tests): Add strnlen.
84717 * string/tester.c (test_strnlen): Add a few more test cases.
84718 * string/tst-strlen.c: Better error reporting.
84719
84720 * sysdeps/x86_64/strnlen.S: New file.
84721
84722 2010-07-24 Ulrich Drepper <drepper@redhat.com>
84723
84724 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
84725 lower-latency instructions.
84726
84727 2010-07-23 Ulrich Drepper <drepper@redhat.com>
84728
84729 * string/test-strcasestr.c: New file.
84730 * string/test-strstr.c: New file.
84731 * string/Makefile (strop-tests): Add strstr and strcasestr.
84732 * string/str-two-way.h: Don't undefine MAX.
84733 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
84734
84735 2010-07-21 Andreas Schwab <schwab@redhat.com>
84736
84737 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84738 strcasestr-nonascii.
84739 (CFLAGS-strcasestr-nonascii.c): Define.
84740 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
84741 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
84742 Remove unused attribute.
84743
84744 2010-07-20 Roland McGrath <roland@redhat.com>
84745
84746 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
84747 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
84748 ld.so.cache was broken. With it, there is no way to disable dsocaps
84749 like LD_HWCAP_MASK can disable hwcaps.
84750
84751 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
84752
84753 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
84754
84755 2010-07-16 Ulrich Drepper <drepper@redhat.com>
84756
84757 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
84758 call in strcasestr.
84759 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
84760 __strcasestr_sse42_nonascii.
84761 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
84762 strcasestr-nonascii.c.
84763 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
84764
84765 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
84766
84767 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
84768 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
84769 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
84770 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
84771
84772 2010-07-09 Ulrich Drepper <drepper@redhat.com>
84773
84774 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
84775 fcntl.
84776
84777 2010-07-06 Andreas Schwab <schwab@redhat.com>
84778
84779 [BZ #11577]
84780 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
84781 dl_signal_cerror.
84782
84783 2010-07-06 Ulrich Drepper <drepper@redhat.com>
84784
84785 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
84786 _PC_PIPE_BUF using F_GETPIPE_SZ.
84787
84788 2010-07-05 Roland McGrath <roland@redhat.com>
84789
84790 * manual/arith.texi (Rounding Functions): Fix rint description
84791 implicit in round description.
84792
84793 2010-07-02 Ulrich Drepper <drepper@redhat.com>
84794
84795 * elf/Makefile: Fix linking for a few tests to make recent linker
84796 happy.
84797
84798 2010-06-30 Andreas Schwab <schwab@redhat.com>
84799
84800 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
84801 $(common-objpfx)libc_nonshared.a.
84802
84803 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
84804
84805 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
84806 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
84807 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
84808 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
84809 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
84810 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
84811 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
84812 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
84813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
84814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
84815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
84816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
84817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
84818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
84819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
84820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
84821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
84822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
84823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
84824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
84825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
84826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
84827 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
84828 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
84829 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
84830 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
84831 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
84832 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
84833 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
84834 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
84835 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
84836 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
84837 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
84838 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
84839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
84840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
84841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
84842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
84843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
84844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
84845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
84846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
84847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
84848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
84849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
84850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
84851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
84852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
84853
84854 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
84855
84856 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
84857 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
84858 * string/memmove.c (memmove): Renamed to ...
84859 (MEMMOVE): ...this. Default to memmove.
84860 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
84861 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
84862 (END_CHK): Define.
84863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84864 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
84865 mempcpy-ssse3-back memmove-ssse3-back.
84866 * sysdeps/x86_64/multiarch/bcopy.S: New file .
84867 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
84868 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
84869 * sysdeps/x86_64/multiarch/memcpy.S: New file.
84870 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
84871 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
84872 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
84873 * sysdeps/x86_64/multiarch/memmove.c: New file.
84874 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
84875 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
84876 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
84877 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
84878 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
84879 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
84880 Define.
84881 (index_Fast_Copy_Backward): Define.
84882 (HAS_ARCH_FEATURE): Define.
84883 (HAS_FAST_REP_STRING): Define.
84884 (HAS_FAST_COPY_BACKWARD): Define.
84885
84886 2010-06-21 Andreas Schwab <schwab@redhat.com>
84887
84888 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84889 Restore proper fallback handling.
84890
84891 2010-06-19 Ulrich Drepper <drepper@redhat.com>
84892
84893 [BZ #11701]
84894 * posix/group_member.c (__group_member): Correct checking loop.
84895
84896 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
84897 OOM in getpwuid_r correctly. Return error number when the caller
84898 should return, otherwise -1.
84899 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
84900 call returning > 0 value.
84901 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
84902
84903 2010-06-07 Andreas Schwab <schwab@redhat.com>
84904
84905 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
84906 libc_nonshared.a from targets in modules-names.
84907
84908 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
84909
84910 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
84911 requires it.
84912
84913 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
84914
84915 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
84916 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
84917 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
84918 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
84919
84920 2010-06-02 Andreas Schwab <schwab@redhat.com>
84921
84922 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
84923
84924 2010-06-14 Ulrich Drepper <drepper@redhat.com>
84925
84926 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
84927 and F_GETPIPE_SZ.
84928 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
84929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84932 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84933 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84934
84935 2010-06-14 Roland McGrath <roland@redhat.com>
84936
84937 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
84938
84939 2010-06-07 Jakub Jelinek <jakub@redhat.com>
84940
84941 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
84942 __REDIRECT followed by __THROW.
84943 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
84944 * posix/getopt.h (getopt): Likewise.
84945
84946 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
84947
84948 * hurd/lookup-at.c (__file_name_lookup_at): Accept
84949 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
84950 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
84951 in AT_FLAGS.
84952 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
84953 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
84954
84955 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
84956
84957 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
84958
84959 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
84960
84961 [BZ #11640]
84962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84963 Properly check family and model.
84964
84965 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
84966
84967 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
84968
84969 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
84970
84971 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
84972
84973 2010-05-21 Ulrich Drepper <drepper@redhat.com>
84974
84975 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
84976 symbol reference.
84977
84978 2010-05-19 Andreas Schwab <schwab@redhat.com>
84979
84980 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
84981 symbol reference.
84982
84983 2010-05-21 Andreas Schwab <schwab@redhat.com>
84984
84985 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
84986 and internal_recvmmsg.
84987 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
84988 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
84989 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
84990 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
84991
84992 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
84993 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
84994 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
84995
84996 2010-05-20 Andreas Schwab <schwab@redhat.com>
84997
84998 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
84999
85000 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
85001
85002 POWER7 optimizations.
85003 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85004 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85005
85006 2010-05-19 Ulrich Drepper <drepper@redhat.com>
85007
85008 * version.h: Update for 2.13 development version.
85009
85010 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
85011
85012 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85013 exceptions. Return 0.
85014
85015 2010-05-07 Roland McGrath <roland@redhat.com>
85016
85017 * elf/ldconfig.c (main): Add a const.
85018
85019 2010-05-06 Ulrich Drepper <drepper@redhat.com>
85020
85021 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85022 (args_options): Add no-idn option.
85023 (ahosts_keys_int): Add idn_flags to ai_flags.
85024 (parse_option): Handle 'i' option to clear idn_flags.
85025
85026 * malloc/malloc.c (_int_free): Possible race in the most recently
85027 added check. Only act on the data if no current modification
85028 happened.
85029
85030 See ChangeLog.17 for earlier changes.